(version: string, type: BumpType)
| 2 | import type { BumpType } from '../types.ts'; |
| 3 | |
| 4 | export function bumpVersion(version: string, type: BumpType): string { |
| 5 | const result = increment(version, type); |
| 6 | if (!result) throw new Error(`Failed to bump ${version} by ${type}`); |
| 7 | return result; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * Check if a version satisfies a range. |
no outgoing calls
no test coverage detected
searching dependent graphs…