Switch frontend package management to pnpm
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: test_and_check_app
|
||||
description: Build the test image and run all application checks
|
||||
description: Build the test image with pnpm and run all application checks
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
||||
+3
-2
@@ -67,8 +67,9 @@ COPY --from=node_binary /usr/local/ /usr/local/
|
||||
COPY . /var/www
|
||||
|
||||
RUN composer install --prefer-dist --no-interaction --no-progress \
|
||||
&& npm ci \
|
||||
&& npm run build
|
||||
&& corepack enable pnpm \
|
||||
&& pnpm install --frozen-lockfile \
|
||||
&& pnpm run build
|
||||
|
||||
FROM build AS test
|
||||
|
||||
|
||||
+5
-5
@@ -48,8 +48,8 @@
|
||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
||||
"@php artisan key:generate",
|
||||
"@php artisan migrate --force",
|
||||
"npm install",
|
||||
"npm run build"
|
||||
"pnpm install --frozen-lockfile",
|
||||
"pnpm run build"
|
||||
],
|
||||
"dev": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
@@ -63,9 +63,9 @@
|
||||
],
|
||||
"ci:check": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"npm audit --audit-level=high",
|
||||
"npm run lint:check",
|
||||
"npm run types:check",
|
||||
"pnpm audit --audit-level=high",
|
||||
"pnpm run check",
|
||||
"pnpm run types:check",
|
||||
"@test"
|
||||
],
|
||||
"types:check": [
|
||||
|
||||
Generated
-5518
File diff suppressed because it is too large
Load Diff
+9
-1
@@ -46,5 +46,13 @@
|
||||
"@tailwindcss/oxide-win32-x64-msvc": "^4.0.1",
|
||||
"lightningcss-linux-x64-gnu": "^1.29.1",
|
||||
"lightningcss-win32-x64-msvc": "^1.29.1"
|
||||
}
|
||||
},
|
||||
"devEngines": {
|
||||
"packageManager": {
|
||||
"name": "pnpm",
|
||||
"version": "11.9.0",
|
||||
"onFail": "error"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@11.9.0"
|
||||
}
|
||||
|
||||
Generated
+3647
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,7 @@
|
||||
packages:
|
||||
- '.'
|
||||
|
||||
ignoreScripts: true
|
||||
|
||||
publicHoistPattern:
|
||||
- '@inertiajs/core'
|
||||
|
||||
Reference in New Issue
Block a user