Moving the CultLib pin forward to pick up the presence contract also brought ten unrelated commits, one of which republished the TypeScript packages under the @gamecult scope. Two things broke on that rename. The recipe selected build workspaces by package name, so `--workspace= cultcache-ts` no longer matched anything. Selecting by path instead says what is actually meant and survives the next rename. cultnet-ts depends on cultcache-ts by registry range, not by workspace protocol, so the vendored copy is only used because Heimdall overrides that name to the vendored path. The override still named the old one, and pnpm went looking for @gamecult/cultcache-ts on a registry that does not have it. Heimdall now uses the package's real name in its dependency, its override and its imports. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"name": "heimdall",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.33.0",
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"dev": "tsx watch src/index.ts",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest run --config vitest.config.ts",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"export:provider-health-public-key": "tsx src/export-provider-health-public-key.ts",
|
|
"export:provider-advertisement": "tsx src/export-provider-advertisement.ts --pretty",
|
|
"bundle": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node24 --outfile=dist/heimdall --external:pg-native --banner:js=\"#!/usr/bin/env node\nimport{createRequire}from'node:module';const require=createRequire(import.meta.url);\""
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.2.0",
|
|
"@msgpack/msgpack": "^3.1.3",
|
|
"@gamecult/cultcache-ts": "file:vendor/CultLib/packages/cultcache-ts",
|
|
"cultmesh-ts": "file:vendor/CultLib/packages/cultmesh-ts",
|
|
"cultnet-ts": "file:vendor/CultLib/packages/cultnet-ts",
|
|
"fastify": "^5.8.5",
|
|
"pg": "^8.20.0",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.6.0",
|
|
"@types/pg": "^8.20.0",
|
|
"pg-mem": "^3.0.14",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.5",
|
|
"esbuild": "^0.27.7"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@gamecult/cultcache-ts": "file:vendor/CultLib/packages/cultcache-ts",
|
|
"cultnet-ts": "file:vendor/CultLib/packages/cultnet-ts"
|
|
}
|
|
}
|
|
}
|