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]
34 lines
763 B
JSON
34 lines
763 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"allowJs": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"removeComments": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"baseUrl": ".",
|
|
"composite": true,
|
|
"importHelpers": false,
|
|
"skipDefaultLibCheck": true,
|
|
"experimentalDecorators": true
|
|
},
|
|
"include": ["src", "../messages", "scripts"],
|
|
"references": [
|
|
{
|
|
"path": "../../../packages/editor"
|
|
},
|
|
{
|
|
"path": "../../../packages/tldraw"
|
|
}
|
|
]
|
|
}
|