Skip to content

chore: upgrade dependencies and modernize tooling#105

Merged
Yukiniro merged 7 commits into
masterfrom
chore/upgrade-deps-and-tooling
Mar 22, 2026
Merged

chore: upgrade dependencies and modernize tooling#105
Yukiniro merged 7 commits into
masterfrom
chore/upgrade-deps-and-tooling

Conversation

@Yukiniro

Copy link
Copy Markdown
Owner

Summary

  • CI: Add GitHub Actions workflow (Node 20 + 22 matrix)
  • Vitest: v1 → v4, add vite v6, remove unused c8
  • Bug fix: Remove describe.only in tests — previously only 1 of 7 test suites was running
  • happy-dom: v12 → v20
  • ESLint: v8 → v10, migrate .eslintrc to flat config (eslint.config.mjs), remove .babelrc
  • Playground: vite v4 → v6, @vitejs/plugin-react v4 → v5
  • Minor deps: typescript v5.3→v5.9, prettier v3.1→v3.8, changelogen v0.5→v0.6, zhlint v0.7→v0.8, @types/node v20→v22
  • Engines: Add "node": ">=20" (required by vitest v4 + eslint v10)
  • Renovate: Optimize config — use config:recommended, group non-major updates, group vitest packages
  • tsconfig: Exclude site/, playground/, dist/ from type checking

Test plan

  • pnpm test passes (lint + type-check + all 29 tests)
  • pnpm build succeeds (unbuild)
  • Playground builds with vite v6
  • CI workflow runs on this PR

Run lint, type-check, and tests on push to master and PRs,
with Node.js 20 and 22 matrix.
- vitest ^1.0.0 → ^4.1.0, @vitest/coverage-v8 ^1.0.1 → ^4.1.0
- Add vite ^6.4.1 (required by vitest v4)
- Remove c8 (unused, vitest has built-in v8 coverage)
- Fix describe.only in toukey.test.ts that was skipping most test suites
- All 29 tests now run and pass
Security update for test environment dependency.
- eslint ^8.52.0 → ^10.1.0 with flat config (eslint.config.mjs)
- eslint-config-unjs ^0.2.1 → ^0.6.2
- jiti ^1.21.0 → ^2.5.1
- Remove legacy .eslintrc, .eslintignore, .babelrc
- Remove --ext flag from lint scripts (unsupported in flat config)
- Override unicorn rules that conflict with existing code style
- Fix tsconfig.json to exclude site/playground/dist from type checking
- vite ^4.0.0 → ^6.4.1
- @vitejs/plugin-react ^4.0.0 → ^5.2.0
- Add engines: node >= 20 (required by vitest v4, eslint v10)
- @types/node ^20.10.3 → ^22.18.0
- typescript ^5.3.2 → ^5.9.3
- prettier ^3.1.0 → ^3.8.1
- changelogen ^0.5.5 → ^0.6.2
- zhlint ^0.7.1 → ^0.8.2
- config:base → config:recommended
- Add :semanticCommits for consistent commit messages
- Group all non-major updates into a single PR
- Group vitest packages together to avoid version mismatch
@vercel

vercel Bot commented Mar 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
toukey Ready Ready Preview, Comment Mar 22, 2026 2:37pm

Request Review

@Yukiniro Yukiniro merged commit b8f620a into master Mar 22, 2026
2 of 4 checks passed
@Yukiniro Yukiniro deleted the chore/upgrade-deps-and-tooling branch March 22, 2026 14:34
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