fix(deps): engines.node を範囲指定に緩和し Dependabot を復旧する#29
Merged
Conversation
engines.node が "24.14.1" の厳密 pin だったため、engineStrict: true と 相まって、node 24.18 で動作する Dependabot の lockfile 更新 (corepack pnpm update --lockfile-only) が ERR_PNPM_UNSUPPORTED_ENGINE で失敗し、security update の PR が作成不能になっていた。 ">=24.14.1 <25" に緩和し、engines は互換範囲の宣言に留める。 CI の setup-node (node-version-file: package.json) は範囲内の最新 24.x を解決するようになり、Dependabot 実行環境とも揃う。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
engines.node: "24.14.1"の厳密 pin とengineStrict: trueの組み合わせにより、node 24.18 で動作する Dependabot の lockfile 更新(corepack pnpm update --lockfile-only)がERR_PNPM_UNSUPPORTED_ENGINEで失敗し、security update の PR が作成不能になっていた(security_update_not_possibleで Dependabot Updates job が failure)。">=24.14.1 <25"に緩和し、engines を互換範囲の宣言に留める。影響:
node-version-file: package.json)は範囲内の最新 24.x を解決するようになる(従来は 24.14.1 固定)。Dependabot 実行環境と揃うengineStrict: trueは維持(major 跨ぎ等の非互換環境は引き続きブロック)org 内で唯一 range 指定だった piggy-admin(
>=22.0.0)の Dependabot だけが成功していたことが裏付け。Test plan
Co-Authored-By: Claude noreply@anthropic.com
🤖 Generated with Claude Code