|
6 | 6 | "license": "UNLICENSED",
|
7 | 7 | "author": "",
|
8 | 8 | "scripts": {
|
| 9 | + "prebuild": "rm -rf dist", |
9 | 10 | "build": "pnpm with-env nest build",
|
10 |
| - "dev": "pnpm with-env-dev nest start --watch", |
| 11 | + "clean": "rm -rf .turbo node_modules dist", |
| 12 | + "dev": "pnpm with-env nest start --watch", |
11 | 13 | "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
12 |
| - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", |
13 |
| - "start": "pnpm with-env-dev nest start", |
14 |
| - "start:debug": "nest start --debug --watch", |
| 14 | + "lint": "eslint ./src", |
| 15 | + "lint:fix": "eslint ./src --fix", |
| 16 | + "start": "pnpm with-env nest start", |
| 17 | + "start:debug": "pnpm with-env nest start --debug --watch", |
15 | 18 | "start:prod": "pnpm with-env node dist/main",
|
16 |
| - "test": "jest", |
17 |
| - "test:cov": "jest --coverage", |
18 |
| - "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
19 |
| - "test:e2e": "jest --config ./test/jest-e2e.json", |
20 |
| - "test:watch": "jest --watch", |
| 19 | + "test": "pnpm with-env jest", |
| 20 | + "test:cov": "pnpm with-env jest --coverage", |
| 21 | + "test:debug": "pnpm with-env node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
| 22 | + "test:e2e": "pnpm with-env jest --config ./test/jest-e2e.json", |
| 23 | + "test:watch": "pnpm with-env jest --watch", |
21 | 24 | "typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
22 |
| - "with-env": "dotenv -e ../../.env --", |
23 |
| - "with-env-dev": "dotenv -e ../../.env.development --" |
| 25 | + "with-env": "dotenv -e ../../.env --" |
24 | 26 | },
|
25 | 27 | "prettier": "@app/prettier-config",
|
26 | 28 | "jest": {
|
|
50 | 52 | "@nestjs/platform-fastify": "catalog:nestjs",
|
51 | 53 | "class-transformer": "catalog:nestjs",
|
52 | 54 | "class-validator": "catalog:nestjs",
|
| 55 | + "dotenv-cli": "catalog:", |
53 | 56 | "nats": "catalog:nestjs",
|
54 | 57 | "reflect-metadata": "catalog:nestjs",
|
55 | 58 | "rxjs": "catalog:nestjs",
|
|
60 | 63 | "@app/constants": "workspace:*",
|
61 | 64 | "@app/eslint-config-nest": "workspace:*",
|
62 | 65 | "@app/tsconfig": "workspace:*",
|
| 66 | + "@nestjs/cache-manager": "catalog:nestjs", |
63 | 67 | "@nestjs/cli": "catalog:nestjs",
|
64 | 68 | "@nestjs/schematics": "catalog:nestjs",
|
65 | 69 | "@nestjs/testing": "catalog:nestjs",
|
66 | 70 | "@types/jest": "catalog:",
|
67 | 71 | "@types/node": "catalog:",
|
68 | 72 | "@types/supertest": "catalog:nestjs",
|
| 73 | + "cache-manager": "catalog:nestjs", |
| 74 | + "cache-manager-redis-store": "catalog:nestjs", |
69 | 75 | "eslint": "catalog:nestjs",
|
70 | 76 | "jest": "catalog:",
|
71 | 77 | "prettier": "catalog:",
|
| 78 | + "redis": "catalog:nestjs", |
72 | 79 | "source-map-support": "catalog:nestjs",
|
73 | 80 | "supertest": "catalog:nestjs",
|
74 | 81 | "ts-jest": "catalog:nestjs",
|
|
0 commit comments