@elliemae/pui-lib-boilerplate
v1.13.0
Published
ICE Library Boilerplate
Downloads
25
Readme
Javascript Library Boilerplate
Boilerplate node(npm) module library
React Library boilerplate is available in https://git.elliemae.io/platform-ui/pui-lib-boilerplate/tree/react
Dependencies
- NodeJS >= 18.x
pnpm i -g rimraf cross-env serve
Development
- clone the repo
pnpm i
Test
pnpm test
Test using browser
pnpm start
Jenkins integration
- Add svcjenkins user as collaborator to your git repo with write permissions
- Create new Jenkins webhook in your git repo
Payload URL: https://jenkins.dco.elmae/github-webhook/
Content Type: application/json
Which events would you like to trigger this webhook?
Let me select individual events
Select Pull-Request and Push
Click Update Webook
- Create a new jenkins multibranch pipeline as in Library Boilerplate
Now you are all set to publish your library automatically to npm after every PR merge.
Please follow GIT guidelines, otherwise the publishing will happen from all your PR branches in upstream repo.