UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

12 lines (11 loc) 702 B
/** * Special thanks to changelogen for the original inspiration for many of these utilities: * https://github.com/unjs/changelogen */ import { ReleaseType } from 'semver'; import { NxReleaseConfig } from '../config/config'; import { GitCommit } from './git'; export declare function isRelativeVersionKeyword(val: string): val is ReleaseType; export declare function isValidSemverSpecifier(specifier: string): boolean; export declare function determineSemverChange(commits: GitCommit[], config: NxReleaseConfig['conventionalCommits']): 'patch' | 'minor' | 'major' | null; export declare function deriveNewSemverVersion(currentSemverVersion: string, semverSpecifier: string, preid?: string): string;