From 5863be7dac97ae228b58e3ce9594bc53c5e8f3a8 Mon Sep 17 00:00:00 2001 From: CarterPerez-dev Date: Fri, 8 May 2026 05:46:38 -0400 Subject: [PATCH] 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. --- .github/workflows/lint.yml | 2 +- PROJECTS/advanced/bug-bounty-platform/frontend/.npmrc | 2 ++ PROJECTS/advanced/encrypted-p2p-chat/frontend/.npmrc | 2 ++ PROJECTS/beginner/c2-beacon/frontend/.npmrc | 2 ++ PROJECTS/intermediate/api-security-scanner/frontend/.npmrc | 2 ++ PROJECTS/intermediate/siem-dashboard/frontend/.npmrc | 2 ++ 6 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 PROJECTS/advanced/bug-bounty-platform/frontend/.npmrc create mode 100644 PROJECTS/advanced/encrypted-p2p-chat/frontend/.npmrc create mode 100644 PROJECTS/beginner/c2-beacon/frontend/.npmrc create mode 100644 PROJECTS/intermediate/api-security-scanner/frontend/.npmrc create mode 100644 PROJECTS/intermediate/siem-dashboard/frontend/.npmrc diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2afbb055..bffb1595 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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' diff --git a/PROJECTS/advanced/bug-bounty-platform/frontend/.npmrc b/PROJECTS/advanced/bug-bounty-platform/frontend/.npmrc new file mode 100644 index 00000000..171c9652 --- /dev/null +++ b/PROJECTS/advanced/bug-bounty-platform/frontend/.npmrc @@ -0,0 +1,2 @@ +strict-dep-builds=false +auto-install-peers=true diff --git a/PROJECTS/advanced/encrypted-p2p-chat/frontend/.npmrc b/PROJECTS/advanced/encrypted-p2p-chat/frontend/.npmrc new file mode 100644 index 00000000..171c9652 --- /dev/null +++ b/PROJECTS/advanced/encrypted-p2p-chat/frontend/.npmrc @@ -0,0 +1,2 @@ +strict-dep-builds=false +auto-install-peers=true diff --git a/PROJECTS/beginner/c2-beacon/frontend/.npmrc b/PROJECTS/beginner/c2-beacon/frontend/.npmrc new file mode 100644 index 00000000..171c9652 --- /dev/null +++ b/PROJECTS/beginner/c2-beacon/frontend/.npmrc @@ -0,0 +1,2 @@ +strict-dep-builds=false +auto-install-peers=true diff --git a/PROJECTS/intermediate/api-security-scanner/frontend/.npmrc b/PROJECTS/intermediate/api-security-scanner/frontend/.npmrc new file mode 100644 index 00000000..171c9652 --- /dev/null +++ b/PROJECTS/intermediate/api-security-scanner/frontend/.npmrc @@ -0,0 +1,2 @@ +strict-dep-builds=false +auto-install-peers=true diff --git a/PROJECTS/intermediate/siem-dashboard/frontend/.npmrc b/PROJECTS/intermediate/siem-dashboard/frontend/.npmrc new file mode 100644 index 00000000..171c9652 --- /dev/null +++ b/PROJECTS/intermediate/siem-dashboard/frontend/.npmrc @@ -0,0 +1,2 @@ +strict-dep-builds=false +auto-install-peers=true