Skip to content

fix(@formatjs/ts-transformer): restore ts-jest-integration subpath export#6437

Merged
longlho merged 1 commit intomainfrom
longho/fix-ts-jest-integration-export
Apr 24, 2026
Merged

fix(@formatjs/ts-transformer): restore ts-jest-integration subpath export#6437
longlho merged 1 commit intomainfrom
longho/fix-ts-jest-integration-export

Conversation

@longlho
Copy link
Copy Markdown
Member

@longlho longlho commented Apr 24, 2026

Summary

  • Add ./ts-jest-integration.js to the exports field in package.json
  • Add ts-jest-integration.ts as a rolldown entry point in BUILD.bazel so it gets bundled with .js, .d.ts, and .js.map into the published package
  • Update jest integration test config to use .js extension in the import path

This was a regression from #6080 which added an exports field to package.json but only included . — blocking the ts-jest-integration deep import that ts-jest users rely on.

Closes #6433

Test plan

  • bazel test //packages/ts-transformer:package_exports_test — validates all exports resolve to real files
  • bazel test //packages/ts-transformer:unit_test — 27 tests pass
  • All pre-commit hooks pass

🤖 Generated with Claude Code

…port

Add `./ts-jest-integration.js` to the package.json exports map and add
ts-jest-integration.ts as a rolldown entry point so it gets bundled into
the published package. This was broken by #6080 which added an exports
field without including the ts-jest-integration subpath.

Closes #6433

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@longlho longlho added this pull request to the merge queue Apr 24, 2026
Merged via the queue into main with commit 10d1f74 Apr 24, 2026
3 checks passed
@longlho longlho deleted the longho/fix-ts-jest-integration-export branch April 24, 2026 18:19
@longlho
Copy link
Copy Markdown
Member Author

longlho commented Apr 24, 2026

fix #6435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant