987a576423
Closes #2800 This PR makes it so that `check-scripts` will error out if you forget to add a "references" entry to a tsconfig file when adding an internal dependency in our monorepo. If these project references are missed it can prevent TS from building/rebuilding things when they need to be built/rebuilt. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2]
30 lines
519 B
JSON
30 lines
519 B
JSON
{
|
|
"extends": "../../config/tsconfig.base.json",
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "dist", "**/*.css", ".tsbuild*"],
|
|
"compilerOptions": {
|
|
"outDir": "./.tsbuild",
|
|
"rootDir": "src",
|
|
// TODO: enable these two options
|
|
"noImplicitOverride": false,
|
|
"noImplicitReturns": false,
|
|
"types": ["node", "@types/jest"]
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../state"
|
|
},
|
|
{
|
|
"path": "../store"
|
|
},
|
|
{
|
|
"path": "../tlschema"
|
|
},
|
|
{
|
|
"path": "../utils"
|
|
},
|
|
{
|
|
"path": "../validate"
|
|
}
|
|
]
|
|
}
|