Update install scripts for improved dependency handling (#9441)

Replaces 'npm ci' with 'npm install --legacy-peer-deps' in install and update scripts to address peer dependency issues. Adds global npm update and turbo prune steps to the update script for better Docker build support.
This commit is contained in:
CanbiZ 2025-11-25 20:38:35 +01:00 committed by GitHub
parent d2a103c230
commit 8a0b1d864b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -46,7 +46,13 @@ function update_script() {
export NEXT_TELEMETRY_DISABLED=1
export CYPRESS_INSTALL_BINARY=0
export NODE_OPTIONS="--max-old-space-size=4096"
$STD npm ci
$STD turbo prune --scope=@documenso/remix --docker
cd out
$STD cp ../lingui.config.ts .
$STD cp ../turbo.json .
$STD cp -r json/* .
$STD npm install --legacy-peer-deps
$STD cp -r full/* .
$STD turbo run build --filter=@documenso/remix
$STD npm run prisma:migrate-deploy
$STD turbo daemon stop

View File

@ -76,7 +76,7 @@ cd out
$STD cp ../lingui.config.ts .
$STD cp ../turbo.json .
$STD cp -r json/* .
$STD npm ci
$STD npm install --legacy-peer-deps
$STD cp -r full/* .
$STD turbo run build --filter=@documenso/remix
$STD npm run prisma:migrate-deploy