From c789f174ab902cc1d2fcd9966febf15cc513395c Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 19 Nov 2024 17:25:51 +0000 Subject: [PATCH] Adding node to each script run for CI. --- packages/backend-core/package.json | 2 +- packages/server/package.json | 2 +- packages/worker/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json index b716600cfd..6bd3c1728e 100644 --- a/packages/backend-core/package.json +++ b/packages/backend-core/package.json @@ -21,7 +21,7 @@ "scripts": { "prebuild": "rimraf dist/", "prepack": "cp package.json dist", - "build": "../../scripts/depcheck.js && tsc -p tsconfig.build.json --paths null && node ./scripts/build.js", + "build": "node ../../scripts/depcheck.js && tsc -p tsconfig.build.json --paths null && node ./scripts/build.js", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput", "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020", "test": "bash scripts/test.sh", diff --git a/packages/server/package.json b/packages/server/package.json index aebea5bc8b..6595182451 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -10,7 +10,7 @@ }, "scripts": { "prebuild": "rimraf dist/", - "build": "../../scripts/depcheck.js && node ./scripts/build.js", + "build": "node ../../scripts/depcheck.js && node ./scripts/build.js", "postbuild": "copyfiles -f ../client/dist/budibase-client.js ../client/manifest.json client && copyfiles -f ../../yarn.lock ./dist/", "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020", "build:isolated-vm-lib:snippets": "esbuild --minify --bundle src/jsRunner/bundles/snippets.ts --outfile=src/jsRunner/bundles/snippets.ivm.bundle.js --platform=node --format=iife --global-name=snippets", diff --git a/packages/worker/package.json b/packages/worker/package.json index 9ffe9a27fa..a2e6fceb85 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -13,7 +13,7 @@ ], "scripts": { "prebuild": "rimraf dist/", - "build": "../../scripts/depcheck.js && node ../../scripts/build.js", + "build": "node ../../scripts/depcheck.js && node ../../scripts/build.js", "postbuild": "copyfiles -f ../../yarn.lock ./dist/", "check:types": "tsc -p tsconfig.json --noEmit --paths null --target es2020", "build:dev": "yarn prebuild && tsc --build --watch --preserveWatchOutput",