Skip to content

Releases: eBayClassifiedsGroup/update-ts-references

Ignore Paths mappings for packages

17 Jan 22:49
5177da5
Compare
Choose a tag to compare

You can now configure (via the config yaml) which packages shouldn't be mapped under compiler options paths. To have a path mapping could be an issue for packages that rely on exports for different environments and a fallback to index.ts isn't working.

Improve paths resolution by using the rootDir from tsconfig

03 Jan 09:11
eb219bd
Compare
Choose a tag to compare

What's Changed

  • feat: use rootDir for paths resolution
  • fix: fix for applying paths to the root tsconfig

#45
Full Changelog: 3.4.0...3.5.0

3.4.0

20 Nov 22:27
a6dc5a3
Compare
Choose a tag to compare

What's Changed

  • feat: support projects without root tsconfig and add new strict mode #44

Full Changelog: 3.3.0...3.4.0

Support different configuration files for different usecases

27 Mar 16:55
4a7a93d
Compare
Choose a tag to compare
3.3.0

feat: support different configuration files for different usecases (#39)

Create path mappings under compilerOptions for non-ts packages

29 Nov 14:32
e67433c
Compare
Choose a tag to compare

Path mappings for packages without tsconfig will be added to the root tsconfig to leverage your IDE resolution support more (during your migration phase). Please also note that with that release the --check option also respects compilerOptions.paths differences but only in combination with --createPathMappings.

Create path mappings under compilerOptions

27 Nov 21:05
e643c7b
Compare
Choose a tag to compare

It's now also possible to write path mappings under compilerOptions. This is beneficial in combination with your IDE to resolve usages better.

introduced --rootConfigName

24 Nov 21:44
Compare
Choose a tag to compare

You can now configure separately a different name for the tsconfig in the root directory. This is kinda a breaking change because --configName was used before also for the tsconfig in the root. In order to archive the same behaviour you would need to adjust the cmd-line from something like

npx update-ts-references --configName tsconfig.dev.json

to

npx update-ts-references --configName tsconfig.dev.json --rootConfigName tsconfig.dev.json

Introduce update-ts-references.yaml

17 Nov 23:22
483da24
Compare
Choose a tag to compare

You can configure paths via the update-ts-references.yaml file. This is useful if your repo is having no package.json or pnp-workspace.yaml in the root folder. Additional to that it can also being used to extend the paths config next to the normal workspace setup via npm, pnpm, yarn and lerna so you can include or exclude some packages.

Create TS config files for packages

17 Nov 21:14
a588e64
Compare
Choose a tag to compare

This new feature should help to setup project references in your repository by adding TS config files to your packages. For more please have a look on the Readme.md

Comments in TS-Configurations will be preserved now

19 Feb 20:06
Compare
Choose a tag to compare

We could happily removed the flag --discardComments 🎉