tsconfig: switch to top-level type checking

This commit is contained in:
Patrik Oldsberg
2020-05-17 12:48:38 +02:00
parent c9f435638a
commit c0336122c0
2 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
"start": "yarn workspace example-app start",
"bundle": "yarn build && yarn workspace example-app bundle",
"build": "lerna run build",
"clean": "lerna run clean",
"tsc": "tsc",
"clean": "backstage-cli clean && lerna run clean",
"diff": "lerna run diff --",
"test": "yarn build && lerna run test --since origin/master -- --coverage",
"test:all": "yarn build && lerna run test -- --coverage",
+8 -1
View File
@@ -1,3 +1,10 @@
{
"extends": "@backstage/cli/config/tsconfig.json"
"extends": "@backstage/cli/config/tsconfig.json",
"include": ["packages/*/src", "plugins/*/src", "plugins/*/dev"],
"exclude": ["**/node_modules"],
"compilerOptions": {
"noEmit": false,
"emitDeclarationOnly": true,
"outDir": "dist"
}
}