feat(nx): update docs

This commit is contained in:
Victor Savkin 2019-02-26 10:26:27 -05:00
parent 7f2c16f3a3
commit eabcb96db0
2 changed files with 24 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# ng-new # ng-new
Create an empty workspace Create a workspace
## Usage ## Usage
@ -20,3 +20,4 @@ ng generate ng-new ...
| `skipInstall` | | Skip installing dependency packages. | boolean | `false` | | `skipInstall` | | Skip installing dependency packages. | boolean | `false` |
| `skipGit` | g | Skip initializing a git repository. | boolean | `false` | | `skipGit` | g | Skip initializing a git repository. | boolean | `false` |
| `commit` | | Initial repository commit information. | boolean | `true` | | `commit` | | Initial repository commit information. | boolean | `true` |
| `preset` | | What to create in the new workspace | string | `empty` |

View File

@ -0,0 +1,22 @@
# workspace [hidden]
Create an empty workspace
## Usage
```bash
ng generate workspace ...
```
### Options
| Name | Alias | Description | Type | Default value |
| ------------- | ----- | ---------------------------------------------- | ------- | ------------- |
| `name` | | The name of the workspace. | string | `undefined` |
| `style` | | The file extension to be used for style files. | string | `css` |
| `directory` | | The directory name to create the workspace in. | string | `` |
| `npmScope` | | Npm scope for importing libs. | string | `undefined` |
| `skipInstall` | | Skip installing dependency packages. | boolean | `false` |
| `skipGit` | g | Skip initializing a git repository. | boolean | `false` |
| `commit` | | Initial repository commit information. | boolean | `true` |