Skip to content

mono - chore: upgrade TypeScript and build tooling - #81

Merged
jaredwray merged 1 commit into
mainfrom
chore/typescript-build
Oct 13, 2026
Merged

jaredwray merged 1 commit into
mainfrom
chore/typescript-build

Conversation

@jaredwray

Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines and Code of Conduct
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Chore. Upgrades TypeScript and build tooling.

Summary

tsdown moves to the Latest version from pnpm outdated. @types/node stays on the Node 22 line from engines.node (>=22.12.0). The newest aged 22 release is 22.20.5, not the 26.x Latest column.

Changes

  • Upgrade tsdown from 0.22.14 to 0.23.0
  • Upgrade @types/node from 22.20.1 to 22.20.5

Verification

  • pnpm build && pnpm test passes on Node 22.23.3 (15 tests, build succeeded)

Artifact diffs

Open in Web Open in Cursor 

Bump tsdown to 0.23.0 and @types/node to 22.20.5, the newest Node 22
types release that passes the 7-day age gate.

Co-authored-by: Jared Wray <me@jaredwray.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several dependencies in package.json and pnpm-lock.yaml, notably upgrading @types/node to ^22.20.5 and tsdown to ^0.23.0. Feedback highlights a potential Node.js version mismatch: the upgraded tsdown (and its dependency rolldown-plugin-dts) requires Node.js ^22.18.0 || ^24.11.0 || >=26.0.0, whereas the project's engines.node configuration is set to >=22.12.0. It is recommended to update the project's Node.js engine requirement to >=22.18.0 or revert the tsdown upgrade to avoid installation warnings or failures in older Node.js environments.

Comment thread package.json
"rimraf": "^6.1.3",
"tsd": "^0.33.0",
"tsdown": "^0.22.14",
"tsdown": "^0.23.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The upgraded tsdown@0.23.0 (and its dependency rolldown-plugin-dts@0.28.6) specifies a Node.js engine requirement of ^22.18.0 || ^24.11.0 || >=26.0.0. However, the project's engines.node in package.json is currently set to >=22.12.0. This mismatch can lead to installation warnings or failures for environments running Node.js versions between 22.12.0 and 22.17.x. Please update the engines.node field in package.json to >=22.18.0 to align with the new build tooling requirements, or revert tsdown to 0.22.14 if support for older Node 22 versions is required.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tsdown@0.22.14 already set engines.node to ^22.18.0 || >=24.11.0. tsdown@0.23.0 keeps that Node 22 floor and adds || >=26.0.0. The gap with package.json:44 (>=22.12.0) was already there.

engines.node is the runtime contract for people who install this SDK. tsdown is a devDependency, so raising that field here would drop Node 22.12 through 22.17 for consumers who never run the build tool. This pull request keeps the declared Node 22 line and does not move it to follow a devDependency.

@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9d475f2) to head (3339291).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #81   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           19        19           
  Branches         1         1           
=========================================
  Hits            19        19           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chatgpt-codex-connector

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-10-13T00:19:55.271947Z 3339291 PR opened
ℹ️ 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.

@jaredwray
jaredwray merged commit 6622c50 into main Oct 13, 2026
12 checks passed
@jaredwray
jaredwray deleted the chore/typescript-build branch October 13, 2026 00:41
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.

2 participants