mcp-angular-cli

by talzach
MIT License
41
1

ng_update

Update Angular packages and run migrations within a specified project directory using 'ng update'. Configure updates with options for prerelease versions, force updates, source control commits, and migration-specific settings.

Instructions

Run 'ng update' to update Angular packages and run migrations.

Input Schema

NameRequiredDescriptionDefault
allowDirtyNoAllow updating when the repository contains modified or untracked files.
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'.
createCommitsNoCreate source control commits for updates and migrations.
forceNoIgnore peer dependency version mismatches.
fromNoVersion from which to migrate from (only with migrate-only and single package).
migrateOnlyNoOnly perform a migration, do not update the installed version.
nameNoThe name of the migration to run (only with migrate-only and single package).
nextNoUse the prerelease version, including beta and RCs.
packagesYes
toNoVersion up to which to apply migrations (only with migrate-only and single package).
verboseNoDisplay additional details about internal operations during execution.

Input Schema (JSON Schema)

{ "properties": { "allowDirty": { "default": false, "description": "Allow updating when the repository contains modified or untracked files.", "type": "boolean" }, "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" }, "createCommits": { "default": false, "description": "Create source control commits for updates and migrations.", "type": "boolean" }, "force": { "default": false, "description": "Ignore peer dependency version mismatches.", "type": "boolean" }, "from": { "description": "Version from which to migrate from (only with migrate-only and single package).", "type": "string" }, "migrateOnly": { "default": false, "description": "Only perform a migration, do not update the installed version.", "type": "boolean" }, "name": { "description": "The name of the migration to run (only with migrate-only and single package).", "type": "string" }, "next": { "default": false, "description": "Use the prerelease version, including beta and RCs.", "type": "boolean" }, "packages": { "oneOf": [ { "description": "The name of the package to update (e.g., @angular/core)", "type": "string" }, { "description": "The names of packages to update.", "items": { "type": "string" }, "type": "array" } ] }, "to": { "description": "Version up to which to apply migrations (only with migrate-only and single package).", "type": "string" }, "verbose": { "default": false, "description": "Display additional details about internal operations during execution.", "type": "boolean" } }, "required": [ "packages", "appRoot" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-angular-cli

Related Tools

    ID: b7qr0uwux1