Skip to content

Commit

Permalink
[build] make build incremental (#19106)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenefftinge authored Nov 22, 2023
1 parent 73a1c76 commit 6ff405b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions components/dashboard/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"incremental": true,
"paths": {
"@podkit/*": ["./src/components/podkit/*"]
},
Expand Down
4 changes: 2 additions & 2 deletions components/gitpod-db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions components/gitpod-db/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"incremental": true,
"outDir": "lib",
"experimentalDecorators": true,
"lib": [
Expand Down
3 changes: 2 additions & 1 deletion components/gitpod-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions components/gitpod-protocol/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"incremental": true,
"strict": true,
"noEmitOnError": false,
"noUnusedLocals": true,
Expand Down
3 changes: 2 additions & 1 deletion components/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions components/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"incremental": true,
"outDir": "dist",
"experimentalDecorators": true,
"lib": [
Expand Down

0 comments on commit 6ff405b

Please sign in to comment.