Package Release Procedure
When to Use
Use when triggering or reviewing server or browser releases in the Prokop monorepo.
Version Contract
package.jsonis the only build, tag, and package version source.VERSIONfiles record the latest published version and are updated only by announcement pull requests.- Manual version bumps touch only the relevant
package.jsonfiles. - Never bump a version unless the user explicitly asks.
- When release notes are consolidated, keep one server changelog for the shipped product. Put new capabilities under
Added, and do not create a parallel client changelog.
Release Workflows
| Workflow | Output | Trigger |
|---|---|---|
release.yml | Server binaries with embedded web client | Manual workflow dispatch |
release-browser.yml | Browser extension | Manual workflow dispatch |
The web client is private and embedded in server binaries. There is no separate client npm publishing workflow. Prokop does not build or publish external tools.
Procedure
Published Čapek dependency
- When a Prokop fix depends on unpublished
@capekai/corechanges, finish and publish the Čapek package first. - Only after publication, update Prokop's dependency and lockfile, install the published package, and run the focused integration checks.
- Keep the Čapek and Prokop commits separate, and do not link Prokop to local Čapek source as a substitute for publication.
Server
- Bump
packages/server/package.jsononly when explicitly requested. - Scan the client, including
.storybook/, for stale workspace package aliases after package renames. Storybook mocks are typechecked by the production client build. - Confirm
packages/clientbuilds successfully with the release command because itsdisttree is embedded in every server binary with Bun--asset. - Trigger
release.ymlwithrelease_server: true. - Confirm all platform binaries build, include the client assets, and upload before the announcement job runs.
Browser Extension
- Bump the browser manifest and package version only when explicitly requested.
- Trigger
release-browser.ymlwithrelease_browser: true. - Confirm the release assets and VERSION announcement pull request.
Pitfalls
- Never manually edit a
VERSIONfile before release. - Use
force: trueonly to intentionally recreate an existing release and move its tag. - Do not publish
@prokopai/clientto npm. The production web client ships inside server binaries. - Do not publish or upload before validation passes.
- Release jobs must build from the release tag commit, not a mutable branch tip.
Verification
- Server: verify each binary includes
dist/index.htmland JavaScript assets before upload. - Browser: verify expected asset names and the announcement job.
- Merge announcement pull requests so
VERSIONfiles match published releases.


