-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor out tsconfig files, see phetsims/chipper#1463
- Loading branch information
Showing
9 changed files
with
43 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
{ | ||
"extends": "../../../chipper/tsconfig-node.json", | ||
"include": [ | ||
"**/*", | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../../perennial/tsconfig.json" | ||
} | ||
] | ||
"extends": "../../tsconfig-node.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
{ | ||
"extends": "../../../chipper/tsconfig-node.json", | ||
"include": [ | ||
"**/*" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../../perennial/tsconfig.json" | ||
}, | ||
{ | ||
"path": "../server/tsconfig.json" | ||
}, | ||
{ | ||
"path": "../node-client/tsconfig.json" | ||
} | ||
] | ||
"extends": "../../tsconfig-node.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
{ | ||
"extends": "../../../chipper/tsconfig-node.json", | ||
"include": [ | ||
"**/*", | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../../perennial/tsconfig.json" | ||
} | ||
] | ||
"extends": "../../tsconfig-node.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
{ | ||
"extends": "../../../chipper/tsconfig-node.json", | ||
"include": [ | ||
"**/*", | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../../perennial/tsconfig.json" | ||
} | ||
] | ||
"extends": "../../tsconfig-node.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
{ | ||
"extends": "../../../chipper/tsconfig-node.json", | ||
"include": [ | ||
"**/*", | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../../perennial/tsconfig.json" | ||
} | ||
] | ||
"extends": "../../tsconfig-node.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
{ | ||
// This is the tsconfig for browser files, for node files, see within each node-like subdirectory. | ||
"extends": "../../chipper/tsconfig-core.json", | ||
"include": [ | ||
"browser-tools/**/*", | ||
"client/**/*", | ||
"report/**/*", | ||
"*" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../../chipper/tsconfig/buildjson/tsconfig.json" | ||
} | ||
] | ||
"extends": "../tsconfig-browser.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// This is the tsconfig for browser files, for node files, see within each node-like subdirectory. | ||
"extends": "../chipper/tsconfig-core.json", | ||
"include": [ | ||
"browser-tools/**/*", | ||
"client/**/*", | ||
"report/**/*", | ||
"*" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../chipper/tsconfig/buildjson/tsconfig.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "../chipper/tsconfig-node.json", | ||
"include": [ | ||
"js/config/**/*", | ||
"js/grunt/**/*", | ||
"js/local/**/*", | ||
"js/node-client/**/*", | ||
"js/server/**/*" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../perennial/tsconfig.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
{ | ||
// NOTE we do not extend tsconfig-core.json. This is a composite just for referencing the individual typescript sub- | ||
// projects within this repo. | ||
|
||
// By default, TypeScript includes all files below the tsconfig.json location. However, we must override that to | ||
// blank it out, so that we can let each browser/node decide what they want to include. | ||
"files": [], | ||
"references": [ | ||
|
||
// BROWSER | ||
{ | ||
"path": "js/tsconfig.json" | ||
}, | ||
|
||
// NODE | ||
{ | ||
"path": "js/config/tsconfig.json" | ||
}, | ||
{ | ||
"path": "js/grunt/tsconfig.json" | ||
}, | ||
{ | ||
"path": "js/local/tsconfig.json" | ||
}, | ||
{ | ||
"path": "js/node-client/tsconfig.json" | ||
"path": "tsconfig-browser.json" | ||
}, | ||
{ | ||
"path": "js/server/tsconfig.json" | ||
"path": "tsconfig-node.json" | ||
} | ||
] | ||
} |