@cdwr/nx-migrate-action
Version:
The Nx Migrate GitHub Action will keep your workspace up to date.
15 lines (14 loc) • 496 B
TypeScript
import type { MigrateConfig } from './types';
/**
* Create a local feature branch for the migration.
*
* The branch is created on the main branch remote HEAD commit,
* discarding local state.
*
* No tracking is set for the branch, which must be considered when
* pushing changes to the remote.
*
* @param config Migration configuration
* @param latestVersion Latest Nx version
*/
export declare const createLocalBranch: (config: MigrateConfig, latestVersion: string) => Promise<void>;