Bit helps you keep your component dependencies up-to-date, ensuring your projects always use the latest and greatest versions. You can use Bit to seamlessly manage updates for your components, whether they are external dependencies or workspace components.
To list and apply updates for dependencies, run:
$bit update
See command synopsis
Update a specific dependency using the bit install:
$bit install lodash
See command synopsis
Specify the version to install a specific version:
$bit install lodash@2.0.0
See command synopsis
Components can be imported to every workspace and thus, can also accept updates.
To fetch the latest updates from the remote, run:
$bit import
Components with pending updates are listed when running
bit status
.
Once components are updated, you can update your components to the head version:
$bit checkout head