diff --git a/app/Commands/CleanCommand.php b/app/Commands/CleanCommand.php index 9f167f1..7fc9507 100644 --- a/app/Commands/CleanCommand.php +++ b/app/Commands/CleanCommand.php @@ -3,7 +3,6 @@ namespace LinaPhp\Lina\Commands; use Illuminate\Console\Command; -use League\Flysystem\Filesystem; use Symfony\Component\Finder\Finder; class CleanCommand extends Command diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 3cf259b..362692a 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -9,11 +9,10 @@ use LinaPhp\Lina\MarkdownRenderer; use Illuminate\Console\Signals; use Illuminate\Support\ServiceProvider; -use Symfony\Component\Console\SignalRegistry\SignalRegistry; class AppServiceProvider extends ServiceProvider { - public function register() + public function register(): void { $this->app->bind(MarkdownParserContract::class, MarkdownParser::class); @@ -35,6 +34,6 @@ public function register() public function boot() { config(['view.paths' => [getcwd() . '/resources/views']]); - config(['view.compiled' => getcwd() . '/resources/cache']); + config(['view.compiled' => getcwd() . '/composer/.lina/cache']); } } diff --git a/skeleton/.gitignore b/skeleton/.gitignore index 50b3ed1..7c4599f 100644 --- a/skeleton/.gitignore +++ b/skeleton/.gitignore @@ -1,5 +1,6 @@ /.idea /vendor /.node_modules +/vendor .DS_Store composer.lock diff --git a/skeleton/composer.json b/skeleton/composer.json new file mode 100644 index 0000000..bd42702 --- /dev/null +++ b/skeleton/composer.json @@ -0,0 +1,13 @@ +{ + "name": "linaphp/lina-site", + "description": "The skeleton application for the Lina static site generator.", + "type": "project", + "keywords": ["linaphp", "static-site"], + "require": { + "linaphp/lina": "^0.6" + }, + "license": "MIT", + "scripts": { + "serve": "./vendor/bin/lina serve" + } +}