Members

(constant) NODE_ENV :string

The environment mode.

Type:
  • string

(constant) PORT :number

Type:
  • number

(constant) app :object

Express application instance.

Type:
  • object

(constant) httpServer :object

The HTTP server instance.

Type:
  • object

(constant) subStringVersion :Array.<string>

The version split into segments.

Type:
  • Array.<string>

(constant) version :string

The version argument provided from the command line.

Type:
  • string

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:
NameTypeDescription
pathstring

The file path to the package.json file to update.

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:
NameTypeDescription
resultObject

The result of the command execution.

printExec(result)

Prints the stdout and stderr of a command execution result.

Parameters:
NameTypeDescription
resultObject

The result of the command execution.