| 112 | } |
| 113 | |
| 114 | export 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 | |
| 126 | export interface BumpyConfig { |
| 127 | baseBranch: string; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…