Skip to content

chore: upgrade devDependencies#50

Merged
tapioca24 merged 5 commits into
mainfrom
chore/upgrade-devdependencies
Apr 14, 2026
Merged

chore: upgrade devDependencies#50
tapioca24 merged 5 commits into
mainfrom
chore/upgrade-devdependencies

Conversation

@tapioca24
Copy link
Copy Markdown
Owner

Summary

  • @playwright/test: 1.58.2 → 1.59.1
  • happy-dom: 17.6.3 → 20.8.9
  • typescript: 4.9.5 → 6.0.2
  • vite: 4.5.14 → 8.0.6
  • vitest: 3.2.4 → 4.1.2

以下のパッケージは pnpm の minimumReleaseAge(7日)制限のため今回見送り。解禁後に再アップグレード予定:

  • prettier: 3.8.1 のまま(3.8.2 は 4/10 リリース)
  • vite: 8.0.8 のまま(8.0.8 は 4/9 リリース)
  • vitest: 4.1.4 のまま(4.1.4 は 4/9 リリース)
  • happy-dom: 20.9.0 のまま(20.9.0 は 4/13 リリース)

Breaking changes への対応

  • TypeScript 6.0: tsconfig.json の非推奨オプション(moduleResolution: "node10"baseUrl)を修正。moduleResolution: "bundler" に変更し、baseUrl を削除して paths を相対パスに修正
  • TypeScript 6.0: Uint8Array<ArrayBufferLike>BlobPart に代入不可になった型エラーを修正。new Uint8Array(source)ArrayBuffer バックのコピーを作成
  • Vite 6+: CSS を文字列としてインポートする際に ?inline クエリが必要になった変更に対応。env.d.ts/// <reference types="vite/client" /> を追加

Test plan

  • pnpm build 成功
  • pnpm test:unit run — 52件全パス
  • pnpm test:e2e — Chromium / Firefox / WebKit 計 81件全パス

🤖 Generated with Claude Code

tapioca24 and others added 5 commits April 14, 2026 21:59
- @playwright/test: 1.58.2 → 1.59.1
- happy-dom: 17.6.3 → 20.8.9
- typescript: 4.9.5 → 6.0.2
- vite: 4.5.14 → 6.4.2
- vitest: 3.2.4 → 4.1.2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- moduleResolution: "Node" → "bundler" (appropriate for Vite projects)
- Remove deprecated baseUrl option
- Fix paths values to use relative paths (./src/* instead of src/*)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
TypeScript 6.0 tightened BlobPart to require ArrayBufferView<ArrayBuffer>,
rejecting Uint8Array<ArrayBufferLike>. Use new Uint8Array(source) to
safely copy data into a guaranteed ArrayBuffer-backed typed array.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use ?inline query to import CSS as a string, as required by Vite 6.
Replace hand-written module declaration with official vite/client
reference directive in env.d.ts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tapioca24 tapioca24 merged commit 5e87cc0 into main Apr 14, 2026
2 checks passed
@tapioca24 tapioca24 deleted the chore/upgrade-devdependencies branch April 14, 2026 15:08
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