@dreadwood-types/types
v0.1.170
Published
Public wire protocol and client-safe constants for Dreadwoods
Readme
@dreadwood-types/types
Public wire protocol and client-safe constants for Dreadwoods.
Publish (once)
Org on npm: @dreadwood-types. Package must exist before Render can use npm ci without cloning this repo.
npm login
npm publishVerify: npm view @dreadwood-types/types version should print 0.1.0.
Install (published)
After publish, consumers on Render or CI install from the registry:
npm install @dreadwood-types/types@^0.1.0Local monorepo
Backend, frontend, and website depend on the sibling repo via file:../dreadwoods-types.
From the workspace root:
# After npm install in at least one consumer (or if npm is broken on your machine):
.\scripts\setup-local-types.ps1Or manually:
cd dreadwoods-types
npm install # or use tsc from a sibling node_modules
npm run build
cd ../dreadwoods-backend && npm installPublishes dist/ with TypeScript declarations. Contains message types, tile enums, and display constants only - no server simulation logic.
