Skip to content

Release v5.5.0 - #1219

Open
d-zero-release[bot] wants to merge 46 commits into
mainfrom
release/dev
Open

d-zero-release[bot] wants to merge 46 commits into
mainfrom
release/dev

Conversation

@d-zero-release

@d-zero-release d-zero-release Bot commented Dec 3, 2026

Copy link
Copy Markdown

Releases v5.5.0 from dev.

Merging this pull request publishes the release. It is generated and kept up to date automatically: do not push to it. After the first approval it is frozen; later changes go to the next Release PR.

Changes that reach users

  • packages/@d-zero/create-frontend/libraries.js
  • packages/@d-zero/create-frontend/package.json#dependencies.minimatch
  • packages/@d-zero/create-frontend/plopfile.js
  • packages/@d-zero/scaffold/__assets/_libs/.markuplintrc
  • packages/@d-zero/scaffold/__assets/_libs/component/c-page-home.css
  • packages/@d-zero/scaffold/__assets/_libs/component/c-page-sub.css
  • packages/@d-zero/scaffold/__assets/_libs/layouts/home.pug
  • packages/@d-zero/scaffold/__assets/_libs/layouts/sub.pug
  • packages/@d-zero/scaffold/__assets/_libs/mixin/meta-basercms.pug
  • packages/@d-zero/scaffold/__assets/_libs/style/general/all.css
  • packages/@d-zero/scaffold/__assets/htdocs/__tmpl/300_form_input.pug
  • packages/@d-zero/scaffold/__assets/htdocs/css/bge_style.css
  • packages/@d-zero/scaffold/__assets/htdocs/css/style.css
  • packages/@d-zero/scaffold/__assets/htdocs/sub-folder.test/css/style.css
  • packages/@d-zero/scaffold/htdocs/__tmpl/__burger_editor/js/bge_modules/bge_functions.min.js
  • packages/@d-zero/scaffold/package.json#dependencies.tslib
  • packages/@d-zero/site-migrator/package.json#dependencies.parse5
  • packages/@d-zero/site-migrator/package.json#dependencies.parse5-html-rewriting-stream

renovate Bot and others added 30 commits November 9, 2026 21:06
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
all.css nested `&, &::before, &::after` inside `*`, which the
selector-nested-pattern rule rejects, so `yarn lint` failed and stopped
`yarn build` in projects created from the scaffold.

The file only applied box-sizing: border-box to every element and its
pseudo-elements, which kiso.css already does in the reset layer, so
remove the file and its imports instead of rewriting the selector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scaffold no longer ships general/all.css.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@d-zero/prettier-config depends on @prettier/plugin-pug@>=3.0.0, which
the lockfile still resolved to 3.4.2 alongside the pinned 3.6.0. VS Code
formatted pug with 3.4.2 while the CLI used 3.6.0, so saving a file and
running lint kept undoing each other's formatting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was last formatted with plugin-pug 3.4.2, which kept lines longer
than printWidth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The content wrapper rule targeted .c-page-sub__content-main, but sub.pug
rendered .c-page-sub__content-body, so the rule never matched.

Rename the article from c-page-sub__content to c-page-sub__article, give
c-page-sub__content to the content wrapper, and update the selectors to
match. Also add a placeholder for .c-page-sub__pagination, which has no
styles yet.

Closes #899

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wrap the page content in .c-page-home__content, as the sub layout does with
.c-page-sub__content, and move the width, centering and side padding from
`.c-page-home__main > *` onto it so the rule targets a named element
instead of any child of main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
--content-width and --wide-layout-width lost their definitions when the
SASS variables were removed, so the inline-size and max-inline-size rules
and the margin-inline: auto that centered on them never took effect.
Remove them and leave the content width to each project, and keep a
placeholder for .c-page-sub__content, which no longer has styles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The header used 2rem, the sub page article used 2em and the home content
used 1rem, so the home content did not line up with the header and the
article padding changed with its font size. Use 2rem for all three.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…argins

The earlier em-to-rem conversion left these two bottom margins in em.
Their elements use the base font size, so the computed values do not
change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#1110)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…novate

baserCMS projects generated by create-frontend use BurgerEditor v3,
while the static type uses v4 via @d-zero/scaffold. The two majors
never coexist in one project, so Renovate must not propose v4 for
the v3 pins held in create-frontend's devDependencies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…erCMS templates

The baserCMS theme now bundles @burger-editor/runtime into script.js,
so the vendored bge_functions.min.js under __tmpl is removed. The
v3.5 runtime has its own popup and needs neither jQuery nor colorbox,
so their tags in meta-basercms.pug and the jQuery markuplint exemption
are removed as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ery for baserCMS types

- Add @burger-editor/css and @burger-editor/runtime 3.5.0 to the
  generated dependencies, reading the versions from create-frontend's
  devDependencies so Renovate can track them
- Prepend the runtime import to script.ts for baserCMS types
- Stop adding jquery and jquery-colorbox; the v3.5 runtime needs
  neither, so libraries.js, which copied them into htdocs, is removed
- Relabel the baserCMS choices as BurgerEditor v3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(create-frontend): use BurgerEditor v3.5 runtime for baserCMS and drop jQuery
…-pug

chore(deps): dedupe @prettier/plugin-pug
…names

fix(scaffold): align c-page-sub class names between layout and styles
…all-css

fix(scaffold): remove general/all.css that fails stylelint
Bump kamado and @kamado-io/* compilers from 1.3.0 to 1.3.1 in the scaffold.
Renovate has not opened this update yet because of minimumReleaseAge, so it
is applied manually.

Transitive changes from kamado 1.3.1 include jsdom 27 -> 29, @d-zero/dealer
1.5.3 -> 1.14.2 and @d-zero/shared 0.17.1 -> 0.23.2, which account for most of
the yarn.lock diff.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
chore(deps): update kamado to v1.3.1
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
dev is the current line (v5) and v6 is the next major line. The support period
and the security batch time keep their defaults.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
YusukeHirao and others added 16 commits December 2, 2026 21:33
chore(repo): define the release lines
unicorn/number-literal-case wants 0xFF and Prettier writes 0xff, so a read-only
lint check cannot pass on a hexadecimal literal. The test uses 255.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
lint:check checks eslint, prettier, textlint and cspell without rewriting a
file, for the CI. lint keeps rewriting files for the local use.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- test.yml: the Minimum CI on ubuntu (test, commit-check, lines-check, ci-ok),
  for dev, v6 and main, and for the merge queue
- full-ci.yml: the Full CI on ubuntu and macOS for Release PRs and the Nightly
- nightly.yml: the Full CI of each line once a day, the release-blocker Issues
- renovate.json: baseBranchPatterns [dev, v6], which lines-check requires

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
release-automation guard reads the line branches from release-lines.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
It lists the supported versions and the private way to report a vulnerability.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
chore(github): add the release-automation CI
…th the Approve App

- renovate.json: the standard config. Every update automerges once the required CI
  passes, majors included, and a Renovate PR enters the merge queue through
  GitHub's auto-merge. The exceptions of rule 57 (release-automation, and the
  dependencies no test runs in postcss-config, scaffold and site-migrator) keep a
  person in the loop. The BurgerEditor v3 pin and the puppeteer group stay
- approve-renovate.yml: the Approve App approves the Renovate PRs that automerge
- auto-approve.yml is removed: it approved every Renovate PR without a condition

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
chore(github): update the Renovate config and approve Renovate PRs with the Approve App
Add release-pr.yml and verify-release-pr.yml, and replace the tag-push publish.yml.
The merge of a Release PR into main, or into v6 (the next major line), publishes
with OIDC Trusted Publishing as the Publish App. A tag push starts nothing.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Releases come from the Release PR. lerna version no longer runs by hand.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
chore(github): switch the release path to the Release PR
… Prettier check

lerna version writes the CHANGELOG.md files in its own format, so the Release PR
failed lint:prettier:check. Prettier no longer checks them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e-files

chore(repo): skip the CHANGELOG files the Release PR generates in the Prettier check
@arktds

arktds commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

lerna.json の整形について(ブロッカーではありません)

リリースコミット 71195cd で、lerna.json が版番号以外も書き換わっています。

  • インデントがタブから2スペースになった
  • packages の配列が複数行に展開された
  • 末尾の改行がなくなった

.editorconfig(タブ・末尾改行あり)と Prettier の設定に合っていません。各 package.json はタブのままです。

原因

release-automation の generate.ts は lerna version --no-git-tag-version を実行します。このとき lerna 10.1.1 が、nx の writeJsonFile(..., { spaces: 2 }) で lerna.json を書き直しています(末尾の改行は付きません)。

旧手順では lerna 自身がコミットしていたので、pre-commit の lint-staged(json に prettier --write)が整形し直していました。v5.4.2 のリリースコミット 54188d0 で、版番号の1行しか変わっていないのはそのためです。新方式では bot がコミットするので、lint-staged を通りません。

影響

  • 公開と release-pr-verified には影響しません
  • lint:prettier:check の対象に .json が含まれないので、CI では検出されません
  • 公開後に main が dev に反映されたあと、エディタでの保存や lint-staged でタブに戻り、次のリリースでまた2スペースになる、という差分の往復が起きます
  • lerna がコミットしなくなったので、command.version.message は使われていません

提案

このPRには push できないので、次回以降の対応になります。

  1. release-automation の generate.ts で、lerna を実行する前の原文を保持し、版番号だけを差し替えて書き戻す(npm-single モードと同じ方式です)。検証も同じ関数で生成し直すので、比較は一致したままです。
const lernaPath = path.join(cwd, 'lerna.json');
const original = readFileSync(lernaPath, 'utf8');
runShell(`yarn lerna version ${next.version} ...`, cwd);
writeFileSync(
	lernaPath,
	original.replace(/("version"\s*:\s*")[^"]*(")/, `$1${next.version}$2`),
);
  1. 応急処置として、このリポジトリの .editorconfig に [lerna.json] の節(2スペース・末尾改行なし)を足し、.prettierignore に lerna.json を足す。

どちらの場合も、使われていない command.version.message を消しておくと誤解がなくなります。

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants