Skip to content

Commit

Permalink
fix: Enable incremental TSC builds (#19293)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMangold committed Oct 14, 2023
1 parent 29247e1 commit cc86e76
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ typings/
# Optional eslint cache
.eslintcache

# Build cache
tsconfig.tsbuildinfo

# Optional REPL history
.node_repl_history

Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ coverage
.codeclimate.yml
.github
babel.config.js
tsconfig.tsbuildinfo

#linters
.jscsrc
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"start": "node index.js",
"test-with-coverage": "jest test --coverage",
"test": "jest test",
"test-watch": "jest test --watch"
"test-watch": "jest test --watch",
"clean": "rimraf coverage dist tsconfig.tsbuildinfo",
"prepack": "npm run clean && npm run build"
},
"author": "Koen Kanters",
"license": "GPL-3.0",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"rootDir": "lib",
"inlineSourceMap": true,
"resolveJsonModule": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"incremental": true
},
"include": [
"lib/**/*",
Expand Down

0 comments on commit cc86e76

Please sign in to comment.