Cockatrice/libcockatrice_protocol/npm/package.json
ZeldaZach b870ce0a4a
[Protocol] Inline package assembly, fix cmake-format, add workflow_dispatch
- Replace the custom Node packaging script with a flat inline step
  (cp the .proto glob, cp the static files, npm version) so the
  workflow speaks the same shell idiom as the other workflows.
- Promote package.json and README.md to static files under
  libcockatrice_protocol/npm/ so contributors edit them in-place.
- Re-format libcockatrice_protocol/CMakeLists.txt per .cmake-format.json.
- Add workflow_dispatch (manual run; optional version input) and
  timeout-minutes: 10.
- Drop --provenance from npm publish: GitHub Packages doesn't
  attest Sigstore provenance.
2026-05-23 13:15:33 -04:00

25 lines
654 B
JSON

{
"name": "@cockatrice/protocol",
"version": "0.0.0",
"description": "Cockatrice network protocol: .proto definitions and protocol version constant.",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/Cockatrice/Cockatrice.git"
},
"homepage": "https://github.com/Cockatrice/Cockatrice",
"files": [
"pb/",
"protocol_version.json",
"LICENSE",
"README.md"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "restricted"
},
"exports": {
"./protocol_version.json": "./protocol_version.json",
"./pb/*.proto": "./pb/*.proto"
}
}