This section explains how to upgrade the project's Rslib dependencies to the latest version.
Rslib is still in the early stages of development, and the API may change frequently. We recommend upgrading to the latest version to access new features and bug fixes. We plan to release version 0.1.0 in the fourth quarter of 2024.
We recommend using Taze to upgrade the Rslib version. Taze is a CLI tool for updating npm dependencies.
Run the following command to upgrade all dependencies that include rslib
and rsbuild
in their names:
Rslib has not yet reached version 0.1.0, so you need to add the major
parameter when updating.
The result will look similar to:
You can also adjust the include
pattern to match specific packages, for example, to upgrade only packages under the @rslib
scope:
Here are some examples of using taze options.
-r
option to upgrade recursively:-l
to upgrade locked versions:For more options, please refer to the taze documentation.