ng_new
Generate a new Angular workspace using 'ng new' by specifying workspace name, directory, and optional configurations. Simplify Angular project setup with predefined structure and settings.
Instructions
Run 'ng new' to create a new Angular workspace
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appRoot | No | The absolute path to the first folder in the 'path' property. For example, if 'path' is 'webui/src/app/modules/alerts', then 'appRoot' should be the absolute path to 'webui'. | |
directory | No | The directory to create the workspace in | |
name | Yes | The name of the new workspace | |
options | No | Additional options for ng new |
Input Schema (JSON Schema)
{
"properties": {
"appRoot": {
"description": "The absolute path to the first folder in the 'path' property. For example, if 'path' is 'webui/src/app/modules/alerts', then 'appRoot' should be the absolute path to 'webui'.",
"type": "string"
},
"directory": {
"description": "The directory to create the workspace in",
"type": "string"
},
"name": {
"description": "The name of the new workspace",
"type": "string"
},
"options": {
"additionalProperties": {
"type": "string"
},
"description": "Additional options for ng new",
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
}