The root of the project is an AWS CDK project where the main application logic lives inside the ./app folder.
node --version
v22.9.0
# Update corepack if necessary (from pnpm docs)
npm install --global corepack@latest
# Enable corepack
corepack enable pnpm
To install all required dependencies, run:
make installYou can access CDK commands using the pnpm wrapper script. For example:
pnpm cdk <command>This ensures the correct context is set for CDK to execute.
The following stacks are managed within this CDK project. The root stack (excluding the DeploymentPipeline) deploys a stack in the toolchain account, which then deploys a CodePipeline for cross-environment deployments to beta, gamma, and prod.
To list all stacks, run:
pnpm cdk lsExample output:
OrcaBusStatelessSampleSheetCheckStack
OrcaBusStatelessSampleSheetCheckStack/DeploymentPipeline/OrcaBusBeta/SampleSheetCheckerStack (OrcaBusBeta-SampleSheetCheckerStack)
OrcaBusStatelessSampleSheetCheckStack/DeploymentPipeline/OrcaBusGamma/SampleSheetCheckerStack (OrcaBusGamma-SampleSheetCheckerStack)
OrcaBusStatelessSampleSheetCheckStack/DeploymentPipeline/OrcaBusProd/SampleSheetCheckerStack (OrcaBusProd-SampleSheetCheckerStack)To run linting and formatting checks on the root project, use:
make checkTo automatically fix issues with ESLint and Prettier, run:
make fix