Files
zeekay f29f9e7c6e State a version once
A version written into a manifest is written into every manifest that wants it,
which is how eslint came to exist in a hundred and four forms across this estate
and how a package came to resolve twice at run time. The catalog moves the number
out of the manifest: a manifest names the package, the workspace names the
version.

Four are held below their latest because the newer release cannot be used, and
the reason is recorded rather than the version alone: @noble/hashes 2 renamed
every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package
that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels
3 points its types condition at the bundle.
2026-09-01 00:39:49 -07:00

111 lines
3.4 KiB
JSON

{
"name": "@hanzo/insights-node",
"version": "5.26.2",
"description": "Hanzo Insights Node.js SDK for server-side analytics and feature flags.",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoinsights/insights-js.git",
"directory": "packages/node"
},
"scripts": {
"clean": "rimraf dist coverage",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test:unit": "jest",
"test:edge-compat": "jest --env @edge-runtime/jest-environment --no-coverage",
"prebuild": "node -p \"'export const version = \\'' + require('./package.json').version + '\\''\" > src/version.ts",
"build": "rslib build",
"dev": "rslib build -w",
"prepublishOnly": "pnpm lint && pnpm test:unit && pnpm build",
"package": "pnpm pack --out $PACKAGE_DEST/%s.tgz",
"generate-references": "pnpm build && pnpm exec api-extractor run --config ./api-extractor.jsonc --local && node scripts/generate-docs.mjs"
},
"engines": {
"node": "^20.20.0 || >=22.22.0"
},
"files": [
"src",
"dist",
"!src/__tests__"
],
"license": "MIT",
"author": {
"name": "Hanzo AI",
"email": "[email protected]",
"url": "https://hanzo.ai"
},
"main": "dist/entrypoints/index.node.js",
"module": "dist/entrypoints/index.node.mjs",
"types": "dist/entrypoints/index.node.d.ts",
"dependencies": {
"@hanzo/insights-core": "workspace:*"
},
"devDependencies": {
"@hanzo/insights-tooling-tsconfig-base": "workspace:*",
"@rslib/core": "catalog:",
"@types/express": "catalog:",
"@types/jest": "catalog:",
"@types/node": "catalog:",
"jest": "catalog:",
"rxjs": "catalog:"
},
"peerDependencies": {
"rxjs": ">=7"
},
"peerDependenciesMeta": {
"rxjs": {
"optional": true
}
},
"keywords": [
"hanzo",
"insights",
"analytics",
"feature-flags"
],
"exports": {
".": {
"types": "./dist/entrypoints/index.node.d.ts",
"edge": {
"import": "./dist/entrypoints/index.edge.mjs",
"require": "./dist/entrypoints/index.edge.js",
"default": "./dist/entrypoints/index.edge.js"
},
"node": {
"import": "./dist/entrypoints/index.node.mjs",
"require": "./dist/entrypoints/index.node.js",
"default": "./dist/entrypoints/index.node.js"
},
"edge-light": {
"import": "./dist/entrypoints/index.edge.mjs",
"require": "./dist/entrypoints/index.edge.js",
"default": "./dist/entrypoints/index.edge.js"
},
"workerd": {
"import": "./dist/entrypoints/index.edge.mjs",
"require": "./dist/entrypoints/index.edge.js",
"default": "./dist/entrypoints/index.edge.js"
},
"import": "./dist/entrypoints/index.node.mjs",
"require": "./dist/entrypoints/index.node.js"
},
"./edge": {
"types": "./dist/entrypoints/index.edge.d.ts",
"import": "./dist/entrypoints/index.edge.mjs",
"require": "./dist/entrypoints/index.edge.js",
"default": "./dist/entrypoints/index.edge.js"
},
"./nestjs": {
"types": "./dist/entrypoints/nestjs.d.ts",
"import": "./dist/entrypoints/nestjs.mjs",
"require": "./dist/entrypoints/nestjs.js"
},
"./experimental": {
"types": "./dist/experimental.d.ts",
"import": "./dist/experimental.mjs",
"require": "./dist/experimental.js",
"default": "./dist/experimental.js"
}
}
}