@dvsa/mes-microservice-common

0.8.1 • Public • Published

mes-microservice-common

Common code used by the various serverless microservices within the Mobile Examiner Services (MES) system, published as an npm package.

Each consuming microservice must only ever depend upon specific versions of this code (instead of simply the latest version), to achieve Don't Repeat Yourself (DRY) but not creating an automatic interdependency and tight coupling (which is why using shared libraries in microservices is often considered an anti-pattern).

Quality

Since this is re-used code, it's important to ensure it is thoroughly unit tested, and all public APIs are clearly documented.

To prepare to publish

Update the version number in package.json (please follow SEMVER conventions) then run:

npm run package

This will perform a clean build, test, lint, and output the npm publish command to run at the command line. You will need to be logged into npm as a user within the dvsa organisation.

To test what the npm publish command would do, append the --dry-run flag.

Note: published package cannot be updated, only unpublished and builds with different version numbers published.

Readme

Keywords

none

Package Sidebar

Install

npm i @dvsa/mes-microservice-common

Weekly Downloads

2

Version

0.8.1

License

MIT

Unpacked Size

22.9 kB

Total Files

18

Last publish

Collaborators

  • johnneill
  • michalszy
  • joshua.license.dvsa
  • foysalm
  • baljinderhayre
  • gittinsr
  • r.stepnowski
  • tombillington
  • rfaulds
  • cullifordm
  • matthew2564
  • edwardwilson
  • shaun.hare
  • janmrozowicz
  • wraggj_dvsa
  • david.aaron
  • tomcrawleyy
  • setterfielda
  • annadodson