@nrwl/workspace:fix-configuration
Migrates v1 config to v2 standalone configuration.
Migrates v1 config to v2 standalone configuration.
nx generate fix-configuration ...
nx g convert-to-nx-project ... #same
By default, Nx will search for fix-configuration
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:fix-configuration ...
Show what will be generated without writing to disk:
nx g fix-configuration ... --dry-run
Convert the my-feature-lib
project to use project.json
file instead of workspace.json
:
nx g @nrwl/workspace:convert-to-nx-project --project my-feature-lib
Convert all projects in workspace.json
to separate project.json
files:
nx g @nrwl/workspace:convert-to-nx-project --all
Convert all projects
Convert a single project
Just reformats the configuration
false
Skip formatting files