diff --git a/.gitignore b/.gitignore index a7f8111306fbd..449de0d50995f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ dist/ node_modules/ local/ ui/*/npm-debug.log +ui/*/tsconfig.tsbuildinfo hs_*.log yarn-error.log diff --git a/ui/ceval/package.json b/ui/ceval/package.json index 3bacff8209f1e..f33ab055f2645 100644 --- a/ui/ceval/package.json +++ b/ui/ceval/package.json @@ -14,7 +14,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" }, diff --git a/ui/chat/package.json b/ui/chat/package.json index e423b1e0ffe65..d291b4735d710 100644 --- a/ui/chat/package.json +++ b/ui/chat/package.json @@ -8,7 +8,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc --outDir ./dist --declaration --inlineSourceMap", + "compile": "../../node_modules/typescript/bin/tsc --incremental --outDir ./dist --declaration --inlineSourceMap", "dev": "yarn run compile && rollup --config", "prod": "yarn run compile && rollup --config --config-prod" }, diff --git a/ui/chess/package.json b/ui/chess/package.json index d7993e8d4368f..0cf61a362bef9 100644 --- a/ui/chess/package.json +++ b/ui/chess/package.json @@ -12,7 +12,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" }, diff --git a/ui/common/package.json b/ui/common/package.json index 390f84a5a5812..04e949e938e1e 100644 --- a/ui/common/package.json +++ b/ui/common/package.json @@ -11,7 +11,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" }, diff --git a/ui/game/package.json b/ui/game/package.json index a92582f6f7d70..4ff8775fe5711 100644 --- a/ui/game/package.json +++ b/ui/game/package.json @@ -13,7 +13,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" }, diff --git a/ui/nvui/package.json b/ui/nvui/package.json index 408afa63a1488..7f03c7a5cac9a 100644 --- a/ui/nvui/package.json +++ b/ui/nvui/package.json @@ -15,7 +15,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" }, diff --git a/ui/tree/package.json b/ui/tree/package.json index c5949728f9b56..4a640baf62527 100644 --- a/ui/tree/package.json +++ b/ui/tree/package.json @@ -12,7 +12,7 @@ "author": "Thibault Duplessis", "license": "AGPL-3.0-or-later", "scripts": { - "compile": "../../node_modules/typescript/bin/tsc", + "compile": "../../node_modules/typescript/bin/tsc --incremental", "dev": "yarn run compile", "prod": "yarn run compile" },