-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Type-check tests in CI pipeline
By excluding test files in the `tsconfig.json` file, the TypeScript compiler did not check these files. Consequently, issues in the tests only showed up in the editor, but not in the CI build. This commit removes the patterns for test files from the `exclude` section in the `tsconfig.json` file. To ensure that only relevant files end up in the `dist` directory, we let the TypeScript compiler write to a `build/` directory and then copy the necessary files to `dist/`.
- Loading branch information
Showing
4 changed files
with
5 additions
and
8 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 |
---|---|---|
|
@@ -6,6 +6,7 @@ node_modules/ | |
|
||
# build output | ||
dist/ | ||
build/ | ||
out/ | ||
coverage/ | ||
*.tgz | ||
|
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 |
---|---|---|
|
@@ -4,8 +4,4 @@ | |
!LICENSE.* | ||
!CHANGELOG.* | ||
!README.* | ||
|
||
!dist/*.js | ||
!dist/*.js.map | ||
!dist/index.d.ts | ||
!dist/api/*.d.ts | ||
!dist/**/* |
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