chore: align tooling to canonical ESM stack#36
Merged
Conversation
- migrate to ESM (type: module + .npmrc --experimental-vm-modules) - canonical jest/release configs and tsconfig.jest.json - rename knip.config.js to knip.config.ts - ESM-compatibility rewrites in src and tests - add test/setup.ts and test/teardown.ts stubs
- add entry for src/main.ts and src/load.patch.ts (rollup alias target) - ignore @commitlint/config-conventional (loaded dynamically in tests) - drop dead dep semantic-release-major-tag
…al-tooling # Conflicts: # dist/main.cjs.map
mridang
added a commit
that referenced
this pull request
Jun 15, 2026
* chore: align tooling to canonical ESM stack (#36) * chore: align tooling to canonical ESM stack - migrate to ESM (type: module + .npmrc --experimental-vm-modules) - canonical jest/release configs and tsconfig.jest.json - rename knip.config.js to knip.config.ts - ESM-compatibility rewrites in src and tests - add test/setup.ts and test/teardown.ts stubs * fix(knip): trace archetype-specific entries - add entry for src/main.ts and src/load.patch.ts (rollup alias target) - ignore @commitlint/config-conventional (loaded dynamically in tests) - drop dead dep semantic-release-major-tag * fix(release): restore archetype-specific release config The canonical config incorrectly added @semantic-release/npm publishing for an action repo. * fix(deps): restore semantic-release-major-tag for release plugin
mridang
added a commit
that referenced
this pull request
Jun 17, 2026
* chore: align tooling to canonical ESM stack (#36) * chore: align tooling to canonical ESM stack - migrate to ESM (type: module + .npmrc --experimental-vm-modules) - canonical jest/release configs and tsconfig.jest.json - rename knip.config.js to knip.config.ts - ESM-compatibility rewrites in src and tests - add test/setup.ts and test/teardown.ts stubs * fix(knip): trace archetype-specific entries - add entry for src/main.ts and src/load.patch.ts (rollup alias target) - ignore @commitlint/config-conventional (loaded dynamically in tests) - drop dead dep semantic-release-major-tag * fix(release): restore archetype-specific release config The canonical config incorrectly added @semantic-release/npm publishing for an action repo. * fix(deps): restore semantic-release-major-tag for release plugin * chore(deps): upgrade eslint to v9 and respect .gitignore Bump @mridang/eslint-defaults to ^1.6.3, eslint to ^9.39.4, knip to ^6.17.1. Add includeIgnoreFile('.gitignore') to eslint.config.mjs. Re-resolve zod-validation-error to ^4 to fix react-hooks v7 parser crash.
mridang
added a commit
that referenced
this pull request
Jun 17, 2026
* chore(deps): upgrade eslint to v9 and respect .gitignore (#40) * chore: align tooling to canonical ESM stack (#36) * chore: align tooling to canonical ESM stack - migrate to ESM (type: module + .npmrc --experimental-vm-modules) - canonical jest/release configs and tsconfig.jest.json - rename knip.config.js to knip.config.ts - ESM-compatibility rewrites in src and tests - add test/setup.ts and test/teardown.ts stubs * fix(knip): trace archetype-specific entries - add entry for src/main.ts and src/load.patch.ts (rollup alias target) - ignore @commitlint/config-conventional (loaded dynamically in tests) - drop dead dep semantic-release-major-tag * fix(release): restore archetype-specific release config The canonical config incorrectly added @semantic-release/npm publishing for an action repo. * fix(deps): restore semantic-release-major-tag for release plugin * chore(deps): upgrade eslint to v9 and respect .gitignore Bump @mridang/eslint-defaults to ^1.6.3, eslint to ^9.39.4, knip to ^6.17.1. Add includeIgnoreFile('.gitignore') to eslint.config.mjs. Re-resolve zod-validation-error to ^4 to fix react-hooks v7 parser crash. * fix(release): restore semantic-release-major-tag devDep
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.
Description
Aligns this repo's tooling with the canonical ESM stack used across all mridang repos.
"type": "module",.npmrc--experimental-vm-modulesflag)jest.config.mjs,tsconfig.jest.json,release.config.mjsknip.config.jstoknip.config.tssrc/andtest/(relative-import.jsextensions, etc.)test/setup.tsandtest/teardown.tsstubsRelated Issue
N/A — tooling alignment sweep across all mridang repos.
Motivation and Context
Keeping config files byte-identical across jest-using repos makes the toolchain easier to maintain and reason about. This PR brings
action-commit-lintin line with the canonical layout.How Has This Been Tested?
CI will exercise lint, format, test, and build on the PR branch.
Documentation:
N/A
Checklist: