Skip to content

chore: align dev Node requirement with Vitest 5 - #18

Merged
BenKalsky merged 1 commit into
mainfrom
chore/dev-node-22
Sep 12, 2026
Merged

chore: align dev Node requirement with Vitest 5#18
BenKalsky merged 1 commit into
mainfrom
chore/dev-node-22

Conversation

@BenKalsky

Copy link
Copy Markdown
Member

Follow-up to #16 and #17. Vitest 5 requires Node ^22.12.0 || ^24 || >=26 and declares a peer of @types/node@^22 || >=24, but the repo still said Node 20.

Changes

  • @types/node ^20.19.35^22.19.0 (resolves 22.20.2). Every pnpm install printed unmet peer @types/node@"^22.0.0 || >=24.0.0". The warning is gone.
  • .nvmrc22.12.0, the real floor. A bare 22 would accept 22.0–22.11, which fail the suite with no clear cause. (Codex caught exactly that on the equivalent sumit-mcp change.)
  • CLAUDE.md states the requirement next to the dev commands.

Consumer impact: none

Toolchain only. The package declares no engines field, and its peer ranges (react >=18, sumit-api >=0.2.0) are unchanged. CI already runs node-version: 22, which resolves to the latest 22.x, well past 22.12.

Verification

  • pnpm install: no peer warnings
  • pnpm typecheck, pnpm build: clean
  • pnpm test: 33 passed
  • pnpm audit: no known vulnerabilities

🤖 Generated with Claude Code

Vitest 5 (#16) requires Node ^22.12.0 || ^24 || >=26 and declares a peer
of @types/node ^22 || >=24, but the repo still said Node 20:

- `@types/node` ^20.19.35 -> ^22.19.0 (resolves 22.20.2). Every install
  printed an unmet-peer warning; it is gone.
- `.nvmrc` pins 22.12.0, the real floor rather than a bare `22`, which
  would let 22.0-22.11 through and fail the suite unexplained.
- CLAUDE.md states the requirement next to the dev commands.

Toolchain only: the package declares no `engines` field and its peer
ranges are unchanged, so consumers of the published library see no
difference. CI already runs Node 22 (latest 22.x, past 22.12).

Verified: no peer warnings on install; typecheck, build and all 33 tests
pass; `pnpm audit` clean.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@BenKalsky

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-12T18:48:45.289602Z ff5335d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: ff5335ddaa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@BenKalsky
BenKalsky merged commit bc7e551 into main Sep 12, 2026
4 checks passed
@BenKalsky
BenKalsky deleted the chore/dev-node-22 branch September 12, 2026 18:49
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