|
16 | 16 | "test:coverage": "yarn test:all --coverage", |
17 | 17 | "test:coveralls": "yarn test:coverage --coverageReporters=text-lcov | coveralls", |
18 | 18 | "test:all": "yarn test:mysql && yarn test:postgres", |
19 | | - "test:postgres": "yarn db:prepare:typeorm && yarn test", |
| 19 | + "test:postgres": "yarn db:prepare:typeorm:postgres && yarn test", |
20 | 20 | "test:mysql": "yarn db:prepare:typeorm:mysql && TYPEORM_CONNECTION=mysql yarn test", |
21 | 21 | "start:typeorm": "npx nodemon -w ./integration/crud-typeorm -e ts node_modules/ts-node/dist/bin.js integration/crud-typeorm/main.ts", |
22 | 22 | "db:cli:typeorm": "cd ./integration/crud-typeorm && npx ts-node -r tsconfig-paths/register ../../node_modules/typeorm/cli.js", |
23 | | - "db:sync:typeorm": "yarn db:cli:typeorm schema:sync -f=orm", |
24 | | - "db:drop:typeorm": "yarn db:cli:typeorm schema:drop -f=orm", |
25 | | - "db:seeds:typeorm": "yarn db:cli:typeorm migration:run -f=orm", |
26 | | - "db:prepare:typeorm": "yarn db:drop:typeorm && yarn db:sync:typeorm && yarn db:seeds:typeorm", |
27 | | - "db:prepare:typeorm:mysql": "yarn db:drop:typeorm -c=mysql && yarn db:sync:typeorm -c=mysql && yarn db:seeds:typeorm -c=mysql", |
| 23 | + "db:sync:typeorm": "yarn db:cli:typeorm schema:sync", |
| 24 | + "db:drop:typeorm": "yarn db:cli:typeorm schema:drop", |
| 25 | + "db:seeds:typeorm": "yarn db:cli:typeorm migration:run", |
| 26 | + "db:prepare:typeorm:postgres": "yarn db:drop:typeorm -d=orm.postgres.ts && yarn db:sync:typeorm -d=orm.postgres.ts && yarn db:seeds:typeorm -d=orm.postgres.ts", |
| 27 | + "db:prepare:typeorm:mysql": "yarn db:drop:typeorm -d=orm.mysql.ts && yarn db:sync:typeorm -d=orm.mysql.ts && yarn db:seeds:typeorm -d=orm.mysql.ts", |
28 | 28 | "format": "npx pretty-quick --pattern \"packages/**/!(*.d).ts\"", |
29 | 29 | "lint": "npx eslint \"packages/**/!(*.d).ts\" --fix", |
30 | 30 | "commit": "npx git-cz", |
|
47 | 47 | } |
48 | 48 | }, |
49 | 49 | "dependencies": { |
50 | | - "@nestjs/common": "8.4.3", |
51 | | - "@nestjs/core": "8.4.3", |
52 | | - "@nestjs/platform-express": "8.4.3", |
| 50 | + "@nestjs/common": "^9.0.0", |
| 51 | + "@nestjs/core": "^9.0.0", |
| 52 | + "@nestjs/platform-express": "^9.0.0", |
53 | 53 | "@nestjs/swagger": "5.2.1", |
54 | | - "@nestjs/testing": "8.4.3", |
55 | | - "@nestjs/typeorm": "8.0.3", |
| 54 | + "@nestjs/testing": "^9.0.0", |
| 55 | + "@nestjs/typeorm": "^9.0.0", |
56 | 56 | "@zmotivat0r/mrepo": "0.8.1", |
57 | 57 | "class-transformer": "0.3.2", |
58 | 58 | "class-validator": "0.13.2", |
|
64 | 64 | "reflect-metadata": "0.1.13", |
65 | 65 | "rxjs": "7.5.5", |
66 | 66 | "swagger-ui-express": "4.3.0", |
67 | | - "typeorm": "0.2.45" |
| 67 | + "typeorm": "^0.3.0" |
68 | 68 | }, |
69 | 69 | "devDependencies": { |
70 | 70 | "@nuxtjs/opencollective": "0.2.2", |
|
0 commit comments