Update dependencies. By default, dependencies are updated to the highest semver compatible versions.
$bit update [package-patterns...]
$bit up [package-patterns...]
Arguments
Argument | Description | Required |
---|---|---|
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
Option | Option Alias | Description | Value Type |
---|---|---|---|
--yes | -y | automatically update all outdated versions for packages specified in pattern (all if no pattern supplied) - use carefully as could result in breaking updates for dependencies | boolean |
--patch | - | update to the latest patch version. Semver rules are ignored | boolean |
--minor | - | update to the latest minor version. Semver rules are ignored | boolean |
--major | - | update to the latest major version. Semver rules are ignored | boolean |
--semver | - | update to the newest version respecting semver | boolean |