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