⬆️ pnpm 11.3.0 へアップグレード - #254
Merged
Merged
Conversation
#246 で pnpm 10.33.0 に固定していた制約を解除し、pnpm 11 系へ移行。 pnpm 11 の破壊的変更 (`strictDepBuilds` のデフォルト true 化) に対応するため、 `pnpm-workspace.yaml` で許可するビルドスクリプトを明示的に列挙。 あわせて軽微な依存パッケージのバージョンを更新。
- prettier の指摘に従いシングルクォート → ダブルクォートへ整形 - Docker ビルドで pnpm-workspace.yaml が COPY されず `strictDepBuilds` が ERR_PNPM_IGNORED_BUILDS で落ちていたため、 cloudrun/Dockerfile の deps ステージに pnpm-workspace.yaml* を追加
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
#246 で CI を緑にするために pnpm 10.33.0 へ固定していたが、本来追従したかった pnpm 11 系へ正式に移行する。
変更内容
1. pnpm のバージョン更新
package.json#packageManager:pnpm@10.33.0→pnpm@11.3.02.
pnpm-workspace.yamlを新規追加pnpm 11 では
strictDepBuildsがデフォルトtrueとなり、未承認のビルドスクリプトを実行する依存があると fatal エラーになる。pnpm 11 からpackage.json#pnpmフィールドは読まれないため、pnpm-workspace.yamlに許可リストを切り出した。3. 軽微な依存バージョン更新
pnpm installで取り込まれた範囲内のパッチ/マイナー更新:@uiw/react-md-editor4.1.0 → 4.1.1firebase-admin13.9.0 → 13.10.0react-hook-form7.75.0 → 7.76.1vitest4.1.5 → 4.1.7@types/node22.19.18 → 22.19.19@types/react19.2.14 → 19.2.15firebase-tools15.17.0 → 15.18.0postcss8.5.14 → 8.5.15動作確認
pnpm lint成功pnpm build成功