@shanzhai/serial-step
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

@shanzhai/serial-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai build step which runs any number of child build steps in serial.

Usage

Within a trigger's event handler, return an instance of SerialStep similar to the following:

new SerialStep(
  `A description of the operation being performed`,
  [
    new FirstStepToExecute(),
    new SecondStepToExecute(),
    new ThirdStepToExecute(),
  ]
)

This will execute each of the steps sequentially; one after the other.

Dependencies

This package has no runtime dependencies.

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @shanzhai/serial-step

    Weekly Downloads

    13

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    4.31 kB

    Total Files

    5

    Last publish

    Collaborators

    • jameswilddev