{
  "name": "@dudousxd/nestjs-context",
  "version": "1.1.1",
  "description": "Shared AsyncLocalStorage context for NestJS — carries user/tenant/traceId across the request and the ecosystem.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/DavideCarvalho/nestjs-context.git",
    "directory": "packages/core"
  },
  "homepage": "https://davidecarvalho.github.io/aviary/docs/context",
  "bugs": {
    "url": "https://github.com/DavideCarvalho/nestjs-context/issues"
  },
  "keywords": [
    "nestjs",
    "context",
    "async-local-storage",
    "als",
    "trace",
    "tenant",
    "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"
    }
  },
  "files": [
    "dist/",
    "README.md",
    "CHANGELOG.md",
    "skills"
  ],
  "//sideEffects": "NOT false: tokens.ts registers process-global symbols via Symbol.for() AT IMPORT TIME — the cross-package DI token channel other ecosystem libs reference. context.ts holds the module-level singleton (AsyncLocalStorage + cross-boundary config) that non-DI entrypoints (queue/durable workers) rely on being one shared instance. A bundler told sideEffects:false could tree-shake these initializers, breaking token identity / singleton sharing. The array lists exactly those modules (src + published dist paths); pure modules (index, accessor, middleware, etc.) stay tree-shakeable. Decorator/metadata-bearing classes are reached through value imports, so they are never dropped.",
  "sideEffects": [
    "**/tokens.js",
    "**/tokens.ts",
    "**/context.js",
    "**/context.ts"
  ],
  "peerDependencies": {
    "@dudousxd/nestjs-diagnostics": ">=0.5.0",
    "@nestjs/authentication": ">=0.1.5",
    "@nestjs/common": ">=10.0.0",
    "@nestjs/core": ">=10.0.0",
    "reflect-metadata": ">=0.1.13"
  },
  "peerDependenciesMeta": {
    "@dudousxd/nestjs-diagnostics": {
      "optional": true
    },
    "@nestjs/authentication": {
      "optional": true
    }
  },
  "devDependencies": {
    "@dudousxd/nestjs-diagnostics": "0.7.2",
    "@nestjs/authentication": "0.1.5",
    "@nestjs/common": "12.3.3",
    "@nestjs/core": "12.3.3",
    "@nestjs/platform-express": "12.3.3",
    "@nestjs/testing": "12.3.3",
    "@tanstack/intent": "0.5.6",
    "@types/node": "20.19.43",
    "reflect-metadata": "0.2.2",
    "rxjs": "7.8.2",
    "typescript": "5.9.3",
    "vitest": "3.2.7"
  },
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "tsc -p tsconfig.json",
    "test": "vitest run --passWithNoTests",
    "test:watch": "vitest",
    "typecheck": "tsc -p tsconfig.json --noEmit"
  }
}