mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
Before we run two configurations of typescript on CI. Though this leads to very long checks. Here I enabled "typecheck" script to generate dummy .d.ts files to enable additional checks. ```diff pnpm run -r typecheck (serial) - 239.13s + 262.94s pnpm turbo run size-test build checks dts --force (parallel locally) - 2m30.609s + 1m47.622s - pnpm turbo run size-test build checks dts --force (Ci) - 6m 5s + pnpm turbo run size-test build checks --force (Ci) + 3m 22s ```
31 lines
912 B
JSON
31 lines
912 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"display": "Default",
|
|
"compilerOptions": {
|
|
"module": "ES2022",
|
|
"target": "ES2022",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"inlineSources": false,
|
|
"isolatedModules": true,
|
|
"moduleResolution": "bundler",
|
|
"customConditions": ["source"],
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": false,
|
|
"preserveWatchOutput": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"allowJs": false,
|
|
"jsx": "react-jsx",
|
|
"resolveJsonModule": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"verbatimModuleSyntax": true,
|
|
"emitDeclarationOnly": true,
|
|
"declaration": true,
|
|
// types should be generated to provide additional checks
|
|
// needed only for generation
|
|
// there is no other way to enable these checks
|
|
"declarationDir": "node_modules/.ws-typecheck-tmp"
|
|
}
|
|
}
|