fix the production package cannot run issue caused by glob(path-scurry) module error - maybe the version of glob is too new, and there exists different version of glob, so download rimraf and typeorm to makes major version of glob at 7

This commit is contained in:
geekgeekrun
2024-03-21 01:24:42 +08:00
parent af92ef6718
commit 3f6a4615e3
18 changed files with 215 additions and 396 deletions

View File

@@ -6,13 +6,13 @@
"dependencies": {
"reflect-metadata": "^0.2.1",
"sqlite3": "^5.1.7",
"typeorm": "^0.3.20",
"typeorm": "0.3.11",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"scripts": {
"dev": "rimraf dist && tsc --outDir dist --watch true",
"build": "rimraf dist && tsc --outDir dist",
"postinstall": "npm run build"
"postinstall": "npm run build || exit 0;"
}
}