Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(angular): make scam-to-standalone replace correct module #29014

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

Olster
Copy link
Contributor

@Olster Olster commented Nov 20, 2024

Current Behavior

Without this fix, the regular expression would replace other modules that have old module name in their name.
E.g. MapIconModule contains IconModule and when migrating IconModule, the migration would wrongfully update MapIconModule to MapIconComponent.

Expected Behavior

Migration changes only the Module/Component that's being migrated.

Without this fix, the regular expression would replace other modules that have old module name in their name.
E.g. `MapIconModule` contains `IconModule` and when migrating `IconModule`, the migration would wrongfully update `MapIconModule` to `MapIconComponent`.
@Olster Olster requested a review from a team as a code owner November 20, 2024 20:07
Copy link

vercel bot commented Nov 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 20, 2024 8:11pm

Copy link
Member

@leosvelperez leosvelperez left a comment

Choose a reason for hiding this comment

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

Thank you!

@leosvelperez leosvelperez merged commit 02b8bbe into nrwl:master Nov 21, 2024
6 checks passed
@Olster Olster deleted the scam-to-standalone-fix branch November 21, 2024 08:31
FrozenPandaz pushed a commit that referenced this pull request Nov 22, 2024
## Current Behavior
Without this fix, the regular expression would replace other modules
that have old module name in their name.
E.g. `MapIconModule` contains `IconModule` and when migrating
`IconModule`, the migration would wrongfully update `MapIconModule` to
`MapIconComponent`.

## Expected Behavior
Migration changes only the Module/Component that's being migrated.

(cherry picked from commit 02b8bbe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants