Skip to content

chore(release): add release safety guardrails#52

Merged
sumfxn merged 1 commit into
mainfrom
chore/release-safety
May 10, 2026
Merged

chore(release): add release safety guardrails#52
sumfxn merged 1 commit into
mainfrom
chore/release-safety

Conversation

@sumfxn
Copy link
Copy Markdown
Owner

@sumfxn sumfxn commented May 10, 2026

What

Adds release-safety guardrails before any npm publish:

  • gates the release workflow behind vars.RELEASES_ENABLED == 'true'
  • disables Changesets version/tag churn for private packages
  • moves @usdh-kit/sdk from widget peer dependency to widget runtime dependency (workspace:^)
  • updates widget install docs so consumers do not install the SDK unless they use SDK APIs directly
  • includes package-local LICENSE files in SDK/widget npm tarballs
  • updates the roadmap status for landed Track 1 and in-review Track 2

Why

The previous generated release output proposed an unintended widget major and private package churn. This PR makes the release path opt-in and keeps the next generated release PR reviewable before any npm publish.

Validation

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm lint
  • pnpm build
  • pnpm typecheck
  • pnpm test
  • git diff --check
  • pnpm changeset status --since=origin/main
  • pnpm --filter @usdh-kit/sdk pack --pack-destination /private/tmp
  • pnpm --filter @usdh-kit/widget pack --pack-destination /private/tmp

Release

No npm publish from this PR. The release workflow remains disabled until the repo variable RELEASES_ENABLED is deliberately set to true, and any generated release PR still needs manual diff review before merge.

@sumfxn sumfxn marked this pull request as ready for review May 10, 2026 17:59
@sumfxn sumfxn merged commit c2eadbb into main May 10, 2026
4 checks passed
@sumfxn sumfxn deleted the chore/release-safety branch May 10, 2026 18:01
@sumfxn sumfxn mentioned this pull request May 10, 2026
13 tasks
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