Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 2.13 KB

File metadata and controls

65 lines (45 loc) · 2.13 KB

Contributing to PackShip

Thank you for considering contributing to PackShip! This document outlines the process for contributing to the project.

Code of Conduct

By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.

How Can I Contribute?

Reporting Bugs

  • Check if the bug has already been reported in the Issues section
  • Use the bug report template when creating a new issue
  • Follow our Issue Naming Convention
  • Include detailed steps to reproduce the bug
  • Include information about your environment (OS, Node.js version, etc.)

Suggesting Features

  • Check if the feature has already been suggested in the Issues section
  • Use the feature request template when creating a new issue
  • Follow our Issue Naming Convention
  • Explain why this feature would be useful to most users

Pull Requests

  1. Fork the repository
  2. Create a new branch for your changes following our Branch Naming Convention
  3. Make your changes
  4. Run tests to ensure your changes don't break existing functionality
  5. Submit a pull request

Development Setup

  1. Clone the repository
  2. Install dependencies with npm install
  3. Build the project with npm run build
  4. Run the CLI with npm start

Style Guide

  • Use TypeScript for all new code
  • Follow the existing code style
  • Use descriptive variable names
  • Add comments for complex logic
  • Write tests for new features

Commit Messages

  • Follow the Conventional Commits specification
  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally after the first line

Testing

  • Add tests for new features
  • Ensure all tests pass before submitting a pull request
  • Run tests with npm test

License

By contributing to PackShip, you agree that your contributions will be licensed under the project's MIT license.