README
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 startstart local DEV environmentnpm run buildto trigger a ESM build needed for Midgardnpm run testto run local testsnpm run releaseto execute a release to NPM (VERY IMPORTANT: Read How To Release on this document).
ENV variables
PORTthis allows overriding the default port (3000)
How to release
update package.json in the
"version": "x.x.x"field. Please follow semver best practicesrun
npm run releasecommit to develop, add git tag containg the same version as in step 1 and push
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)