Repository navigation
ci(renovate): split the packages major group by dependency type - #433
Merged
Merged
Conversation
The "packages major dependencies" group put every major in packages/ into one PR. On the dashboard it mixed published runtime changes (mermaid 12, tailwind-merge 3, the @sentry/bun peer) with dev-only ones (jsdom 30, @testing-library/jest-dom 7, @types/node 26), so one failing upgrade blocked all six and the runtime ones could not each carry a changeset. - group only devDependency majors in packages/. Runtime and peer majors are ungrouped, so each gets its own PR. Packages that are also a runtime/peer dependency elsewhere (vite, unified, lucide-react, react-icons, tailwindcss) or a root devDependency (typescript) are excluded, so all their occurrences share one branch - keep React majors together across packages/ and the pnpm overrides - group @changesets/cli, @changesets/changelog-github and changesets/action majors; the release pipeline needs them to match A local Renovate 44 lookup now returns mermaid-12.x, tailwind-merge-3.x, major-sentry-javascript-monorepo, major-packages-devdependencies-majors and major-changesets as separate branches. The undici@7, js-yaml@4 and read-yaml-file override majors are still disabled. Refs #432
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — I reviewed the Renovate packageRules change that replaces the single packages/** majors group with separate groups split by dependency type (mode: standard).
- devDependency majors grouped —
packages devDependencies majorsnow covers onlydevDependenciesinpackages/**. Runtime and peer majors are ungrouped, so each one gets its own PR and changeset. - Exclusion list matches the manifests — Every package that is a devDependency in one workspace package and a runtime or peer dependency in another is excluded:
vite,unified,lucide-react,react-iconsandtailwindcss. So are the roottypescriptand the React packages.daisyuionly appears as a dependency or peer, so it is never grouped.vitestand@vitest/coverage-v8are still regrouped by the latervitestrule. reactgroup — With no file filter, React majors inpackages/and thepnpm-workspace.yamlpins share one branch. The later override major-disable rule still excludes the React names, so the pins are not disabled.changesetsgroup —@changesets/cli,@changesets/changelog-githubandchangesets/action(fromrelease.yml) land together.- Validation — I re-ran
renovate-config-validator --strictwithrenovate@44, and it passed.
claude-opus-5-5 | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Task T3 from the plan in #432. This splits the
packages major dependenciesRenovate group. It is a prerequisite for T4 (runtime majors), T5 (dev tooling majors) and T6 (changesets toolchain).The old group put every major in
packages/**into one PR. On the dashboard that PR mixed published runtime changes (mermaid12,tailwind-merge3, the@sentry/bunpeer) with dev-only ones (jsdom30,@testing-library/jest-dom7,@types/node26). One failing upgrade blocked all six, and the runtime changes could not each get their own changeset.Changes (
.github/renovate.json)packages/are grouped (packages devDependencies majors). RuntimedependenciesandpeerDependenciesmajors are left ungrouped, so each gets its own PR.vite,unified,lucide-react,react-icons,tailwindcss), the root devDependencytypescript, and the React packages. This keeps all occurrences of one package on one branch instead of splitting the dev range from the published one.react,react-dom,@types/react,@types/react-dom) stay in one PR, together with the pnpm overrides that pin them. This keeps the old group's intent.@changesets/cli,@changesets/changelog-github,changesets/action) are grouped. The release pipeline needs them on matching majors.Verification
renovate-config-validator --strict(Renovate 44, the versionrenovatebot/[email protected]runs) passes, both as repository config and on the file path.--platform=local --dry-run=lookup: 16 branches. The relevant ones:renovate/mermaid-12.xmermaid(markdown,dependencies)renovate/tailwind-merge-3.xtailwind-merge(ui-react,dependencies)renovate/major-sentry-javascript-monorepo@sentry/bunpeer →^10.0.0 || ^11.0.0(flame)renovate/major-packages-devdependencies-majors@types/node(core, flame, themes-colors),jsdom+@testing-library/jest-dom(markdown, ui-react)renovate/major-changesets@changesets/cli,@changesets/changelog-github,changesets/actionrenovate/major-vitestvitest,@vitest/coverage-v8(unchanged)pnpm-workspace.overridesmajor-disable rule still applies. Renovate loggedFiltered out 3 disabled update(s)forundici@7→ 8,js-yaml@4→ 5 andread-yaml-file→ 3.Self-hosted Renovate reads its config only from
main. After merge, adryRun: fulldispatch (or Monday's scheduled run) should show the same branches on the dashboard.Refs #432