Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.66 KB

README.md

File metadata and controls

70 lines (44 loc) · 1.66 KB

Liflig CDK

This is a collection of reusable constructs and patterns for CDK setups, for use within Liflig.

State of repository and package

We do not expect others to depend on this, and as such will not be following semantic versioning strictly. There will be breaking changes across both minor and patch releases, as we will be coordinating changes internally.

CDK has some major issues for 3rd party library authors which are not yet resolved. Some relevant information:

Pre-commit checklist

  1. Lint code

    npm run lint
  2. Run tests and update snapshots

    npm run snapshots
    npm run test -- -u

    Investigate any changes before committing.

Testing library changes before releasing

Alternative 1: Install liflig-cdk from tarball

  1. Assemble artifact, which emits a tarball

    npm pack
  2. Install the library in an application from a tarball

    npm install /path/to/liflig-cdk/liflig-cdk-0.0.0-development.tgz

Alternative 2: Install liflig-cdk from a Git branch

  1. Navigate to the project where you want to test the changes

    cd /path/to/other/project
  2. Install the library in an application from a Git branch

    npm install "https://github.com/capralifecycle/liflig-cdk.git#my-feature-branch"

Note: npm link cannot be used, since it will lead to multiple declarations of the same classes from CDK, breaking the instanceof operator.

Contributing

This project accepts contributions. To get started, see the Contributing Guidelines.