feat(nx): update docs
This commit is contained in:
parent
7f2c16f3a3
commit
eabcb96db0
@ -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` |
|
||||||
|
|||||||
22
docs/api-schematics/workspace.md
Normal file
22
docs/api-schematics/workspace.md
Normal 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` |
|
||||||
Loading…
x
Reference in New Issue
Block a user