Repository navigation
mono - chore: upgrade TypeScript and build tooling #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,8 +54,8 @@ | |
| "@vitest/coverage-v8": "^5.0.3", | ||
| "rimraf": "^6.1.3", | ||
| "tsd": "^0.33.0", | ||
| "tsdown": "^0.22.2", | ||
| "typescript": "^6.0.3", | ||
| "tsdown": "^0.23.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For Node 24.0 through 24.10, or Node 25, Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep |
||
| "typescript": "^7.0.2", | ||
| "vitest": "^5.0.3" | ||
| }, | ||
| "files": [ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading
tsdownto^0.23.0(which pulls inrolldown-plugin-dts@0.28.6) introduces stricter Node.js engine requirements:^22.18.0 || ^24.11.0 || >=26.0.0. This is incompatible with the project's currentengines.nodedefinition (^22.18.0 || >=24.0.0), which permits Node.js versions in the[24.0.0, 24.11.0)and[25.0.0, 26.0.0)ranges. To prevent installation or runtime issues on unsupported Node.js versions, please update theengines.nodefield inpackage.jsonto match these new constraints.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep
engines.nodeatpackage.json:48.tsdownis a devDependency. Its engines field is atnode_modules/tsdown/package.json:38. That field limits the Node version for the build. It does not limit the Node version for the published SDK. A copy of that range drops Node 24.0 through 24.10 and Node 25 for SDK users. This pull request does not change runtime code.