Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit dbf1075

Browse files
committed
ts-node: use --transpileOnly
1 parent 05637a9 commit dbf1075

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ecosystem.config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apps:
22
- name: "paradb-api"
3-
script: "./node_modules/.bin/ts-node -r tsconfig-paths/register ./src/index.ts"
3+
script: "./node_modules/.bin/ts-node -r tsconfig-paths/register --transpileOnly ./src/index.ts"
44
max_restarts: 3
55
restart_delay: 2000
66
min_uptime: 10000

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"start": "nodemon src/index.ts",
1010
"schema": "tools/update_schema.sh",
11-
"outage": "ts-node src/outage/index.ts",
11+
"outage": "ts-node --transpileOnly src/outage/index.ts",
1212
"migrate": "ts-node",
1313
"typecheck": "tsc --noEmit",
1414
"test": "yarn typecheck && tools/test.sh"
@@ -45,7 +45,7 @@
4545
"dotenv": "^10.0.0",
4646
"encoding": "^0.1.13",
4747
"express": "^4.17.12",
48-
"meilisearch": "^0.29.1",
48+
"meilisearch": "^0.29.1",
4949
"paradb-api-schema": "file:../paradb-api-schema",
5050
"passport": "^0.4.1",
5151
"passport-local": "^1.0.0",

0 commit comments

Comments
 (0)