Repository navigation
docs: document renovate and refresh stale workflow and runtime notes - #457
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
ℹ️ No critical issues — one doc rule worth correcting, two small wording fixes inline.
Reviewed changes
Mode: standard. Reviewed the full diff. The Renovate, release workflow, CI job, .prettierignore and Node/Vite claims were checked against .github/renovate.json, .github/workflows/{renovate,release,ci}.yml, root package.json and the installed [email protected] engines, and they match.
- Changesets option removal — drops the dead
onlyUpdatePeerDependentsWhenOutOfRangeoption from.changeset/config.json. Root uses@changesets/cli ^3.0.0, and the PR's planner matrix shows identical plans with and without the option. - flame
engines.node—>=20.11→^20.19.0 || >=22.12.0, matching Vite 8's ownengines, with a patch changeset. - Renovate documentation — new CONTRIBUTING section and ARCHITECTURE subsection covering schedule, grouping,
pnpmDedupe, PR review flow and token permissions. - Stale notes refreshed — peer-dependent behaviour under Changesets 3,
release-plan/release-metaCI job, branch protection,push-git-tags: falsetag cleanup, and Node/Bun ranges in README and the flame docs.
Top priorities: (1) correct the fix(deps)/chore(deps) changeset rule for peer dependency bumps, (2) make the Node range wording exclude 22.0–22.11, (3) qualify the code-owner review line. Verdict: ready once (1) is fixed. (2) and (3) are wording only.
claude-opus-5-5 | 𝕏
README, CONTRIBUTING and ARCHITECTURE did not describe Renovate. They now cover the schedule, the 3-day minimum release age, the Dependency Dashboard, the grouping rules, the pnpm dedupe step, how to review Renovate PRs and which permissions RENOVATE_TOKEN needs. CONTRIBUTING also lists test:release-meta, the release-plan CI job, the required checks and review rules on main, the lockfile in .prettierignore and the v2 tag behaviour, and fixes a garbled commit example. Changesets 3 bumps peer dependents only when their range is left, like dependencies, and no longer reads onlyUpdatePeerDependentsWhenOutOfRange. With a synthetic markdown -> core peer, CLI 2.31 without the option escalated a core minor to a group major (#403), while CLI 3.0.3 gives the same plan with and without it. The dead option is removed; all 15 single-package release plans are unchanged. flame's engines.node is now ^20.19.0 || >=22.12.0, the range Vite 8 needs for the Node/Deno build path (patch changeset). README and the flame docs said Node >= 20.11, and installation.mdx said Bun >= 1.1.0 against the declared >= 1.4.0.
07bbfd2 to
8b9d1dd
Compare
There was a problem hiding this comment.
✅ No new issues found. All three earlier findings are fixed, and their threads are resolved.
Reviewed changes
Mode: standard. This run covers the delta from 07bbfd2 to 8b9d1dd, which touches only CONTRIBUTING.md, README.md and installation.mdx.
- Renovate changeset rule rewritten — reviewers now decide from the diff, not the
fix(deps)/chore(deps)prefix. AnydependenciesorpeerDependenciesrange change in a publishedpackages/*/package.jsonneeds a changeset, and the text notes that peer bumps arrive aschore(deps). This fits@sentry/bunbeing an optional flame peer (^10.0.0 || ^11.0.0). - Branch protection wording corrected — it now states one approving review, with stale approvals dismissed on push. It also notes that code-owner review is switched on but adds no reviewer, because the repo has no
CODEOWNERSfile. - Node range wording tightened — the README heading and
installation.mdxnow say^20.19 or ≥ 22.12, so Node 22.0–22.11 is excluded. This is consistent withintroduction.mdxand flame'sengines.node.
Verdict: READY.
claude-opus-5-5 | 𝕏

Why
The README
Workspacesection,CONTRIBUTING.mdandARCHITECTURE.mddidn't mention Renovate, even though it now drives every dependency update (#432). Several other statements had also drifted from the codebase after the T1–T6 work.Changes
Renovate, newly documented
README.md: the Workspace notes cover Renovate (Monday schedule, 3-day minimum release age, vulnerability PRs on any day, Dependency Dashboard), Changesets with trusted publishing, and what the Husky hooks run.CONTRIBUTING.md: new Dependency Updates (Renovate) section:pnpmDedupeis needed.chore(deps)); a human push stops Renovate rebasing the branch; rebases followmainbecause branch protection is strict.RENOVATE_TOKENpermissions, including Commit statuses. Without it, Renovate aborts withRepository has changed during renovation.ARCHITECTURE.md: Renovate is listed under monorepo infrastructure, with a short Dependency Updates subsection covering the grouping, the Node < 23 policy, override majors, and the dedupe step.Stale statements
Peer dependents under Changesets 3. CONTRIBUTING and ARCHITECTURE said
onlyUpdatePeerDependentsWhenOutOfRangeprevents fix(release): a minor changeset on @docubook/core escalates core + markdown + flame to a MAJOR release #403. Changesets 3'sassemble-release-plan7 no longer reads that option: peer dependents are bumped like dependencies, with a patch only when their range is left. I checked this with a syntheticmarkdown→core ^2.2.5peer:core: minorplancore:minorcore:major, flame:major, markdown:major(the fix(release): a minor changeset on @docubook/core escalates core + markdown + flame to a MAJOR release #403 escalation)core:minorcore:minorThe dead option is removed from
.changeset/config.json, and the docs now explain the v2 vs v3 behaviour.Node requirement for flame.
engines.nodewas>=20.11, but Vite 8, which the Node/Deno build path uses, requires^20.19.0 || >=22.12.0.engines.nodeis now that range, with a patch changeset for@docubook/flame. README Quick Start,installation.mdxandintroduction.mdxfollow, written as^20.19 or ≥ 22.12so Node 22.0–22.11 is clearly excluded.introduction.mdxhad said^20.19 || ^22.13 || >=24.Bun requirement.
installation.mdxsaid Bun >= 1.1.0, but flame declaresbun >= 1.4.0.CONTRIBUTING, other fixes:
pnpm test:release-metaand therelease-planCI jobmain(from the branch protection API). Code-owner review is on, but noCODEOWNERSfile exists, so it adds no reviewerpnpm-lock.yamlin.prettierignorepush-git-tags: false/ local-tag cleanupchore: update dependenciesmigrate packages to vite 8ARCHITECTURE Testing mentions the mermaid page in the browser smoke and the
release-planjob.Verification
pnpm test:release-planpasses, and all 15 single-package plans (5 packages × patch/minor/major) are identical with and without the removed option.changeset statusshows the new changeset as a@docubook/flamepatch.pnpm turbo run lint typecheck test --filter=@docubook/flame --force: 5/5 tasks pass.flame buildon Node rebuilds both docs pages. The built HTML has the new ranges (^20.19 || >=22.12,Bun >= 1.4.0) and none of the old ones.GET /repos/DocuBook/docubook/branches/main/protection.Not changed: the
.husky/pre-pushfailure message still lists old scopes (cli,template). That's hook output, not documentation, so I left it for a separate change.