-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4096 from alphagov/build-types-fixes
Fix compiler issues suppressed by `skipLibCheck`
- Loading branch information
Showing
20 changed files
with
4,724 additions
and
3,969 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,9 +61,6 @@ jobs: | |
- name: Build | ||
uses: ./.github/workflows/actions/build | ||
|
||
- name: Type declarations | ||
run: npm run build:types | ||
|
||
lint: | ||
name: ${{ matrix.task.description }} (${{ matrix.runner }}) | ||
runs-on: ${{ matrix.runner }} | ||
|
@@ -97,6 +94,10 @@ jobs: | |
run: npm run lint:prettier | ||
cache: .cache/prettier | ||
|
||
- description: TypeScript compiler | ||
name: lint-types | ||
run: npm run lint:types | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": ["**/*.js", "**/*.mjs"], | ||
"exclude": ["./dist", "./node_modules"], | ||
"compilerOptions": { | ||
"types": [ | ||
"browser-sync", | ||
"express", | ||
"gulp", | ||
"jest", | ||
"marked", | ||
"node", | ||
"nunjucks", | ||
"slug" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": ["**/*.js", "**/*.mjs"], | ||
"exclude": ["./dist", "./node_modules"], | ||
"compilerOptions": { | ||
"types": [ | ||
"browser-sync", | ||
"express", | ||
"gulp", | ||
"jest", | ||
"marked", | ||
"node", | ||
"nunjucks", | ||
"slug" | ||
] | ||
} | ||
"files": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.dev.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": ["**/*.js", "**/*.mjs"], | ||
"exclude": ["./dist", "./node_modules"], | ||
"compilerOptions": { | ||
"lib": ["ESNext", "DOM"], | ||
"target": "ES2015", | ||
"types": ["gulp", "jest", "jest-axe", "jest-puppeteer", "node"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"include": ["**/*.js", "**/*.mjs"], | ||
"exclude": ["./dist", "./node_modules"], | ||
"compilerOptions": { | ||
"lib": ["ESNext", "DOM"], | ||
"target": "ES2015", | ||
"types": ["gulp", "jest", "jest-axe", "jest-puppeteer", "node"] | ||
} | ||
"files": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.build.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.dev.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters