feat: 支持postgresql

This commit is contained in:
xiaojunnuo
2024-07-17 01:30:00 +08:00
parent a917a7bca6
commit 3b19bfb429
23 changed files with 203 additions and 321 deletions
+5 -1
View File
@@ -7,6 +7,7 @@
"scripts": {
"start": "cross-env NODE_ENV=production node ./bootstrap.js",
"dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/app",
"pgdev": "cross-env NODE_ENV=pgdev mwtsc --watch --run @midwayjs/mock/app",
"test": "cross-env NODE_ENV=unittest mocha",
"cov": "cross-env c8 --all --reporter=text --reporter=lcovonly npm run test",
"lint": "mwts check",
@@ -22,7 +23,9 @@
"@certd/acme-client": "^1.21.2",
"@certd/pipeline": "^1.21.2",
"@certd/plugin-cert": "^1.21.2",
"@certd/plugin-util": "^1.21.2",
"@certd/lib-huawei": "^1.21.2",
"@certd/lib-k8s": "^1.21.2",
"@certd/midway-flyway-js": "^1.21.2",
"@koa/cors": "^3.4.3",
"@midwayjs/bootstrap": "^3.16.2",
"@midwayjs/cache": "^3.14.0",
@@ -52,6 +55,7 @@
"nanoid": "^4.0.0",
"node-cron": "^3.0.2",
"nodemailer": "^6.9.3",
"pg": "^8.12.0",
"reflect-metadata": "^0.1.13",
"sqlite3": "^5.1.4",
"ssh2": "^0.8.9",