changesets

🦋 A way to manage your versioning and changelogs with a focus on monorepos

  • 所有者: changesets/changesets
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

🦋 changesets 🦋

A way to manage your versioning and changelogs with a focus on multi-package repositories

View changelog

The changesets workflow is designed to help from when people are making changes, all the way through to publishing. It lets contributors declare how their changes should be released, then we automate updating package versions, and changelogs, and publishing new versions of packages based on the provided information.

Changesets has a focus on solving these problems for multi-package repositories, and keeps packages that rely on each other within the multi-package repository up-to-date, as well as making it easy to make changes to groups of packages.

How do we do that?

A changeset is an intent to release a set of packages at particular semver bump types with a summary of the changes made.

The @changesets/cli package allows you to write changeset files as you make changes, then combine any number of changesets into a release, that flattens the bump-types into a single release per package, handles internal dependencies in a multi-package-repository, and updates changelogs, as well as release all updated packages from a mono-repository with one command.

How do I get started?

If you just want to jump in to using changesets, the @changesets/cli docs are where you should head.

If you want a detailed explanation of the the concepts behind changesets, or to understand how you would build on top
of changesets, check out our detailed-explanation.

We also have a dictionary.

Integrating with CI

While changesets can be an entirely manual process, we recommend integrating it with how your CI works.

To check that PRs contain a changeset, we recommend using the changeset bot, or if you want to fail builds on a changesets failure, run yarn changeset status in CI.

To make releasing easier, you can use this changesets github action to automate creating versioning pull requests, and optionally publishing packages.

Cool Projects already using Changesets for versioning and changelogs

Thanks/Inspiration

  • bolt - Brought us a strong concept of how packages in a mono-repo should be able to interconnect, and provided the initial infrastructure to get inter-package information.
  • atlaskit - The original home of the changesets code, and where many of the ideas and processes were fermented.
  • lerna-semantic-release - put down many of the initial patterns around updating packages within a multi-package-repository, and started us thinking about how to manage dependent packages.
  • Thinkmill - For sponsoring the focused open sourcing of this project, and the version two rearchitecture.

主要指標

概覽
名稱與所有者changesets/changesets
主編程語言TypeScript
編程語言JavaScript (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2019-03-21 22:33:37
推送於2025-05-14 08:02:50
最后一次提交
發布數617
最新版本名稱@changesets/get-release-plan@4.0.12 (發布於 2025-05-12 13:36:56)
第一版名稱@changesets/cli@1.0.0 (發布於 2019-05-06 14:06:16)
用户参与
星數10.1k
關注者數35
派生數652
提交數628
已啟用問題?
問題數703
打開的問題數370
拉請求數561
打開的拉請求數125
關閉的拉請求數122
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?