chore: devDependencies と Node.js 24.20.0 を更新 - #113
Merged
Merged
Conversation
開発用依存を現行メジャー内で最新化し、.node-version を CI 対象の最新 Node.js 24 パッチへ合わせる。 Co-authored-by: utsunomiya <utsunomiya@microcms.co.jp>
nemuvski
marked this pull request as ready for review
September 3, 2026 03:04
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.
概要
公開パッケージとしての互換性を維持しつつ、開発環境の
devDependenciesと開発用 Node.js を現行メジャー範囲で最新化しました。更新前の
mainでnpm ci/format/lint/typecheck/test/buildを実行し、既存の検証失敗はありませんでした。何をアップデートしたか
Node.js
.node-version:v24.19.0→v24.20.0(CI マトリクスの最新メジャー 24.x の安定最新パッチ、2026-08-26 LTS Krypton)devDependencies(現行メジャー内)
@swc/core^1.4.7→^1.16.1@types/async-retry^1.4.8→^1.4.9@types/jest^29.5.12→^29.5.14@types/node^18.19.14→^18.19.130@typescript-eslint/eslint-plugin^7.2.0→^7.18.0@typescript-eslint/parser^7.2.0→^7.18.0eslint^8.57.0→^8.57.1eslint-config-prettier^9.1.0→^9.1.2prettier^3.2.5→^3.9.6ts-jest^29.1.2→^29.4.12tsup^8.0.2→^8.5.1typescript^5.4.2→^5.9.3package-lock.jsonはnpm installで更新しています。まとめた理由
開発用ツールチェーンの定期メンテナンスで、すべて現行メジャー内の更新です。Node.js は CI 対象の 24.x パッチ更新のみで、
@types/nodeはengines.node(>=18)に合わせて 18.x に留めています。Breaking Changes / Migration
Bufferの型変更があるが、このリポジトリでは利用がなくtypecheckはそのまま通過しました。ソース変更は不要ですtsdownへの移行は行っていません見送り
dependencies(async-retry): 公開パッケージの互換性維持のため対象外engines.node/ パッケージversion/ GitHub Actions: 対象外@typescript-eslint8、eslint-config-prettier10: flat config 移行が必要@types/jest30 /eslint-plugin-jest28+: テストランナーのメジャー@types/node20/22/24/26:engines.node下限は 18 のため 18.x に留めるrettimeで Jest 29 が起動不能。MSW は 2025 年に Jest サポート終了を表明しており、現行の^2.2.3に戻した検証
npm ci— 成功npm run format— 成功npm run lint— 成功npm run typecheck— 成功npm run test— 65 件成功、既存の 10 件は skipnpm run build— 成功