Added @sondr3/minitest to dependencies - #352
Merged
Merged
Conversation
ijlee2
force-pushed
the
feature-ship-minitest
branch
from
August 14, 2026 08:41
7dfb98e to
6838172
Compare
ijlee2
force-pushed
the
feature-ship-minitest
branch
from
August 14, 2026 08:43
6838172 to
9b1bb7b
Compare
ijlee2
marked this pull request as ready for review
August 14, 2026 08:44
ijlee2
force-pushed
the
feature-ship-minitest
branch
from
August 14, 2026 08:45
9b1bb7b to
493b54e
Compare
ijlee2
commented
Aug 14, 2026
Comment on lines
+1
to
+7
| #!/usr/bin/env node | ||
|
|
||
| import { run } from '@sondr3/minitest/dist/runner.js'; | ||
|
|
||
| process.env['NODE_ENV'] = 'test'; | ||
|
|
||
| void run(process.argv); |
Owner
Author
There was a problem hiding this comment.
ijlee2
commented
Aug 14, 2026
| }, | ||
| "main": "dist/index.js", | ||
| "bin": { | ||
| "mt": "dist/bin/mt.js" |
Owner
Author
There was a problem hiding this comment.
The name mt allows existing codemods created with @codemod-utils/cli to easily update @codemod-utils/tests to 3.2.0.
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.
Background
Tests whether
@codemod-utils/testscan ship@sondr3/minitestas its dependency, so that@codemod-utils/cliand end-developers don't need to include it themselves.The last time I had tried this (with an older version of
@sondr3/minitest), something didn't work (likely due to thetestscript requiring the namemt). I want to investigate the cause by releasing a minor version with the extra dependency.