-
-
Notifications
You must be signed in to change notification settings - Fork 16
feat: add new ts runner node for Node22+
#199
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
Merged
+112
−15
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
92ca5ac
feat: add support for node type stripping
nwidynski 8ce69cc
fix: remove typo
nwidynski 01b4813
fix: type error
nwidynski c9558fe
chore: review comments [no ci]
nwidynski e84bfbd
chore: review comments [no ci]
nwidynski 9955f1d
chore: review comments
nwidynski 15daf6f
Update src/index.ts
JounQin 644ff4f
chore: review comments & argv detection
nwidynski a49d367
chore: prettier formatting
nwidynski 8ad85ed
chore: prettier formatting
nwidynski 0c32d51
chore: prettier formatting
nwidynski 2651e64
feat: add test case
nwidynski 246809d
feat: add node version safeguard
nwidynski f1b8175
chore: prettier formatting
nwidynski 3614dd3
fix: apply flag conditionally
nwidynski aa8f01c
fix: runner test case
nwidynski a7f2a2e
fix: node test runner test case
nwidynski 87a0177
chore: prettier formatting
nwidynski 0cf4a10
chore: remove codecov limitation
nwidynski 515779c
Create good-walls-brush.md
JounQin e569c75
fix: changeset review
nwidynski 66da8b5
chore: prettier formatting
nwidynski 04a2470
fix: duplicate
nwidynski 6ed663e
chore: update readme
nwidynski 7fcfd20
fix: conditionally apply default in test case
nwidynski 0542def
chore: test fix and docment update
JounQin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| "synckit": minor | ||
| --- | ||
|
|
||
| feat: add support for `--experimental-strip-types` | ||
|
|
||
| Introducing the `node` runner, which will replace `ts-node` as the new default: | ||
|
|
||
| - when running on Node 22 with the `--experimental-strip-types` | ||
| flag enabled via `NODE_OPTIONS` env or cli args | ||
| - or when running on Node 23+ without `--no-experimental-strip-types` | ||
| flag enabled via `NODE_OPTIONS` env or cli args | ||
|
|
||
| An error will be thrown when attempting to run with `node` on unsupported versions (<22). | ||
| On these versions, the default runner remains `ts-node` when available. | ||
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.