mcp-angular-cli

by talzach
MIT License
41
1

ng_add

Add npm packages to an Angular workspace using the 'ng add' command. Specify the package name, app root path, and additional options to streamline Angular project dependencies.

Instructions

Run 'ng add' to add a package to the Angular workspace

Input Schema

NameRequiredDescriptionDefault
appRootYesThe 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'.
optionsNoAdditional options for ng add
packageYesThe npm package to add (e.g., @angular/material)

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" }, "options": { "additionalProperties": { "type": "string" }, "description": "Additional options for ng add", "type": "object" }, "package": { "description": "The npm package to add (e.g., @angular/material)", "type": "string" } }, "required": [ "package", "appRoot" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-angular-cli

Related Tools

    ID: b7qr0uwux1