The monorepo I use to manage my website and other things. 🚀
# Install all project dependencies.
npm install && npm install --workspaces
# Run the dev servers.
npm run dev
# Build all the things.
npm run build
# Deploy to the dev environments.
npm run deploy:dev --workspace infra.chris
# Tear down dev environments.
npm run destroy:dev --workspace infra.chris
# Deploy common infrastructure (e.g., the Buildkite pipeline, etc.).
npm run deploy:production -w infra.common
Commits to the dev
branch trigger deployments to the AWS pre-prod environment (with Pulumi, naturally). Commits to main
trigger deployments to production.