Skip to content

Commit

Permalink
Merge pull request #667 from rgasch/dev
Browse files Browse the repository at this point in the history
Add publications feature
  • Loading branch information
caendesilva authored Nov 18, 2022
2 parents 11c5503 + 93c0912 commit b1f21b2
Show file tree
Hide file tree
Showing 22 changed files with 2,749 additions and 249 deletions.
902 changes: 902 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions blah/123.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
__canonical: 123
__createdAt: 2022-11-16 11:32:52
f1: 123
f2: 456
f3: 789
---
Raw MD text ...
8 changes: 8 additions & 0 deletions blah/aaa.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
__canonical: aaa
__createdAt: 2022-11-16 11:33:05
f1: aaa
f2: bbb
f3: ccc
---
Raw MD text ...
8 changes: 8 additions & 0 deletions blah/abc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
__canonical: abc
__createdAt: 2022-11-16 11:32:36
f1: abc
f2: def
f3: ghi
---
Raw MD text ...
30 changes: 30 additions & 0 deletions blah/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "blah",
"canonicalField": "f1",
"sortField": "__createdAt",
"sortDirection": "DESC",
"pagesize": 0,
"prevNextLinks": true,
"detailTemplate": "blah_detail.blade.php",
"listTemplate": "blah_list.blade.php",
"fields": [
{
"name": "f1",
"min": "0",
"max": "0",
"type": "string"
},
{
"name": "f2",
"min": "0",
"max": "0",
"type": "string"
},
{
"name": "f3",
"min": "0",
"max": "0",
"type": "string"
}
]
}
136 changes: 74 additions & 62 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,65 +1,77 @@
{
"name": "hyde/hyde",
"description": "Static Site Generator to rapidly create Blogs, Documentation, and more, using Markdown and Blade.",
"keywords": ["framework", "hyde", "hyde framework"],
"homepage": "https://hydephp.com",
"type": "project",
"license": "MIT",
"support": {
"issues": "https://github.com/hydephp/hyde/issues",
"source": "https://github.com/hydephp/hyde"
},
"authors": [
{
"name": "Caen De Silva",
"email": "caen@desilva.se"
}
],
"require": {
"php": "^8.1",
"hyde/framework": "dev-master",
"laravel-zero/framework": "^9.1"
},
"require-dev": {
"hyde/realtime-compiler": "dev-master",
"hyde/testing": "dev-master",
"laravel/tinker": "^2.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.8",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^4.24"
},
"autoload": {
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"@php -r \"@unlink('./storage/framework/cache/packages.php');\"",
"@php hyde package:discover --ansi"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": false,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": ["hyde"],
"repositories": [
{
"type": "path",
"url": "./packages/*"
}
"name": "hyde/hyde",
"description": "Static Site Generator to rapidly create Blogs, Documentation, and more, using Markdown and Blade.",
"keywords": [
"framework",
"hyde",
"hyde framework"
],
"homepage": "https://hydephp.com",
"type": "project",
"license": "MIT",
"support": {
"issues": "https://github.com/hydephp/hyde/issues",
"source": "https://github.com/hydephp/hyde"
},
"authors": [
{
"name": "Caen De Silva",
"email": "caen@desilva.se"
}
],
"require": {
"php": "^8.1",
"hyde/framework": "dev-master",
"illuminate/validation": "^9.0.0",
"laravel-zero/framework": "^9.1",
"rgasch/illuminate-collection-extended": "^1.0",
"thecodingmachine/safe": "^2.4"
},
"require-dev": {
"driftingly/rector-laravel": "^0.14.0",
"hyde/realtime-compiler": "dev-master",
"hyde/testing": "dev-master",
"laravel/tinker": "^2.7",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.8",
"rector/rector": "^0.14.6",
"squizlabs/php_codesniffer": "^3.7",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"vimeo/psalm": "^4.24"
},
"autoload": {
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"@php -r \"@unlink('./storage/framework/cache/packages.php');\"",
"@php hyde package:discover --ansi"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": false,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": [
"hyde"
],
"repositories": [
{
"type": "path",
"url": "./packages/*"
}
]
}
Loading

0 comments on commit b1f21b2

Please sign in to comment.