Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

resolve-tspaths

benyap124.5kMIT0.8.23TypeScript support: included

Transform path mappings in your compiled Typescript code

typescript, tsc, path, alias, mapping, compiler

readme

resolve-tspaths

npm license

If you use Typescript's path mapping feature to avoid ../../../../../ in your imports, you may have found that compiling with tsc doesn't convert your aliases to proper relative paths. This causes problems as the compiled JavaScript code can't actually run with those path aliases - you'll get a "module not found" error. If your project exports type definitions, your .d.ts files will also be broken if they are shipped with path aliases.

Use this package after tsc builds your code to replace any path aliases with relative paths - this means that you can develop using path aliases whilst still being able to ship working JavaScript code.

Sample tsconfig.json:

{
  "compilerOptions": {
    "paths": {
      "~/*": ["./src/*"]
    }
  },
}

The following types of paths are currently supported:

CommonJS imports

const { ... } = require("~/some/path");

ESM imports

import * as stuff from "~/some/path";
import stuff from "~/some/path";
import { stuff } from "~/some/path.js";
import { stuff as myStuff } from "~/some/path.mjs";
import data from "~/some/data/path.json";

NOTE: When importing JSON files, ensure that you use the .json extension. See issue #253.

ESM dynamic imports

const stuff = await import("~/some/path");

ESM exports

export * from "~/some/path";
export * as stuff from "~/some/path";
export { stuff } from "~/some/path.js";
export { stuff as myStuff } from "~/some/path.mjs";

Node.JS require.resolve

const path = require.resolve("~/some/path");

CLI Usage

  1. Install as a dev dependency using npm or yarn, along with Typescript 3.x or later.

    yarn add -D resolve-tspaths typescript
    npm install --save-dev resolve-tspaths typescript
  2. Add it as a part of your build script in package.json after tsc.

    {
      "scripts": {
        "build": "tsc && resolve-tspaths"
      }
    }

Programmatic Usage

  1. Install as a dev dependency using npm or yarn, along with Typescript 3.x or later.

    yarn add -D resolve-tspaths typescript
    npm install --save-dev resolve-tspaths typescript
  2. Import the resolveTsPaths function and call it with the appropriate options.

    import { resolveTsPaths } from "resolve-tspaths";

Options

resolve-tspaths uses some reasonable defaults. For most cases, you probably won't need to specify any options.

--project <path>, -p <path>

Specify the path to the tsconfig file that the program should use. Defaults to "tsconfig.json" if not provided.

--src <path>, -s <path>

Specify the source directory. Defaults to compilerOptions.rootDir from your tsconfig if not provided. If rootDir is not defined in your tsconfig, it will default to "src".

--out <path>, -o <path>

Specify the output directory of the compiled code where resolve-tspaths should perform its changes. Defaults to compilerOptions.outDir from your tsconfig if not provided.

--ext <extension...>

Provide a space-delimited list of file extensions in the output directory that the program should process. Defaults to the following extensions:

  • js
  • mjs
  • cjs
  • d.ts
  • d.mts
  • d.cts

--verbose

Use this flag to print verbose logs to the console.

This option is only available when using the CLI.

--noEmit

Use this flag to not emit any changes to your files. Recommended to be used with --verbose for debugging which files the program will change if you don't use --noEmit.

This option is only available when using the CLI.

Comparison to existing packages

tsconfig-paths

tsconfig-paths is a runtime dependency. resolve-tspaths is used at build time, which means your shipped code doesn't need to have this package included, and can run natively using Node or in the browser.

tscpaths

Performs the same function as tscpaths - but that project is no longer maintained. A pain point with that package was also that it no control over the logging which was extremely verbose. resolve-tspaths provides several more options for better control, and it's also well tested.

Inspiration

This project was heavily inspired by tscpaths by joonhocho, but it is sadly no longer maintained. My first attempt at building this library was based on a fork of tscpaths. Since the project has matured, it was moved out to its own repository.

Contributors

Thanks goes to these wonderful people (emoji key):

Ben Yap
Ben Yap

💻 ⚠️ 📖
Chocobozzz
Chocobozzz

💻 ⚠️ 🐛
qiaoruntao
qiaoruntao

💻 ⚠️
Felix Viernickel
Felix Viernickel

🐛 ⚠️ 💻
Kaic Bastidas
Kaic Bastidas

🤔
Atlinx
Atlinx

🤔
Victor Vincent
Victor Vincent

🤔 🐛
Forest
Forest

🐛
Zebreus
Zebreus

🐛 ⚠️ 💻
RedMser
RedMser

💻 🐛
Dmitry Kirilyuk
Dmitry Kirilyuk

🐛
jneuendorf-i4h
jneuendorf-i4h

📖
Kotaro Sugawara
Kotaro Sugawara

🐛 ⚠️
Nooka10
Nooka10

🐛
Ajay Dharnappa Poojary
Ajay Dharnappa Poojary

🐛
Leslie H
Leslie H

🐛
Theodore Yankov
Theodore Yankov

🐛

This project follows the all-contributors specification. Contributions of any kind welcome! Please follow the contributing guidelines.

License

See LICENSE.

changelog

0.8.23 (2024-11-28)

  • chore(deps): bump braces from 3.0.2 to 3.0.3 (#366) (105d515), closes #366
  • chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#365) (c10849f), closes #365
  • chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#364) (a7350a2), closes #364
  • chore(deps): update pnpm to v9.14.2 (#352) (6a749c6), closes #352
  • chore(deps): upgrade dependencies (1d455a9)
  • fix: typo in import regex, add tests (a3c2138)

0.8.22 (2024-09-19)

Internal

  • remove pnpm version from github actions to prevent conflict (035c8d0)

0.8.21 (2024-09-19)

Internal

  • fix mismatched pnpm version in github actions (581b87f)

0.8.20 (2024-09-19)

Bug Fixes

  • escape glob path correctly (b53c8a5)

Documentation

  • add tee-yankov as a contributor for bug (#351) (301ff5a)
  • update .all-contributorsrc [skip ci] (a659e85)
  • update README.md [skip ci] (48541bd)

Internal

  • deps: update actions/cache action to v4 (#338) (1451365)
  • deps: update actions/github-script action to v7 (#328) (ca8316d)
  • deps: update actions/setup-node action to v4 (#319) (af7f3aa)
  • deps: update actions/stale action to v9 (#339) (0558c3c)
  • deps: update pnpm to v9 (#343) (a0dba06)
  • deps: update pnpm/action-setup action to v4 (#344) (a527fc8)
  • deps: upgrade dependencies (fc2f7c6)

0.8.19 (2024-05-18)

Bug Fixes

  • import/export regex matching on the word "import" in comments (a02849e)

Internal

  • deps: upgrade dependencies (52bfdd5)

0.8.18 (2024-02-16)

Bug Fixes

  • resolve importPath with file extension (42dca3f)

Documentation

  • update .all-contributorsrc [skip ci] (67c743d)
  • update README.md [skip ci] (9a12069)

Internal

  • test: added additional tests for the new changes (5b02bbf)

0.8.17 (2023-10-21)

Bug Fixes

  • extends field in tsconfig not resolved correctly (c2bd8ab)

Documentation

  • update .all-contributorsrc [skip ci] (de03088)
  • update README.md [skip ci] (40bba4b)

Internal

0.8.16 (2023-09-30)

Bug Fixes

  • fix import and export regex to accurately match whitespace, including newlines (4913caa)

Documentation

  • update .all-contributorsrc [skip ci] (887ad00)
  • update README.md [skip ci] (e5cddb2)

Internal

0.8.15 (2023-08-13)

Bug Fixes

  • deps: update dependency fast-glob to v3.3.1 (#288) (bfe3a84)

Internal

  • deps-dev: bump word-wrap from 1.2.3 to 1.2.4 (#286) (830b492)
  • deps: update commitlint monorepo to v17.6.7 (#285) (cc304d4)
  • deps: update dependency @release-it/bumper to v5 (#280) (d4a53a2)
  • deps: update dependency @release-it/conventional-changelog to v7 (#281) (833f4e5)
  • deps: update dependency prettier to v3 (#276) (ade4dae)
  • deps: update dependency release-it to v16 (#277) (c1fa3d9)
  • deps: update dependency vite to v4.4.3 (#278) (efabbd1)
  • deps: update dependency vite to v4.4.7 (#282) (f97e954)
  • deps: update pnpm to v8.6.10 (#284) (0e590b1)
  • deps: update pnpm to v8.6.7 (#274) (cd8a6ad)
  • deps: update pnpm/action-setup action to v2.4.0 (#289) (600743f)
  • deps: update vitest monorepo to v0.33.0 (#279) (ce54713)
  • deps: upgrade dependencies (99c0dbe)
  • reduce stale job frequency (999fda0)

0.8.14 (2023-07-03)

Bug Fixes

  • deps: update dependency commander to v10.0.1 (#225) (ab7d488)
  • deps: update dependency commander to v11 (#266) (e632e36)
  • deps: update dependency fast-glob to v3.3.0 (#271) (41267bc)

Internal

  • add stale issues workflow (13667b5)
  • deps: update commitlint monorepo to v17.6.1 (#224) (937101c)
  • deps: update commitlint monorepo to v17.6.3 (#243) (7fdf179)
  • deps: update commitlint monorepo to v17.6.5 (#258) (fa00b9d)
  • deps: update commitlint monorepo to v17.6.6 (#269) (d51dc26)
  • deps: update dependency @types/node to v18.15.12 (#229) (5e0ad30)
  • deps: update dependency @types/node to v18.15.13 (#232) (e04c17a)
  • deps: update dependency @types/node to v18.16.1 (#233) (e939c65)
  • deps: update dependency @types/node to v18.16.13 (#249) (2204b15)
  • deps: update dependency @types/node to v18.16.14 (#252) (ccf3664)
  • deps: update dependency @types/node to v18.16.15 (#254) (a1ac667)
  • deps: update dependency @types/node to v18.16.16 (#256) (35e35f7)
  • deps: update dependency @types/node to v18.16.18 (#265) (29d45a8)
  • deps: update dependency @types/node to v18.16.19 (#272) (e4d01ea)
  • deps: update dependency @types/node to v18.16.2 (#236) (6831ee7)
  • deps: update dependency @types/node to v18.16.3 (#237) (d463cb4)
  • deps: update dependency @types/node to v18.16.5 (#244) (61f7df1)
  • deps: update dependency @types/node to v18.16.9 (#245) (d8ee515)
  • deps: update dependency prettier to v2.8.8 (#234) (12b1fbc)
  • deps: update dependency release-it to v15.10.2 (#238) (c02c92e)
  • deps: update dependency release-it to v15.10.3 (#240) (71bab1b)
  • deps: update dependency release-it to v15.10.5 (#261) (566ab70)
  • deps: update dependency release-it to v15.11.0 (#263) (daff11d)
  • deps: update dependency rimraf to v5.0.1 (#251) (449d411)
  • deps: update dependency typescript to v5.1.3 (#260) (d7cb4f0)
  • deps: update dependency typescript to v5.1.6 (#270) (472a596)
  • deps: update dependency vite to v4.2.2 (#227) (1533b29)
  • deps: update dependency vite to v4.3.0 (#230) (73634ea)
  • deps: update dependency vite to v4.3.1 (#231) (0af9685)
  • deps: update dependency vite to v4.3.3 (#235) (4a8b65c)
  • deps: update dependency vite to v4.3.5 (#239) (6e6b0f6)
  • deps: update dependency vite to v4.3.8 (#248) (4280182)
  • deps: update dependency vite to v4.3.9 (#255) (22e3a3b)
  • deps: update pnpm to v8.3.0 (#226) (affc9d9)
  • deps: update pnpm to v8.3.1 (#228) (0dccee0)
  • deps: update pnpm to v8.4.0 (#241) (c5834ed)
  • deps: update pnpm to v8.5.0 (#246) (a7c3baa)
  • deps: update pnpm to v8.5.1 (#247) (5722ffb)
  • deps: update pnpm to v8.6.0 (#257) (dcbd0c0)
  • deps: update pnpm to v8.6.2 (#262) (2a1d803)
  • deps: update pnpm to v8.6.5 (#268) (bbe2cee)
  • deps: update vitest monorepo to v0.30.1 (#223) (047634b)
  • deps: update vitest monorepo to v0.31.0 (#242) (2d0d227)
  • deps: update vitest monorepo to v0.31.1 (#250) (a759239)
  • deps: update vitest monorepo to v0.31.4 (#259) (92e80ad)
  • deps: update vitest monorepo to v0.32.0 (#264) (9294a0e)
  • deps: update vitest monorepo to v0.32.4 (#267) (04f949d)
  • update pnpm lockfile version (1a6646e)
  • update README (eb5f419)

Documentation

  • add jneuendorf-i4h as a contributor for doc (#273) (b53be18)

0.8.13 (2023-04-11)

Internal

  • use pnpm v8 for publish workflow (4f781e3)

0.8.12 (2023-04-11)

Internal

0.8.11 (2023-04-11)

Internal

0.8.10 (2023-04-11)

Internal

0.8.9 (2023-04-11)

Bug Fixes

Documentation

Internal

  • deps: update commitlint monorepo (#208) (f69af2f)
  • deps: update commitlint monorepo to v17.4.3 (#205) (4702569)
  • deps: update dependency @types/node to v18.15.11 (#209) (0261963)
  • deps: update dependency prettier to v2.8.7 (#215) (2cd5069)
  • deps: update dependency release-it to v15.10.1 (#212) (9714eb7)
  • deps: update dependency rimraf to v4.4.1 (#213) (540f4ac)
  • deps: update dependency rimraf to v5 (#222) (404f2dc)
  • deps: update dependency tsconfig-paths to v4.2.0 (#221) (1d97d7d)
  • deps: update dependency typescript to v5 (#214) (05bf646)
  • deps: update dependency vite to v4.2.1 (#207) (a46d3a8)
  • deps: update pnpm to v7.32.0 (#210) (f100857)
  • deps: update pnpm to v8 (#217) (023f4dd)
  • deps: update vitest monorepo to v0.28.5 (#206) (afd6861)
  • deps: update vitest monorepo to v0.30.0 (#211) (b6218b0)
  • workflow improvements (06af7f6)

0.8.8 (2023-02-10)

Internal

0.8.7 (2023-02-10)

Internal

  • explicitly set tag name format when releasing (3c9dc72)

0.8.6 (2023-02-10)

Internal

0.8.5 (2023-02-10)

Internal

  • use pnpm in publish action (06f3b19)

0.8.4 (2023-02-10)

Bug Fixes

  • deps: update dependency commander to v10 (#204) (5da02b6)
  • deps: update dependency commander to v9.5.0 (#197) (8267b75)

Internal

  • deps: bump http-cache-semantics from 4.1.0 to 4.1.1 (#201) (cbd1a8e)
  • deps: bump json5 from 2.2.1 to 2.2.3 (#199) (7130bbf)
  • deps: update commitlint monorepo to v17.2.0 (#179) (46df034)
  • deps: update commitlint monorepo to v17.3.0 (#182) (0bae80d)
  • deps: update commitlint monorepo to v17.4.2 (#195) (40d478a)
  • deps: update dependency @release-it/bumper to v4.0.2 (#196) (a72f58e)
  • deps: update dependency @types/jest to v29.2.4 (#186) (cd27146)
  • deps: update dependency @types/node to v18 (#178) (1bfa227)
  • deps: update dependency @types/node to v18.13.0 (#189) (807720d)
  • deps: update dependency husky to v8.0.2 (#180) (46b4f30)
  • deps: update dependency husky to v8.0.3 (#194) (e485511)
  • deps: update dependency prettier to v2.8.0 (#183) (5a84aaa)
  • deps: update dependency prettier to v2.8.1 (#187) (6c3596c)
  • deps: update dependency prettier to v2.8.3 (#198) (6d8305c)
  • deps: update dependency release-it to v15.5.1 (#185) (87c63a6)
  • deps: update dependency release-it to v15.6.0 (#191) (6c6041b)
  • deps: update dependency rimraf to v4 (#203) (b8b72c9)
  • deps: update dependency ts-jest to v29.0.5 (#200) (cba32bb)
  • deps: update dependency tsconfig-paths to v4.1.1 (#184) (a6a2811)
  • deps: update dependency tsconfig-paths to v4.1.2 (#193) (0886558)
  • deps: update dependency typescript to v4.9.3 (#181) (8d2b1e0)
  • deps: update dependency typescript to v4.9.4 (#188) (6a969e0)
  • deps: update dependency typescript to v4.9.5 (#202) (3b17382)
  • deps: update jest monorepo (#177) (8b9106f)
  • deps: update jest monorepo (#192) (69a7cde)
  • use pnpm (48a2376)
  • use vitest instead of jest (6166d5d)

0.8.3 (2022-10-22)

Bug Fixes

  • inconsistent behaviour with "./.." and "../" on windows/unix (c55b471)

0.8.2 (2022-10-22)

Bug Fixes

  • paths ending with "ts" being incorrectly replaced (1886a85)
  • resolve paths on windows correctly (aff3ed0)

Documentation

  • add RedMser as a contributor for code, and bug (#176) (2f60f55)

Internal

0.8.1 (2022-10-10)

Bug Fixes

Internal

  • deps: bump vm2 from 3.9.9 to 3.9.11 (#164) (aa62b7a)
  • deps: update dependency @release-it/conventional-changelog to v5.1.1 (#171) (c86e820)
  • deps: update dependency all-contributors-cli to v6.22.0 (#160) (3927049)
  • deps: update dependency release-it to v15.4.3 (#168) (3da423d)
  • deps: update dependency release-it to v15.5.0 (#169) (14be37e)
  • deps: update dependency ts-jest to v29.0.3 (#161) (2ecdbbd)
  • deps: update dependency typescript to v4.8.4 (#162) (2680010)
  • deps: update jest monorepo to v29.1.2 (#163) (765135e)
  • format (c592a55)
  • remove all-contributors-cli (51dab0e)
  • update release name (1c7e8a4)

0.8.0 (2022-09-19)

Features

  • add more default extensions (mjs, cjs, .d.mts, .d.cts) (b93a564)
  • improve support for ES modules (cb2057c)

Bug Fixes

  • deps: update dependency fast-glob to v3.2.12 (#156) (ed61e68)
  • fix broken imports ending with ts (8e4532e)

Documentation

Internal

  • add tests for dynamic imports and exports with ES Modules (8b561ff)
  • deps: update dependency all-contributors-cli to v6.20.4 (#155) (7c56edd)
  • deps: update dependency release-it to v15.4.2 (#157) (478cc0b)
  • deps: update dependency typescript to v4.8.3 (#148) (9821b89)
  • deps: update jest monorepo to v29 (#147) (ea039c3)
  • formatting and typing clean up (12578b9)
  • update jest config and snapshots (738fea3)

0.7.5 (2022-09-08)

Bug Fixes

  • replace last occurence of matched part, instead of first (309ed87)

Documentation

  • add Zebreus as a contributor for bug, test (#154) (37ce5ce)

Internal

  • add cjs tests for same name export (ffa8d45)
  • deps: update commitlint monorepo (#149) (fa33cd3)
  • deps: update dependency @release-it/conventional-changelog to v5.1.0 (#144) (d506b7a)
  • deps: update dependency @types/jest to v28.1.7 (#143) (3c91000)
  • deps: update dependency @types/jest to v28.1.8 (#145) (2f522ac)
  • deps: update dependency all-contributors-cli to v6.20.3 (#153) (0de25f5)
  • deps: update dependency release-it to v15.3.0 (#141) (5b9c866)
  • deps: update dependency release-it to v15.4.0 (#146) (5072161)
  • deps: update dependency release-it to v15.4.1 (#150) (9079f8f)
  • deps: update dependency ts-jest to v28.0.8 (#142) (f2c895c)
  • deps: update dependency tsconfig-paths to v4.1.0 (#140) (7ca4391)
  • update contributors config (ba2edcf)

0.7.4 (2022-07-27)

Bug Fixes

  • check for existence of .json files before replacing (2312e55)

Documentation

0.7.3 (2022-07-27)

Bug Fixes

  • resolve paths to .json files correctly (764c4a8)

0.7.2 (2022-07-27)

Bug Fixes

  • resolve path correctly when file and directory have same name (9b4e7d1)

Internal

  • deps: update dependency release-it to v15.2.0 (#134) (07919bc)
  • deps: update dependency ts-jest to v28.0.7 (#133) (5e589f9)

Documentation

  • add ForestBeaver as a contributor for bug (#137) (9c1a496)

0.7.1 (2022-07-16)

Bug Fixes

  • deps: update dependency commander to v9.4.0 (#128) (cfa2c9a)
  • do not replace existing relative paths (8b1f4b7)

Internal

  • deps: update dependency @types/jest to v28.1.5 (#123) (c3962cb)
  • deps: update dependency @types/jest to v28.1.6 (#129) (eca457a)
  • deps: update dependency jest to v28.1.3 (#124) (accb746)
  • deps: update dependency release-it to v15.1.2 (#130) (cce8c94)
  • deps: update dependency ts-jest to v28.0.6 (#127) (fd75d4d)
  • deps: update dependency ts-node to v10.9.0 (#125) (870e843)
  • deps: update dependency ts-node to v10.9.1 (#126) (71c6c2c)

Documentation

  • add wintercounter as a contributor for bug (#132) (f774d37)

0.7.0 (2022-07-09)

Features

  • add support for require.resolve statements (#119) (e3e14e6)

Bug Fixes

  • deps: update dependency commander to v9.3.0 (#106) (ed0e848)

Dependencies

  • bump @commitlint/cli from 17.0.1 to 17.0.2 (#93) (7479565)
  • bump @commitlint/config-conventional from 17.0.0 to 17.0.2 (#94) (c71b1bc)
  • bump @types/node from 17.0.35 to 17.0.38 (#90) (eb43edd)
  • bump ts-jest from 28.0.3 to 28.0.4 (#92) (ead8d8c)

Internal

  • deps: bump parse-url from 6.0.0 to 6.0.2 (#118) (fdd403b)
  • deps: update commitlint monorepo to v17.0.3 (#114) (d80b1b5)
  • deps: update dependency @types/jest to v28 (#107) (f7fa373)
  • deps: update dependency @types/jest to v28.1.3 (#111) (9b86397)
  • deps: update dependency prettier to v2.7.0 (#109) (b0d7c08)
  • deps: update dependency prettier to v2.7.1 (#110) (7145796)
  • deps: update dependency release-it to v15.1.0 (#113) (f67c365)
  • deps: update dependency release-it to v15.1.1 (#115) (98ee374)
  • deps: update dependency ts-jest to v28.0.5 (#108) (05d7cd9)
  • deps: update dependency ts-node to v10.8.1 (#102) (28949ab)
  • deps: update dependency ts-node to v10.8.2 (#117) (aaf6192)
  • deps: update dependency typescript to v4.7.3 (#103) (2fbe1b8)
  • deps: update dependency typescript to v4.7.4 (#112) (e06d3ad)
  • deps: update jest monorepo (#105) (88f0e86)
  • deps: update jest monorepo (#116) (afe9452)
  • use json for prettierrc (698cbc7)
  • use renovate instead of dependabot (fd31497)

Documentation

  • fix typo in README (ce075c6)
  • update .all-contributorsrc [skip ci] (976bb89)
  • update documentation for require.resolve (acdaae9)
  • update README.md [skip ci] (82d6be0)

0.6.0 (2022-05-27)

Features

  • add Typescript as a peer dependency and use it to parse tsconfig (aa936c5)

Dependencies

  • bump @commitlint/cli, ts-jest, ts-node, typescript (9a8648f)

0.5.0 (2022-05-21)

Features

  • use rootDir as source directory if present in tsconfig (cd8f461)

Dependencies

  • bump @commitlint/cli from 16.2.4 to 17.0.0 (#86) (10e65d1)
  • bump @commitlint/config-conventional from 16.2.4 to 17.0.0 (#87) (5991d21)
  • bump @types/node from 17.0.33 to 17.0.35 (#85) (cf5d825)
  • bump ansi-colors from 4.1.1 to 4.1.3 (#84) (302429f)

Internal

Documentation

  • update .all-contributorsrc [skip ci] (9f9051e)
  • update README.md [skip ci] (697faa0)

0.4.0 (2022-05-14)

Features

  • pass --ext as list instead of comma-separated string (23a4cce)

Internal

  • add deps to commitlint (fc5a5b3)
  • add test for resolving aliases from nested path (1e8aaf0)
  • gitignore coverage directory (43b2814)
  • rename some start scripts (ad267c5)

Dependencies

  • bump @commitlint/cli from 16.2.3 to 16.2.4 (6094bf5)
  • bump @commitlint/config-conventional from 16.2.1 to 16.2.4 (102aa50)
  • bump @release-it/conventional-changelog from 4.2.2 to 4.3.0 (5112bf2)
  • bump @types/jest, jest and ts-jest (1ca13bb)
  • bump @types/node from 17.0.23 to 17.0.33 (a6a5034)
  • bump commander from 9.1.0 to 9.2.0 (0b4a92a)
  • bump husky from 7.0.4 to 8.0.1 (ca95c62)
  • bump release-it from 14.14.0 to 14.14.3 (b7b7547)
  • bump release-it, @release-it/bumper and @release-it/conventional-changelog (831962c)
  • bump tsconfig-paths from 3.14.1 to 4.0.0 (dac2b9e)
  • bump typescript from 4.6.3 to 4.6.4 (16ca3fd)

0.3.0 (2022-04-08)

Features

  • export resolveTsPaths function for use as commonjs module (f269326)

Dependencies

  • bump @commitlint/cli from 16.2.1 to 16.2.3 (cdee2e5)
  • bump @commitlint/config-conventional from 16.0.0 to 16.2.1 (c07185b)
  • bump @release-it/conventional-changelog from 4.1.0 to 4.2.2 (7aa36e4)
  • bump @types/jest from 27.4.0 to 27.4.1 (4dd214f)
  • bump @types/node from 17.0.21 to 17.0.23 (8513ca0)
  • bump commander from 9.0.0 to 9.1.0 (6e6a5e7)
  • bump minimist from 1.2.5 to 1.2.6 (aa68235)
  • bump prettier from 2.5.1 to 2.6.2 (1406f78)
  • bump release-it from 14.12.5 to 14.14.0 (06d79a9)
  • bump ts-jest from 27.1.3 to 27.1.4 (1e934c8)
  • bump ts-node from 10.6.0 to 10.7.0 (f572a43)
  • bump tsconfig-paths from 3.12.0 to 3.14.1 (2436946)
  • bump typescript from 4.5.5 to 4.6.3 (53b926d)

Documentation

  • update .all-contributorsrc [skip ci] (b13447f)
  • update README.md [skip ci] (1323138)

Internal

  • move build to release-it hook (84a53ba)### 0.2.4 (2022-03-06)

Bug Fixes

  • resolve match-all glob correctly (edcc08f)

Documentation

  • update .all-contributorsrc [skip ci] (ad8e6ee)
  • update .all-contributorsrc [skip ci] (92b30a2)
  • update .all-contributorsrc [skip ci] (9c8c2ea)
  • update README.md [skip ci] (5f92394)
  • update README.md [skip ci] (45a4b8f)
  • update README.md [skip ci] (3d80f7c)

Dependencies

  • bump @commitlint/cli from 16.1.0 to 16.2.1 (6314881)
  • bump @types/node from 17.0.10 to 17.0.21 (aa938c5)
  • bump actions/checkout from 2 to 3 (1748175)
  • bump actions/setup-node from 2 to 3 (7e60bda)
  • bump commander from 8.3.0 to 9.0.0 (04057ce)
  • bump jest from 27.4.7 to 27.5.1 (686e774)
  • bump node-fetch from 2.6.6 to 2.6.7 (ce7accc)
  • bump release-it from 14.12.3 to 14.12.5 (5a74c4b)
  • bump ts-node from 10.4.0 to 10.6.0 (f9ea301)

Internal

0.2.3 (2022-01-21)

Bug Fixes

  • compilerOptions.paths not being resolved relative to extended config (6ce9cfe)
  • support parsing tsconfig with multiline comments (b910f28)

Dependencies

  • bump @release-it/conventional-changelog from 3.3.0 to 4.1.0 (ed19888)
  • bump typescript from 4.5.4 to 4.5.5 (400e44e)

Internal

  • reduce dependabot schedule (64a4105)

Documentation

  • update .all-contributorsrc [skip ci] (5d52a6d)
  • update LICENSE year (049df7d)
  • update README.md [skip ci] (72daae5)

0.2.2 (2022-01-21)

Bug Fixes

  • normalize path for fast-glob as fast-glob>3.0 doesn't support windows path; use absolute path in getFilesToProcess test (2a2b64a)

Dependencies

  • bump @commitlint/cli from 15.0.0 to 16.0.0 (77a55a0)
  • bump @commitlint/cli from 16.0.0 to 16.0.1 (6f5f8a5)
  • bump @commitlint/cli from 16.0.1 to 16.1.0 (e9bd5c8)
  • bump @commitlint/config-conventional from 15.0.0 to 16.0.0 (ec86632)
  • bump @types/jest from 27.0.3 to 27.4.0 (a17d3ea)
  • bump @types/node from 17.0.4 to 17.0.5 (8e50b12)
  • bump @types/node from 17.0.5 to 17.0.10 (177f4a2)
  • bump fast-glob from 3.2.7 to 3.2.11 (a4c91b3)
  • bump jest from 27.4.5 to 27.4.7 (9f8ad77)
  • bump release-it from 14.11.8 to 14.12.3 (daa5d1b)
  • bump ts-jest from 27.1.2 to 27.1.3 (6e7b0ac)

Internal

  • rename dependencies label prefix (3e39df1)
  • run yarn format (4150ece)
  • update release name format (d318beb)

Documentation

  • update .all-contributorsrc [skip ci] (c3a81a7)
  • update README.md [skip ci] (0e590b3)

0.2.1 (2021-12-26)

Internal

Documentation

  • update .all-contributorsrc [skip ci] (5aebb2a)
  • update README.md [skip ci] (3bb3623)

0.2.0 (2021-12-26)

Features

  • support dynamic imports (92e7c79)

Documentation

  • document supported path types (2caf7c6)

Internal

0.1.2 (2021-10-22)

Bug Fixes

0.1.1 (2021-10-02)

Bug Fixes

  • print new package name (oops) (2a10c09)

0.1.0 (2021-10-02)

Features