Members
(constant) NODE_ENV :string
The environment mode.
Type:
- string
- Source
(constant) PORT :number
Type:
- number
- Source
(constant) app :object
Express application instance.
Type:
- object
- Source
(constant) httpServer :object
The HTTP server instance.
Type:
- object
- Source
(constant) subStringVersion :Array.<string>
The version split into segments.
Type:
- Array.<string>
- Source
(constant) version :string
The version argument provided from the command line.
Type:
- string
- Source
Methods
changeVersionPackageJSON(path) → {Promise.<void>}
Updates the version number in a package.json file and updates the dependencies that start with "@ud-viz/" to the same version number.
Parameters:
Name | Type | Description |
---|---|---|
path | string | The file path to the |
- Source
Returns:
A Promise that resolves when the update is complete.
- Type:
- Promise.<void>
printExec(result)
Prints the stdout and stderr of a command execution result.
Parameters:
Name | Type | Description |
---|---|---|
result | Object | The result of the command execution. |
- Source
printExec(result)
Prints the stdout and stderr of a command execution result.
Parameters:
Name | Type | Description |
---|---|---|
result | Object | The result of the command execution. |
- Source