|
13 | 13 | "start:dev": "nest start --watch", |
14 | 14 | "start:debug": "nest start --debug --watch", |
15 | 15 | "start:prod": "node dist/src/main", |
16 | | - "migration:create": "yarn build && typeorm-ts-node-commonjs migration:create", |
17 | | - "migration:generate": "yarn build && typeorm-ts-node-commonjs migration:generate -d typeorm-migrations-datasource.ts", |
18 | | - "migration:revert": "yarn build && typeorm-ts-node-commonjs migration:revert -d typeorm-migrations-datasource.ts", |
19 | | - "migration:run": "yarn build && typeorm-ts-node-commonjs migration:run -d typeorm-migrations-datasource.ts", |
20 | | - "migration:show": "yarn build && typeorm-ts-node-commonjs migration:show -d typeorm-migrations-datasource.ts", |
| 16 | + "migration:create": "yarn typeorm migration:create", |
| 17 | + "migration:generate": "yarn typeorm migration:generate -d typeorm-migrations-datasource.ts", |
| 18 | + "migration:revert": "yarn typeorm migration:revert -d typeorm-migrations-datasource.ts", |
| 19 | + "migration:run": "yarn typeorm migration:run -d typeorm-migrations-datasource.ts", |
| 20 | + "migration:show": "yarn typeorm migration:show -d typeorm-migrations-datasource.ts", |
21 | 21 | "setup:local": "ts-node ./scripts/setup-staking.ts && LOCAL=true yarn setup:kvstore", |
22 | 22 | "setup:kvstore": "ts-node ./scripts/setup-kv-store.ts", |
23 | | - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
| 23 | + "lint": "eslint \"{src,test}/**/*.ts\" --fix", |
24 | 24 | "test": "jest", |
25 | 25 | "test:watch": "jest --watch", |
26 | 26 | "test:cov": "jest --coverage", |
27 | 27 | "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
28 | | - "generate-env-doc": "ts-node scripts/generate-env-doc.ts" |
| 28 | + "generate-env-doc": "ts-node scripts/generate-env-doc.ts", |
| 29 | + "typeorm": "typeorm-ts-node-commonjs" |
29 | 30 | }, |
30 | 31 | "dependencies": { |
31 | 32 | "@human-protocol/core": "workspace:*", |
|
39 | 40 | "@nestjs/passport": "^10.0.0", |
40 | 41 | "@nestjs/platform-express": "^10.3.10", |
41 | 42 | "@nestjs/schedule": "^4.0.1", |
42 | | - "@nestjs/serve-static": "^4.0.2", |
43 | 43 | "@nestjs/swagger": "^7.4.2", |
44 | 44 | "@nestjs/terminus": "^11.0.0", |
45 | 45 | "@nestjs/typeorm": "^10.0.1", |
|
71 | 71 | "zxcvbn": "^4.4.2" |
72 | 72 | }, |
73 | 73 | "devDependencies": { |
| 74 | + "@eslint/js": "^9.33.0", |
74 | 75 | "@faker-js/faker": "^9.4.0", |
75 | 76 | "@golevelup/ts-jest": "^0.6.1", |
76 | 77 | "@nestjs/cli": "^10.3.2", |
|
83 | 84 | "@types/node": "22.10.5", |
84 | 85 | "@types/uuid": "^10.0.0", |
85 | 86 | "@types/zxcvbn": "4.4.5", |
86 | | - "@typescript-eslint/eslint-plugin": "^5.0.0", |
87 | | - "@typescript-eslint/parser": "^5.0.0", |
88 | | - "eslint": "^8.55.0", |
89 | | - "eslint-config-prettier": "^9.1.0", |
90 | | - "eslint-plugin-prettier": "^5.2.1", |
| 87 | + "eslint": "^9.33.0", |
| 88 | + "eslint-config-prettier": "^10.1.8", |
| 89 | + "eslint-import-resolver-typescript": "^4.4.4", |
| 90 | + "eslint-plugin-import": "^2.32.0", |
| 91 | + "eslint-plugin-prettier": "^5.5.4", |
| 92 | + "globals": "^16.3.0", |
91 | 93 | "jest": "29.7.0", |
92 | 94 | "nock": "^14.0.3", |
93 | 95 | "prettier": "^3.4.2", |
94 | | - "source-map-support": "^0.5.20", |
95 | 96 | "ts-jest": "29.2.5", |
96 | 97 | "ts-node": "^10.9.2", |
97 | | - "tsconfig-paths": "4.2.0", |
| 98 | + "tsconfig-paths": "^4.2.0", |
98 | 99 | "type-fest": "^4.37.0", |
99 | | - "typescript": "^5.6.3" |
| 100 | + "typescript": "^5.9.2", |
| 101 | + "typescript-eslint": "^8.39.1" |
100 | 102 | }, |
101 | 103 | "lint-staged": { |
102 | 104 | "*.ts": [ |
|
0 commit comments