UNPKG

@tlrg/middleware-js

Version:
27 lines (15 loc) 851 B
# @tlrg/middleware-js Middleware layer referenced in the moonstick project. ### Publishing to npm if you have not incremented the version in package.json then run this ``` npm version <major/minor/patch> eg. npm version patch ``` The package.json version number should now be higher than previous. ### Pushing tags to git Run ``` git tag -l ``` if the version in the package.json appears then run ``` git push --tags ``` Otherwise to create the tag manually run ```git tag -a <version number> -m "your message" ``` and then run ``` git push --tags ``` ## Correcting mistakes ### Deleting tags Remove local tags first ```git tag -d v9.9.9``` then remove from the repository run ```git push --delete origin v9.9.9``` To remove from npm run ```npm unpublish @tlrg/middleware-js@9.9.9```. CAUTION: make sure no one is using this version.