Interface: PluginsApi
@pvm/core.PluginsApi
Hierarchy
PluginsApi
↳
HostApi
Properties
cwd
• cwd: string
Defined in
packages/pvm-core/lib/plugins/index.ts:52
features
• features: Object
Type declaration
Name | Type |
---|---|
attributeReleaseData | string |
commitsToNotes | string |
notifyScriptsPath | string |
preReleaseHook | string |
releaseInfoFromReleaseCtx | string |
releaseInfoFromVcs | string |
releaseType | string |
releaseTypeBuilder | string |
releaseTypeByCommits | string |
Defined in
packages/pvm-core/lib/plugins/index.ts:51
Methods
addPipeline
â–¸ addPipeline<R
>(name
, fn
): void
Type parameters
Name | Type |
---|---|
R | any |
Parameters
Name | Type |
---|---|
name | string |
fn | PipelineFn <R > |
Returns
void
Defined in
packages/pvm-core/lib/plugins/index.ts:62
getDefaultImpl
â–¸ getDefaultImpl<K
>(feature
): Features
[K
]
Type parameters
Name | Type |
---|---|
K | extends string | number |
Parameters
Name | Type |
---|---|
feature | K |
Returns
Features
[K
]
Defined in
packages/pvm-core/lib/plugins/index.ts:56
getOr
â–¸ getOr<K
, D
>(feature
, defaultIml
): D
| Features
[K
]
Type parameters
Name | Type |
---|---|
K | extends string | number |
D | D |
Parameters
Name | Type |
---|---|
feature | K |
defaultIml | D |
Returns
D
| Features
[K
]
Defined in
packages/pvm-core/lib/plugins/index.ts:57
has
â–¸ has<K
>(feature
): boolean
Type parameters
Name | Type |
---|---|
K | extends string | number |
Parameters
Name | Type |
---|---|
feature | K |
Returns
boolean
Defined in
packages/pvm-core/lib/plugins/index.ts:58
plEachSeries
â–¸ plEachSeries(name
, ...args
): Promise
<any
>
Parameters
Name | Type |
---|---|
name | string |
...args | any [] |
Returns
Promise
<any
>
Defined in
packages/pvm-core/lib/plugins/index.ts:64
plPipe
â–¸ plPipe<D
>(name
, initialValue
, ...args
): Promise
<any
>
Type parameters
Name |
---|
D |
Parameters
Name | Type |
---|---|
name | string |
initialValue | D |
...args | any [] |
Returns
Promise
<any
>
Defined in
packages/pvm-core/lib/plugins/index.ts:63
provideClass
â–¸ provideClass(ns
, rec
): void
Parameters
Name | Type |
---|---|
ns | string |
rec | Partial <Features > |
Returns
void
Defined in
packages/pvm-core/lib/plugins/index.ts:55
provideRecord
â–¸ provideRecord(ns
, rec
): void
Parameters
Name | Type |
---|---|
ns | string |
rec | Partial <Features > |
Returns
void
Defined in
packages/pvm-core/lib/plugins/index.ts:54
provides
â–¸ provides<K
>(feature
, impl
): void
Type parameters
Name | Type |
---|---|
K | extends string | number |
Parameters
Name | Type |
---|---|
feature | K |
impl | Features [K ] |
Returns
void
Defined in
packages/pvm-core/lib/plugins/index.ts:53
resolve
â–¸ resolve<K
>(feature
): Features
[K
]
Type parameters
Name | Type |
---|---|
K | extends string | number |
Parameters
Name | Type |
---|---|
feature | K |
Returns
Features
[K
]
Defined in
packages/pvm-core/lib/plugins/index.ts:59
run
â–¸ run<K
>(feature
, ...args
): ReturnType
<Features
[K
]>
Type parameters
Name | Type |
---|---|
K | extends string | number |
Parameters
Name | Type |
---|---|
feature | K |
...args | any [] |
Returns
ReturnType
<Features
[K
]>
Defined in
packages/pvm-core/lib/plugins/index.ts:60
runOr
â–¸ runOr<K
, D
>(feature
, defaultValue
, ...args
): D
| ReturnType
<Features
[K
]>
Type parameters
Name | Type |
---|---|
K | extends string | number |
D | D |
Parameters
Name | Type |
---|---|
feature | K |
defaultValue | D |
...args | any [] |
Returns
D
| ReturnType
<Features
[K
]>