chore(deps): bump zod 4, vitest 4, ts 6, eslint 10, node 24, actions#45
Merged
Conversation
Consolidated major dependency updates superseding Renovate PRs #32-#38, which each failed CI: their lockfiles were stale (renovate/artifacts could not run) and the major bumps interact, so they cannot land individually without breaking main between merges. - zod ^3.25 -> ^4: override moved to pnpm-workspace.yaml (pnpm 10+ no longer reads pnpm.overrides from package.json); util.ts uses z.infer<z.ZodObject> since objectOutputType was removed in zod 4. - typescript ^5.7 -> ^6: tsconfig gains explicit types:["node"] + lib, and ignoreDeprecations:"6.0" for the baseUrl deprecation surfaced in the dts build. - vitest ^2 -> ^4: add vite ^8 to satisfy vitest 4's new vite peer range. - eslint ^9 -> ^10. - @types/node ^20 -> ^24; .nvmrc, Dockerfile, and CI node 20/22 -> 24. - github-actions: checkout v6, setup-node v6, pnpm/action-setup v6 (pnpm 11), codeql-action v4, release-please-action v5. Lockfile regenerated with pnpm 11. typecheck, lint, build, and 56 tests pass; dist/bin.js is 17.9 KB (<100 KB budget); --version smoke passes.
This was referenced Jun 13, 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.
What
Consolidated major dependency updates. Supersedes the seven failing Renovate PRs: #32 (typescript v6), #33 (eslint v10), #34 (github-actions major), #35 (node v24), #36 (vitest v4), #38 (zod v4).
Why one PR instead of merging each
Every Renovate PR failed CI with
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH: therenovate/artifactsstep never regeneratedpnpm-lock.yamlagainst the bumpedpackage.json. Beyond the lockfile, these majors interact (eslint 10 ↔ ts-eslint, vitest 4 ↔ vite peer, zod 4 ↔ MCP SDK overloads, pnpm 9 → 11 override relocation), and they all touch the shared lockfile — so merging them one at a time would leavemainbroken between merges. Landing them together is the only way to get a greenmain.Changes
^3.25→^4— override moved topnpm-workspace.yaml(pnpm 10+ no longer readspnpm.overridesfrompackage.json);src/tools/util.tsusesz.infer<z.ZodObject<I>>becauseobjectOutputTypewas removed in zod 4.^5.7→^6—tsconfig.jsongains explicittypes: ["node"]+lib, andignoreDeprecations: "6.0"for thebaseUrldeprecation surfaced in the dts build.^2→^4— addedvite ^8to satisfy vitest 4's new vite peer range (^6 || ^7 || ^8).^9→^10.^20→^24;.nvmrc,Dockerfile, and CInode-version20/22→24.checkoutv6,setup-nodev6,pnpm/action-setupv6 (pnpm11),codeql-actionv4,release-please-actionv5.Lockfile regenerated with pnpm 11.
Test plan
Local, pnpm 11, clean
--frozen-lockfile(CI parity):pnpm typecheck✓pnpm lint✓ (eslint 10)pnpm build✓ —dist/bin.js17.9 KB (< 100 KB budget)pnpm test✓ — 10 files / 56 tests (vitest 4)node dist/bin.js --version✓