Skip to content

fix: align package versions with npm and guard releases - #10

Merged
lucasbraum merged 2 commits into
mainfrom
fix-package-versions
Oct 4, 2026
Merged

lucasbraum merged 2 commits into
mainfrom
fix-package-versions

Conversation

@lucasbraum

@lucasbraum lucasbraum commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

The repository declared [email protected] after npm had published 0.3.0, so pending minor changesets would calculate a lower release. Align the CLI manifest with npm, correct the repository metadata for provenance, and publish only versions already committed at the checked-out ref.

  • npm verification (npm view <name> versions --json and npm view <name> dist-tags): uptide latest is 0.3.0, next is 0.2.0-next.20261003172442; private @uptide/core returns E404 and stays at 0.1.0. Internal links use workspace:* and need no range changes.
  • Require an explicit version for latest and next; fail before installation on a manifest mismatch with “Merge the version PR first”. Neither workflow rewrites versions. Both require main; latest retains its public-repository guard and provenance requirements. There is no default version.
  • Both workflows create vX.Y.Z and a GitHub Release at the published ${{ github.sha }} after a successful non-dry-run publish. Next releases are marked as prereleases. Publish jobs have contents: read / id-token: write; only the separate release jobs have contents: write.
  • Replace all former-owner references across package metadata, tests, consent links, issue templates, examples, action documentation, and the conduct-report link with uptide-dev/uptide. The requested old-owner grep now returns no matches.
  • Embed the CLI manifest version at build time for --version, HTML and telemetry. Regression tests change the manifest after bundling and verify all three retain the build version.
  • Configure @changesets/changelog-github for uptide-dev/uptide and document GITHUB_TOKEN for PR/commit links. A direct generator check for commit b2068c7 produced its PR Fix list accuracy for legacy tooling and private registries #9 link without running changeset version.
  • Remove private-core entries from four existing mixed changesets, which Changesets rejects. CLI bump types and descriptions remain intact. No new changeset; changeset version was not run.

Existing npm release

Verified npm 0.3.0 provenance identifies 71e3ebf33cfc2de044fd64cb97bedca0abc4e066, and verified that commit exists locally. Created and pushed annotated tag v0.3.0 at exactly that commit; the remote peeled tag matches. Created a draft GitHub Release with a short manual summary. No history was rewritten and the draft has not been published.

Validation

Local pnpm lint, pnpm typecheck, and pnpm test pass: 1,053 tests passed (778 engine + 275 CLI), 15 opt-in tests skipped. Release-guard tests cover main-only next releases, required versions, post-publish/dry-run gating, target SHA and least-privilege job permissions. The current commit's denylist-backed public check passed in CI on Node 20 and 22; remaining CI jobs are running. The previous commit's complete CI, including both smoke jobs, passed.

pnpm changeset status --verbose

> [email protected] changeset /Users/Deskfy/Desktop/code/uptide-versions
> changeset status --verbose

🦋 changeset v3.0.3

Packages to be bumped:
- minor
  - uptide -> 0.4.0
    - .changeset/check-first-screen.md
    - .changeset/command-follows-dist-tag.md
    - .changeset/first-public-release.md
    - .changeset/fixture-casts-and-helper-placement.md
    - .changeset/generic-tier-and-plan.md
    - .changeset/list-accuracy-private-registry.md
    - .changeset/nest-discovery-and-html.md
    - .changeset/one-publish-gate.md
    - .changeset/quick-discovery-explicit-analysis.md
    - .changeset/quiet-model-providers.md
    - .changeset/quiet-tides-observe.md
    - .changeset/registry-rate-limit.md
    - .changeset/tagline.md
    - .changeset/verify-safety.md

@lucasbraum
lucasbraum merged commit 837236d into main Oct 4, 2026
4 checks passed
@lucasbraum
lucasbraum deleted the fix-package-versions branch October 4, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant