UNPKG

@cdwr/nx-migrate-action

Version:

The Nx Migrate GitHub Action will keep your workspace up to date.

13 lines (12 loc) 514 B
import type { MigrateConfig } from './types'; /** * Create and push a commit containing the migration changes. * Commit with optional `--author` option and opinionated message. * * Any files not already staged will be staged and added to the commit. * * @param config Migration configuration * @param latestVersion Latest Nx version * @throws Error if no file changes are found in the workspace */ export declare const createAndPushCommit: (config: MigrateConfig, latestVersion: string) => Promise<void>;