Skip to content

chore(repo): restore lerna.json after v5.5.0, update release-automation, fix the publish skill - #1225

Merged
YusukeHirao merged 3 commits into
devfrom
chore/restore-lerna-json-and-ra
Dec 3, 2026
Merged

YusukeHirao merged 3 commits into
devfrom
chore/restore-lerna-json-and-ra

Conversation

@YusukeHirao

Copy link
Copy Markdown
Member

概要

v5.5.0 のリリース(#1219)のあとの整理を、3つのコミットでまとめる。

変更

  • chore(repo):lerna.json の書式を、v5.5.0 のリリースの前の書式(タブ、インラインの配列、末尾の改行)に戻した。内容(版 5.5.0)は同じ。リリースコミットが、Lerna の書式(2スペース、配列が複数行、末尾の改行なし)で書き換えていた
  • chore(deps):@d-zero/release-automation を 0.1.3 から 0.1.4 に上げた(yarn.lock は RA の行だけ)。0.1.4 は、リリースコミットが lerna.json の版の行だけを変える
  • docs(repo):npm-publish スキルの誤りを直した。「fixed モードなので、全パッケージが同じ版に上がる」と書いていたが、安定版のリリースで新しい版になるのは、前回のリリースから変更のあったパッケージだけ(プレリリースは、RA が --force-publish で実行するので全パッケージ)。v5.5.0 では check-frontend-env と postcss-config は変更がなく、5.4.2 のまま(正しい)。公開後の確認を、Release PR が版を変えたパッケージを対象にする書き方にした

確認

  • yarn install --immutable が通る
  • 変更した md が prettier、textlint、cspell を通る
  • v5.5.0 の公開結果:npm の create-frontend・custom-components・scaffold・site-migrator が 5.5.0、dist-tag latest が 5.5.0、provenance あり、タグ v5.5.0 あり、main は dev に反映済み
  • 開いている Release PR は v6 の Release v6.0.0-alpha.1 #1224 だけ。v6 のワークフローと RA は v6 のブランチの版で動くので、この PR の影響を受けない

🤖 Generated with Claude Code

YusukeHirao and others added 3 commits December 3, 2026 20:14
The release commit of v5.5.0 rewrote lerna.json in lerna's own formatting (two
spaces, a multi-line array, no final newline), because the bot's commit does
not pass the formatter of the repository. This puts back the formatting the
file had before, with the version of the release.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
0.1.4 keeps the formatting of lerna.json in a release commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… Lerna fixed mode

The npm-publish skill said that every package goes to the same version at
every release. Lerna in fixed mode keeps one version in lerna.json but
releases only the packages that changed since the last release, so a package
that did not change stays at its old version and is not on the registry at
the new one. The check after the publish now looks at the packages the
Release PR changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@YusukeHirao
YusukeHirao merged commit 5da4de5 into dev Dec 3, 2026
5 checks passed
@YusukeHirao
YusukeHirao deleted the chore/restore-lerna-json-and-ra branch December 3, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant