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

Move generator errors if in a file with paths to change there's a list export #22030

Closed
4 tasks
mgawrys-recruitee opened this issue Feb 28, 2024 · 1 comment · Fixed by #22070
Closed
4 tasks
Assignees

Comments

@mgawrys-recruitee
Copy link
Contributor

mgawrys-recruitee commented Feb 28, 2024

Current Behavior

Error is thrown if there's a list export in the same file, as a path that needs to be updated

Expected Behavior

No error should be thrown

GitHub Repo

https://github.com/mgawrys-recruitee/nx-move-generator-example

Steps to Reproduce

  1. Create a new project
  2. Add 2 libraries, A and B
  3. In library B import from library A and in the same file make a list export export {X}
  4. Move library A with nx g move A --newProjectName C

Nx Report

Node   : 19.3.0
OS     : darwin-arm64
npm    : 9.2.0

nx                 : 18.0.5
@nx/js             : 18.0.5
@nx/jest           : 18.0.5
@nx/linter         : 18.0.5
@nx/eslint         : 18.0.5
@nx/workspace      : 18.0.5
@nx/angular        : 18.0.5
@nx/cypress        : 18.0.5
@nx/devkit         : 18.0.5
@nx/eslint-plugin  : 18.0.5
@nrwl/tao          : 18.0.5
@nx/web            : 18.0.5
@nx/webpack        : 18.0.5
typescript         : 5.3.3

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Copy link

github-actions bot commented Jul 6, 2024

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants