Skip to content

Releases: LeDDGroup/typescript-transform-paths

v3.4.5

05 Jan 22:34
Compare
Choose a tag to compare

3.4.5 (2023-01-05)

Bug Fixes

  • OSX paths can be rewritten improperly (fixes #167) (0ff48d7)

v3.4.4

24 Oct 17:13
Compare
Choose a tag to compare

3.4.4 (2022-10-24)

Bug Fixes

  • NX Transformer entry script not included in NPM package (fixes #166) (4396e0c)

v3.4.3

21 Oct 19:14
Compare
Choose a tag to compare

3.4.3 (2022-10-21)

Bug Fixes

v3.4.2

21 Oct 18:06
Compare
Choose a tag to compare

3.4.2 (2022-10-21)

Bug Fixes

  • Edge cases exist which causes ts-node to fail with register script (fixes #162) (0dbe06e)

v3.4.1

20 Oct 22:08
Compare
Choose a tag to compare

3.4.1 (2022-10-20)

Bug Fixes

  • ImportType node children do not transform (fixes #150) (70871d2)

v3.4.0

20 Oct 21:20
Compare
Choose a tag to compare

3.4.0 (2022-10-20)

Features

  • Added NX Transformer (6619164)
  • Updated library to support latest TypeScript & ts-node (cbeb29c)

Bug Fixes

  • Fixed incorrect signature return type for transformer (fixes #156) (a40b378)

v3.3.1

16 Aug 22:31
Compare
Choose a tag to compare

3.3.1 (2021-08-16)

Bug Fixes

  • External project references not resolved properly in composite projects (fixes #125) (4a16396)

v3.0.2

01 Jul 17:42
Compare
Choose a tag to compare

Added accommodation for changes to latest TS dev build and further stabilized resolution strategy

v3.0.0

16 Jun 20:51
Compare
Choose a tag to compare

Notes

We did a total overhaul on the module resolution code. There should be no breaking changes, but since we're dealing with the compiler API and have integrated a few new pieces of that, we're bumping the major version to be safe.

The reason behind the rewrite is because there were several issues which could arise from implicit indexes. One rather complicated scenario arose when trying to point to a sub-package (outside of node-modules) which had a main entry in package.json. This entry could point to a sub-folder of the main, which made relative mapping and removing indexes difficult. Several other related bugs had been cropping up.

On top of this, the plugin originally resolved and rewrote every call to import, require, etc. We've managed to replicate the compiler's paths matching logic in order to only process and rewrite calls or statements which either match a paths entry or have an explicit tag. This should speed up the process, and it is better logic, overall.

If you experience any issues, let us know!

Changes

  • Several improvements were made for speed and efficiency.
  • Now accommodating for new TS empty baseURL provision (closes #109)
  • Pre-checking necessity before overwriting paths (closes #110)
  • Rewrote core resolution methodology to:
    • Properly handle implicit indexes (closes #106)
    • Properly handle implicit sub-package indexes set via package.json 'main' #108)
    • Not follow symlinks (#107)
    • Resolve from output path as opposed to SourceFile path (#103)

v1.1.15

16 Aug 00:56
Compare
Choose a tag to compare

Bug Fixes