feat:设备id
Showing
migrations/utils/index.ts
0 → 100644
migrations/utils/utils.ts
0 → 100644
ormconfig.ts
0 → 100644
... | ... | @@ -9,6 +9,7 @@ |
"node": ">= 20.0.0" | ||
}, | ||
"scripts": { | ||
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli -d ./ormconfig.ts", | ||
"build": "nest build", | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"start": "nest start", | ||
... | ... | @@ -20,7 +21,10 @@ |
"test:watch": "jest --watch", | ||
"test:cov": "jest --coverage", | ||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", | ||
"test:e2e": "jest --config ./test/jest-e2e.json" | ||
"test:e2e": "jest --config ./test/jest-e2e.json", | ||
"migration:create": "typeorm migration:create ", | ||
"migration:run": "yarn typeorm migration:run", | ||
"migration:revert": "yarn typeorm migration:revert" | ||
}, | ||
"dependencies": { | ||
"@nestjs-modules/ioredis": "^2.0.2", | ||
... | ... | @@ -42,7 +46,8 @@ |
"reflect-metadata": "^0.2.0", | ||
"rxjs": "^7.8.1", | ||
"sha1": "^1.1.1", | ||
"typeorm": "^0.3.20" | ||
"typeorm": "^0.3.20", | ||
"yaml": "^2.7.0" | ||
}, | ||
"devDependencies": { | ||
"@nestjs/cli": "^10.0.0", | ||
... | ... |
tsconfig.typeorm.json
0 → 100644
Please
register
or
sign in
to comment