@nrwl/workspace:convert-to-nx-project
Moves a project's configuration outside of workspace.json
Usage
nx generate convert-to-nx-project ...By default, Nx will search for convert-to-nx-project in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/workspace:convert-to-nx-project ...Show what will be generated without writing to disk:
nx g convert-to-nx-project ... --dry-runExamples
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-libConvert all projects in workspace.json to separate project.json files.:
nx g @nrwl/workspace:convert-to-nx-project --allOptions
all
Type: boolean
Should every project be converted?
project
Type: string
Project name