From a5dc851e0d9d60ae3f4d966bbfaf8d558800debb Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Fri, 25 Sep 2026 23:14:13 +0900 Subject: [PATCH] build: move engineStrict and saveExact to pnpm-workspace.yaml (13-09) pnpm 11 ignores these keys in .npmrc, so installs on an unsupported Node succeeded and new dependencies were saved with a ^ range. pnpm config now reports both as true. Co-Authored-By: Claude Opus 5.5 --- .npmrc | 4 ++-- pnpm-workspace.yaml | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index d9ca8860..bb2997b5 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -engine-strict=true -save-exact=true +# pnpm 11 reads engineStrict and saveExact from pnpm-workspace.yaml, not from +# this file (review 13-09). Keep only npm-level settings such as registry auth here. diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8a3cf49f..ade8c8d4 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,8 @@ +# 13-09. pnpm 11 ignores these keys in .npmrc (`pnpm config list` did not show +# them), so an unsupported Node version installed and new dependencies were +# saved with a ^ range. pnpm 11 reads its settings from this file. +engineStrict: true +saveExact: true allowBuilds: esbuild: true msw: true