This package has been deprecated

Author message:

Please use the new scope @axa-ch-webhub-cloud

@axa-ch/axa-ch-core

2.31.7 • Public • Published

POD AxaChCore

This is the core for the webub (https://axa.ch).

It contains mostly legacy code and replaces the former frontend-lib. This pod hooks to the AEM-html and enriches it interactive functionality. It also contains all the css styles, which the webhub needs on the top level.

Scripts

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

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).

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

AEM developers

If you are developing for AEM, you probably want to test local builds directly in AEM.

To do so, change the 'installedPods' config in your manifest.json locally to something like this:

    "installedPods": [
        {
          "axa-ch-core": "file:/Users/benzahler/Documents/code/repos/axa-ch-core",
          "type": "basic"
        }
    ] 

The file:/ configuration should point to the axa-ch-core base dir in your local file system.

With the manifest above, you can now deploy the specific axa-ch-core pod into AEM:

  1. in the axa-ch-core directory: 'npm run build'
  2. in the aem-all directory 'mvn clean install -PautoInstallCombined'

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/axa-ch-core

Weekly Downloads

2

Version

2.31.7

License

ISC

Unpacked Size

1.72 MB

Total Files

5

Last publish

Collaborators

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