Skip to content

Conversation

Copy link

Copilot AI commented Oct 14, 2025

Overview

This PR adds and configures the changesets tool to the packages/mint-components package to streamline version management and changelog generation.

Changes

Dependencies

  • Added @changesets/cli (v2.29.7) as a dev dependency

Configuration

  • Initialized .changeset directory with configuration files:
    • config.json: Configured for public npm package publishing with master as the base branch
    • README.md: Auto-generated documentation about using changesets

Scripts

Added three npm scripts for managing releases:

  • npm run changeset - Create a new changeset interactively
  • npm run version - Apply changesets and update package version/CHANGELOG
  • npm run release - Publish the package to npm

Usage

When making changes to mint-components:

  1. Create a changeset to document your changes:

    npm run changeset

    This prompts you to select the change type (patch/minor/major) and provide a summary.

  2. Version the package when ready to release:

    npm run version

    This consumes all pending changesets and updates package.json and CHANGELOG.md.

  3. Publish to npm:

    npm run release

Benefits

  • Automated version management following semver
  • Consistent changelog generation
  • Better tracking of changes between releases
  • Streamlined publishing workflow

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.io
    • Triggering command: node install.mjs (dns block)
  • https://storage.googleapis.com/chrome-for-testing-public/125.0.6422.78/linux64/chrome-headless-shell-linux64.zip
    • Triggering command: node install.mjs (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Create a PR that adds and sets up the changesets tool to packages/mint-components.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: noahwc <7761715+noahwc@users.noreply.github.com>
Copilot AI changed the title [WIP] Add and set up changesets tool to mint-components Add changesets tool setup to mint-components Oct 14, 2025
Copilot AI requested a review from noahwc October 14, 2025 23:29
@noahwc noahwc requested a review from Copilot December 5, 2025 23:28
@noahwc noahwc marked this pull request as ready for review December 5, 2025 23:29
Copy link
Contributor

Copilot AI left a 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.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants