MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / bumpVersion

Function bumpVersion

packages/bumpy/src/core/semver.ts:4–8  ·  view source on GitHub ↗
(version: string, type: BumpType)

Source from the content-addressed store, hash-verified

2import type { BumpType } from '../types.ts';
3
4export 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.

Callers 2

semver.test.tsFile · 0.90
assembleReleasePlanFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…