Skip to content

Commit

Permalink
Clear project files by plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-oleksyuk committed Sep 29, 2024
1 parent 0cbd345 commit 3b7b12a
Show file tree
Hide file tree
Showing 21 changed files with 172 additions and 216 deletions.
15 changes: 0 additions & 15 deletions .editorconfig

This file was deleted.

7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_modules
var
.pnpm-store
.php-cs-fixer.cache
bootstrap/cache

# Ignore .env files as they are personal.
.env
Expand All @@ -22,3 +23,9 @@ dump

# Ignore OS files.
.DS_Store

# Ignore Laravel files.
public
storage
artisan
.editorconfig
15 changes: 0 additions & 15 deletions artisan

This file was deleted.

2 changes: 0 additions & 2 deletions bootstrap/cache/.gitignore

This file was deleted.

14 changes: 4 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"type": "project",
"require": {
"php": "^8.3",
"laravel/framework": "^11.23"
"laravel/framework": "^11.25",
"maks-oleksyuk/laravel-composer-scaffold": "0.0.1"
},
"require-dev": {
"laravel/pint": "^1.17"
"laravel/pint": "^1.18"
},
"config": {
"allow-plugins": {
"maks-oleksyuk/laravel-composer-scaffold": true,
"pestphp/pest-plugin": true,
"php-http/discovery": true
},
Expand All @@ -31,14 +33,6 @@
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
]
}
}
Loading

0 comments on commit 3b7b12a

Please sign in to comment.