mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
- 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.
25 lines
654 B
JSON
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"
|
|
}
|
|
}
|