Constructor
new WPMPackage(name, repository, descriptorJsonopt)
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
A description of the package
Type:
- string
documentationLink :string
Link to documentation of the package if any exists
Type:
- string
friendlyName :string
A human friendly name for the package
Type:
- string
name :string
The name of the package
Type:
- string
optionalDependencies :Array.<string>
Optional Package dependencies
Type:
- Array.<string>
repository :string
The repository the package is fetched from
Type:
- string
version :number
The version of the package
Type:
- number