Open
Conversation
Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
leecalcote
approved these changes
Jan 20, 2026
Member
leecalcote
left a comment
There was a problem hiding this comment.
Builds should speed up just a little.
This brings the ecosystem's build tooling in alignment.
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the Jest test transpilation infrastructure from ts-jest to SWC, aligning with the repository's ESNext build setup and improving build performance. The migration replaces ts-jest with @swc/jest and introduces a shared .swcrc configuration file.
Changes:
- Replaced ts-jest with @swc/core and @swc/jest in dependencies
- Updated jest.config.js to use @swc/jest transformer with CommonJS module output
- Added .swcrc configuration file with TypeScript/React support and ESM defaults
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Replaced ts-jest with @swc/core (^1.10.12) and @swc/jest (^0.2.37) |
| package-lock.json | Updated dependency tree with SWC packages and removed ts-jest related dependencies (bs-logger, handlebars, make-error, etc.) |
| jest.config.js | Replaced ts-jest preset with @swc/jest transform configuration targeting CommonJS modules |
| .swcrc | Added SWC configuration with ES2021 target, TypeScript/React support, and ES6 module type |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Lee Calcote <leecalcote@gmail.com>
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.
Migrated test transpilation from ts-jest to SWC to align with the repo’s ESNext setup and speed up builds.
@swc/jesttransform and added shared.swcrctuned for TS/React with ESM defaults and Jest CJS output.@swc/core/@swc/jest, removed ts-jest, refreshed lockfile.Example transform configuration:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.