This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@axa-ch/pod-ahv-easy

0.0.237 • Public • Published

POD PodAhvEasy

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

Prerequisites

Needed to run

  • Environment NodeJS >= 12
  • Package manager NPM

Main dependencies

Available Scripts

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

DEV commands

  • npm run start to start DEV environment
  • npm run start:local to start LOCAL environment
  • npm run start:dev to start DEV environment
  • npm run start:acc to start ACC 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).
  • npm run format to format the code
  • npm run lint to run eslint
  • npm run lint:fix to fix linter errors
  • npm run type-check to check types

In order to keep the code clean pre-commit git-hook is defined. This hook will format your code and check if there are errors.

API

The API base url depends on the stage environment. You can change stage environment by running the appropriate script for desired environment such as npm run start:local or npm run start:dev.

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

Worth a read

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/pod-ahv-easy

Weekly Downloads

0

Version

0.0.237

License

ISC

Unpacked Size

3.18 MB

Total Files

51

Last publish

Collaborators

  • gianlucaguarini
  • valentin-hasler
  • marek.laco
  • domirs
  • axa-ch-user
  • matthias.zuercher
  • selinagahlinger