-
Notifications
You must be signed in to change notification settings - Fork 1
Add changesets tool setup to mint-components #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: noahwc <7761715+noahwc@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds the changesets tool to the mint-components package to automate version management and changelog generation. The setup includes configuration files, npm scripts for creating changesets and publishing releases, and a GitHub Actions workflow to automate the release process when changes are merged to main.
Key Changes:
- Added changesets dependencies and configuration
- Created npm scripts for version management workflow
- Added GitHub Actions workflow for automated releases
- Documented the changeset workflow in the README
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/mint-components/package.json | Added changesets dependencies and npm scripts for managing versions and releases |
| packages/mint-components/.changeset/config.json | Configured changesets with GitHub changelog integration and baseBranch set to "master" |
| packages/mint-components/.changeset/README.md | Auto-generated documentation about using changesets |
| packages/mint-components/readme.md | Added comprehensive documentation about the changeset workflow and release process |
| .github/workflows/mint-components-merge-to-main.yml | Created GitHub Actions workflow to automate version bumps and npm publishing |
Files not reviewed (1)
- packages/mint-components/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Overview
This PR adds and configures the changesets tool to the
packages/mint-componentspackage to streamline version management and changelog generation.Changes
Dependencies
@changesets/cli(v2.29.7) as a dev dependencyConfiguration
.changesetdirectory with configuration files:config.json: Configured for public npm package publishing withmasteras the base branchREADME.md: Auto-generated documentation about using changesetsScripts
Added three npm scripts for managing releases:
npm run changeset- Create a new changeset interactivelynpm run version- Apply changesets and update package version/CHANGELOGnpm run release- Publish the package to npmUsage
When making changes to mint-components:
Create a changeset to document your changes:
This prompts you to select the change type (patch/minor/major) and provide a summary.
Version the package when ready to release:
This consumes all pending changesets and updates
package.jsonandCHANGELOG.md.Publish to npm:
Benefits
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
googlechromelabs.github.ionode install.mjs(dns block)https://storage.googleapis.com/chrome-for-testing-public/125.0.6422.78/linux64/chrome-headless-shell-linux64.zipnode install.mjs(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.