@shopify/cli-kit
    Preparing search index...

    Interface RunCLIUpgradeOptions

    Options for runCLIUpgrade.

    interface RunCLIUpgradeOptions {
        autoupgrade?: boolean;
        version?: string;
    }
    Index
    autoupgrade?: boolean

    true 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.

    version?: string

    The 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.