diff --git a/components/dashboard/tsconfig.json b/components/dashboard/tsconfig.json index 8dc61586d0a971..61c2c4f7030a45 100644 --- a/components/dashboard/tsconfig.json +++ b/components/dashboard/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "incremental": true, "paths": { "@podkit/*": ["./src/components/podkit/*"] }, diff --git a/components/gitpod-db/package.json b/components/gitpod-db/package.json index 1a03e39a65bc3c..7b278fc7d92e63 100644 --- a/components/gitpod-db/package.json +++ b/components/gitpod-db/package.json @@ -3,8 +3,8 @@ "license": "AGPL-3.0", "version": "0.1.5", "scripts": { - "build": "yarn lint && npx tsc", - "build:clean": "yarn clean && yarn build", + "build": "npx tsc", + "build:clean": "yarn clean && yarn lint && yarn build", "lint": "yarn eslint src/*.ts src/**/*.ts", "lint:fix": "yarn eslint src/*.ts src/**/*.ts --fix", "rebuild": "yarn build:clean", diff --git a/components/gitpod-db/tsconfig.json b/components/gitpod-db/tsconfig.json index 184c6682b88bcd..eca1b22ab0e60b 100644 --- a/components/gitpod-db/tsconfig.json +++ b/components/gitpod-db/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "incremental": true, "outDir": "lib", "experimentalDecorators": true, "lib": [ diff --git a/components/gitpod-protocol/package.json b/components/gitpod-protocol/package.json index 0ea7db93b48362..32b3708a6eaefd 100644 --- a/components/gitpod-protocol/package.json +++ b/components/gitpod-protocol/package.json @@ -38,7 +38,8 @@ }, "scripts": { "clean": "rimraf lib", - "build": "yarn lint && tsc", + "build": "tsc", + "build:clean": "yarn clean && yarn lint && yarn build", "lint": "yarn eslint src/*.ts src/**/*.ts", "lint:fix": "yarn eslint src/*.ts src/**/*.ts --fix", "test": "mocha './**/*.spec.js' --exclude './node_modules/**' --exit", diff --git a/components/gitpod-protocol/tsconfig.json b/components/gitpod-protocol/tsconfig.json index 524efe5bb9f3ed..7e5676d913ab24 100644 --- a/components/gitpod-protocol/tsconfig.json +++ b/components/gitpod-protocol/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "incremental": true, "strict": true, "noEmitOnError": false, "noUnusedLocals": true, diff --git a/components/server/package.json b/components/server/package.json index 1226a6364fa48d..7c3030297a861b 100644 --- a/components/server/package.json +++ b/components/server/package.json @@ -7,7 +7,8 @@ "start": "node ./dist/main.js", "start-inspect": "node --inspect=0.0.0.0:9229 ./dist/main.js", "generate": "leeway run components/spicedb:generate-ts > src/authorization/definitions.ts && npx prettier --write src/authorization/definitions.ts", - "build": "yarn clean && yarn generate && yarn lint && npx tsc", + "build:clean": "yarn clean && yarn lint && yarn build", + "build": "yarn generate && npx tsc", "lint": "yarn eslint src/*.ts src/**/*.ts", "lint:fix": "yarn eslint src/*.ts src/**/*.ts --fix", "rebuild": "yarn build:clean", diff --git a/components/server/tsconfig.json b/components/server/tsconfig.json index c29fcebcedb467..52619f874a018f 100644 --- a/components/server/tsconfig.json +++ b/components/server/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "incremental": true, "outDir": "dist", "experimentalDecorators": true, "lib": [