Thanks for your interest in contributing! This guide will help you get started quickly.
- Node.js v18+
- Yarn v4.2.2
- Git
# Clone your fork
git clone https://github.com/YOUR-USERNAME/aws-mock-data.git
cd aws-mock-data
# Install dependencies
yarn install
# Run tests and build
yarn test && yarn buildUse clear naming:
feat/my-featurefix/bug-descriptiondocs/update-readme
Follow our coding standards:
- TypeScript with strong typing
- Lint:
yarn lint - Format:
yarn pretty - Tests: Add/modify unit tests in
tests/unit/
yarn test # Run all tests
yarn test --watch # Watch modesrc/
├── awsServices/ # AWS service implementations
│ ├── cognito/ # Cognito-specific functionality
│ └── index.ts # AWS services export
├── constants/ # Constant values and configurations
│ └── awsServices/ # Service-specific constants
├── helpers/ # Helper functions
│ └── cognito/ # Cognito helper functions
├── types/ # TypeScript type definitions
│ ├── awsServices/ # Service-specific types
│ ├── common/ # Shared types
│ ├── helpers/ # Helper function types
│ └── utils/ # Utility types
├── utils/ # Shared utility functions
└── index.ts # Main library export
tests/
└── unit/ # Unit tests mirroring src/ structure
- Modular Design: Each AWS service is organized in its own module
- Type Safety: Comprehensive TypeScript definitions for all interfaces
- Separation of Concerns: Helpers, constants, and utilities are clearly separated
- Test Coverage: Tests mirror the source structure for easy maintenance
- All tests pass (
yarn test) - Code is linted and formatted (
yarn lint && yarn pretty) - PR title follows Conventional Commits
- Description explains what/why
- Related issue is linked (
Fixes #123)
- Tests live in
tests/unit/, mirroringsrc/ - Use
describe+itblocks - Mock external dependencies when needed
- Cover edge cases
We use semantic-release:
fix:→ patchfeat:→ minorBREAKING CHANGE:→ major
Everything is automated, including changelogs and npm publishing.
Please use the appropriate GitHub issue template:
- Check the README
- Open an issue
- Join the discussion tab
Thanks again for contributing to AWS Mock Data! 🚀