1.2.0 • Published 3 years ago
@axa-ch/pod-blog-load-more v1.2.0
POD pod-blog-load-more
What is it?
This is an implementation of the load-more button functionality for blog previews, as used e.g. in https://www.axa.ch/de/privatkunden/blog/zuhause/wohnung-und-haus.html.
What framework does it use?
None. It is implemented in vanilla JavaScript with 0 dependencies.
What legacy code does it replace?
This entirely replaces the old React-based component, using an order of magnitude less code.
Scripts
To install the pod locally: npm install @axa-ch/pod-blog-load-more
DEV commands
npm start
start local DEV environmentnpm run build
to trigger a ESM build needed for Midgardnpm run test
to run local testsnpm run release
to execute a release to npm (VERY IMPORTANT: Read How To Release on this document).
How to release
update package.json in the
"version": "x.x.x"
field. Please follow semver best practicesrun
npm run release
commit 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