Skip to content

Releases: VitorLuizC/ts-jest-resolver

v2.0.1

20 Mar 03:18
Compare
Choose a tag to compare
  • 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

17 Oct 02:41
Compare
Choose a tag to compare
  • [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.
  • 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

30 Jul 14:34
Compare
Choose a tag to compare
  • Add jest-resolver to dependencies instead of devDependencies.

    Thanks to @RA80533 for PR #3.

  • Update devDependencies.

Version 1.0.0

22 Mar 02:19
Compare
Choose a tag to compare
  • First published version.