grafana/tsconfig.json
Josh Hunt 8f0ae76afe
Chore: Use yarn node-modules linker (#79947)
* Chore: Use yarn node-modules linker

* fix react-router types resolution

* temp skip failing tests

* remove yarn-links for internal path aliases to fix some webpack errors

* transpile all .ts files, even those in node_modules (usually our internal workspace packages

* fix transformers mock

* import react router type directly

* remove old resolution

* more cleanup

* remove preserveSymlinks: true from tsconfig to make Go To Definition resolve grafana ui to the original location

* developer guide

* update dev guide

* remove sdks

* reenable tests

* fix tsconfig trailing commas (where did they come from)
2024-01-29 14:27:35 +00:00

28 lines
720 B
JSON

{
"compilerOptions": {
"jsx": "react",
"baseUrl": "public/",
"outDir": "public/dist",
"rootDirs": ["public/"],
"allowJs": true,
"strict": true,
"resolveJsonModule": true,
"useUnknownInCatchVariables": true,
"incremental": true,
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"paths": {
"@grafana/schema/dist/esm/*": ["../packages/grafana-schema/src/*"],
},
},
"extends": "@grafana/tsconfig/base.json",
"include": [
"public/app/**/*.ts*",
"public/e2e-test/**/*.ts",
"public/test/**/*.ts",
"public/vendor/**/*.ts",
"packages/grafana-data/typings",
"packages/grafana-ui/src/types",
],
"exclude": ["public/app/**/webpack.config.ts"],
}