mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Move /admin to /app & upgrade Larastan
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
const esbuild = require('esbuild')
|
||||
const shouldWatch = process.argv.includes('--watch')
|
||||
|
||||
const packages = ['admin', 'forms', 'notifications', 'support']
|
||||
const packages = ['app', 'forms', 'notifications', 'support']
|
||||
|
||||
packages.forEach((package) => {
|
||||
esbuild
|
||||
@@ -30,8 +30,8 @@ esbuild
|
||||
? `'production'`
|
||||
: `'development'`,
|
||||
},
|
||||
entryPoints: [`packages/admin/resources/js/echo.js`],
|
||||
outfile: `packages/admin/dist/echo.js`,
|
||||
entryPoints: [`packages/app/resources/js/echo.js`],
|
||||
outfile: `packages/app/dist/echo.js`,
|
||||
bundle: true,
|
||||
platform: 'browser',
|
||||
mainFields: ['module', 'main'],
|
||||
|
||||
+4
-3
@@ -16,13 +16,14 @@
|
||||
"filament/support": "*",
|
||||
"laravel/pint": "^1.0",
|
||||
"league/flysystem-aws-s3-v3": "^3.0",
|
||||
"nunomaduro/larastan": "^1.0",
|
||||
"nunomaduro/larastan": "^2.0",
|
||||
"orchestra/testbench": "^7.0",
|
||||
"pestphp/pest": "^1.17",
|
||||
"pestphp/pest-plugin-laravel": "^1.0",
|
||||
"pestphp/pest-plugin-livewire": "^1.0",
|
||||
"pestphp/pest-plugin-parallel": "^0.3",
|
||||
"phpstan/extension-installer": "^1.1",
|
||||
"phpstan/phpstan": "1.8.8",
|
||||
"ryangjchandler/blade-capture-directive": "^0.2",
|
||||
"spatie/invade": "^1.0",
|
||||
"spatie/laravel-medialibrary": "^9.11|^10.0",
|
||||
@@ -35,12 +36,12 @@
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
"packages/admin/src/helpers.php",
|
||||
"packages/app/src/helpers.php",
|
||||
"packages/support/src/helpers.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Filament\\": [
|
||||
"packages/admin/src",
|
||||
"packages/app/src",
|
||||
"packages/spatie-laravel-media-library-plugin/src",
|
||||
"packages/spatie-laravel-settings-plugin/src",
|
||||
"packages/spatie-laravel-tags-plugin/src",
|
||||
|
||||
Generated
+127
-935
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -2,10 +2,10 @@
|
||||
"name": "filament",
|
||||
"scripts": {
|
||||
"dev:js": "node bin/build --watch",
|
||||
"dev:css": "npx tailwindcss -c ./packages/admin/tailwind.config.js -i ./packages/admin/resources/css/index.css -o ./packages/admin/dist/index.css --minify --watch",
|
||||
"dev:css": "npx tailwindcss -c ./packages/app/tailwind.config.js -i ./packages/app/resources/css/index.css -o ./packages/app/dist/index.css --minify --watch",
|
||||
"dev": "npm-run-all --parallel dev:*",
|
||||
"build:js": "node bin/build",
|
||||
"build:css": "npx tailwindcss -c ./packages/admin/tailwind.config.js -i ./packages/admin/resources/css/index.css -o ./packages/admin/dist/index.css --minify",
|
||||
"build:css": "npx tailwindcss -c ./packages/app/tailwind.config.js -i ./packages/app/resources/css/index.css -o ./packages/app/dist/index.css --minify",
|
||||
"build": "npm-run-all build:*",
|
||||
"prettier": "npx prettier --write '**/*.{css,js,yml}' '!**/dist' '!**/vendor'"
|
||||
},
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user