Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(engines): node v22からv20に緩和 #5

Merged
merged 1 commit into from
Mar 2, 2025
Merged

Conversation

wiyco
Copy link
Collaborator

@wiyco wiyco commented Mar 2, 2025

概要

package.jsonenginesをnode v22からv20に緩和する。

内容

このレポジトリでは、Dependabotでのアップデートを有効にしている。
しかし、Dependabotでは node v20 を使用しており、このレポジトリのnodeバージョン要件に満たないためアップデートに失敗する。

https://github.com/dependabot/dependabot-core/blob/b9ea83bcad97700d007e5e5b57609df0aee756c1/npm_and_yarn/Dockerfile#L15-L33

そこで、解決策として以下2通りを考えた。

  1. .npmrcengine-strict=trueを消す
  2. package.jsonのnode指定をnode v20からnode v22に変更する

1.の方法ではパッケージマネージャの強制も緩和されてしまうので、2.の方法を採用した。

破壊的変更

なし

@wiyco wiyco marked this pull request as ready for review March 2, 2025 01:13
@wiyco wiyco merged commit 22c4f0b into main Mar 2, 2025
2 checks passed
@wiyco wiyco deleted the chore/package-engines branch March 2, 2025 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant