diff options
author | Sam Light <sam@lightscale.co.uk> | 2025-04-01 21:21:09 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-04-01 21:21:09 +0100 |
commit | 2eebabe00d5f5686241cfdccf807e7ce4cba642e (patch) | |
tree | 7dffec092ea6bf184c523aba9dd4f185ecde5e9a | |
parent | c7a5605d5966c32059b4a81198453e1c5e022e55 (diff) |
-rw-r--r-- | composer.json | 5 | ||||
-rw-r--r-- | composer.lock | 22 | ||||
-rw-r--r-- | workbench/app/Providers/WorkbenchServiceProvider.php | 3 | ||||
-rw-r--r-- | workbench/routes/web.php | 4 |
4 files changed, 19 insertions, 15 deletions
diff --git a/composer.json b/composer.json index 7e7f4f4..40893dd 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,10 @@ "@prepare" ], "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", - "prepare": "@php vendor/bin/testbench package:discover --ansi", + "prepare": [ + "@php vendor/bin/testbench package:discover --ansi", + "@php vendor/bin/testbench package:sync-skeleton --ansi" + ], "build": "@php vendor/bin/testbench workbench:build --ansi", "serve": [ "Composer\\Config::disableProcessTimeout", diff --git a/composer.lock b/composer.lock index 1dbefbe..53e67ca 100644 --- a/composer.lock +++ b/composer.lock @@ -1582,16 +1582,16 @@ }, { "name": "laravel/framework", - "version": "v12.4.1", + "version": "v12.5.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "cdefd852ecb459a65392cd6ccb578c92a15b8e2b" + "reference": "0ab4791b2c5f405f8728e4481265599803564c02" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/cdefd852ecb459a65392cd6ccb578c92a15b8e2b", - "reference": "cdefd852ecb459a65392cd6ccb578c92a15b8e2b", + "url": "https://api.github.com/repos/laravel/framework/zipball/0ab4791b2c5f405f8728e4481265599803564c02", + "reference": "0ab4791b2c5f405f8728e4481265599803564c02", "shasum": "" }, "require": { @@ -1793,7 +1793,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-03-30T16:27:26+00:00" + "time": "2025-04-01T14:40:42+00:00" }, { "name": "laravel/pail", @@ -3026,16 +3026,16 @@ }, { "name": "nette/utils", - "version": "v4.0.5", + "version": "v4.0.6", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" + "reference": "ce708655043c7050eb050df361c5e313cf708309" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", - "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "url": "https://api.github.com/repos/nette/utils/zipball/ce708655043c7050eb050df361c5e313cf708309", + "reference": "ce708655043c7050eb050df361c5e313cf708309", "shasum": "" }, "require": { @@ -3106,9 +3106,9 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.5" + "source": "https://github.com/nette/utils/tree/v4.0.6" }, - "time": "2024-08-07T15:39:19+00:00" + "time": "2025-03-30T21:06:30+00:00" }, { "name": "nikic/php-parser", diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php index ceaeef0..e2150c3 100644 --- a/workbench/app/Providers/WorkbenchServiceProvider.php +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -24,8 +24,5 @@ class WorkbenchServiceProvider extends ServiceProvider Assets::registerManifest( 'main', public_path('dist/manifest.json'), '/dist' ); - - Assets::queueScript('main::main.js'); - Assets::queueStyle('main::main.css'); } } diff --git a/workbench/routes/web.php b/workbench/routes/web.php index 67e84cf..bc9fdbc 100644 --- a/workbench/routes/web.php +++ b/workbench/routes/web.php @@ -1,7 +1,11 @@ <?php +use Lightscale\LaralightAssets\Facades\Assets; + use Illuminate\Support\Facades\Route; Route::get('/', function () { + Assets::queueScript('main::main.js'); + Assets::queueStyle('main::main.css'); return view('index'); }); |