Options
All
  • Public
  • Public/Protected
  • All
Menu

The NpmReleaser pseudo-component add npm release data to the project.

Hierarchy

Index

Constructors

Properties

Methods

  • addToProject(project: NodeProject): void
  • adds the pseudo-component to the project

    Parameters

    • project: NodeProject

      the project to apply to

    Returns void

  • nodeProjectOptions(): Pick<NodeProjectOptions, "releaseToNpm" | "packageName" | "npmRegistryUrl" | "npmAccess" | "npmDistTag">
  • returns the organisation related options that can then be passed into a NodeProject's constructor

    Returns Pick<NodeProjectOptions, "releaseToNpm" | "packageName" | "npmRegistryUrl" | "npmAccess" | "npmDistTag">

    the options

  • postAddToProject(_project: NodeProject): void
  • called after the pseudo-component is added to the project

    Parameters

    • _project: NodeProject

      the project to apply to

    Returns void

  • postSynthesize(_project: NodeProject): void
  • Called after synthesis. Order is not guaranteed.

    Parameters

    • _project: NodeProject

      the project to apply to

    Returns void

  • preSynthesize(_project: NodeProject): void
  • synthesize(_project: NodeProject): void
  • Synthesizes files to the project output directory.

    Parameters

    • _project: NodeProject

      the project to apply to

    Returns void

Generated using TypeDoc