/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { type VersionBumpType } from "@fluid-tools/version-tools"; import type { Config } from "@oclif/core"; import { type FluidReleaseStateHandlerData, type StateHandler } from "../handlers/index.js"; import { StateMachineCommand } from "../stateMachineCommand.js"; /** * Releases a package or release group. This command is mostly scaffolding and setting up the state machine, handlers, * and the data to pass to the handlers. Most of the logic for handling the release is contained in the * {@link FluidReleaseStateHandler} itself. */ export default class ReleaseCommand extends StateMachineCommand { static readonly summary = "Releases a package or release group."; static readonly description = "The release command ensures that a release branch is in good condition, then walks the user through releasing a package or release group.\n\n The command runs a number of checks automatically to make sure the branch is in a good state for a release. If any of the dependencies are also in the repo, then they're checked for the latest release version. If the dependencies have not yet been released, then the command prompts to perform the release of the dependency, then run the release command again.\n\n This process is continued until all the dependencies have been released, after which the release group itself is released."; readonly machine: import("jssm").Machine; handler: StateHandler | undefined; data: FluidReleaseStateHandlerData | undefined; constructor(argv: string[], config: Config); static readonly flags: { readonly testMode: import("@oclif/core/interfaces").BooleanFlag; readonly state: import("@oclif/core/interfaces").OptionFlag; readonly commit: import("@oclif/core/interfaces").BooleanFlag; readonly install: import("@oclif/core/interfaces").BooleanFlag; readonly branchCheck: import("@oclif/core/interfaces").BooleanFlag; readonly updateCheck: import("@oclif/core/interfaces").BooleanFlag; readonly policyCheck: import("@oclif/core/interfaces").BooleanFlag; readonly releaseGroup: import("@oclif/core/interfaces").OptionFlag<"client" | "server" | "build-tools" | "gitrest" | "historian" | undefined, import("@oclif/core/interfaces").CustomOptions>; readonly package: import("@oclif/core/interfaces").OptionFlag; readonly bumpType: import("@oclif/core/interfaces").OptionFlag; readonly skipChecks: import("@oclif/core/interfaces").BooleanFlag; }; init(): Promise; } //# sourceMappingURL=release.d.ts.map