WPMPackage

WPMv2. WPMPackage

A WPM package

Constructor

new WPMPackage(name, repository, descriptorJsonopt)

Description:
  • Create a new WPMPackage
Source:
Parameters:
Name Type Attributes Description
name string The package name
repository string The repository that the package should be fetched from
descriptorJson json <optional>
Package Descriptor

Members

assets :Array.<string>

Description:
  • Assets that the package uses, will be copied over to the webstrate where the package is installed
Source:
Assets that the package uses, will be copied over to the webstrate where the package is installed
Type:
  • Array.<string>

changelog :object

Description:
  • Changelog, holding any changelog information for the package
Source:
Changelog, holding any changelog information for the package
Type:
  • object

dependencies :Array.<string>

Description:
  • Package dependencies that will be installed when the package is installed
Source:
Package dependencies that will be installed when the package is installed
Type:
  • Array.<string>

description :string

Description:
  • A description of the package
Source:
A description of the package
Type:
  • string
Description:
  • Link to documentation of the package if any exists
Source:
Link to documentation of the package if any exists
Type:
  • string

friendlyName :string

Description:
  • A human friendly name for the package
Source:
A human friendly name for the package
Type:
  • string

name :string

Description:
  • The name of the package
Source:
The name of the package
Type:
  • string

optionalDependencies :Array.<string>

Description:
  • Optional Package dependencies
Source:
Optional Package dependencies
Type:
  • Array.<string>

repository :string

Description:
  • The repository the package is fetched from
Source:
The repository the package is fetched from
Type:
  • string

version :number

Description:
  • The version of the package
Source:
The version of the package
Type:
  • number