@cdwr/nx-migrate-action
Version:
The Nx Migrate GitHub Action will keep your workspace up to date.
14 lines (13 loc) • 527 B
TypeScript
import { z } from 'zod';
import { ActionInputsSchema, MigrateConfigSchema } from './schema';
export type ActionInputs = z.infer<typeof ActionInputsSchema>;
export type ActionOutputs = Pick<VersionInfo, 'currentVersion' | 'latestVersion' | 'updateType'> & {
isMigrated: boolean;
pullRequest: number | undefined;
};
export type MigrateConfig = z.infer<typeof MigrateConfigSchema>;
export type VersionInfo = {
currentVersion: string;
latestVersion: string;
updateType: 'major' | 'minor' | 'patch' | 'none';
};