Skip to content

Adopt issue-driven development with automated release publishing #1

Description

@firejune

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

  1. 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.
  2. Add a GitHub-hosted release workflow (release-please, manifest mode) covering both published packages in this repo.
  3. Configure npm Trusted Publishing for both packages on npmjs.com (maintainer action — the npm-side form must be filled by the package owner).
  4. Enable the repo setting that allows Actions to create pull requests (required for the release PR).
  5. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions