Open5
Changesetsを試す

作業場所
公式リンク

changesetのセットアップ
pnpm add -D @changesets/cli
pnpm changeset init
.changeset/
が生える
.changeset/
├── README.md
└── config.json

Changesetを作成してみる
対話形式でchangesetの内容を作れる
pnpm changeset
🦋 What kind of change is this for sample? (current version is 0.1.0) · patch
🦋 Please enter a summary for this change (this will be in the changelogs).
🦋 (submit empty line to open external editor)
🦋 Summary · 適当な変更を加えてみる
🦋
🦋 === Summary of changesets ===
🦋 patch: sample
🦋
🦋 Is this your desired changeset? (Y/n) · true
🦋 Changeset added! - you can now commit it
🦋
🦋 If you want to modify or expand on the changeset summary, you can find it here
🦋 info /Users/tf63/project/changeset-playground/.changeset/petite-toes-go.md
.changeset/petite-toes-go.md
が作成される。.changeset/*.md
がある状態でpnpm changeset version
するとCHANGELOG
を更新してくれるっぽい

Workflowを作っておく
CHANGELOG
を更新するPRを勝手に作ってほしい
適当なPRをマージしてみる
PRができた

他にも色々できるらしい