├── .eslintrc.json ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example ├── api │ ├── foo.ts │ ├── main.ts │ └── tsconfig.json ├── node │ ├── lib1 │ │ └── index.ts │ ├── lib2 │ │ └── hello2.ts │ ├── lib3 │ │ └── hello3.ts │ ├── main.ts │ └── tsconfig.json ├── perf │ ├── foo.ts │ ├── main.ts │ └── tsconfig.json └── project │ ├── lib1 │ └── index.ts │ ├── main.ts │ └── tsconfig.json ├── jest.config.js ├── package.json ├── register.js ├── src ├── __tests__ │ ├── config-loader.test.ts │ ├── data │ │ └── match-path-data.ts │ ├── filesystem.test.ts │ ├── mapping-entry.test.ts │ ├── match-path-async.test.ts │ ├── match-path-sync.test.ts │ ├── try-path.test.ts │ ├── tsconfig-loader.test.ts │ └── tsconfig-named.json ├── config-loader.ts ├── filesystem.ts ├── index.ts ├── mapping-entry.ts ├── match-path-async.ts ├── match-path-sync.ts ├── register.ts ├── try-path.ts └── tsconfig-loader.ts ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/.npmignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/README.md -------------------------------------------------------------------------------- /example/api/foo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/api/foo.ts -------------------------------------------------------------------------------- /example/api/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/api/main.ts -------------------------------------------------------------------------------- /example/api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/api/tsconfig.json -------------------------------------------------------------------------------- /example/node/lib1/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/node/lib1/index.ts -------------------------------------------------------------------------------- /example/node/lib2/hello2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/node/lib2/hello2.ts -------------------------------------------------------------------------------- /example/node/lib3/hello3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/node/lib3/hello3.ts -------------------------------------------------------------------------------- /example/node/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/node/main.ts -------------------------------------------------------------------------------- /example/node/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/node/tsconfig.json -------------------------------------------------------------------------------- /example/perf/foo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/perf/foo.ts -------------------------------------------------------------------------------- /example/perf/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/perf/main.ts -------------------------------------------------------------------------------- /example/perf/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/perf/tsconfig.json -------------------------------------------------------------------------------- /example/project/lib1/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/project/lib1/index.ts -------------------------------------------------------------------------------- /example/project/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/project/main.ts -------------------------------------------------------------------------------- /example/project/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/example/project/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/package.json -------------------------------------------------------------------------------- /register.js: -------------------------------------------------------------------------------- 1 | require("./").register(); 2 | -------------------------------------------------------------------------------- /src/__tests__/config-loader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/config-loader.test.ts -------------------------------------------------------------------------------- /src/__tests__/data/match-path-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/data/match-path-data.ts -------------------------------------------------------------------------------- /src/__tests__/filesystem.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/filesystem.test.ts -------------------------------------------------------------------------------- /src/__tests__/mapping-entry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/mapping-entry.test.ts -------------------------------------------------------------------------------- /src/__tests__/match-path-async.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/match-path-async.test.ts -------------------------------------------------------------------------------- /src/__tests__/match-path-sync.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/match-path-sync.test.ts -------------------------------------------------------------------------------- /src/__tests__/try-path.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/try-path.test.ts -------------------------------------------------------------------------------- /src/__tests__/tsconfig-loader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/tsconfig-loader.test.ts -------------------------------------------------------------------------------- /src/__tests__/tsconfig-named.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/__tests__/tsconfig-named.json -------------------------------------------------------------------------------- /src/config-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/config-loader.ts -------------------------------------------------------------------------------- /src/filesystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/filesystem.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/mapping-entry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/mapping-entry.ts -------------------------------------------------------------------------------- /src/match-path-async.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/match-path-async.ts -------------------------------------------------------------------------------- /src/match-path-sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/match-path-sync.ts -------------------------------------------------------------------------------- /src/register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/register.ts -------------------------------------------------------------------------------- /src/try-path.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/try-path.ts -------------------------------------------------------------------------------- /src/tsconfig-loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/src/tsconfig-loader.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonaskello/tsconfig-paths/HEAD/yarn.lock --------------------------------------------------------------------------------