From 623be436c1382abd25372bfe18b39fd188c5f127 Mon Sep 17 00:00:00 2001 From: Adrian Goh Jun Wei Date: Mon, 23 Dec 2024 17:49:04 +0800 Subject: [PATCH] add back tsx (#958) --- tooling/build/scripts/publisher.sh | 1 - tooling/build/scripts/publishing/package.json | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tooling/build/scripts/publisher.sh b/tooling/build/scripts/publisher.sh index d01684d44c..5677edb50f 100644 --- a/tooling/build/scripts/publisher.sh +++ b/tooling/build/scripts/publisher.sh @@ -70,7 +70,6 @@ start_time=$(date +%s) cd tooling/build/scripts/publishing echo $(pwd) npm ci -npm install ts-node -g npm run start calculate_duration $start_time diff --git a/tooling/build/scripts/publishing/package.json b/tooling/build/scripts/publishing/package.json index 3a5474f08f..07683c9f92 100644 --- a/tooling/build/scripts/publishing/package.json +++ b/tooling/build/scripts/publishing/package.json @@ -5,14 +5,15 @@ "main": "index.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "ts-node index.ts " + "start": "tsx index.ts " }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "dotenv": "^16.4.5", - "pg": "^8.12.0" + "pg": "^8.12.0", + "tsx": "^4.19.2" }, "devDependencies": { "@types/pg": "^8.11.6"