Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ apps/web -> 上の全部

- `main` への push で release-please がリリース PR (版と CHANGELOG.md) を開き直す。リリース PR をマージすると GitHub Release を作り、CI の release ジョブが 3 つのパッケージを同じ版で GitHub Packages に公開する ([ADR-0007](docs/adr/0007-distribution-github-packages.md))
- `develop` → `main` の PR を作り、マージしてからリリース PR をマージする
- 版の上げ方は Conventional Commits から決まる (`feat:` で minor、`fix:` / `refactor:` / `perf:` で patch。0.x のあいだは破壊的変更も minor)。レシピの互換は [ADR-0008](docs/adr/0008-recipe-compatibility.md)
- 版の上げ方は Conventional Commits から決まる (`feat:` で minor、`fix:` / `refactor:` / `perf:` で patch、破壊的変更 (`feat!:` や `BREAKING CHANGE:`) で major)。レシピの互換は [ADR-0008](docs/adr/0008-recipe-compatibility.md)
- 同じ版は出し直せない。公開の設定は `tooling/packages.test.ts` が確かめる

## テストの書き方
Expand Down
6 changes: 6 additions & 0 deletions docs/adr/0008-recipe-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,9 @@
## References

- ADR-0003、lumorphia/prismtone ADR-0009

## 追記 (2026-10-06): 最初の版は 1.0.0

最初のリリースは 0.1.0 のつもりだったが、release-please の `initial-version` を設定しておらず、前のリリースが無いときの既定の 1.0.0 になった (`.release-please-manifest.json` の `0.0.0` は前のリリースとして扱われない)。公開した 1.0.0 はそのまま使う (使っているのは prismtone だけで、実害は無い)。

そのため、上の「0.x のあいだは minor を major として扱う」は当てはまらない。以後は通常の semver で、既存の版を読めなくする変更は major (2.0.0) にする。
1 change: 0 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "node",
"include-component-in-tag": false,
"bump-minor-pre-major": true,
"bootstrap-sha": "f92c3e49001908c53349890ca438dfc56efc4bbb",
"changelog-sections": [
{ "type": "feat", "section": "Features" },
Expand Down
Loading