Coder Social home page Coder Social logo

remix-run / changesets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from changesets/changesets

1.0 1.0 0.0 3.49 MB

๐Ÿฆ‹ A way to manage your versioning and changelogs with a focus on monorepos

License: MIT License

JavaScript 0.08% TypeScript 99.92% Shell 0.01%

changesets's Introduction

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


The changesets workflow is designed to help 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 @remix-run/changesets 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 Intro to using changesets and @remix-run/changesets 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.

Documentation

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.
  • Atlassian - The original idea/sponsor of the changesets code, and where many of the ideas and processes were fermented. It was originally implemented by the team behind atlaskit.
  • 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's People

Contributors

acheronfail avatar ajaymathur avatar akphi avatar andarist avatar blasz avatar caohuilin avatar chaance avatar dependabot[bot] avatar dotansimha avatar emmatown avatar emmenko avatar eps1lon avatar feiyang1 avatar github-actions[bot] avatar j9t avatar jakeginnivan avatar jonathanmorley avatar mblaszczyk-atlassian avatar michaelkapustey avatar noviny avatar pyupew avatar ryanbraganza avatar sam-b-rose avatar tarang9211 avatar trevor-scheer avatar vladdoster avatar waded avatar with-heart avatar zkochan avatar zthxxx avatar

Stargazers

 avatar

Watchers

 avatar

changesets's Issues

CI: Test output inconsistent with local env

Some tests are currently failing in CI. I assume there's some additional setup needed to interface with git, or maybe temporary files are being saved to the wrong place for some reason. Didn't feel like digging into it yet, hence the issue!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.