Skip to content

refactor(@angular-devkit/build-angular): remove unused picomatch dependency - #34640

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
nagahara-naoki:codex/remove-unused-build-angular-picomatch
Nov 3, 2026
Merged

alan-agius4 merged 1 commit into
angular:mainfrom
nagahara-naoki:codex/remove-unused-build-angular-picomatch

Conversation

@nagahara-naoki

Copy link
Copy Markdown

PR Checklist

  • The commit message follows the contribution guidelines.
  • Tests for the changes have been added (not applicable: dependency cleanup).
  • Docs have been added / updated (not applicable: no user-facing changes).

PR Type

  • Refactoring (no functional changes, no API changes)

What is the current behavior?

@angular-devkit/build-angular declares a direct dependency on picomatch, but no longer imports it. Its former proxy configuration consumer moved to @angular/build in commit 4ffe07a.

Issue Number: N/A

What is the new behavior?

Remove the unused direct dependency, its workspace lockfile entry, and the unused Bazel @types/picomatch dependency. Packages that still use picomatch, including @angular/build and @angular-devkit/core, retain their own declarations. This does not claim to remove the transitive package from application installations.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Validation:

  • pnpm install --frozen-lockfile passed.
  • Prettier and Buildifier checks passed.
  • pnpm bazel test //packages/angular_devkit/build_angular:test //packages/angular_devkit/build_angular:build_angular_dev-server_test --config=no-sharding passed (both targets). Unit tests: 97 specs, 0 failures. Dev-server: 134 specs, 0 failures, 35 pending.

…ndency

The proxy configuration consumer moved to @angular/build in 4ffe07a.
Remove the unused direct dependency and Bazel type dependency while
retaining picomatch in packages that still use it.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the unused picomatch dependency and its corresponding TypeScript types (@types/picomatch) from the build_angular package's package.json and BUILD.bazel files. There are no review comments, and I have no feedback to provide.

@alan-agius4 alan-agius4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Nov 3, 2026
@alan-agius4
alan-agius4 merged commit cf88074 into angular:main Nov 3, 2026
42 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator

This PR was merged into the repository. The changes were merged into the following branches:

@nagahara-naoki

Copy link
Copy Markdown
Author

Thank you(ありがとう)for reviewing and merging my first contribution to Angular CLI!
I look forward to contributing more.

※ “ありがとう” means “thank you” in Japanese.

@nagahara-naoki
nagahara-naoki deleted the codex/remove-unused-build-angular-picomatch branch November 3, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular-devkit/build-angular target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants