Skip to content

fix(migrations): inject migration not work in multi-project workspace…#66130

Merged
leonsenft merged 1 commit into
angular:mainfrom
aparzi:fix-inject-migration-multiple-project
Mar 19, 2026
Merged

fix(migrations): inject migration not work in multi-project workspace…#66130
leonsenft merged 1 commit into
angular:mainfrom
aparzi:fix-inject-migration-multiple-project

Conversation

@aparzi

@aparzi aparzi commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Fix inject migration in multi-project workspace. The inject migration doesn't work when targeting one of the projects due to either not finding any files in other projects or considering them external thus it throws a SchematicsException

Fixes: #66074

PR Checklist

Please check if 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
  • angular.dev application / infrastructure changes
  • Other... Please describe:

Issue Number: #66074

Does this PR introduce a breaking change?

  • Yes
  • No

@pullapprove pullapprove Bot requested a review from kirjs December 17, 2025 15:13
@angular-robot angular-robot Bot added the area: migrations Issues related to `ng update`/`ng generate` migrations label Dec 17, 2025
@ngbot ngbot Bot added this to the Backlog milestone Dec 17, 2025
Comment thread packages/core/schematics/test/inject_migration_spec.ts Outdated
… with option path

Fix inject migration in multi-project workspace. The inject migration doesn't work when targeting one of the projects due to either not finding any files in other projects or considering them external thus it throws a SchematicsException

Fixes: angular#66074
@aparzi aparzi force-pushed the fix-inject-migration-multiple-project branch from 6ea92be to c6e07da Compare December 17, 2025 15:36
@aparzi aparzi requested a review from JeanMeche December 17, 2025 15:37
@aparzi

aparzi commented Jan 23, 2026

Copy link
Copy Markdown
Contributor Author

Any news for this PR?

@aparzi

aparzi commented Feb 16, 2026

Copy link
Copy Markdown
Contributor Author

Any news?

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Mar 19, 2026
@JeanMeche JeanMeche removed the request for review from kirjs March 19, 2026 01:11
@leonsenft leonsenft merged commit a73b4b7 into angular:main Mar 19, 2026
20 checks passed
@leonsenft

Copy link
Copy Markdown
Contributor

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

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inject migration does not work in a multi-project workspace

3 participants