@axa-ch/pod-esales-cyber

POD Digital CyberP Frontend

Usage no npm install needed!

<script type="module">
  import axaChPodEsalesCyber from 'https://cdn.skypack.dev/@axa-ch/pod-esales-cyber';
</script>

README

POD PodEsalesCyber

This is a Micro Frontend deployable on the AXA.ch WebHub.

Scripts

To install the pod locally: yarn install @axa-ch/pod-esales-cyber

DEV commands

  • yarn start start local DEV environment
  • yarn start:mock start local environment with MOCK stage (without backend)
  • yarn run build to trigger a ESM build needed for Midgard
  • yarn run test to run local tests
  • yarn run release to execute a release to yarn (VERY IMPORTANT: Read How To Release on this document).

How to release

  1. update package.json in the "version": "x.x.x" field. Please follow semver best practices

  2. run yarn run release

  3. commit to develop, add git tag containg the same version as in step 1 and push

  4. Execute jenkins jobs (build & deploy and if all good: promote) with the version added in point 1.

Worth a read