Optionalautoupgradetrue when the upgrade is being triggered by the automatic postrun hook.
In that case we skip project-local upgrades — those should only happen when the
user explicitly runs shopify upgrade so we don't surprise them by mutating
their package.json / lockfile in the background.
OptionalversionThe exact version to install. The auto-upgrade hook passes the version it already
vetted, such as one that isn't a major version change, so the install can't drift to
whatever latest points at by the time the package manager runs. When omitted, the
CLI installs latest.
Options for runCLIUpgrade.