Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.
shopify hydrogen upgrade [flags]
The following flags are available for the `hydrogen upgrade` command:
env: SHOPIFY_HYDROGEN_FLAG_PATH
The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.
env: SHOPIFY_HYDROGEN_FLAG_FORCE
Ignore warnings and force the upgrade to the target version
A target hydrogen version to update to