Regenerating the lockfile picked up a newer @cardano-sdk/crypto release that dropped its errant npm-CLI runtime dependency, clearing the critical tar advisory and 42 other advisories that traced back to it (44 -> 1, the remainder a dev-only esbuild low). A defensive overrides pin on tar and brace-expansion is retained per plan but is empirically not what resolved this - documented honestly in README.md and the task report. engines.node raised to >=22 everywhere (root + all three packages), matching the CI workflow's node-version and the Dockerfile's node:22-alpine base (both already agreed; no discrepancy to reconcile). postinstall no longer symlinks libsodium with `ln -sf ... || true`, which silently no-opped on Windows and left a runtime ERR_MODULE_NOT_FOUND. scripts/link-libsodium.mjs copies the file cross-platform instead, logs one line, and exits non-zero on genuine failure. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"name": "@apexfusion/mcp-server-monorepo",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": ["packages/*"],
|
|
"scripts": {
|
|
"postinstall": "node scripts/link-libsodium.mjs",
|
|
"clean": "rm -rf packages/*/build",
|
|
"build": "npm run build --workspace=@apexfusion/vector-mcp-builder && npm run build --workspace=@apexfusion/vector-mcp-signer",
|
|
"typecheck": "tsc --noEmit -p packages/shared && tsc --noEmit -p packages/builder && tsc --noEmit -p packages/signer",
|
|
"start": "node packages/builder/build/index.js",
|
|
"test": "npm run test:unit",
|
|
"test:unit": "node --import tsx --test packages/*/test/*.test.ts",
|
|
"test:smoke": "npm run build && node --import tsx --test packages/builder/test/smoke/*.test.ts",
|
|
"test:smoke:signer": "npm run build && node --import tsx --test packages/signer/test/smoke/*.test.ts",
|
|
"test:integration": "npm run build && node --import tsx --test packages/builder/test/integration/*.test.ts",
|
|
"test:integration:auth": "npm run build && node --import tsx --test packages/builder/test/integration/auth-gating.test.ts packages/builder/test/integration/rate-limit-gating.test.ts packages/builder/test/integration/streamable-http-gating.test.ts",
|
|
"test:integration:signer": "node --import tsx --test packages/signer/test/integration/*.test.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.13.1",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.3"
|
|
},
|
|
"overrides": {
|
|
"tar": "^7.5.21",
|
|
"brace-expansion": "^2.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"license": "ISC",
|
|
"author": "Apex Fusion",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Apex-Fusion/mcp-server.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Apex-Fusion/mcp-server/issues"
|
|
}
|
|
}
|