bona-iqiniso-api
v1.0.94
Published
Bona Iqiniso API services
Downloads
24
Readme
bona-iqiniso-services-v3
How to generate API services
- Checkout the project and run
npm install
- Make sure you have BI backend server up and running on port 8080 (http://localhost:8080/v2/api-docs)
- Run
npm run generate
. This should create a folder ./lib and create some ts files - Run
npm run build
. This should create a folder ./dist and publish to npm as a package
Last command will increment the version number and publush as a npm package. You can install it on your project with npm i bona-iqiniso-api
or npm i bona-iqiniso-api@VERSION
Troubleshooting
Make sure files are committed to git before running npm run build
. If you are getting a 'Git working directory not clean.' error, make sure all the modified files are committed to git.