@woodwing/ecs-backend-commons
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ecs-backend-commons

Provides common code for ECS backend, such as CDK constructs/stacks and lambda handlers.

Publishing new versions to NPM

This package is published publicly to the NPM registry for simplicity and does not contain any sensitive information.

By default a pre-release is created for each commit on master and published publicly to npm.

To create a new stable release:

  1. Update version in package.json
  2. Create Pull Request and merge to master
  3. Create a new GitHub release

To test what's being published to NPM, create a build and run npm publish --dry.

GitHub Actions configuration and NPM

Publishing requires a NPM_TOKEN secret to be configured. This NPM_TOKEN secret is generated on a developer account. In case such an account is deleted (such as the developer leaving the company...), the token will need to be regenerated:

  1. Login on https://npmjs.com
  2. Go to https://www.npmjs.com/settings/replace_with_npm_username/tokens
  3. Generate a new token and copy the value
  4. Go to https://github.com/WoodWing/ecs-backend-commons/settings/secrets
  5. Update the NPM_TOKEN secret with the new value

/@woodwing/ecs-backend-commons/

    Package Sidebar

    Install

    npm i @woodwing/ecs-backend-commons

    Weekly Downloads

    63

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    147 kB

    Total Files

    150

    Last publish

    Collaborators

    • jeroen.dekker
    • sno
    • jhu
    • bkr-woodwing
    • jaapvb