Merge pull request #2317 from spotify/rugvip/nolibc

cli: make skipLibCheck default in tsconfig, but provide tsc:full
This commit is contained in:
Patrik Oldsberg
2020-09-07 19:58:02 +02:00
committed by GitHub
8 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ jobs:
run: yarn lerna -- run lint --since origin/master
- name: type checking and declarations
run: yarn tsc --incremental false
run: yarn tsc:full
- name: build changed packages
if: ${{ steps.yarn-lock.outcome == 'success' }}
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
run: yarn lerna -- run lint
- name: type checking and declarations
run: yarn tsc --incremental false
run: yarn tsc:full
- name: verify type dependencies
run: yarn lint:type-deps
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
run: yarn lerna -- run lint
- name: type checking and declarations
run: yarn tsc --incremental false
run: yarn tsc:full
- name: build
run: yarn build
@@ -65,6 +65,7 @@ yarn storybook # Start local storybook, useful for working on components in @bac
yarn workspace @backstage/plugin-welcome start # Serve welcome plugin only, also supports --check
yarn tsc # Run typecheck, use --watch for watch mode
yarn tsc:full # Run full type checking, for example without skipLibCheck, use in CI
yarn build # Build published versions of packages, depends on tsc
+1
View File
@@ -10,6 +10,7 @@
"start-backend": "yarn workspace example-backend start",
"build": "lerna run build",
"tsc": "tsc",
"tsc:full": "tsc --skipLibCheck false --incremental false",
"clean": "backstage-cli clean && lerna run clean",
"diff": "lerna run diff --",
"test": "lerna run test --since origin/master -- --coverage",
+1
View File
@@ -25,6 +25,7 @@
"removeComments": false,
"resolveJsonModule": true,
"sourceMap": false,
"skipLibCheck": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
@@ -9,6 +9,7 @@
"start": "yarn workspace app start",
"build": "lerna run build",
"tsc": "tsc",
"tsc:full": "tsc --skipLibCheck false --incremental false",
"clean": "backstage-cli clean && lerna run clean",
"diff": "lerna run diff --",
"test": "lerna run test --since origin/master -- --coverage",
@@ -9,7 +9,6 @@
"exclude": ["node_modules"],
"compilerOptions": {
"outDir": "dist-types",
"rootDir": ".",
"skipLibCheck": true
"rootDir": "."
}
}