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

feat(angular): move replaceAppNameWithPath to Angular #15493

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Mar 7, 2023

Current Behavior

replaceAppNameWithPath is used in multiple plugins via a deep import to @nrwl/workspace

Expected Behavior

Move the function to Angular
Deprecate the existing fuction in @nrwl/workspace to allow plugin authors time to migrate.

Related Issue(s)

Fixes #

@vercel
Copy link

vercel bot commented Mar 7, 2023

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

Name Status Preview Comments Updated
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 8, 2023 at 9:50AM (UTC)

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.

I have my doubts about making this function part of the DevKit public API. It's probably not something generic enough to make it available for everyone. The logic is Angular-specific and it's only used on the Angular plugin. I would inline it in the Angular plugin utils.

@Coly010 Coly010 changed the title feat(core): move replaceAppNameWithPath to Devkit feat(core): move replaceAppNameWithPath to Angular Mar 7, 2023
@Coly010 Coly010 changed the title feat(core): move replaceAppNameWithPath to Angular feat(angular): move replaceAppNameWithPath to Angular Mar 7, 2023
@Coly010 Coly010 force-pushed the move-replace-app-name branch from 541f721 to 58a5834 Compare March 7, 2023 15:35
@Coly010 Coly010 requested a review from leosvelperez March 7, 2023 15:35
@Coly010 Coly010 force-pushed the move-replace-app-name branch from 58a5834 to 78b4e1e Compare March 8, 2023 09:38
@FrozenPandaz FrozenPandaz merged commit 14dd8e1 into nrwl:master Mar 8, 2023
@Coly010 Coly010 deleted the move-replace-app-name branch March 9, 2023 09:36
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants