How to Update
Regularly update the installed npm packages to keep your Doks website stable, usable, and secure.
Learn more about semantic versioning and advanced range syntax.
Check for outdated packages
The npm outdated
command will check the registry to see if any (or, specific) installed packages are currently outdated:
npm outdated [[<@scope>/]<pkg> ...]
Update packages
The npm update
command will update all the packages listed to the latest version (specified by the tag config), respecting semver:
npm update [<pkg>...]