diff --git a/tsconfig.base.json b/tsconfig.base.json index 86d14b05b1d..ff16bb6db3b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,3 +1,4 @@ +// Shared tsconfig to be inherited by all other tsconfigs in this repo { "extends": "@tsconfig/node18/tsconfig.json", "compilerOptions": { @@ -22,9 +23,4 @@ // From: https://colinhacks.com/essays/live-types-typescript-monorepo "customConditions": ["@@dev"] } - // "include": [ - // "maintenance/**/*.ts", - // "test/**/*.ts" - // ], - // "exclude": ["**/build/**", "node_modules/**", "./packages/**/node_modules"] } diff --git a/tsconfig.docs.json b/tsconfig.docs.json index f2af3077f98..e14e3fd8c03 100644 --- a/tsconfig.docs.json +++ b/tsconfig.docs.json @@ -1,3 +1,4 @@ +// Custom tsconfig for documentation generation { "extends": "./tsconfig.base.json", "compilerOptions": { diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 1b98a4d3622..c3348d742aa 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,3 +1,4 @@ +// Custom tsconfig for eslint { "extends": "./tsconfig.base.json", "include": ["**/*.ts"], diff --git a/tsconfig.json b/tsconfig.json index ee4f9d3770d..0e3d909b14b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,44 +1,19 @@ +// This is a "solution" tsconfig with references to all "entrypoints" in the monorepo +// to power IntelliSense without having to open a specific package first { "extends": "./tsconfig.base.json", + "compilerOptions": { + "noEmit": true + }, "files": [], "include": [], "references": [ - { - "path": "./packages/cc" - }, - { - "path": "./packages/config" - }, - { - "path": "./packages/core" - }, { "path": "./packages/eslint-plugin" }, { "path": "./packages/flash" }, - { - "path": "./packages/host" - }, - { - "path": "./packages/maintenance" - }, - { - "path": "./packages/nvmedit" - }, - { - "path": "./packages/serial" - }, - { - "path": "./packages/shared" - }, - { - "path": "./packages/testing" - }, - { - "path": "./packages/transformers" - }, { "path": "./packages/zwave-js" }