Skip to content

feat(monorepo): group ng-packagr with angular-cli#44441

Open
aqeelat wants to merge 1 commit into
renovatebot:mainfrom
aqeelat:feat/ng-packagr-angular-cli-group
Open

feat(monorepo): group ng-packagr with angular-cli#44441
aqeelat wants to merge 1 commit into
renovatebot:mainfrom
aqeelat:feat/ng-packagr-angular-cli-group

Conversation

@aqeelat

@aqeelat aqeelat commented Jul 9, 2026

Copy link
Copy Markdown

Changes

Add ng-packagr to the angular-cli monorepo group by converting the repoGroups entry from a string to an array, matching the existing pattern used by aspire, algolia-instantsearch, and others.

Context

  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

ng-packagr is the official Angular library compiler. It follows the Angular CLI release cycle — same major versions, same upgrade cadence — but lives in a separate repository (ng-packagr/ng-packagr). Without this change, Renovate creates separate PRs for Angular CLI and ng-packagr updates, which then need to be upgraded and tested together manually.

AI assistance disclosure

  • Yes — substantive assistance. This PR was written by an AI agent (GLM-5.2 via opencode). The change was identified and implemented by the agent at the user's direction.

Documentation

  • No documentation update is required

How I've tested this work

  • Code inspection only

The monorepo preset spec (monorepos.spec.ts) only validates preset name format, not individual group entries. The JSON schema for repoGroups explicitly allows arrays of URIs, and several existing entries already use arrays.

ng-packagr is the official Angular library compiler. It follows the
Angular CLI release cycle (same major versions, same upgrade cadence)
but lives in a separate repository (ng-packagr/ng-packagr).

Grouping it with the Angular CLI monorepo ensures Renovate users get a
single PR for both when upgrading, instead of ng-packagr lagging behind.
@github-actions github-actions Bot requested a review from viceice July 9, 2026 10:33
@viceice viceice added the auto:monorepos-preset Checklist to consider when modifying `monorepo.json` label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Hi there,
When adding a new monorepo to the monorepo.json, please note that:

  • Any dependency update(s) from this monorepo will be upgraded in a single PR
  • If the dependencies are not all versioned identically (i.e. they're all at 16.0.5 and a release in one requires all being updated) this will lead to Immortal PRs
    • This is not be the intended behaviour, and is generally not recommended by Renovate maintainers. We only accept it if the packages strictly need to be updated together.

It is worth both the author of the PR and the reviewer confirming that this is the intended behaviour.

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

Labels

auto:monorepos-preset Checklist to consider when modifying `monorepo.json`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants