mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-10-30 18:53:35 +08:00
ng-update: add page (#20243)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# ng update
|
||||
|
||||
> Update an Angular workspace and its dependencies.
|
||||
> More information: <https://angular.dev/cli/update>.
|
||||
|
||||
- Update all dependencies in the workspace:
|
||||
|
||||
`ng update`
|
||||
|
||||
- Update a specific package:
|
||||
|
||||
`ng update {{package}}`
|
||||
|
||||
- Update multiple packages:
|
||||
|
||||
`ng update {{package1 package2 ...}}`
|
||||
|
||||
- Ignore peer dependency version mismatches:
|
||||
|
||||
`ng update {{package}} --force`
|
||||
|
||||
- Allow updating when the repository contains modified or untracked files:
|
||||
|
||||
`ng update {{package}} --allow-dirty`
|
||||
|
||||
- Update to prerelease versions, including beta and release candidates:
|
||||
|
||||
`ng update {{package}} --next`
|
||||
|
||||
- Display additional details about internal operations:
|
||||
|
||||
`ng update {{package}} --verbose`
|
||||
Reference in New Issue
Block a user