1.0.7 • Published 2 years ago
@radtickets/common v1.0.7
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
- git add .
- git commit -am ""
- npm version patch (update version number in package.json)
- del-cli build/* (clean build folder) --> npm run clean
- tsc (convert ts to js) --> npm run build
- 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