fix(node-dev): fix the custom node build command (#4148)

* fix(node-dev): fix the custom node build command

also
* wait for the build command to finish before logging the success message
* use module relative paths for looking up `tsconfig` and `tsc` using `require.resolve`

* copy over svg files as well

* copy over the static files before the compilation step

this makes sure that these files are also copied over with `--watch`
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-09-21 09:36:44 +02:00
committed by GitHub
parent e20982442b
commit 4d8c380bef
5 changed files with 51 additions and 285 deletions

View File

@@ -48,7 +48,6 @@
"devDependencies": {
"@n8n_io/eslint-config": "",
"@oclif/dev-cli": "^1.22.2",
"@types/copyfiles": "^2.1.1",
"@types/express": "^4.17.6",
"@types/inquirer": "^6.5.0",
"@types/node": "^16.11.22",
@@ -59,7 +58,7 @@
"@oclif/command": "^1.5.18",
"@oclif/errors": "^1.2.2",
"change-case": "^4.1.1",
"copyfiles": "^2.1.1",
"fast-glob": "^3.2.5",
"inquirer": "^7.0.1",
"n8n-core": "~0.134.0",
"n8n-workflow": "~0.116.0",