Most of the manual steps for releasing this library are abstracted away by
leveraging np
to automatically update package.json
and generate an updated changelist
based on commits since the last active tag.
- Enable two-factor authentication for your NPM account.
- Ensure you are part of the 'Administration' Group for the NPM
@ampproject
organization.
- Ensure all tests are passing
npm test
. The release scripts will not proceed if any test fails. - Execute in your terminal:
npm run release
.