| 19 | |
| 20 | /** A snapshot request with name sanitized and per-run suffix resolved */ |
| 21 | export interface ResolvedSnapshot { |
| 22 | /** Raw name as passed on the CLI (for messages) */ |
| 23 | rawName: string; |
| 24 | /** Sanitized name — used as the version preid and the default dist-tag */ |
| 25 | name: string; |
| 26 | /** npm dist-tag the snapshot publishes to (explicit `--tag` wins, else the name) */ |
| 27 | tag: string; |
| 28 | strategy: SnapshotVersionStrategy; |
| 29 | /** Version suffix shared across every package in the run (the short sha or timestamp) */ |
| 30 | suffix: string; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Turn a name into a valid semver prerelease identifier / npm dist-tag: lowercase, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…