Releases: VitorLuizC/ts-jest-resolver
Releases · VitorLuizC/ts-jest-resolver
v2.0.1
-
Fixes resolution order for modules with
.jsx
in the path so they import in the correct order like TS does.Ex.
import Button from "./Button.jsx"
tries
./Button.ts
, then./Button.tsx
, then./Button.js
and then./Button.jsx
. -
Upgrades dependencies (
jest-resolve
is only used in type declarations) and devDependencies.
v2.0.0
- [BREAKING CHANGE] Resolution order was changed to use same as TypeScript, so now ".tsx" has more priority than ".ts".
- Resolves ".mjs" to ".mts" and ".cjs" to ".cts" extension.
- ".mts" and ".cts" are new extensions supported by TypeScript 4.5.
- Doesn't explicity requires
jest-resolve
in the module, so no more compatibility problems with Jest 27. - Upgrade dependencies and devDependencies.
Version 1.1.0
Version 1.0.0
- First published version.