Skip to content

Common type library configuration and usage

gregorylavery edited this page Oct 25, 2024 · 2 revisions

The related library for common types for this project is stored in a separate source repo HERE

The intent of this code is to form the basis for a shared set of types for all code that accesses the compliance-enforcement system.

The library is published on NPM as nrs-ce-common-types and is updated via a github action here that will create and publish a new version for every new release as created in nrs-ce-common-types.

The deploy mechanism is currently set to use a personal access token (PAT) for NPM as a secret in the repository, this token should not expire. It is a PAT for gregorylavery's NPM account. The token was generated as a legacy 'automation' token in NPM and then stored as a secret in the common-types repo.

The library is used by doing a standard installation such as: npm install nrs-ce-common-types@1.0.8 --save

Clone this wiki locally