Skip to content

Commit

Permalink
Revert "chore: set up root tsconfig as "solution" (#6745)"
Browse files Browse the repository at this point in the history
This reverts commit 4b2b256.
  • Loading branch information
AlCalzone authored Apr 9, 2024
1 parent 4b2b256 commit e12c244
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 84 deletions.
2 changes: 1 addition & 1 deletion packages/cc/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/config/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["node", "@typescript-eslint/utils"]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/flash/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/host/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/maintenance/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"newLine": "lf",
"resolveJsonModule": true
Expand Down
2 changes: 1 addition & 1 deletion packages/nvmedit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/serial/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [],
"include": ["src/**/*.ts"],
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {},
"references": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/transformers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"newLine": "lf",
"experimentalDecorators": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/zwave-js/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tsconfig for IntelliSense - active in all files in the current package
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"plugins": [
{
Expand Down
26 changes: 0 additions & 26 deletions tsconfig.base.json

This file was deleted.

2 changes: 1 addition & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.base.json",
"extends": "./tsconfig.json",
"include": ["**/*.ts"],
"exclude": ["**/build/**", "**/node_modules/**"]
}
69 changes: 26 additions & 43 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,28 @@
{
"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"
}
]
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"composite": true,
"incremental": true,
"declaration": true,
"declarationMap": true,

"noEmitOnError": true,
"removeComments": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": false,
"sourceMap": true,
"inlineSourceMap": false,
"stripInternal": true,

"pretty": true,
"types": ["node"],
"noErrorTruncation": true
},
"include": [
"packages/**/src/**/*.ts",
"packages/**/maintenance/**/*.ts",
"maintenance/**/*.ts",
"test/**/*.ts"
],
"exclude": ["**/build/**", "node_modules/**", "packages/**/node_modules"]
}
1 change: 0 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"yarn.lock",
// Build fresh when TS related stuff changes
"tsconfig.json",
"tsconfig.base.json",
"tsconfig.build.json"
]
}

0 comments on commit e12c244

Please sign in to comment.