This module provides access to the Aprexis API, and helpers to read and manipulate the data models provided by the API.
The module is published as @aprexis/aprexis-api-utility.
To be written.
To build the aprexis-api-utility module, you will need:
npm
yarn
- an account on https://www.npmjs.com/ with access to the
aprexis
organization
To create a new version of the module, perform the following:
- Make your code changes using your preferred editor
- Commit and push your changes to
github
- Build the module using
yarn
- Update the version using
npm
- Push the build and version changes to
github
- Publish the new version using
npm
npm
is used to update the version and to publish the module when you've updated it.
yarn
is used to maintain the packages used by the code and to build a new version of the module when the code is updated.
The account on https://www.npmjs.com/ is used to publish the module. You will need a way to generate a one-time password, such as Google authenticator.
Run the command:
yarn build
Run the command:
npm version <version-part>
Where <version_part>
can be one of 'major', 'minor', or 'patch'. The version number is major.minor.patch
patch
increase the patch number.
minor
increases the minor number and sets patch to 0.
major
increases the major number and sets minor and patch to 0.
Run the command:
npm publish --public
You will be challenged for the one-time password.