@argh/esim-widget

ESIM widget

Usage no npm install needed!

<script type="module">
  import arghEsimWidget from 'https://cdn.skypack.dev/@argh/esim-widget';
</script>

README

ESIM Widget

Setup & Development

To install all modules

$ yarn install

Start dev mode

Dev mode

$ yarn start

Storybook

$ yarn storybook

Test widget injection

yarn dev:index

note: Dev mode should be up via yarn start

Build

Production widget & module

$ yarn build:prod

Widget watch mode for continuous update of lib folder. Can be used with yarn link to render widget updates in landings repo.

$ yarn build:watch

Deploy

$ yarn deploy

Publish & Update Version

  1. Checkout new branch (e.g. v1.5.6)
  2. yarn build:module
  3. yarn publish
  4. Enter new version number
  5. git push && git push --tags
  6. Create merge request to master
  7. Merge & delete branch