UNPKG

apisurf

Version:

Analyze API surface changes between npm package versions to catch breaking changes

8 lines (7 loc) 397 B
import { PackageDiff } from '../types/PackageDiff.js'; import { SemverImpact } from '../types/SemverImpact.js'; /** * Calculates the minimum semantic version bump required based on detected changes. * Follows semantic versioning rules: major for breaking changes, minor for new features, patch for fixes. */ export declare function calculateSemverImpact(packages: PackageDiff[]): SemverImpact;