@dudousxd/nestjs-diagnostics
Version:
A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.
105 lines • 3.07 kB
JSON
{
"name": "@dudousxd/nestjs-diagnostics",
"version": "0.12.0",
"description": "A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/DavideCarvalho/nestjs-diagnostics.git",
"directory": "packages/core"
},
"homepage": "https://davidecarvalho.github.io/aviary/docs/diagnostics",
"bugs": {
"url": "https://github.com/DavideCarvalho/nestjs-diagnostics/issues"
},
"keywords": [
"nestjs",
"diagnostics",
"diagnostics-channel",
"observability",
"telemetry",
"events",
"tanstack-intent"
],
"author": "Davi Carvalho <davi@goflip.ai>",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./nestjs": {
"types": "./dist/nestjs/index.d.ts",
"import": "./dist/nestjs/index.js",
"default": "./dist/nestjs/index.js"
}
},
"peerDependencies": {
"@nestjs/common": "^10 || ^11 || ^12",
"@nestjs/core": "^10 || ^11 || ^12",
"reflect-metadata": "^0.2",
"bullmq": "^5"
},
"peerDependenciesMeta": {
"@nestjs/common": {
"optional": true
},
"@nestjs/core": {
"optional": true
},
"reflect-metadata": {
"optional": true
},
"bullmq": {
"optional": true
}
},
"files": [
"dist/",
"README.md",
"CHANGELOG.md",
"skills"
],
"//sideEffects": "NOT false: registry.ts and context-accessor.ts register process-global state on globalThis via Symbol.for AT IMPORT TIME (the cross-copy-stable channel registry + context accessor), and channel.ts/trace.ts register a reset hook at module load. A bundler told sideEffects:false could tree-shake these initializers away, breaking cross-copy global stability. The array lists exactly the side-effectful modules (matching both src and published dist paths); pure modules (index, types) stay tree-shakeable.",
"sideEffects": [
"**/registry.js",
"**/registry.ts",
"**/context-accessor.js",
"**/context-accessor.ts",
"**/channel.js",
"**/channel.ts",
"**/trace.js",
"**/trace.ts",
"**/relayed.js",
"**/relayed.ts"
],
"devDependencies": {
"@nestjs/authentication": "0.1.5",
"@nestjs/authorization": "0.1.3",
"@nestjs/common": "12.4.1",
"@nestjs/core": "12.4.1",
"@nestjs/mail": "0.0.2",
"@nestjs/resilience": "0.0.3",
"@nestjs/testing": "12.4.1",
"@nestjs/workflows": "0.0.5",
"@types/node": "24.19.2",
"bullmq": "5.81.5",
"ioredis": "5.11.1",
"reflect-metadata": "0.2.2",
"typescript": "5.9.3",
"unplugin-swc": "1.6.0",
"vitest": "3.2.7"
},
"engines": {
"node": ">=24"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest",
"typecheck": "tsc -p tsconfig.json --noEmit"
}
}