From 2bc9651ddbc0a48331d630b8d680d75111dfa31f Mon Sep 17 00:00:00 2001 From: Hyunwoo Jung Date: Fri, 7 Aug 2026 15:37:07 +0900 Subject: [PATCH] fix(ci): record @slopus/happy-wire under devDependencies in the lockfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e7e0ff6b moved `@slopus/happy-wire` from `dependencies` to `devDependencies` in packages/happy-cli/package.json, but pnpm-lock.yaml still records it under `dependencies` for that importer. `pnpm install --frozen-lockfile` compares the two field by field and refuses: ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /packages/happy-cli/package.json Failure reason: "devDependencies" in the lockfile (…) doesn't match the same field in package.json (… "@slopus/happy-wire": "workspace:*" …) CI sets frozen-lockfile by default, so this fails at the install step — before any check runs — on main and on every PR opened against it. This moves the three lockfile lines and changes nothing else. Resolution is untouched (`link:../happy-wire` either way); only the field recording it moves. A plain `pnpm install --lockfile-only` regeneration also fixes the mismatch but drags in unrelated churn from re-resolved floating ranges (+76/-96 here, including a typescript resolution bump), so the entry is moved by hand instead. Verified on a clean checkout with the pinned pnpm 10.11.0: `pnpm install --frozen-lockfile` fails on 38767705 and succeeds with this change; the install leaves the lockfile untouched afterwards; happy-wire and happy-cli both build, and the published bundle carries no import or require of @slopus/happy-wire, so the inlining e7e0ff6b was after still holds. --- pnpm-lock.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08f5e189bb..542189733b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -927,9 +927,6 @@ importers: '@paralleldrive/cuid2': specifier: ^2.2.2 version: 2.3.1 - '@slopus/happy-wire': - specifier: workspace:* - version: link:../happy-wire '@stablelib/base64': specifier: ^2.0.1 version: 2.0.1 @@ -1018,6 +1015,9 @@ importers: '@eslint/compat': specifier: ^1 version: 1.4.1(eslint@9.39.2(jiti@2.6.1)) + '@slopus/happy-wire': + specifier: workspace:* + version: link:../happy-wire '@types/inquirer': specifier: ^9.0.9 version: 9.0.9