Bump Vite 7 to 8 and laravel-vite-plugin 2 to 3. These are coupled: laravel-vite-plugin@3.1.3 peer-requires vite ^8.0.0, so neither moves alone. Also concurrently 9 to 10, tailwindcss and @tailwindcss/vite to 4.3.3, daisyui to 5.7.0, alpinejs to 3.15.12 and autoprefixer to 10.5.4. Drop axios. It had zero imports anywhere in resources/ or vite.config.js, and Laravel 13 removed it from the skeleton along with resources/js/bootstrap.js. Drop the @rollup/rollup-linux-x64-gnu optional dependency. Vite 8 builds with rolldown instead of rollup, so the pin no longer refers to anything in the build, and it was stuck at an exact 4.9.5 against a rollup that had since reached 4.62.x. The oxide and lightningcss optional pins are kept, as those native binaries are still used by tailwind and vite. vite.config.js needed no changes: it sets no rollupOptions, esbuild or manualChunks, so nothing hit the vite 8 config renames. Node engines (^20.19 || >=22.12) are satisfied by the node:24-alpine build stage, the dev container's Node 24.17 and CI's Node 24. Verified in a node:24-alpine container matching the Dockerfile assets stage: npm install, npm run build (vite 8.1.5, 3 modules, deterministic hashes) and npm ci all succeed. The rendered /upload page references the new build hashes, and the PHP suite still passes 123 tests. npm audit fix patched a pre-existing picomatch advisory reached via laravel-vite-plugin's vite-plugin-full-reload, with no downgrades. A shell-quote advisory via concurrently remains and is also pre-existing; concurrently is a local dev orchestration tool only and is not shipped to browsers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
680 B
JSON
27 lines
680 B
JSON
{
|
|
"$schema": "https://www.schemastore.org/package.json",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"alpinejs": "^3.15.12",
|
|
"autoprefixer": "^10.5.4",
|
|
"concurrently": "^10.0.3",
|
|
"daisyui": "^5.7.0",
|
|
"laravel-vite-plugin": "^3.1.3",
|
|
"tailwindcss": "^4.3.3",
|
|
"vite": "^8.1.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"@tailwindcss/oxide-linux-x64-gnu": "^4.0.1",
|
|
"lightningcss-linux-x64-gnu": "^1.29.1"
|
|
},
|
|
"devDependencies": {
|
|
"chokidar": "^5.0.0"
|
|
}
|
|
}
|