From 764ab215bc561988cdca838954d6656396d6a223 Mon Sep 17 00:00:00 2001 From: FabianMangold <141126144+FabianMangold@users.noreply.github.com> Date: Fri, 13 Oct 2023 20:00:42 +0200 Subject: [PATCH] feat(ignore): Enable incremental TSC builds (#774) --- .gitignore | 1 + .npmignore | 1 + package.json | 4 +++- tsconfig.json | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 002f1edcf3..e445f893fc 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dist/ .idea temp/ .remote-sync.json +tsconfig.tsbuildinfo diff --git a/.npmignore b/.npmignore index 27e448c7b4..1bd8e2cf53 100644 --- a/.npmignore +++ b/.npmignore @@ -6,6 +6,7 @@ coverage .travis.yml .jenkins.yml .codeclimate.yml +tsconfig.tsbuildinfo #linters .jscsrc diff --git a/package.json b/package.json index e71bb96d53..6d484b5c98 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,9 @@ "test-with-coverage": "jest test --coverage --collectCoverageFrom 'src/**/*.ts'", "test-watch": "jest test --watch", "eslint": "node_modules/.bin/eslint . --ext .ts --max-warnings=0", - "docs": "typedoc --tsconfig typedoc-tsconfig.json" + "docs": "typedoc --tsconfig typedoc-tsconfig.json", + "clean": "rimraf temp coverage dist", + "prepack": "npm run clean && npm run build" }, "version": "0.19.2", "jest": { diff --git a/tsconfig.json b/tsconfig.json index 24566fb4eb..a818cb7c14 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,7 @@ "outDir": "dist", "baseUrl": ".", "resolveJsonModule": true, + "incremental": true }, "include": [ "src/**/*.ts",