Search
Preparing search index...
The search index is not available
@atomist/sdm
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"pack/node/goal/NpmPublish"
NpmPublish
Class NpmPublish
Goal that performs NPM registry publication
Hierarchy
FulfillableGoalWithRegistrations
<
NpmPublishRegistration
>
NpmPublish
Implements
Registerable
PlannableGoal
Index
Constructors
constructor
Properties
callbacks
context
definition
definition
OrGoal
depends
On
fulfillments
goal
Listeners
project
Listeners
registrations
sdm
default
Goal
Name
Accessors
canceled
Description
environment
failure
Description
in
Process
Description
name
planned
Description
requested
Description
skipped
Description
stopped
Description
success
Description
unique
Name
waiting
For
Approval
Description
waiting
For
Pre
Approval
Description
Methods
add
Fulfillment
add
Fulfillment
Callback
plan
register
with
with
Execution
Listener
with
Project
Listener
with
Service
Constructors
constructor
new
Npm
Publish
(
goalDetailsOrUniqueName
?:
FulfillableGoalDetails
|
string
,
...
dependsOn
:
Goal
[]
)
:
NpmPublish
Parameters
Default value
goalDetailsOrUniqueName:
FulfillableGoalDetails
|
string
= NpmPublish.defaultGoalName
Rest
...
dependsOn:
Goal
[]
Returns
NpmPublish
Properties
Readonly
callbacks
callbacks
:
GoalFulfillmentCallback
[]
= []
Readonly
context
context
:
GitHubStatusContext
Readonly
definition
definition
:
GoalDefinition
definition
OrGoal
definition
OrGoal
:
PredicatedGoalDefinition
|
Goal
Readonly
depends
On
depends
On
:
Goal
[]
Readonly
fulfillments
fulfillments
:
Fulfillment
[]
= []
Readonly
goal
Listeners
goal
Listeners
:
GoalExecutionListener
[]
= []
Readonly
project
Listeners
project
Listeners
:
GoalProjectListenerRegistration
[]
= []
Readonly
registrations
registrations
:
NpmPublishRegistration
[]
= []
sdm
sdm
:
SoftwareDeliveryMachine
Static
Private
Readonly
default
Goal
Name
default
Goal
Name
:
string
= DefaultGoalNameGenerator.generateName("npm-publish")
Accessors
canceled
Description
get
canceledDescription
(
)
:
string
Returns
string
environment
get
environment
(
)
:
string
Returns
string
failure
Description
get
failureDescription
(
)
:
string
Returns
string
in
Process
Description
get
inProcessDescription
(
)
:
string
Returns
string
name
get
name
(
)
:
string
Returns
string
planned
Description
get
plannedDescription
(
)
:
string
Returns
string
requested
Description
get
requestedDescription
(
)
:
string
Returns
string
skipped
Description
get
skippedDescription
(
)
:
string
Returns
string
stopped
Description
get
stoppedDescription
(
)
:
string
Returns
string
success
Description
get
successDescription
(
)
:
string
Returns
string
unique
Name
get
uniqueName
(
)
:
string
Returns
string
waiting
For
Approval
Description
get
waitingForApprovalDescription
(
)
:
string
Returns
string
waiting
For
Pre
Approval
Description
get
waitingForPreApprovalDescription
(
)
:
string
Returns
string
Methods
Protected
add
Fulfillment
add
Fulfillment
(
fulfillment
:
Fulfillment
)
:
this
Parameters
fulfillment:
Fulfillment
Returns
this
Protected
add
Fulfillment
Callback
add
Fulfillment
Callback
(
cb
:
GoalFulfillmentCallback
)
:
this
Parameters
cb:
GoalFulfillmentCallback
Returns
this
plan
plan
(
pli
:
StatefulPushListenerInvocation
, goals
:
Goals
)
:
Promise
<
PlannedGoals
|
PlannedGoal
>
Parameters
pli:
StatefulPushListenerInvocation
goals:
Goals
Returns
Promise
<
PlannedGoals
|
PlannedGoal
>
register
register
(
sdm
:
SoftwareDeliveryMachine
)
:
void
Parameters
sdm:
SoftwareDeliveryMachine
Returns
void
with
with
(
registration
:
NpmPublishRegistration
)
:
this
Parameters
registration:
NpmPublishRegistration
Returns
this
with
Execution
Listener
with
Execution
Listener
(
listener
:
GoalExecutionListener
)
:
this
Parameters
listener:
GoalExecutionListener
Returns
this
with
Project
Listener
with
Project
Listener
(
listener
:
GoalProjectListenerRegistration
)
:
this
Parameters
listener:
GoalProjectListenerRegistration
Returns
this
with
Service
with
Service
(
registration
:
ServiceRegistration
<
any
>
)
:
this
Parameters
registration:
ServiceRegistration
<
any
>
Returns
this
Globals
"pack/node/goal/
Npm
Publish"
Npm
Publish
constructor
callbacks
context
definition
definition
OrGoal
depends
On
fulfillments
goal
Listeners
project
Listeners
registrations
sdm
default
Goal
Name
canceled
Description
environment
failure
Description
in
Process
Description
name
planned
Description
requested
Description
skipped
Description
stopped
Description
success
Description
unique
Name
waiting
For
Approval
Description
waiting
For
Pre
Approval
Description
add
Fulfillment
add
Fulfillment
Callback
plan
register
with
with
Execution
Listener
with
Project
Listener
with
Service
Npm
Publish
Registration
Publish
Definiton
Generated using
TypeDoc
Goal that performs NPM registry publication