ORO SDK apis package is intended to be run in browser or Node.js environment. It contains all models and apis services.
- npm >=6.14.13
Powered by tsdx
If you cannot see Jest types try opening this folder in a seperate VSCode window.
Set up project
Then, it's possible to either build/watch component by using
npm start # watch npm build # build
Linking the apis locally:
If you need to link
oro-sdk-apis to app please see https://github.com/OROHealth/oro-apis/blob/main/sdk/ts/README.md#linking-the-sdk-locally
In all cases (node.js or app), you need to use:
npm install npm run link:watch
Make sure that you are using the same version of node and npm in the SDK and in the service that you are trying to link.
- (Only first time) Locally run
npm loginand use the creds in 1password (tech-team-oro) . This will create ~/.npmrc . You will require a OTP but it's sent on email@example.com so you should all have it.
docker-compose up --build sdk-apis-publisher