Skip to content

Commit 9621948

Browse files
authored
ci: Use tsc-watch across all backend packages (no-changelog) (#11364)
1 parent e6b2f8e commit 9621948

File tree

6 files changed

+17
-36
lines changed

6 files changed

+17
-36
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
"run-script-os": "^1.0.7",
5858
"supertest": "^7.0.0",
5959
"ts-jest": "^29.1.1",
60-
"tsc-alias": "^1.8.7",
61-
"tsc-watch": "^6.0.4",
60+
"tsc-alias": "^1.8.10",
61+
"tsc-watch": "^6.2.0",
6262
"turbo": "2.1.2",
6363
"typescript": "*",
6464
"zx": "^8.1.4"

packages/@n8n/benchmark/package.json

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"benchmark-locally": "pnpm benchmark --env local",
1818
"provision-cloud-env": "zx scripts/provision-cloud-env.mjs",
1919
"destroy-cloud-env": "zx scripts/destroy-cloud-env.mjs",
20-
"watch": "concurrently \"tsc -w -p tsconfig.build.json\" \"tsc-alias -w -p tsconfig.build.json\""
20+
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\""
2121
},
2222
"engines": {
2323
"node": ">=20.10"
@@ -41,10 +41,7 @@
4141
},
4242
"devDependencies": {
4343
"@types/convict": "^6.1.1",
44-
"@types/k6": "^0.52.0",
45-
"@types/node": "^20.14.8",
46-
"tsc-alias": "^1.8.7",
47-
"typescript": "^5.5.2"
44+
"@types/k6": "^0.52.0"
4845
},
4946
"bin": {
5047
"n8n-benchmark": "./bin/n8n-benchmark"

packages/@n8n/task-runner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test:watch": "jest --watch",
1414
"lint": "eslint . --quiet",
1515
"lintfix": "eslint . --fix",
16-
"watch": "concurrently \"tsc -w -p tsconfig.build.json\" \"tsc-alias -w -p tsconfig.build.json\""
16+
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\""
1717
},
1818
"main": "dist/start.js",
1919
"module": "src/start.ts",

packages/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"test:sqlite": "N8N_LOG_LEVEL=silent DB_TYPE=sqlite jest",
2929
"test:postgres": "N8N_LOG_LEVEL=silent DB_TYPE=postgresdb DB_POSTGRESDB_SCHEMA=alt_schema DB_TABLE_PREFIX=test_ jest --no-coverage",
3030
"test:mysql": "N8N_LOG_LEVEL=silent DB_TYPE=mysqldb DB_TABLE_PREFIX=test_ jest --no-coverage",
31-
"watch": "concurrently \"tsc -w -p tsconfig.build.json\" \"tsc-alias -w -p tsconfig.build.json\""
31+
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\""
3232
},
3333
"bin": {
3434
"n8n": "./bin/n8n"

packages/nodes-base/tsconfig.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,5 @@
1515
{ "path": "../@n8n/imap/tsconfig.build.json" },
1616
{ "path": "../workflow/tsconfig.build.json" },
1717
{ "path": "../core/tsconfig.build.json" }
18-
],
19-
"tsc-alias": {
20-
"replacers": {
21-
"base-url": {
22-
"enabled": false
23-
}
24-
}
25-
}
18+
]
2619
}

pnpm-lock.yaml

+10-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)