1.0.7 • Published 2 years ago

@radtickets/common v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Custom common library used for all services

A common library shared by different services that includes middlewares and error handlers

Push changes to individual service

cd <Service_name> npm update @radtickets/common

Publish code to NPM registery

  1. git add .
  2. git commit -am ""
  3. npm version patch (update version number in package.json)
  4. del-cli build/* (clean build folder) --> npm run clean
  5. tsc (convert ts to js) --> npm run build
  6. npm publish (push code to NPM registry)

Automated process of publishing code to NPM registery

Adding this in package.json "pub": "git add . && git commit -am \"Updates\" && npm version patch && npm run build && npm publish"

After updating code, run this command to publish changes:

  • npm run pub