fix: require Node.js 24.18.1 and npm 12 and use TypeScript v7 - #64
Merged
Merged
Conversation
coderbyheart
force-pushed
the
node-v24.18.1-npm-v12.0.2-typecript-v7.0.2
branch
from
August 3, 2026 11:53
d8236ff to
476e965
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 476e965. Configure here.
24.18.1 is a security release and NPM v12 also brings important security improvements. TypeScript 7 is now GA -> use it instead of the preview version See <https://nodejs.org/en/blog/release/v24.18.1> See <https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/> - Bump `engines` to Node.js `>=24.18.1 <25` and npm `>=12.0.2 <13`. - Add `allow-remote=root` to `.npmrc`. npm 12 refuses to fetch dependencies from tarball URLs by default; `root` permits the URLs this project declares in its own `package.json`. This is needed for example for dependencies hosted on JSR. - Install the npm version from `engines.npm` in CI via a new `.github/actions/install-npm` composite action, so CI uses the version the project declares instead of whatever ships with the runner. - Run TypeScript 6 and 7 side by side: `@typescript/native` provides TypeScript 7 as `tsc`, while `typescript` resolves to TypeScript 6 so typescript-eslint keeps working. This replaces `@typescript/native-preview`, so `npx tsgo` becomes `npx tsc` in the pre-commit hook, CI and the docs.
coderbyheart
force-pushed
the
node-v24.18.1-npm-v12.0.2-typecript-v7.0.2
branch
from
August 3, 2026 14:25
476e965 to
4181e9f
Compare
szshen1
approved these changes
Aug 4, 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.

24.18.1 is a security release and NPM v12 also brings important security
improvements.
TypeScript 7 is now GA -> use it instead of the preview version
See https://nodejs.org/en/blog/release/v24.18.1
See https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
enginesto Node.js>=24.18.1 <25and npm>=12.0.2 <13.allow-remote=rootto.npmrc. npm 12 refuses to fetchdependencies from tarball URLs by default;
rootpermits the URLs thisproject declares in its own
package.json. This is needed for example fordependencies hosted on JSR.
engines.npmin CI via a new.github/actions/install-npmcomposite action, so CI uses the versionthe project declares instead of whatever ships with the runner.
@typescript/nativeprovidesTypeScript 7 as
tsc, whiletypescriptresolves to TypeScript 6 sotypescript-eslint keeps working. This replaces
@typescript/native-preview, sonpx tsgobecomesnpx tscin thepre-commit hook, CI and the docs.