0.0.27 • Published 4 years ago

@axa-ch/pod-uadmin v0.0.27

Weekly downloads
29
License
ISC
Repository
github
Last release
4 years ago

POD PodUadmin

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

Scripts

To install the pod locally: npm install @axa-ch/pod-uadmin

DEV commands

  • npm start start local DEV environment
  • npm run build to trigger a ESM build needed for Midgard
  • npm run test to run local tests
  • npm run release to execute a release to NPM (VERY IMPORTANT: Read How To Release on this document).

ENV variables

  • PORT this allows overriding the default port (3000)

How to release

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

  2. run npm 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

Naming conventions

  • folder: progress-bar (kebab-case)
  • component: ProgressBar (pascal-case)
  • function useI18n (camel-case)
  • styles: ProgressBar.styles.ts (name of component + .styles.ts)

Worth a read