mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-09 20:25:01 +00:00
feat: switch to mysql2 package; fix typeorm cli path
This commit is contained in:
parent
7f37f0c372
commit
f3fcede7f5
2 changed files with 69 additions and 44 deletions
|
@ -17,7 +17,7 @@
|
|||
"start-api-prod": "cross-env NODE_ENV=production node --enable-source-maps --stack-trace-limit=30 dist/api/index.js",
|
||||
"start-api-prod-debug": "NODE_ENV=production DEBUG=true clinic heapprofiler --collect-only --dest .clinic-api -- node --enable-source-maps --stack-trace-limit=30 dist/api/index.js",
|
||||
"watch-api": "NODE_ENV=development HOST_MODE=development tsc-watch --onSuccess \"npm run start-api-dev\"",
|
||||
"typeorm": "node ./node_modules/typeorm/cli.js",
|
||||
"typeorm": "node ../node_modules/typeorm/cli.js",
|
||||
"migrate": "npm run typeorm -- migration:run -d dist/data/dataSource.js",
|
||||
"migrate-prod": "cross-env NODE_ENV=production npm run migrate",
|
||||
"migrate-dev": "NODE_ENV=development HOST_MODE=development npm run build && npm run migrate",
|
||||
|
@ -56,7 +56,7 @@
|
|||
"lodash.pick": "^4.4.0",
|
||||
"moment-timezone": "^0.5.21",
|
||||
"multer": "^1.4.5-lts.1",
|
||||
"mysql": "^2.16.0",
|
||||
"mysql2": "^3.9.3",
|
||||
"parse-color": "^1.0.0",
|
||||
"passport": "^0.6.0",
|
||||
"passport-custom": "^1.0.5",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue