Skip to content

Conversation

@Deku-nattsu
Copy link
Contributor

@Deku-nattsu Deku-nattsu commented Nov 21, 2025

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Current when migrating an app that's already using the new builders, it shows an unnecessary warning that imo should be only displayed for non supported builders

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

continue;
}

if (buildTarget.builder.startsWith('@angular/build')) {
Copy link
Collaborator

@alan-agius4 alan-agius4 Nov 21, 2025

Choose a reason for hiding this comment

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

The check in https://github.com/Deku-nattsu/angular-cli/blob/9d7db9ea1b0837f282b4c0effe157170b0d6eca7/packages/schematics/angular/migrations/use-application-builder/migration.ts#L177C51-L177C71 should be updated to

if (!buildTarget || buildTarget.builder === Builders.Application 
|| buildTarget.builder === Builders.BuildApplication) {

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews area: @schematics/angular target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants