Update dependencies. By default, dependencies are updated to the highest semver compatible versions.
$bit update [package-patterns...]
Copiedcopy
$bit up [package-patterns...]
Copiedcopy

Arguments

ArgumentDescriptionRequired
package-patterns...a string list of package names, or patterns (separated by spaces or commas), e.g. "@teambit/**,@my-org/ui/**". The patterns should be in glob format. By default, all packages are selected.

Options

OptionOption AliasDescriptionValue Type
--yes-yautomatically update all outdated versions for packages specified in pattern (all if no pattern supplied) - use carefully as could result in breaking updates for dependenciesboolean
--patch-update to the latest patch version. Semver rules are ignoredboolean
--minor-update to the latest minor version. Semver rules are ignoredboolean
--major-update to the latest major version. Semver rules are ignoredboolean
--semver-update to the newest version respecting semverboolean