Skip to content

Releases: eBayClassifiedsGroup/update-ts-references

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 🎉

Official support of npm workspaces (available since v7)

13 Feb 12:34
Compare
Choose a tag to compare
2.5.0

feat: official support of npm workspaces (available since v7)

Unofficial support for node.js v8

13 Sep 15:42
Compare
Choose a tag to compare

We now support unofficially node.js v8 for a some time, but we encourage everyone that is still using older versions to switch to the last supported LTS version of node.js. See more -> https://nodejs.org/en/about/releases/

Important Note: Please be aware that this might break in future without any notice or reflected via the package json

Add config file fallback resolution by providing a custom configName

23 Jun 13:17
Compare
Choose a tag to compare

Added fallback resolution to tsconfig.json if the provided custom configName couldn't be resolved.

This version also include a fix where the provided configName wasn't appended correctly to the path.