Skip to content

chore: devDependencies と Node.js 24.20.0 を更新 - #113

Merged
nemuvski merged 1 commit into
mainfrom
chore/update-dev-dependencies-2026-09
Sep 3, 2026
Merged

nemuvski merged 1 commit into
mainfrom
chore/update-dev-dependencies-2026-09

Conversation

@cursor

@cursor cursor Bot commented Sep 3, 2026

Copy link
Copy Markdown

概要

公開パッケージとしての互換性を維持しつつ、開発環境の devDependencies と開発用 Node.js を現行メジャー範囲で最新化しました。

更新前の main で npm ci / format / lint / typecheck / test / build を実行し、既存の検証失敗はありませんでした。

何をアップデートしたか

Node.js

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.0
eslint ^8.57.0 → ^8.57.1
eslint-config-prettier ^9.1.0 → ^9.1.2
prettier ^3.2.5 → ^3.9.6
ts-jest ^29.1.2 → ^29.4.12
tsup ^8.0.2 → ^8.5.1
typescript ^5.4.2 → ^5.9.3

package-lock.json は npm install で更新しています。

まとめた理由

開発用ツールチェーンの定期メンテナンスで、すべて現行メジャー内の更新です。Node.js は CI 対象の 24.x パッチ更新のみで、@types/node は engines.node(>=18)に合わせて 18.x に留めています。

Breaking Changes / Migration

  • TypeScript 5.4 → 5.9: TypedArray / Buffer の型変更があるが、このリポジトリでは利用がなく typecheck はそのまま通過しました。ソース変更は不要です
  • Prettier 3.2 → 3.9: JS/TS のフォーマット差分は発生しませんでした
  • tsup 8.0 → 8.5: 8.x 内に追加の Breaking Change はなく、ビルドは成功しています。tsdown への移行は行っていません
  • @swc/core 1.4 → 1.16: プラグイン ABI の話はありますが、このリポジトリでは SWC プラグイン未使用です

見送り

  • dependencies(async-retry): 公開パッケージの互換性維持のため対象外
  • engines.node / パッケージ version / GitHub Actions: 対象外
  • ESLint 9/10、@typescript-eslint 8、eslint-config-prettier 10: flat config 移行が必要
  • Jest 30 / @types/jest 30 / eslint-plugin-jest 28+: テストランナーのメジャー
  • TypeScript 6.x / 7.x: 30 メジャー、7.0 は Go 移植で Compiler API 非搭載
  • @types/node 20/22/24/26: engines.node 下限は 18 のため 18.x に留める
  • Node.js 26: Current 線で、CI で未検証
  • MSW 2.15 / 2.12: ESM 専用依存 rettime で Jest 29 が起動不能。MSW は 2025 年に Jest サポート終了を表明しており、現行の ^2.2.3 に戻した
  • tsup → tsdown: ビルド成果物への影響が大きいため移行しない

検証

  • npm ci — 成功
  • npm run format — 成功
  • npm run lint — 成功
  • npm run typecheck — 成功
  • npm run test — 65 件成功、既存の 10 件は skip
  • npm run build — 成功
Open in Web View Automation 

開発用依存を現行メジャー内で最新化し、.node-version を CI 対象の最新 Node.js 24 パッチへ合わせる。

Co-authored-by: utsunomiya <utsunomiya@microcms.co.jp>
@nemuvski
nemuvski marked this pull request as ready for review September 3, 2026 03:04

@nemuvski nemuvski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nemuvski
nemuvski merged commit eb36f3e into main Sep 3, 2026
5 checks passed
@nemuvski
nemuvski deleted the chore/update-dev-dependencies-2026-09 branch September 3, 2026 03:12
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.

2 participants