@nx/angular:move
Move an Angular project to another folder in the workspace.
Move an Angular project to another folder in the workspace.
1nx generate move ...
2
1nx g mv ... #same
2
By default, Nx will search for move
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/angular:move ...
2
Show what will be generated without writing to disk:
1nx g move ... --dry-run
2
Move libs/my-feature-lib to libs/shared/my-feature-lib.:
1nx g @nx/angular:move --project my-feature-lib --destination shared/my-feature-lib
2
The folder to move the Angular project into.
The name of the Angular project to move.
The new import path to use in the tsconfig.base.json
.
true
Update the import path to reflect the new location.
false
Skip formatting files.