UNPKG

@uoa/lambda-tracing

Version:

Library for logging & distributed tracing in UoA Lambda projects

13 lines (11 loc) 510 B
# Steps to release package to npm 1. `npm login` 2. `npm version <new version>` 3. Update changelog.md & commit the changes 4. Push to git to sync new tags 5. `npm publish --access=public --otp=<2FA code>` # Testing locally before release 1. `npm pack` 2. In your desired test project package.json, add the following as a dependency: `"@uoa/lambda-tracing": "file:<path to this project>\\uoa-lambda-tracing-<version>.tgz"` 3. Run `npm install` in the test project to use the local dependency