From 2b9067cf10bff1f7c8b7e4377ce80ef4fc8fff7a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 30 May 2026 00:41:19 +0100 Subject: [PATCH] Document CultLib language workspaces --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 3833316e..4e4877a5 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,16 @@ The solution includes: - `GameCult.Caching.Tests`: NUnit tests for cache and backing-store behavior - `GameCult.Networking.Tests`: NUnit tests for networking behavior - `GameCult.Unity`: CultUI, a Unity runtime UI composition framework with reflective inspector generation, prefab-backed field resolvers, reusable controls, and a demo project packaged for UPM-style consumption +- `packages/cultcache-ts`: TypeScript CultCache with MessagePack persistence and inspector tooling +- `packages/cultnet-ts`: TypeScript CultNet schema-v0 contracts, framing, discovery, raw document replication, and interop tests +- `packages/cultmesh-ts`: TypeScript CultMesh local node and mesh catalog surface for local runtimes such as VoidBot +- `packages/cultcache-rs`: Rust CultCache and derive macro +- `packages/cultnet-rs`: Rust CultNet contracts, framing, discovery, and interop peer ## Repository Layout ```text +package.json src/ GameCult.Logging/ GameCult.Caching/ @@ -80,6 +86,12 @@ tests/ GameCult.Caching.Tests/ GameCult.Geometry.Tests/ GameCult.Networking.Tests/ +packages/ + cultcache-ts/ + cultnet-ts/ + cultmesh-ts/ + cultcache-rs/ + cultnet-rs/ ``` ## Build @@ -94,6 +106,22 @@ dotnet build CultLib.sln dotnet test CultLib.sln ``` +TypeScript package tests: + +```powershell +npm test --workspace packages/cultcache-ts +npm test --workspace packages/cultnet-ts +npm run test:interop --workspace packages/cultnet-ts +npm test --workspace packages/cultmesh-ts +``` + +Rust package tests: + +```powershell +cargo test --manifest-path packages/cultcache-rs/Cargo.toml +cargo test --manifest-path packages/cultnet-rs/Cargo.toml +``` + ## Common Concepts ### `DatabaseEntry`