fix: pin pnpm to v10 in CI and add .npmrc to all frontend projects

pnpm latest on Node 22 resolves to pnpm 11 which rejects lockfileVersion
9.0 lockfiles with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. Pinning to pnpm 10
keeps compatibility with existing lockfiles. .npmrc sets
strict-dep-builds=false so build-script warnings don't hard-fail the
frozen install.
This commit is contained in:
CarterPerez-dev 2026-05-08 05:46:38 -04:00
parent adeec9b36d
commit 5863be7dac
6 changed files with 11 additions and 1 deletions

View File

@ -129,7 +129,7 @@ jobs:
if: matrix.type == 'biome'
uses: pnpm/action-setup@v4
with:
version: latest
version: 10
- name: Cache pnpm store
if: matrix.type == 'biome'

View File

@ -0,0 +1,2 @@
strict-dep-builds=false
auto-install-peers=true

View File

@ -0,0 +1,2 @@
strict-dep-builds=false
auto-install-peers=true

View File

@ -0,0 +1,2 @@
strict-dep-builds=false
auto-install-peers=true

View File

@ -0,0 +1,2 @@
strict-dep-builds=false
auto-install-peers=true

View File

@ -0,0 +1,2 @@
strict-dep-builds=false
auto-install-peers=true