Commit 10d1f74
fix(@formatjs/ts-transformer): restore ts-jest-integration subpath export (#6437)
## 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
- [x] `bazel test //packages/ts-transformer:package_exports_test` —
validates all exports resolve to real files
- [x] `bazel test //packages/ts-transformer:unit_test` — 27 tests pass
- [x] All pre-commit hooks pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>1 parent dc8fd2c commit 10d1f74
4 files changed
Lines changed: 16 additions & 10 deletions
File tree
- packages/ts-transformer
- integration-tests/integration
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments