Skip to main content

@pvm/pkgset

Interfaces

Type aliases

IncludeRootOption

ฦฌ IncludeRootOption: boolean | "auto"

Defined in

packages/pvm-pkgset/types/index.ts:2


PkgsetChangedOpts

ฦฌ PkgsetChangedOpts: ChangedFilesOpts & FromChangedFilesOpts & { ignoreDangerouslyOpts?: boolean }

Defined in

packages/pvm-pkgset/lib/strategies/affected.ts:20


PkgsetStaleOpts

ฦฌ PkgsetStaleOpts: Partial<Object>

Defined in

packages/pvm-pkgset/lib/strategies/stale.ts:12


PkgsetStdinOpts

ฦฌ PkgsetStdinOpts: Partial<Object>

Defined in

packages/pvm-pkgset/lib/strategies/stdin.ts:9

Variables

command

โ€ข command: "pkgset"

Defined in

packages/pvm-pkgset/cli/pvm-pkgset.ts:10


description

โ€ข description: "Shows the list of packages by the specified criterion (low-level version)"

Defined in

packages/pvm-pkgset/cli/pvm-pkgset.ts:11

Functions

builder

โ–ธ Const builder(yargs): Argv<{ strategy: string } & { S: never[] } & { format: string }>

Parameters

NameType
yargsArgv<Object>

Returns

Argv<{ strategy: string } & { S: never[] } & { format: string }>

Defined in

packages/pvm-pkgset/cli/pvm-pkgset.ts:12


changedFiles

โ–ธ changedFiles(opts?): ChangedFiles

Parameters

NameType
optsChangedFilesOpts

Returns

ChangedFiles

Defined in

packages/pvm-pkgset/lib/changed-files.ts:39


default

โ–ธ default(config, workspaces, changedFiles, includeRoot?): IterableIterator<string>

Parameters

NameTypeDefault value
configConfigundefined
workspacesstring[]undefined
changedFilesstring[]undefined
includeRootbooleanfalse

Returns

IterableIterator<string>

Defined in

packages/pvm-pkgset/lib/filter-packages.ts:6


describeStrategy

โ–ธ describeStrategy(strategyFn, display, description): void

Parameters

NameType
strategyFnany
displayany
descriptionany

Returns

void

Defined in

packages/pvm-pkgset/lib/utils/describe-strategy.ts:3


exclude

โ–ธ exclude(sortedWorkspaces, fileList, ignorePatterns): string[]

Parameters

NameType
sortedWorkspacesstring[]
fileListstring[]
ignorePatternsstring[]

Returns

string[]

Defined in

packages/pvm-pkgset/lib/smart-paths.ts:22


getStrategiesDescriptionList

โ–ธ getStrategiesDescriptionList(): string[]

Returns

string[]

Defined in

packages/pvm-pkgset/lib/strategies/index.ts:22


handler

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

Parameters

NameType
flagsany

Returns

Promise<void>

Defined in

packages/pvm-pkgset/cli/pvm-pkgset.ts:39


pkgset

โ–ธ pkgset(strategy, opts?): AsyncIterable<Pkg>

Parameters

NameType
strategystring
optsRecord<string, any>

Returns

AsyncIterable<Pkg>

Defined in

packages/pvm-pkgset/lib/pkgset.ts:5


pkgsetAll

โ–ธ pkgsetAll(config, opts?): IterableIterator<Pkg>

Parameters

NameType
configConfig
optsPkgsetAllOpts

Returns

IterableIterator<Pkg>

Defined in

packages/pvm-pkgset/lib/pkgset-all.ts:13


pkgsetFromChangedFiles

โ–ธ pkgsetFromChangedFiles(config, changed, opts?): IterableIterator<Pkg>

Parameters

NameType
configConfig
changedChangedFiles
optsFromChangedFilesOpts

Returns

IterableIterator<Pkg>

Defined in

packages/pvm-pkgset/lib/from-changed-files.ts:14


pkgsetFromFlags

โ–ธ pkgsetFromFlags(flags): AsyncIterableIterator<Pkg>

Parameters

NameType
flagsObject
flags.strategystring
flags.strategyOptionstring[]

Returns

AsyncIterableIterator<Pkg>

Defined in

packages/pvm-pkgset/lib/pkgset.ts:14


pkgsetFromRef

โ–ธ pkgsetFromRef(config, ref, opts?): IterableIterator<Pkg>

Parameters

NameType
configConfig
refstring
optsPkgsetFromRefOpts

Returns

IterableIterator<Pkg>

Defined in

packages/pvm-pkgset/lib/pkgset-from-ref.ts:11