Component development environments (envs) are crucial for consistency, quality, and ease of use. Just like any other tool, envs benefit from regular updates. These updates might include new versions of underlying tools, added features, or configuration enhancements. Staying updated ensures your components always perform at their best.
Run the following command to update all components to their latest envs:
$bit envs update
Run the following command with the relevant env ID to update all components of the same env to their latest env:
$bit envs update bitdev.react/react-env
Alternatively, just update components using a specific env version:
$bit envs update bitdev.react/react-env@2.0.0
To replace the version of the development env used by a component, run:
$bit envs replace my-org.platform/my-react