Skip to content

Commit 2a216f9

Browse files
nanasessclaude
andcommitted
fix(pnpm): @parcel/watcher を allowBuilds に宣言する
[email protected] が、30.4.1 までの walker + optional fsevents を 置き換えて @parcel/[email protected] を直接依存に追加した。@parcel/watcher は install スクリプトを持つため、allowBuilds へ未宣言のままだと pnpm 11 の strict なビルドスクリプト方針により install が失敗する。 [ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: @parcel/[email protected] 実際に dependabot の development-dependencies グループ PR (#529) で build-and-test / update-dist の両ジョブが `pnpm install --frozen-lockfile` で exit 1 になっている。 プリビルドバイナリ (@parcel/watcher-<os>-<cpu>) が optional dependency で 入るためネイティブビルドは不要 → unrs-resolver と同じく false を宣言する。 @parcel/watcher を含まない現時点の lockfile では未使用エントリになるが、 install は exit 0 で警告も出ないことを確認済み。 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 parent 76c1471 commit 2a216f9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎pnpm-workspace.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ minimumReleaseAgeExclude:
3131
# ビルドは不要 → false。
3232
allowBuilds:
3333
unrs-resolver: false
34+
# @parcel/watcher は jest のファイル監視器。[email protected] が
35+
# 30.4.1 までの walker + optional fsevents を置き換えて直接依存に加えた。
36+
# プリビルドバイナリ (@parcel/watcher-<os>-<cpu>) が optional dependency
37+
# で入るためネイティブビルドは不要 → false。
38+
'@parcel/watcher': false
3439

3540
# 推移的依存のバージョン強制 (セキュリティ修正)。
3641
# qs: typed-rest-client が [email protected] をピン留めしており、修正版 6.15.2 を

0 commit comments

Comments
 (0)