Skip to content

Contributing

This repository is a monorepo for AWS CDK Project Framework projects.

Requirements

Install the following softwares

pip install poetry==1.2.0

Installation using pipx is strongly recommended.

Install dependencies

npm install
poetry install

Terminal virtual environment

poetry shell

Run Flake8 Linting

npx nx affected:lint

or for a specific project

npx nx lint <appName>

Add new dependency

npx nx run <appName>:add --name <dependencyName>==<dependencyVersion>

Example:

npx nx run core:add --name requests=2.27.1

Using the Nx wrapper to adding a dependency ensure that both root poetry.lock and project poetry.lock are updated.