|
1 | 1 | { |
2 | 2 | "name": "@lenne.tech/nest-server", |
3 | | - "version": "11.4.8", |
| 3 | + "version": "11.6.0", |
4 | 4 | "description": "Modern, fast, powerful Node.js web framework in TypeScript based on Nest with a GraphQL API and a connection to MongoDB (or other databases).", |
5 | 5 | "keywords": [ |
6 | 6 | "node", |
|
25 | 25 | "docs:ci": "ts-node ./scripts/init-server.ts && npm run docs:bootstrap && compodoc -p tsconfig.json", |
26 | 26 | "format": "prettier --write 'src/**/*.ts'", |
27 | 27 | "format:staged": "pretty-quick --staged", |
| 28 | + "jest": "npm run jest:e2e", |
| 29 | + "jest:ci": "NODE_ENV=local jest --config jest-e2e.json --ci --forceExit", |
| 30 | + "jest:cov": "NODE_ENV=local jest --coverage", |
| 31 | + "jest:debug": "NODE_ENV=local node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
| 32 | + "jest:e2e": "NODE_ENV=local jest --config jest-e2e.json --forceExit", |
| 33 | + "jest:e2e-cov": "NODE_ENV=local jest --config jest-e2e.json --coverage --forceExit", |
| 34 | + "jest:e2e-doh": "NODE_ENV=local jest --config jest-e2e.json --forceExit --detectOpenHandles", |
| 35 | + "jest:watch": "NODE_ENV=local jest --watch", |
28 | 36 | "lint": "eslint '{src,apps,libs,tests}/**/*.{ts,js}' --cache", |
29 | 37 | "lint:fix": "eslint '{src,apps,libs,tests}/**/*.{ts,js}' --fix --cache", |
30 | 38 | "prestart:prod": "npm run build", |
|
42 | 50 | "start:dev:swc": "nest start -b swc -w --type-check", |
43 | 51 | "start:local": "NODE_ENV=local nodemon", |
44 | 52 | "start:local:swc": "NODE_ENV=local nest start -b swc -w --type-check", |
45 | | - "test": "npm run test:e2e", |
46 | | - "test:cov": "NODE_ENV=local jest --coverage", |
47 | | - "test:debug": "NODE_ENV=local node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
48 | | - "test:e2e": "NODE_ENV=local jest --config jest-e2e.json --forceExit", |
49 | | - "test:e2e-cov": "NODE_ENV=local jest --config jest-e2e.json --coverage --forceExit", |
50 | | - "test:e2e-doh": "NODE_ENV=local jest --config jest-e2e.json --forceExit --detectOpenHandles", |
51 | | - "test:ci": "NODE_ENV=local jest --config jest-e2e.json --ci --forceExit", |
52 | | - "test:watch": "NODE_ENV=local jest --watch", |
| 53 | + "test": "npm run vitest", |
| 54 | + "test:ci": "npm run vitest:ci", |
| 55 | + "test:e2e": "npm run vitest", |
53 | 56 | "prepack": "npm run prestart:prod", |
54 | 57 | "prepublishOnly": "npm run lint && npm run test:ci", |
55 | 58 | "preversion": "npm run lint", |
| 59 | + "vitest": "NODE_ENV=local vitest run --config vitest-e2e.config.ts", |
| 60 | + "vitest:ci": "NODE_ENV=ci vitest run --config vitest-e2e.config.ts", |
| 61 | + "vitest:cov": "NODE_ENV=local vitest run --coverage --config vitest-e2e.config.ts", |
| 62 | + "vitest:watch": "NODE_ENV=local vitest --config vitest-e2e.config.ts", |
| 63 | + "vitest:unit": "vitest run --config vitest.config.ts", |
| 64 | + "test:unit:watch": "vitest --config vitest.config.ts", |
56 | 65 | "watch": "npm-watch", |
57 | 66 | "link:eslint": "yalc add @lenne.tech/eslint-config-ts && yalc link @lenne.tech/eslint-config-ts && npm install", |
58 | 67 | "unlink:eslint": "yalc remove @lenne.tech/eslint-config-ts && npm install" |
|
68 | 77 | "node": ">= 20" |
69 | 78 | }, |
70 | 79 | "dependencies": { |
71 | | - "@apollo/gateway": "2.12.0", |
72 | 80 | "@getbrevo/brevo": "3.0.1", |
73 | 81 | "@nestjs/apollo": "13.1.0", |
74 | | - "@nestjs/common": "11.1.8", |
75 | | - "@nestjs/core": "11.1.8", |
76 | | - "@nestjs/graphql": "13.1.0", |
77 | | - "@nestjs/jwt": "11.0.1", |
78 | | - "@nestjs/mongoose": "11.0.3", |
| 82 | + "@nestjs/common": "11.1.9", |
| 83 | + "@nestjs/core": "11.1.9", |
| 84 | + "@nestjs/graphql": "13.2.0", |
| 85 | + "@nestjs/jwt": "11.0.2", |
| 86 | + "@nestjs/mongoose": "11.0.4", |
79 | 87 | "@nestjs/passport": "11.0.5", |
80 | | - "@nestjs/platform-express": "11.1.8", |
81 | | - "@nestjs/schedule": "6.0.1", |
82 | | - "@nestjs/swagger": "11.2.1", |
| 88 | + "@nestjs/platform-express": "11.1.9", |
| 89 | + "@nestjs/schedule": "6.1.0", |
| 90 | + "@nestjs/swagger": "11.2.3", |
83 | 91 | "@nestjs/terminus": "11.0.0", |
84 | 92 | "apollo-server-core": "3.13.0", |
85 | | - "apollo-server-express": "3.13.0", |
86 | 93 | "bcrypt": "6.0.0", |
87 | 94 | "class-transformer": "0.5.1", |
88 | | - "class-validator": "0.14.2", |
| 95 | + "class-validator": "0.14.3", |
89 | 96 | "compression": "1.8.1", |
90 | 97 | "cookie-parser": "1.4.7", |
91 | 98 | "dotenv": "17.2.3", |
|
101 | 108 | "mongoose": "8.19.3", |
102 | 109 | "multer": "2.0.2", |
103 | 110 | "node-mailjet": "6.0.11", |
104 | | - "nodemailer": "7.0.10", |
| 111 | + "nodemailer": "7.0.11", |
105 | 112 | "passport": "0.7.0", |
106 | 113 | "passport-jwt": "4.0.1", |
107 | 114 | "reflect-metadata": "0.2.2", |
108 | 115 | "rfdc": "1.4.1", |
109 | 116 | "rxjs": "7.8.2", |
| 117 | + "ts-jest": "29.4.6", |
110 | 118 | "yuml-diagram": "1.2.0" |
111 | 119 | }, |
112 | 120 | "devDependencies": { |
113 | | - "@babel/plugin-proposal-private-methods": "7.18.6", |
114 | 121 | "@compodoc/compodoc": "1.1.32", |
115 | 122 | "@lenne.tech/eslint-config-ts": "2.1.4", |
116 | | - "@nestjs/cli": "11.0.10", |
| 123 | + "@nestjs/cli": "11.0.14", |
117 | 124 | "@nestjs/schematics": "11.0.9", |
118 | | - "@nestjs/testing": "11.1.8", |
| 125 | + "@nestjs/testing": "11.1.9", |
119 | 126 | "@swc/cli": "0.7.9", |
120 | | - "@swc/core": "1.15.0", |
121 | | - "@swc/jest": "0.2.39", |
| 127 | + "@swc/core": "1.15.3", |
122 | 128 | "@types/compression": "1.8.1", |
123 | 129 | "@types/cookie-parser": "1.4.10", |
124 | 130 | "@types/ejs": "3.1.5", |
125 | 131 | "@types/express": "4.17.21", |
126 | | - "@types/jest": "30.0.0", |
127 | | - "@types/lodash": "4.17.20", |
| 132 | + "@types/lodash": "4.17.21", |
128 | 133 | "@types/multer": "2.0.0", |
129 | | - "@types/node": "24.10.0", |
130 | | - "@types/nodemailer": "7.0.3", |
| 134 | + "@types/node": "25.0.1", |
| 135 | + "@types/nodemailer": "7.0.4", |
131 | 136 | "@types/passport": "1.0.17", |
132 | 137 | "@types/supertest": "6.0.3", |
133 | | - "@typescript-eslint/eslint-plugin": "8.46.3", |
134 | | - "@typescript-eslint/parser": "8.46.3", |
135 | | - "coffeescript": "2.7.0", |
| 138 | + "@typescript-eslint/eslint-plugin": "8.49.0", |
| 139 | + "@typescript-eslint/parser": "8.49.0", |
| 140 | + "@vitest/coverage-v8": "4.0.15", |
| 141 | + "@vitest/ui": "4.0.15", |
| 142 | + "ansi-colors": "4.1.3", |
136 | 143 | "eslint": "9.39.1", |
137 | 144 | "eslint-config-prettier": "10.1.8", |
138 | 145 | "eslint-plugin-unused-imports": "4.3.0", |
|
143 | 150 | "grunt-contrib-watch": "1.1.0", |
144 | 151 | "grunt-sync": "0.8.2", |
145 | 152 | "husky": "9.1.7", |
146 | | - "jest": "30.2.0", |
147 | | - "nodemon": "3.1.10", |
| 153 | + "nodemon": "3.1.11", |
148 | 154 | "npm-watch": "0.13.0", |
149 | | - "pm2": "6.0.13", |
150 | | - "prettier": "3.6.2", |
| 155 | + "pm2": "6.0.14", |
| 156 | + "prettier": "3.7.4", |
151 | 157 | "pretty-quick": "4.2.2", |
152 | | - "rimraf": "6.1.0", |
| 158 | + "rimraf": "6.1.2", |
153 | 159 | "supertest": "7.1.4", |
154 | | - "ts-jest": "29.4.5", |
155 | 160 | "ts-loader": "9.5.4", |
156 | 161 | "ts-morph": "27.0.2", |
157 | 162 | "ts-node": "10.9.2", |
158 | 163 | "tsconfig-paths": "4.2.0", |
159 | 164 | "typescript": "5.9.3", |
| 165 | + "unplugin-swc": "1.5.9", |
| 166 | + "vite": "7.2.7", |
| 167 | + "vite-plugin-node": "7.0.0", |
| 168 | + "vite-tsconfig-paths": "5.1.4", |
| 169 | + "vitest": "4.0.15", |
160 | 170 | "yalc": "1.0.0-pre.53" |
161 | 171 | }, |
162 | 172 | "overrides": { |
|
0 commit comments