diff --git a/tooling/build/scripts/publisher.sh b/tooling/build/scripts/publisher.sh index d01684d44..5677edb50 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 3a5474f08..07683c9f9 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"