-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(common): export base tsconfig (#2873)
Co-authored-by: Kevin Ingersoll <[email protected]>
- Loading branch information
1 parent
ecc8f65
commit f3180fe
Showing
17 changed files
with
77 additions
and
24 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
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
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
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
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
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,3 @@ | ||
{ | ||
"extends": "@latticexyz/common/tsconfig.base.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
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,5 +1,6 @@ | ||
// For local development, we extend the monorepo's `tsconfig.json`, which includes paths to resolve TS source. | ||
// When building templates, this file will get replaced by monorepo's `tsconfig.base.json`. | ||
// For local development, each template workspace extends the monorepo's `tsconfig.json`, which includes `paths` to resolve TS source. | ||
// To strip out the `paths`, we replace the template workspace root `tsconfig.json` with a new base tsconfig that extends only | ||
// @latticexyz/common/tsconfig.base.json | ||
{ | ||
"extends": "../../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
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,5 +1,6 @@ | ||
// For local development, we extend the monorepo's `tsconfig.json`, which includes paths to resolve TS source. | ||
// When building templates, this file will get replaced by monorepo's `tsconfig.base.json`. | ||
// For local development, each template workspace extends the monorepo's `tsconfig.json`, which includes `paths` to resolve TS source. | ||
// To strip out the `paths`, we replace the template workspace root `tsconfig.json` with a new base tsconfig that extends only | ||
// @latticexyz/common/tsconfig.base.json | ||
{ | ||
"extends": "../../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
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,5 +1,6 @@ | ||
// For local development, we extend the monorepo's `tsconfig.json`, which includes paths to resolve TS source. | ||
// When building templates, this file will get replaced by monorepo's `tsconfig.base.json`. | ||
// For local development, each template workspace extends the monorepo's `tsconfig.json`, which includes `paths` to resolve TS source. | ||
// To strip out the `paths`, we replace the template workspace root `tsconfig.json` with a new base tsconfig that extends only | ||
// @latticexyz/common/tsconfig.base.json | ||
{ | ||
"extends": "../../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
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,5 +1,6 @@ | ||
// For local development, we extend the monorepo's `tsconfig.json`, which includes paths to resolve TS source. | ||
// When building templates, this file will get replaced by monorepo's `tsconfig.base.json`. | ||
// For local development, each template workspace extends the monorepo's `tsconfig.json`, which includes `paths` to resolve TS source. | ||
// To strip out the `paths`, we replace the template workspace root `tsconfig.json` with a new base tsconfig that extends only | ||
// @latticexyz/common/tsconfig.base.json | ||
{ | ||
"extends": "../../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
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,5 +1,6 @@ | ||
// For local development, we extend the monorepo's `tsconfig.json`, which includes paths to resolve TS source. | ||
// When building templates, this file will get replaced by monorepo's `tsconfig.base.json`. | ||
// For local development, each template workspace extends the monorepo's `tsconfig.json`, which includes `paths` to resolve TS source. | ||
// To strip out the `paths`, we replace the template workspace root `tsconfig.json` with a new base tsconfig that extends only | ||
// @latticexyz/common/tsconfig.base.json | ||
{ | ||
"extends": "../../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,7 +1,4 @@ | ||
{ | ||
"extends": [ | ||
// Note that the base config gets copied over to each template workspace too | ||
"./tsconfig.base.json", | ||
"./tsconfig.paths.json" | ||
] | ||
"extends": ["./packages/common/tsconfig.base.json", "./tsconfig.paths.json"], | ||
"exclude": ["**/dist", "**/node_modules", "**/docs", "**/e2e"] | ||
} |