unstale

npm / tsc-alias

tsc-alias

What changed in tsc-alias 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 new APIs and options3 behavior and defaults13 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

tsc-alias 117 changes

New APIs and options 1

  • Automatically resolves import aliases across the entire project references graph when using tsc --build.

    1.9.4release notes

Behavior and default changes 3

  • Dynamic imports with Import Attributes / Options are now supported.

    1.9.4release notes

  • Import path resolution supports and strips .tsx, .jsx, .mts, .mjs, .cts, and .cjs extensions.

    1.9.4release notes

  • TypeScript wildcard mappings support suffixes in alias keys and target paths, as well as median wildcards.

    1.9.4release notes

Fixes and other changes 13

  • Aliases resolve to existing build artifacts.

    1.9.8release notes

  • resolveFullPaths can add extensions for module subpath imports.

    1.9.8release notes

  • Aliases between declaration files are now correctly resolved when using build with emitDeclarationOnly.

    1.9.6release notes

  • Avoids rewriting external imports that match empty directories when using baseUrl.

    1.9.5release notes

  • Fixes rewriting paths aliases outside rootDir that use ../.

    1.9.5release notes

  • Fixes alias rewriting when a sibling file and directory collide.

    1.9.5release notes

  • Fixes collisions between source files and node modules based on baseUrl.

    1.9.5release notes

  • Alias paths are resolved when baseUrl points to a nested subdirectory.

    1.9.4release notes

  • Path calculation and type alias resolution are fixed when declarationDir is nested inside outDir.

    1.9.4release notes

  • Project directory resolution in outDir uses ancestor suffix matching to prevent folder name collisions.

    1.9.4release notes

  • Path mapping now supports catch-all wildcard expressions.

    1.9.3release notes

  • Fixes unintended activation of baseurl mode.

    1.9.1release notes

  • Supports TypeScript 6 implicit baseURL so tsc-alias works with this configuration behavior.

    1.9.0release notes