The RUDP put handler and the browser payload reader decoded a codec document with plain msgpack. cultcache-ts now exports decodeDocumentPayload (definition or plain), the RUDP server reads a put through the registry's definition, and decodeCultNetPayload takes the formatter. cultmesh-ts and cultmesh-browser no longer depend on @msgpack/msgpack: frames and commands use cultnet-ts/wire, and a test per package scans src and the manifest. The envelope probe fixture now runs the plain record first and last. Not yet built or tested on this commit; the verify job follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"name": "cultmesh-ts",
|
|
"version": "0.1.1",
|
|
"description": "CultMesh local typed state and mesh catalog primitives for TypeScript runtimes.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"native"
|
|
],
|
|
"scripts": {
|
|
"build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
|
|
"prepack": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
|
|
"typecheck": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json --pretty false",
|
|
"test": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json && node ../../node_modules/typescript/bin/tsc -p tsconfig.test.json && node --expose-gc --test dist-test/test/*.test.js"
|
|
},
|
|
"keywords": [
|
|
"cultmesh",
|
|
"cultcache",
|
|
"cultnet",
|
|
"messagepack",
|
|
"typescript"
|
|
],
|
|
"author": "metacratic",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/GameCult/CultLib.git",
|
|
"directory": "packages/cultmesh-ts"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/GameCult/CultLib/issues"
|
|
},
|
|
"homepage": "https://github.com/GameCult/CultLib/tree/main/packages/cultmesh-ts#readme",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"@gamecult/cultcache-ts": "^0.14.0",
|
|
"cultnet-ts": "^0.2.0",
|
|
"koffi": "3.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"typescript": "^5.9.0",
|
|
"zod": "^3.25.76"
|
|
}
|
|
}
|