Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.17 KB

File metadata and controls

43 lines (31 loc) · 1.17 KB

Limulus Dot Net Development Guide

Build & Development Commands

  • Fix linting issues: npm run lint -- --fix
  • Compile/Lint/Test: npm run verify

Testing Commands

  • Run unit tests: npm run test
  • Run AWS integration tests (runs code in AWS): npm run test:integration
  • Run all tests: npm run test:all

Infrastructure Commands

  • Synthesize CDK template: npm run cdkc
  • Diff infrastructure: npx cdk diff
  • Test CloudFront function in CloudFront: npm run test:integration

Code Style Guidelines

  • TypeScript with strict typing
  • Line width: 92 characters
  • No semicolons
  • Single quotes for strings
  • ES5 trailing commas
  • Prefer ?? over || when coalescing values

Git Workflow

  • Two remotes: public (public repo) and private (private repo)

Project Structure

  • /www: Site content and templates (11ty)
  • /www/_includes: WebC components and layouts
  • /www/lib: TypeScript source for client-side features
  • /11ty: Custom Eleventy plugins
  • /infra: AWS CDK infrastructure code
  • /infra/lib: CDK stack definitions
  • /infra/functions: CloudFront Functions (JS)
  • /infra/test: Infrastructure tests
  • /types: TypeScript type definitions