Skip to content

Comments

ci: update changesets and docs for 1.0.0#40

Merged
jryanconklin merged 3 commits intomainfrom
docs/update-changelog-1.0.0
Feb 24, 2026
Merged

ci: update changesets and docs for 1.0.0#40
jryanconklin merged 3 commits intomainfrom
docs/update-changelog-1.0.0

Conversation

@jryanconklin
Copy link
Contributor

Issue Description

The 1.0.0 release was published manually via a workflow_dispatch workflow (publish-npm.yaml) with no changelog and no automated version management. This PR closes those gaps for future work:

  • Changelog: adds a full CHANGELOG.md entry for @froglet/ui@1.0.0 covering all 20 components and the library's design principles
  • Automated release flow: replaces the manual publish workflow with changesets/action, which automates version bumps, changelog writes, npm publishes, and git tags on merge to main — scoped to changes in packages/froglet-ui/** or .changeset/** only (docs/storybook merges do not trigger it)
  • Pre-push guard: extends the pre-push Husky hook to block pushes that modify packages/froglet-ui/src/ without a corresponding .changeset/*.md file, prompting contributors to run npx changeset before pushing

Testing Instructions

  1. Confirm packages/froglet-ui/CHANGELOG.md has a complete 1.0.0 entry
  2. Confirm .github/workflows/publish-npm.yaml is gone and .github/workflows/release.yaml is present
  3. Confirm the release workflow only fires on paths packages/froglet-ui/** and .changeset/**
  4. To test the pre-push hook locally:
    • Make any edit to a file under packages/froglet-ui/src/
    • Stage and commit it
    • Attempt git push — should be blocked with a message to run npx changeset
    • Run npx changeset, commit the generated file, then push — should succeed

…sh guard

- Replace manual workflow_dispatch publish with changesets/action release flow
- Add pre-push hook to block pushes that change package src without a changeset
@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for froglet ready!

Name Link
🔨 Latest commit 1b5e589
🔍 Latest deploy log https://app.netlify.com/projects/froglet/deploys/699d579e3e542d00081648fd
😎 Deploy Preview https://deploy-preview-40--froglet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jryanconklin jryanconklin merged commit 49e2d08 into main Feb 24, 2026
5 checks passed
@jryanconklin jryanconklin deleted the docs/update-changelog-1.0.0 branch February 24, 2026 07:49
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