You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nx g @nrwl/workspace:move --project my-feature-lib shared/my-feature-lib
In our case, the move does not keep the storybook config file in .eslintrc.json after the move. This is under overrides > parserOptions > projects. It overrides it with just the base tsconfigs.
Before the move, the eslintrc.json looks like like this:
Simply move any library using the generator specified above which has multiple projects in the parserOptions.projects array. This is trivial if you've set up storybook, since the second project is added by default.
Failure Logs
n/a
Environment
Node : 17.4.0
OS : darwin x64
npm : 8.3.1
nx : 12.10.1
@nrwl/angular : Not Found
@nrwl/cli : 12.10.1
@nrwl/cypress : 12.10.1
@nrwl/devkit : 12.10.1
@nrwl/eslint-plugin-nx : 12.10.1
@nrwl/express : Not Found
@nrwl/jest : 12.10.1
@nrwl/linter : 12.10.1
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 12.10.1
@nrwl/nx-cloud : Not Found
@nrwl/react : 12.10.1
@nrwl/schematics : Not Found
@nrwl/tao : 12.10.1
@nrwl/web : 12.10.1
@nrwl/workspace : 12.10.1
@nrwl/storybook : 12.10.1
@nrwl/gatsby : Not Found
typescript : 4.4.4
The text was updated successfully, but these errors were encountered:
…parserOptions override
move generator now copies over all projects in the parserOptions of the .eslintrc.json rather than
just overriding with the base tsconfigs
ISSUES CLOSED: nrwl#10774
…parserOptions override (#10775)
move generator now copies over all projects in the parserOptions of the .eslintrc.json rather than
just overriding with the base tsconfigs
ISSUES CLOSED: #10774
Current Behavior
To move an existing library, we run the following
In our case, the move does not keep the storybook config file in
.eslintrc.json
after the move. This is underoverrides > parserOptions > projects
. It overrides it with just the base tsconfigs.Before the move, the
eslintrc.json
looks like like this:When you run the move command, the new
eslintrc.json
will look like this:Expected Behavior
We want the storybook config file to also be moved, so
eslintrc.json
would look like this:Steps to Reproduce
Simply move any library using the generator specified above which has multiple projects in the
parserOptions.projects
array. This is trivial if you've set up storybook, since the second project is added by default.Failure Logs
n/a
Environment
The text was updated successfully, but these errors were encountered: