@hyphen/react-sdk - chore: upgrade TypeScript and build tooling#46
Conversation
- tsdown 0.22.0 -> 0.22.1 - @types/node 24.12.3 -> 22.19.19 @types/node is pinned to the engines.node major (>=22.12.0 -> 22) rather than bumped to 25.x, so the SDK's published types never reference Node APIs newer than the minimum supported runtime. pnpm build and pnpm test both pass (15 tests, 100% line coverage). https://claude.ai/code/session_01Joji3jaJQvm1tN7qw3VtHZ
There was a problem hiding this comment.
Code Review
This pull request downgrades @types/node from version ^24.12.3 to ^22.19.19 and updates tsdown from ^0.22.0 to ^0.22.1 in package.json, with corresponding dependency updates reflected in pnpm-lock.yaml. I have no feedback to provide as there are no review comments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 19 19
Branches 1 1
=========================================
Hits 19 19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Upgrade TypeScript/build tooling and align
@types/nodewith the declared Node major.Versions
tsdown0.22.0 → 0.22.1@types/node24.12.3 → 22.19.19Tests
pnpm buildpassespnpm testpasses (15 tests, 100% line coverage)Notes
@types/nodeis pinned to the latest 22.x to matchengines.node(>=22.12.0) rather than thepnpm outdated"Latest" of 25.9.1 — this keeps the SDK's published types from referencing Node APIs newer than its minimum supported runtime.peerDependenciesare untouched.https://claude.ai/code/session_01Joji3jaJQvm1tN7qw3VtHZ
Generated by Claude Code