Docusaurus upgrade CLI command
Author: slorberCreated Jan 20, 2021Updated Aug 26, 2026
Labelsfeature
Feature
It would be convenient to have a yarn docusaurus upgrade command.
It would just bump the @docusaurus version numbers and run docusaurus clear to ensure caching does not cause any trouble (like https://github.com/facebook/docusaurus/issues/4070)
It's complicated to automate the update of breaking changes so it wouldn't be an initial goal of this CLI (but maybe we can improve it later)
Source: facebook/docusaurus