Skip to content

Commit

Permalink
chore: need moar tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Jun 21, 2024
1 parent cc72dff commit 0b81201
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 35 deletions.
6 changes: 1 addition & 5 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Shared tsconfig to be inherited by all other tsconfigs in this repo
{
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
Expand All @@ -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"]
}
1 change: 1 addition & 0 deletions tsconfig.docs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Custom tsconfig for documentation generation
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Custom tsconfig for eslint
{
"extends": "./tsconfig.base.json",
"include": ["**/*.ts"],
Expand Down
35 changes: 5 additions & 30 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
Expand Down

0 comments on commit 0b81201

Please sign in to comment.