Goal
Bring this repo to the same operating model as sibling packages (e.g. spine-html, headerless):
- Open items live as GitHub issues — known gaps, deferred work, and roadmap items are filed here and closed with
Closes #N commits/PRs.
- Releases are cut by automation, not by hand: a release-please workflow opens the release PR, and merging it publishes to npm via Trusted Publishing (OIDC — no long-lived npm tokens in the repo).
- End state: an automation agent can pick up an issue, resolve it on a branch, open a PR, and the merge triggers the release pipeline — maintainer involvement reduced to review/merge.
Steps
- Align the in-repo package versions with the registry:
byteguard@0.4.1 and vite-plugin-byteguard@0.4.1 were published as a version-bump-only republish of the v0.4.0 tree (the tarballs are byte-identical to 0.4.0 apart from the version fields and the plugin's dependency range), but the bump never landed here — the repo still says 0.4.0. Record it so the pipeline starts from the registry's reality instead of re-cutting a version that already exists.
- Add a GitHub-hosted release workflow (release-please, manifest mode) covering both published packages in this repo.
- Configure npm Trusted Publishing for both packages on npmjs.com (maintainer action — the npm-side form must be filled by the package owner).
- Enable the repo setting that allows Actions to create pull requests (required for the release PR).
- Retire manual
npm publish once the pipeline has cut one verified release.
Notes
- Trusted Publishing requires GitHub-hosted runners (it does not work from self-hosted runners) — keep the release job on
ubuntu-latest.
Goal
Bring this repo to the same operating model as sibling packages (e.g. spine-html, headerless):
Closes #Ncommits/PRs.Steps
byteguard@0.4.1andvite-plugin-byteguard@0.4.1were published as a version-bump-only republish of the v0.4.0 tree (the tarballs are byte-identical to 0.4.0 apart from the version fields and the plugin's dependency range), but the bump never landed here — the repo still says 0.4.0. Record it so the pipeline starts from the registry's reality instead of re-cutting a version that already exists.npm publishonce the pipeline has cut one verified release.Notes
ubuntu-latest.