-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(angular): add move schematic for workspace and angular collections
- Loading branch information
1 parent
3646b62
commit 25de783
Showing
38 changed files
with
1,940 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an Angular application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
ng generate move ... | ||
``` | ||
|
||
```bash | ||
ng g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `angular.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
ng g @nrwl/angular:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
ng g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the Angular project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the Angular project to move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
ng generate move ... | ||
``` | ||
|
||
```bash | ||
ng g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `angular.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
ng g @nrwl/workspace:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
ng g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the project to move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an Angular application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
nx generate move ... | ||
``` | ||
|
||
```bash | ||
nx g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `workspace.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
nx g @nrwl/angular:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
nx g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the Angular project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the Angular project to move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
nx generate move ... | ||
``` | ||
|
||
```bash | ||
nx g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `workspace.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
nx g @nrwl/workspace:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
nx g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the project to move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an Angular application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
nx generate move ... | ||
``` | ||
|
||
```bash | ||
nx g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `workspace.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
nx g @nrwl/angular:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
nx g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the Angular project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the Angular project to move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# move | ||
|
||
Move an application or library to another folder | ||
|
||
## Usage | ||
|
||
```bash | ||
nx generate move ... | ||
``` | ||
|
||
```bash | ||
nx g mv ... # same | ||
``` | ||
|
||
By default, Nx will search for `move` in the default collection provisioned in `workspace.json`. | ||
|
||
You can specify the collection explicitly as follows: | ||
|
||
```bash | ||
nx g @nrwl/workspace:move ... | ||
``` | ||
|
||
Show what will be generated without writing to disk: | ||
|
||
```bash | ||
nx g move ... --dry-run | ||
``` | ||
|
||
## Options | ||
|
||
### destination | ||
|
||
Type: `string` | ||
|
||
The folder to move the project into | ||
|
||
### projectName | ||
|
||
Type: `string` | ||
|
||
The name of the project to move |
Oops, something went wrong.