Skip to content

Commit

Permalink
🚑 fix server start script to work with esm syntax on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-bierman committed Apr 3, 2024
1 parent 145b91b commit 6ff1d07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "eslint . --fix --ext .ts",
"setup": "echo \"No setup needed\"",
"start:pm2": "pm2 start dist/index.js --name server",
"start:prod": "node dist/index.js",
"start:prod": "node --import tsx dist/index.js",
"start:ts-node": "ts-node src/index.ts",
"start": "nodemon",
"test:expect": "mocha 'generated/test/**/*.spec.js'",
Expand Down Expand Up @@ -101,7 +101,7 @@
"prettier": "^3.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsx": "^4.7.0"
"tsx": "^4.7.1"
},
"engines": {
"node": ">=16.0.0"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29136,7 +29136,7 @@ __metadata:
trpc-panel: "npm:^1.3.4"
ts-jest: "npm:^29.1.1"
ts-node: "npm:^10.9.1"
tsx: "npm:^4.7.0"
tsx: "npm:^4.7.1"
typescript: "npm:^5.3.3"
uuid: "npm:^9.0.0"
validator: "npm:^13.9.0"
Expand Down Expand Up @@ -31253,7 +31253,7 @@ __metadata:
languageName: node
linkType: hard

"tsx@npm:^4.7.0":
"tsx@npm:^4.7.1":
version: 4.7.1
resolution: "tsx@npm:4.7.1"
dependencies:
Expand Down

0 comments on commit 6ff1d07

Please sign in to comment.