Skip to content

Added @sondr3/minitest to dependencies - #352

Merged
ijlee2 merged 4 commits into
mainfrom
feature-ship-minitest
Aug 14, 2026
Merged

Added @sondr3/minitest to dependencies#352
ijlee2 merged 4 commits into
mainfrom
feature-ship-minitest

Conversation

@ijlee2

@ijlee2 ijlee2 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Background

Tests whether @codemod-utils/tests can ship @sondr3/minitest as its dependency, so that @codemod-utils/cli and 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 the test script requiring the name mt). I want to investigate the cause by releasing a minor version with the extra dependency.

@ijlee2 ijlee2 added the enhance: dependency Issue asks for a new or updated dependency label Aug 14, 2026
@ijlee2
ijlee2 force-pushed the feature-ship-minitest branch from 7dfb98e to 6838172 Compare August 14, 2026 08:41
@ijlee2 ijlee2 changed the title Shipped @sondr3/minitest Added @sondr3/minitest to dependencies Aug 14, 2026
@ijlee2
ijlee2 force-pushed the feature-ship-minitest branch from 6838172 to 9b1bb7b Compare August 14, 2026 08:43
@ijlee2
ijlee2 marked this pull request as ready for review August 14, 2026 08:44
@ijlee2
ijlee2 force-pushed the feature-ship-minitest branch from 9b1bb7b to 493b54e Compare August 14, 2026 08:45
Comment thread packages/tests/bin/mt.ts
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);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

},
"main": "dist/index.js",
"bin": {
"mt": "dist/bin/mt.js"

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

The name mt allows existing codemods created with @codemod-utils/cli to easily update @codemod-utils/tests to 3.2.0.

@ijlee2
ijlee2 merged commit e023e55 into main Aug 14, 2026
3 checks passed
@ijlee2
ijlee2 deleted the feature-ship-minitest branch August 14, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhance: dependency Issue asks for a new or updated dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant