@lenne.tech/nest-server 11.41.2 → 11.41.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/rules/testing.md +3 -3
- package/FRAMEWORK-API.md +1 -1
- package/package.json +10 -9
package/.claude/rules/testing.md
CHANGED
|
@@ -266,7 +266,7 @@ pnpm run check:mutations -- --id=<id> # one mutation
|
|
|
266
266
|
pnpm run check:mutations -- --list # the registry, without running anything
|
|
267
267
|
pnpm run check:mutations -- --allow-dirty # when the fix and its evidence share a working tree
|
|
268
268
|
pnpm run check:mutations -- --jobs=4 # N mutations at a time (default: 2, or 4 on >=12 cores)
|
|
269
|
-
pnpm run check:mutations -- --no-infra # only the
|
|
269
|
+
pnpm run check:mutations -- --no-infra # only the 67 that need no MongoDB
|
|
270
270
|
pnpm run check:mutations -- --since=<ref> # only mutations touching files changed since <ref>
|
|
271
271
|
```
|
|
272
272
|
|
|
@@ -285,7 +285,7 @@ when the registry, a vitest config or a setup file changed, since those can move
|
|
|
285
285
|
commit, so selective re-running would save ~10 minutes a release. The price is a cache that has to
|
|
286
286
|
model each spec's full dependency closure correctly, and getting that wrong produces a stale PASS
|
|
287
287
|
for a test that has since gone vacuous — exactly what the gate is there to prevent. Bad trade
|
|
288
|
-
at
|
|
288
|
+
at 113 mutations — past the threshold this paragraph has carried since the gate was written,
|
|
289
289
|
now reached exactly. The full run is approaching half an hour. **The re-evaluation is due now**: the
|
|
290
290
|
next person to add a mutation should decide whether selective re-running has become worth its
|
|
291
291
|
failure mode (a stale PASS for a test that has since gone vacuous), not bump this number again.
|
|
@@ -329,7 +329,7 @@ exactly the environment where the answer matters.
|
|
|
329
329
|
|
|
330
330
|
Worth knowing before optimising the wrong thing: the specs behind all 46 e2e mutations add up to
|
|
331
331
|
**~40 seconds**. The step takes ~740s. The remaining ~700s is paying vitest's startup — process
|
|
332
|
-
spawn, transform, module graph, mongod connect, DB create and drop — once per mutation,
|
|
332
|
+
spawn, transform, module graph, mongod connect, DB create and drop — once per mutation, 113 times.
|
|
333
333
|
That work is largely single-threaded I/O and barely scales with cores: the full registry measures
|
|
334
334
|
**744s on a 12-core laptop and 777s on a 4-vCPU CI runner**.
|
|
335
335
|
|
package/FRAMEWORK-API.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lenne.tech/nest-server — Framework API Reference
|
|
2
2
|
|
|
3
|
-
> Auto-generated from source code as of 2026-09-
|
|
3
|
+
> Auto-generated from source code as of 2026-09-21 (v11.41.3)
|
|
4
4
|
> File: `FRAMEWORK-API.md` — compact, machine-readable API surface for Claude Code
|
|
5
5
|
|
|
6
6
|
## CoreModule.forRoot()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenne.tech/nest-server",
|
|
3
|
-
"version": "11.41.
|
|
3
|
+
"version": "11.41.3",
|
|
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",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"build:copy-types": "mkdir -p dist/types && cp src/types/*.d.ts dist/types/",
|
|
21
21
|
"build:dev": "pnpm run build",
|
|
22
22
|
"build:framework-api": "tsx scripts/generate-framework-api.ts",
|
|
23
|
-
"build:pack": "pnpm pack && echo
|
|
23
|
+
"build:pack": "pnpm pack && echo \"use file:/ROOT_PATH_TO_TGZ_FILE to integrate the package\"",
|
|
24
24
|
"c": "pnpm run check",
|
|
25
25
|
"cf": "pnpm run check:fix",
|
|
26
26
|
"check": "node scripts/check.mjs",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"start:debug": "nodemon --config nodemon-debug.json",
|
|
54
54
|
"start:dev": "nodemon",
|
|
55
55
|
"start:dev:swc": "nest start -b swc -w --type-check",
|
|
56
|
-
"start:local": "NODE_ENV=local nodemon",
|
|
57
|
-
"start:local:swc": "NODE_ENV=local nest start -b swc -w --type-check",
|
|
56
|
+
"start:local": "cross-env NODE_ENV=local nodemon",
|
|
57
|
+
"start:local:swc": "cross-env NODE_ENV=local nest start -b swc -w --type-check",
|
|
58
58
|
"start:nodemon": "ts-node -r tsconfig-paths/register src/main.ts",
|
|
59
|
-
"start:prod": "NODE_ENV=production node dist/main.js",
|
|
59
|
+
"start:prod": "cross-env NODE_ENV=production node dist/main.js",
|
|
60
60
|
"test": "pnpm run vitest:unit && pnpm run vitest",
|
|
61
61
|
"test:ci": "pnpm run vitest:unit && pnpm run vitest:ci",
|
|
62
62
|
"test:cleanup": "find tests -type f \\( -name '*.txt' -o -name '*.bin' -o -name '*.png' \\) -not -name '.gitkeep' -delete && echo 'Test artifacts cleaned up'",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"test:types": "tsc --noEmit --skipLibCheck -p tests/types/tsconfig.json",
|
|
69
69
|
"test:unit:watch": "vitest --config vitest.config.ts",
|
|
70
70
|
"typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
|
|
71
|
-
"vitest": "NODE_ENV=e2e vitest run --config vitest-e2e.config.ts",
|
|
72
|
-
"vitest:ci": "NODE_ENV=ci vitest run --config vitest-e2e.config.ts",
|
|
73
|
-
"vitest:cov": "NODE_ENV=e2e vitest run --coverage --config vitest-e2e.config.ts",
|
|
71
|
+
"vitest": "cross-env NODE_ENV=e2e vitest run --config vitest-e2e.config.ts",
|
|
72
|
+
"vitest:ci": "cross-env NODE_ENV=ci vitest run --config vitest-e2e.config.ts",
|
|
73
|
+
"vitest:cov": "cross-env NODE_ENV=e2e vitest run --coverage --config vitest-e2e.config.ts",
|
|
74
74
|
"vitest:unit": "vitest run --config vitest.config.ts",
|
|
75
75
|
"vitest:unit:cov": "vitest run --coverage --config vitest.config.ts",
|
|
76
|
-
"vitest:watch": "NODE_ENV=e2e vitest --config vitest-e2e.config.ts",
|
|
76
|
+
"vitest:watch": "cross-env NODE_ENV=e2e vitest --config vitest-e2e.config.ts",
|
|
77
77
|
"watch": "npm-watch"
|
|
78
78
|
},
|
|
79
79
|
"repository": {
|
|
@@ -201,6 +201,7 @@
|
|
|
201
201
|
"ansi-colors": "4.1.3",
|
|
202
202
|
"better-auth": "1.7.1",
|
|
203
203
|
"bullmq": "6.2.0",
|
|
204
|
+
"cross-env": "10.1.0",
|
|
204
205
|
"find-file-up": "2.0.1",
|
|
205
206
|
"husky": "9.1.7",
|
|
206
207
|
"ioredis": "6.0.0",
|