Contributing to Form Forge
Thank you for your interest in contributing to Vue Form Forge! I welcome contributions from the community and would love to see how far this can go.
Code of Conduct
Section titled “Code of Conduct”By contributing to this project, you agree to abide by our code of conduct. Please treat everyone with respect and and don’t be condescending.
Getting Started
Section titled “Getting Started”Prerequisites
Section titled “Prerequisites”- Node.js (v16+)
- npm
Project Structure
Section titled “Project Structure”Directoryvue-form-forge/
Directorypackages/
Directoryapp/
Directorysrc/
- …
Directorytests/
- …
Directorycli/
Directorybin/
- …
Directoryscripts/
- …
Directorysrc/
- …
Directoryform-builder/
Directorysrc/
- …
Setting Up the Development Environment
Section titled “Setting Up the Development Environment”-
Fork the repository on GitHub
-
Clone your fork locally:
Terminal window git clone https://github.com/YOUR_USERNAME/vue-form-forge.gitcd vue-form-forge -
Install dependencies:
Terminal window npm install -
Create a new branch for your feature or fix:
Terminal window git checkout -b feature/your-feature-name
Ways to Contribute
Section titled “Ways to Contribute”🐛 Bug Reports
Section titled “🐛 Bug Reports”If you find a bug, please create an issue with:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected vs. actual behavior
- Your environment details (Node.js version, Vue version, etc.)
- Code samples or screenshots if applicable
💡 Feature Requests
Section titled “💡 Feature Requests”We love new ideas! When suggesting a feature:
- Check if a similar feature request already exists
- Describe the problem you’re trying to solve
- Provide examples of how the feature would be used
- Consider backwards compatibility
📝 Documentation
Section titled “📝 Documentation”Help improve our documentation by:
- Fixing typos or unclear explanations
- Adding examples and use cases
- Improving API documentation
- Writing tutorials or guides
🔧 Code Contributions
Section titled “🔧 Code Contributions”Pull Request Process
Section titled “Pull Request Process”- Ensure your code follows our standards:
- Write clear, readable code
- Include appropriate comments
- Test your changes:
- Add tests for new features (the library uses Vitest and Playwright)
- Ensure all existing tests pass
- Test in different Vue and Node versions if applicable
- Update documentation:
- Update README.md if needed
- Update this documentation site if necessary
- Commit your changes:
Terminal window git add .git commit -m "feat: add new form validation feature" - Push to your fork:
Terminal window git push origin feature/your-feature-name - Create a Pull Request:
- Use a clear and descriptive title
- Write a decent description of your changes
- Link any related issues
Commit Message Convention
Section titled “Commit Message Convention”feat:
for new featuresbugfix:
for bug fixesstyle:
for formatting changesrefactor:
for code refactoringtest:
for adding testschore:
for maintenance tasks