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
Name | Required | Description | Default |
---|---|---|---|
allowDirty | No | Allow updating when the repository contains modified or untracked files. | |
appRoot | Yes | 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'. | |
createCommits | No | Create source control commits for updates and migrations. | |
force | No | Ignore peer dependency version mismatches. | |
from | No | Version from which to migrate from (only with migrate-only and single package). | |
migrateOnly | No | Only perform a migration, do not update the installed version. | |
name | No | The name of the migration to run (only with migrate-only and single package). | |
next | No | Use the prerelease version, including beta and RCs. | |
packages | Yes | ||
to | No | Version up to which to apply migrations (only with migrate-only and single package). | |
verbose | No | Display additional details about internal operations during execution. |