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

Interface SnapshotConfig

packages/bumpy/src/types.ts:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114export interface SnapshotConfig {
115 /**
116 * How snapshot versions are made unique. The snapshot name is always the prerelease
117 * preid and the default dist-tag (`bumpy publish --snapshot pr-123` → `@pr-123`), so
118 * consumers install via the tag regardless — this only affects the underlying version.
119 * - `"sha"` → `<target>-<name>-<short-sha>` (idempotent per commit; default). Re-running
120 * on the same commit produces the same version, which is skipped if already published.
121 * - `"timestamp"` → `<target>-<name>-<UTC timestamp>` (always unique; never idempotent).
122 */
123 versionStrategy: 'sha' | 'timestamp';
124}
125
126export interface BumpyConfig {
127 baseBranch: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…