├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── package.json ├── playground ├── README.md ├── extends │ ├── a.ts │ ├── tsconfig.a.json │ ├── tsconfig.b.json │ └── tsconfig.json ├── import-but-not-include │ ├── README.md │ ├── fallback │ │ ├── src │ │ │ ├── imported.ts │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ └── single │ │ ├── src │ │ ├── imported.ts │ │ └── main.ts │ │ └── tsconfig.json ├── include-glob │ ├── README.md │ ├── src │ │ ├── .dot.ts │ │ ├── .dot │ │ │ └── main.ts │ │ ├── .explicit-dot.ts │ │ ├── .explicit-dot │ │ │ └── main.ts │ │ ├── main-alt.cjs │ │ ├── main-alt.js │ │ ├── main-alt.jsx │ │ ├── main-alt.mjs │ │ ├── main.cts │ │ ├── main.mts │ │ ├── main.ts │ │ ├── main.tsx │ │ └── no-dot │ │ │ └── main.ts │ └── tsconfig.json ├── nearest-matching │ ├── README.md │ ├── nested │ │ ├── a.ts │ │ ├── b.ts │ │ └── tsconfig.json │ └── tsconfig.json ├── precedence-tsconfig-jsconfig │ ├── README.md │ ├── both-base │ │ ├── a.js │ │ ├── jsconfig.json │ │ └── tsconfig.json │ ├── jsconfig-base │ │ ├── jsconfig.json │ │ └── nested │ │ │ ├── a.js │ │ │ └── tsconfig.json │ └── tsconfig-base │ │ ├── nested │ │ ├── a.js │ │ └── jsconfig.json │ │ └── tsconfig.json ├── references-multiple │ ├── README.md │ ├── a │ │ └── a.ts │ ├── b │ │ └── b.ts │ ├── root │ │ └── root.ts │ ├── shared │ │ └── shared.ts │ ├── tsconfig.a.json │ ├── tsconfig.b.json │ └── tsconfig.json ├── references-tsconfig-json │ ├── README.md │ ├── a │ │ ├── a.ts │ │ └── tsconfig.json │ ├── b │ │ ├── b.ts │ │ └── tsconfig.json │ ├── tsconfig.a-and-b.json │ └── tsconfig.json ├── solution-multiple-nested │ ├── README.md │ ├── a │ │ └── a.ts │ ├── b │ │ └── b.ts │ ├── c │ │ └── c.ts │ ├── shared │ │ └── shared.ts │ ├── tsconfig.a.json │ ├── tsconfig.b.json │ ├── tsconfig.c.json │ └── tsconfig.json ├── solution-multiple │ ├── README.md │ ├── a │ │ └── a.ts │ ├── b │ │ └── b.ts │ ├── shared │ │ └── shared.ts │ ├── tsconfig.a.json │ ├── tsconfig.b.json │ └── tsconfig.json └── solution-tsconfig-json │ ├── README.md │ ├── a │ ├── a.ts │ └── tsconfig.json │ ├── b │ ├── b.ts │ └── tsconfig.json │ ├── tsconfig.a-and-b.json │ └── tsconfig.json └── scripts └── generate-default.ts /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | *.tsbuildinfo 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/package.json -------------------------------------------------------------------------------- /playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/README.md -------------------------------------------------------------------------------- /playground/extends/a.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/extends/tsconfig.a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/extends/tsconfig.a.json -------------------------------------------------------------------------------- /playground/extends/tsconfig.b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/extends/tsconfig.b.json -------------------------------------------------------------------------------- /playground/extends/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/extends/tsconfig.json -------------------------------------------------------------------------------- /playground/import-but-not-include/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/import-but-not-include/README.md -------------------------------------------------------------------------------- /playground/import-but-not-include/fallback/src/imported.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/import-but-not-include/fallback/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/import-but-not-include/fallback/src/main.ts -------------------------------------------------------------------------------- /playground/import-but-not-include/fallback/src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/import-but-not-include/fallback/src/tsconfig.json -------------------------------------------------------------------------------- /playground/import-but-not-include/fallback/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /playground/import-but-not-include/single/src/imported.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/import-but-not-include/single/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/import-but-not-include/single/src/main.ts -------------------------------------------------------------------------------- /playground/import-but-not-include/single/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/import-but-not-include/single/tsconfig.json -------------------------------------------------------------------------------- /playground/include-glob/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/include-glob/README.md -------------------------------------------------------------------------------- /playground/include-glob/src/.dot.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/.dot/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/.explicit-dot.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/.explicit-dot/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main-alt.cjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main-alt.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main-alt.jsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main-alt.mjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main.cts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main.mts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/main.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/src/no-dot/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/include-glob/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/include-glob/tsconfig.json -------------------------------------------------------------------------------- /playground/nearest-matching/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/nearest-matching/README.md -------------------------------------------------------------------------------- /playground/nearest-matching/nested/a.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/nearest-matching/nested/b.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/nearest-matching/nested/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": ["b.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /playground/nearest-matching/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/nearest-matching/tsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/README.md -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/both-base/a.js: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/both-base/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/both-base/jsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/both-base/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/both-base/tsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/jsconfig-base/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/jsconfig-base/jsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/jsconfig-base/nested/a.js: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/jsconfig-base/nested/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/jsconfig-base/nested/tsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/tsconfig-base/nested/a.js: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/tsconfig-base/nested/jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/tsconfig-base/nested/jsconfig.json -------------------------------------------------------------------------------- /playground/precedence-tsconfig-jsconfig/tsconfig-base/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/precedence-tsconfig-jsconfig/tsconfig-base/tsconfig.json -------------------------------------------------------------------------------- /playground/references-multiple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/README.md -------------------------------------------------------------------------------- /playground/references-multiple/a/a.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/references-multiple/b/b.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/references-multiple/root/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/root/root.ts -------------------------------------------------------------------------------- /playground/references-multiple/shared/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/shared/shared.ts -------------------------------------------------------------------------------- /playground/references-multiple/tsconfig.a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/tsconfig.a.json -------------------------------------------------------------------------------- /playground/references-multiple/tsconfig.b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/tsconfig.b.json -------------------------------------------------------------------------------- /playground/references-multiple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-multiple/tsconfig.json -------------------------------------------------------------------------------- /playground/references-tsconfig-json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/README.md -------------------------------------------------------------------------------- /playground/references-tsconfig-json/a/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/a/a.ts -------------------------------------------------------------------------------- /playground/references-tsconfig-json/a/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/a/tsconfig.json -------------------------------------------------------------------------------- /playground/references-tsconfig-json/b/b.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/references-tsconfig-json/b/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/b/tsconfig.json -------------------------------------------------------------------------------- /playground/references-tsconfig-json/tsconfig.a-and-b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/tsconfig.a-and-b.json -------------------------------------------------------------------------------- /playground/references-tsconfig-json/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/references-tsconfig-json/tsconfig.json -------------------------------------------------------------------------------- /playground/solution-multiple-nested/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/README.md -------------------------------------------------------------------------------- /playground/solution-multiple-nested/a/a.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/solution-multiple-nested/b/b.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/solution-multiple-nested/c/c.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/solution-multiple-nested/shared/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/shared/shared.ts -------------------------------------------------------------------------------- /playground/solution-multiple-nested/tsconfig.a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/tsconfig.a.json -------------------------------------------------------------------------------- /playground/solution-multiple-nested/tsconfig.b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/tsconfig.b.json -------------------------------------------------------------------------------- /playground/solution-multiple-nested/tsconfig.c.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/tsconfig.c.json -------------------------------------------------------------------------------- /playground/solution-multiple-nested/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple-nested/tsconfig.json -------------------------------------------------------------------------------- /playground/solution-multiple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple/README.md -------------------------------------------------------------------------------- /playground/solution-multiple/a/a.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/solution-multiple/b/b.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /playground/solution-multiple/shared/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple/shared/shared.ts -------------------------------------------------------------------------------- /playground/solution-multiple/tsconfig.a.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple/tsconfig.a.json -------------------------------------------------------------------------------- /playground/solution-multiple/tsconfig.b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple/tsconfig.b.json -------------------------------------------------------------------------------- /playground/solution-multiple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-multiple/tsconfig.json -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-tsconfig-json/README.md -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/a/a.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/a/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-tsconfig-json/a/tsconfig.json -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/b/b.ts: -------------------------------------------------------------------------------- 1 | export const foo = (bar) => bar 2 | -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/b/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/tsconfig.a-and-b.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-tsconfig-json/tsconfig.a-and-b.json -------------------------------------------------------------------------------- /playground/solution-tsconfig-json/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/playground/solution-tsconfig-json/tsconfig.json -------------------------------------------------------------------------------- /scripts/generate-default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bluwy/tsconfig-grimoire/HEAD/scripts/generate-default.ts --------------------------------------------------------------------------------