Skip to content

Commit

Permalink
feat(angular): add move schematic for workspace and angular collections
Browse files Browse the repository at this point in the history
  • Loading branch information
catfireparty authored and vsavkin committed Jan 8, 2020
1 parent 3646b62 commit 25de783
Show file tree
Hide file tree
Showing 38 changed files with 1,940 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docs/angular/api-angular/schematics/move.md
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
41 changes: 41 additions & 0 deletions docs/angular/api-workspace/schematics/move.md
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
41 changes: 41 additions & 0 deletions docs/react/api-angular/schematics/move.md
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
41 changes: 41 additions & 0 deletions docs/react/api-workspace/schematics/move.md
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
41 changes: 41 additions & 0 deletions docs/web/api-angular/schematics/move.md
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
41 changes: 41 additions & 0 deletions docs/web/api-workspace/schematics/move.md
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
Loading

0 comments on commit 25de783

Please sign in to comment.