Thank you for your interest in contributing to create-simple-ai! This document provides guidelines and information for contributors.
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Lint code
npm run lint
# Type check
npm run typecheckThis is a monorepo using npm workspaces:
packages/cli/- The main CLI package (create-simple-ai) that gets published to npmpackages/cli/templates/- Project templates that get bundled with the CLI
packages/docs/- Documentation and component registry site (@simple-ai/docs, private)scripts/- Build and utility scripts
From the root directory:
# CLI development
npm run cli:dev # Watch CLI changes
npm run cli:build # Build CLI
npm run cli:test # Run CLI tests
# Docs development
npm run docs:dev # Start docs dev server
npm run docs:build # Build docs
# All packages
npm run build # Build everything
npm run test # Run all tests
npm run lint # Format all code
npm run typecheck # Type check all packagesSee TESTING.md for detailed testing instructions.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Add a changeset:
npm run changeset - Make your changes
- Run tests:
npm test - Submit a pull request
We use Changesets for version management and changelogs. When making changes that affect the published package:
npm run changesetFollow the prompts to describe your changes. This will create a changeset file that will be used when releasing new versions.
See RELEASING.md for detailed release instructions.
- We use Biome for linting and formatting
- TypeScript is required for all code
- Follow existing patterns and conventions
- Check existing issues and pull requests
- Join our discussions
- Reach out to maintainers
By contributing, you agree that your contributions will be licensed under the same license as the project.