-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(misc): move library without given importPath default to contain slashes #11869
fix(misc): move library without given importPath default to contain slashes #11869
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
…ntain slashes `nx g mv --projectName lib/child-1 --destionation lib/child-2` would result in the ts-config and import paths of `@<project>/lib-child-2` when it is expected to be `@<project>/lib/child-2` Closes nrwl#9281
475f63f
to
536fcf2
Compare
I noticed this too, and was thinking about fixing this myself. Thank you, @jordems! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! LGTM 🎉
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. |
Current Behavior
Performing:
nx g mv --projectName lib/child-1 --destination lib/child-2
would result in the ts-config and import paths of files being
@<project>/lib-child-2
Expected Behavior
It is expected to be
@<project>/lib/child-2
.As that is how the
nx g
creation works when creating a library.Related Issue(s)
Fixes #9281