Contributing
How to contribute to Pact development
Contributing
We welcome contributions to Pact!
Prerequisites
- Go 1.21+ for CLI development
- Node.js 18+ for web app development
- A GitHub OAuth App for authentication testing
Getting Started
Clone the Repository
git clone https://github.com/cloudboy-jh/pact.git
cd pactBuilding the CLI
cd cli
go mod tidy
go build -o pact .
./pact --helpRunning the Web App
cd web
npm install
npm run devProject Structure
pact/
├── cli/ # Go CLI
│ ├── cmd/ # Cobra commands
│ ├── internal/ # Internal packages
│ ├── go.mod
│ └── main.go
├── web/ # SvelteKit web app
│ ├── src/
│ ├── package.json
│ └── svelte.config.js
├── docs/
│ ├── ARCHITECTURE.md
│ └── ROADMAP.md
└── README.mdSubmitting Changes
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Open a Pull Request