Trying out changesets đź‘€
Checklist:
- Create your changeset repo
- Setup your yarn workspace
-
.yarnrc.yml
config - package.json
- packages folder
-
.gitignore
-
- Install
@changesets/cli
yarn add @changesets/cli
- Run
yarn changeset init
- Update
.changeset/config.json
- Change
baseBranch
tomain
- Change
updateInternalDependencies
to"minor"
- Change
GitHub Actions
- Add a
.github/workflows/ci.yml
file - Add a
.github/workflows/release.yml
file
# TODO
- Install the
changeset-bot
to your repo
Links & Resources
changeset/config.json
options- Automating changesets
- Publishing multiple packages to the same registry
TODO:
- Prereleases
- Nightly / canary releases
- Linked packages