@nest-toolbox/request-context 1.8.1
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/LICENSE +21 -0
- package/README.md +301 -0
- package/dist/constants.d.ts +7 -0
- package/dist/constants.js +11 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/request-context.d.ts +78 -0
- package/dist/request-context.js +112 -0
- package/dist/request-context.js.map +1 -0
- package/dist/request-context.middleware.d.ts +16 -0
- package/dist/request-context.middleware.js +53 -0
- package/dist/request-context.middleware.js.map +1 -0
- package/dist/request-context.module.d.ts +56 -0
- package/dist/request-context.module.js +103 -0
- package/dist/request-context.module.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types.d.ts +48 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/package.json +57 -0
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nest-toolbox/request-context",
|
|
3
|
+
"description": "Lightweight AsyncLocalStorage-based request context for NestJS with auto-generated request IDs",
|
|
4
|
+
"version": "1.8.1",
|
|
5
|
+
"author": "bogdanlupu <lupu60@gmail.com>",
|
|
6
|
+
"homepage": "https://github.com/lupu60/nestjs-toolbox/tree/master/packages/request-context#readme",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"nestjs",
|
|
10
|
+
"request-context",
|
|
11
|
+
"async-local-storage",
|
|
12
|
+
"request-id",
|
|
13
|
+
"correlation-id",
|
|
14
|
+
"cls",
|
|
15
|
+
"middleware",
|
|
16
|
+
"toolbox"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/lupu60/nestjs-toolbox.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/lupu60/nestjs-toolbox/issues"
|
|
24
|
+
},
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"registry": "https://registry.npmjs.org/",
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"main": "dist/index",
|
|
30
|
+
"types": "dist/index",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=19 <=22",
|
|
36
|
+
"npm": "<=11"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "npm run clean && npm run compile",
|
|
40
|
+
"clean": "rimraf -rf ./dist",
|
|
41
|
+
"cleanup": "rimraf -rf dist coverage",
|
|
42
|
+
"compile": "tsc -p tsconfig.build.json",
|
|
43
|
+
"lint": "biome check src",
|
|
44
|
+
"test": "vitest run --config ../../vitest.config.ts",
|
|
45
|
+
"prepublishOnly": "npm run build"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "24.0.3",
|
|
49
|
+
"rimraf": "6.0.1",
|
|
50
|
+
"typescript": "5.9.3"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@nestjs/common": "^10.0.0",
|
|
54
|
+
"@nestjs/core": "^10.0.0"
|
|
55
|
+
},
|
|
56
|
+
"gitHead": "ae4e8512c3893eb5ca262ba91301628adec852fd"
|
|
57
|
+
}
|