Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Do not use the linting-tsconfig for emitting files #54

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type": "module",
"scripts": {
"build": "npm run cleanup && tsc -p tsconfig.build.json",
"build-test": "npm run cleanup && tsc -p .",
"build-test": "tsc --noEmit -p .",
"build-watch": "npm run cleanup && tsc -w -p tsconfig.build.json",
"check-licenses": "licensee --errors-only",
"cleanup": "rimraf lib coverage",
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// This is our configuration for development and linting,
// compared to "tsconfig.build.json" it also includes tests
// and other TypeScript sources in the project
// For this reason however, it should not be used to emit JavaScript (except for linting purposes),
// since the output directory would then contain "src" and "test" directories instead of just the content of "src"
"extends": "./tsconfig.base.json",
"include": [
"src/**/*",
Expand Down
Loading