Shared utils and types for Streamline's TypeScript and JavaScript modules. Note this is a public module whose source code can be found at https://www.npmjs.com/package/@streamlineclimate/core-library.
Pre-requisites:
- You need to be invited to the NPM org
- You need to set up 2FA on NPM
- Transpile Typescript
npm i;
npx tsc;
- Open
dist/index.d.ts
and apply linter
- If you have this configured in your code editor already, just save file
- Publish to npm (make sure you are in npm org, ask Eric or Doug)
npm version patch;
npm publish;
- Re-install new version in components you want to use this in
cd ../app;
npm i @streamlineclimate/core-library@latest