Cockatrice/.github
ZeldaZach cc4a53b850
[Protocol] Single-source-of-truth protocol version + publish @cockatrice/protocol
The protocol version is now declared once in libcockatrice_protocol/protocol_version.json.
CMake reads it at configure time and emits a generated protocol_version.h exposing
COCKATRICE_PROTOCOL_VERSION; remote_client.cpp and serversocketinterface.cpp both
pick it up via the existing libcockatrice_protocol link.

The same JSON file is bundled into a new @cockatrice/protocol npm package
(scripts/package-protocol.mjs + .github/workflows/protocol-publish.yml) so
TypeScript consumers (Sockatrice/webclient) can derive PROTOCOL_VERSION from the
identical source instead of hand-typing the literal. The workflow dry-runs
npm pack on PRs and publishes to GitHub Packages on stable releases only.
2026-05-23 13:00:05 -04:00
..
ISSUE_TEMPLATE Add description for code docs (#6679) 2026-03-08 23:27:15 +01:00
workflows [Protocol] Single-source-of-truth protocol version + publish @cockatrice/protocol 2026-05-23 13:00:05 -04:00
CONTRIBUTING.md Standardize Doxygen documentation (#6885) 2026-05-21 22:58:07 +02:00
dependabot.yml bump vcpkg to 2026.04.27 release (#6855) 2026-05-09 14:49:58 +02:00
FUNDING.yml Create FUNDING.yml 2019-11-02 23:52:14 -04:00
PULL_REQUEST_TEMPLATE.md comment explanation out (#3181) 2018-04-09 16:47:44 -04:00