Skip to main content

@pvm/releases

Enumerations

Interfaces

Type aliases

ReleaseLookBack

ฦฌ ReleaseLookBack: FollowingReleaseInfo | SoleReleaseInfo

Defined in

packages/pvm-releases/lib/rline.ts:23

Properties

default

โ€ข default: { configExt: RecursivePartial<Config> ; factory: PluginFactory ; name: string = __filename } | { factory: PluginFactory ; name: string = __filename } | { configExt: RecursivePartial<Config> ; name: string = __filename }

Variables

command

โ€ข command: "download"

Defined in

packages/pvm-releases/cli/pvm-releases-download.ts:8


description

โ€ข description: "Download ReleaseList artifact from remote storage"

Defined in

packages/pvm-releases/cli/pvm-releases-download.ts:9


releaseDataMaker

โ€ข releaseDataMaker: Object

Type declaration

NameType
fromReleaseContext(releaseContext: ReleaseContext, opts: ReleaseDataMakerOpts) => Promise<undefined | ReleaseDataExt>

Defined in

packages/pvm-releases/lib/release-data.ts:14


releaseListMaker

โ€ข releaseListMaker: Object

Type declaration

NameType
fromWorkingTree(cwd: string, opts: MakeReleasesFromWTOpts) => Promise<ReleaseData[]>

Defined in

packages/pvm-releases/lib/release-list.ts:15

Functions

appendReleaseData

โ–ธ appendReleaseData(config, releaseList, releaseData): ReleaseData[]

Parameters

NameType
configConfig
releaseListReleaseData[]
releaseDataReleaseData

Returns

ReleaseData[]

Defined in

packages/pvm-releases/lib/release-list.ts:64


builder

โ–ธ Const builder(yargs): Argv<{ quiet: boolean } & { force: boolean }>

Parameters

NameType
yargsArgv<Object>

Returns

Argv<{ quiet: boolean } & { force: boolean }>

Defined in

packages/pvm-releases/cli/pvm-releases-download.ts:10


fsAppendReleaseData

โ–ธ fsAppendReleaseData(config, releaseData): void

Parameters

NameType
configConfig
releaseDataReleaseData

Returns

void

Defined in

packages/pvm-releases/lib/release-list.ts:71


getCurrentRelease

โ–ธ getCurrentRelease(opts?): Promise<Object>

Parameters

NameType
optsGetCurrentReleaseOpts

Returns

Promise<Object>

Defined in

packages/pvm-releases/lib/index.ts:57


handler

โ–ธ Const handler(args): Promise<void>

Parameters

NameType
argsRecord<string, any>

Returns

Promise<void>

Defined in

packages/pvm-releases/cli/pvm-releases-download.ts:24


limitReleaseList

โ–ธ limitReleaseList(releaseList, limit): ReleaseData[]

Parameters

NameType
releaseListReleaseData[]
limitArtifactLimitDef

Returns

ReleaseData[]

Defined in

packages/pvm-releases/lib/release-list.ts:47


lookBackForReleaseTag

โ–ธ lookBackForReleaseTag(config, releaseTag, isShallow?): ReleaseLookBack

Parameters

NameType
configConfig
releaseTagstring
isShallowboolean

Returns

ReleaseLookBack

Defined in

packages/pvm-releases/lib/rline.ts:25


makeReleasesFromWorkingTree

โ–ธ makeReleasesFromWorkingTree(cwd, opts?): Promise<ReleaseData[]>

Parameters

NameType
cwdstring
optsMakeReleasesFromWTOpts

Returns

Promise<ReleaseData[]>

Defined in

packages/pvm-releases/lib/producers/releases-by-working-tree.ts:38


reduceReleaseList

โ–ธ reduceReleaseList(config, releaseList): ReleaseData[]

Parameters

NameType
configConfig
releaseListReleaseData[]

Returns

ReleaseData[]

Defined in

packages/pvm-releases/lib/release-list.ts:56