mirror of
https://github.com/grafana/grafana.git
synced 2026-08-02 09:39:35 -05:00
* chore(node): clean up node versions and remove unnecessary experimental node option * build(e2e-test-plugins): remove obsolete experimental-strip-types flag * chore(cuj): remove unnecessary experimental strip types flag
27 lines
964 B
JSON
27 lines
964 B
JSON
// Dedicated typecheck config for the CUJ smoke runner. The main tsconfig.json
|
|
// excludes `__smoke__/` and `*.smoke.ts` because those files import each other
|
|
// with explicit `.ts` extensions (Node ESM type stripping requires them).
|
|
// Setting `allowImportingTsExtensions` globally breaks the
|
|
// dev server's fork-ts-checker (OOM), so smoke files live under their own
|
|
// config: `yarn typecheck:smoke` validates them without touching anything else.
|
|
{
|
|
"extends": "./scripts/tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"moduleResolution": "bundler",
|
|
"module": "esnext",
|
|
"target": "es2022",
|
|
"lib": ["dom", "dom.iterable", "es2022"],
|
|
"types": ["node"],
|
|
"skipLibCheck": true,
|
|
"noUnusedLocals": false,
|
|
"erasableSyntaxOnly": true
|
|
},
|
|
"include": [
|
|
"scripts/cuj-smoke.ts",
|
|
"public/app/core/journeys/__smoke__/**/*.ts",
|
|
"public/app/core/journeys/*.smoke.ts"
|
|
]
|
|
}
|