chore: upgrade dependencies and modernize tooling#105
Merged
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Mar 22, 2026
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.
Summary
c8describe.onlyin tests — previously only 1 of 7 test suites was running.eslintrcto flat config (eslint.config.mjs), remove.babelrc"node": ">=20"(required by vitest v4 + eslint v10)config:recommended, group non-major updates, group vitest packagessite/,playground/,dist/from type checkingTest plan
pnpm testpasses (lint + type-check + all 29 tests)pnpm buildsucceeds (unbuild)