PowerPi Common Typescript library provides all the shared code utilised by typescript services in PowerPi.
The library is built using typescript, with dependencies using yarn workspaces.
The library can be built by executing the following commands.
# From the root of your PowerPi checkout
# Download the dependencies
yarn
# Build the common library
yarn build:common
This library can be tested by executing the following commands.
# From the root of your PowerPi checkout
# Download the dependencies
yarn
# Run the tests
yarn test:common
This library cannot be executed itself, its code is executed within the services that depend on it.