diff --git a/.github/DISCUSSION_TEMPLATE/general.md b/.github/DISCUSSION_TEMPLATE/general.md new file mode 100644 index 0000000..567be5d --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/general.md @@ -0,0 +1,16 @@ +## Topic Overview + + +## Background + + +## Questions / Points to Discuss +1. +2. +3. + +## Possible Solutions + + +## Additional Context + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 0000000..441971b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,40 @@ +name: Documentation Update +description: Suggest improvements or report issues in documentation +title: "[Docs]: " +labels: ["documentation"] +body: + - type: dropdown + id: type + attributes: + label: Type of Documentation Issue + options: + - Missing Documentation + - Unclear Documentation + - Incorrect Documentation + - Outdated Documentation + - Other + validations: + required: true + + - type: input + id: location + attributes: + label: Documentation Location + description: Which part of the documentation needs updating? + placeholder: "README.md, API docs, etc." + validations: + required: true + + - type: textarea + id: current + attributes: + label: Current State + description: What does the current documentation say? + + - type: textarea + id: suggested + attributes: + label: Suggested Changes + description: What should the documentation say instead? + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..b727327 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,54 @@ +name: Feature Request +description: Suggest an idea for this project +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to suggest a new feature! + + - type: checkboxes + attributes: + label: Prerequisites + options: + - label: I have searched existing issues/PRs to avoid duplicates + required: true + - label: I am willing to help implement this feature + required: false + + - type: textarea + id: problem + attributes: + label: Problem Statement + description: Is your feature request related to a problem? Please describe. + placeholder: "I'm always frustrated when..." + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: Describe the solution you'd like to see + placeholder: "It would be great if..." + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives Considered + description: Describe any alternative solutions you've considered + + - type: dropdown + id: importance + attributes: + label: Importance + options: + - Critical + - High + - Medium + - Low + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/performance.yml b/.github/ISSUE_TEMPLATE/performance.yml new file mode 100644 index 0000000..9bf001c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/performance.yml @@ -0,0 +1,34 @@ +name: Performance Issue +description: Report a performance problem +title: "[Performance]: " +labels: ["performance"] +body: + - type: textarea + id: scenario + attributes: + label: Performance Scenario + description: Describe the scenario where you're experiencing performance issues + validations: + required: true + + - type: textarea + id: metrics + attributes: + label: Performance Metrics + description: Share any metrics, benchmarks, or profiling data + + - type: input + id: environment + attributes: + label: Environment + description: OS, Node.js version, etc. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Minimal Reproduction + description: Provide code that demonstrates the performance issue + validations: + required: true \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/security.yml b/.github/ISSUE_TEMPLATE/security.yml new file mode 100644 index 0000000..34ddfe1 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/security.yml @@ -0,0 +1,55 @@ +name: Security Issue +description: Report a security vulnerability +title: "[Security]: " +labels: ["security"] +assignees: + - security-team +body: + - type: markdown + attributes: + value: | + 🚨 IMPORTANT: For critical security issues, please report via our security policy instead. + + - type: dropdown + id: severity + attributes: + label: Severity + options: + - Critical + - High + - Medium + - Low + validations: + required: true + + - type: textarea + id: vulnerability + attributes: + label: Vulnerability Description + description: Describe the security issue + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Steps to Reproduce + description: How can we reproduce this vulnerability? + validations: + required: true + + - type: input + id: version + attributes: + label: Package Version + description: Which version contains this vulnerability? + validations: + required: true + + - type: checkboxes + attributes: + label: Additional Information + options: + - label: This issue includes proof of concept + - label: This vulnerability is already public + - label: I have suggested a mitigation or fix \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2cd537d..dc826a9 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,20 +1,66 @@ ## Description - + -## Type of change - -- [ ] Breaking change (major version) -- [ ] New feature (minor version) -- [ ] Bug fix (patch version) -- [ ] Documentation update -- [ ] Dependencies update +## Type of Change + +- [ ] 🚀 New Feature (non-breaking change) +- [ ] 🛠️ Bug Fix (non-breaking change) +- [ ] 💥 Breaking Change +- [ ] 📝 Documentation Update +- [ ] 🏗️ Code Refactor +- [ ] 🔧 Performance Improvements +- [ ] ✅ Test Update +- [ ] 🤖 CI/CD Update + +## Breaking Changes + + +## Testing + +- [ ] Added unit tests +- [ ] Added integration tests +- [ ] Added e2e tests +- [ ] All existing tests pass + +## Documentation +- [ ] Updated README.md +- [ ] Updated API documentation +- [ ] Updated CHANGELOG.md +- [ ] Updated JSDoc comments +- [ ] Added code examples + +## Performance Impact +- [ ] No performance impact +- [ ] Improved performance +- [ ] Performance regression (justified) + +## Security Considerations +- [ ] No security impact +- [ ] Security improvement +- [ ] Requires security review + +## Dependencies +- [ ] No dependency changes +- [ ] Added dependencies +- [ ] Removed dependencies +- [ ] Updated dependencies + +## Screenshots/Recordings + + +## Additional Notes + ## Checklist -- [ ] I have added tests -- [ ] I have updated documentation -- [ ] I have assigned appropriate labels -- [ ] I have added the change to CHANGELOG.md -- [ ] All tests pass locally +- [ ] My code follows the project's style guidelines +- [ ] I have performed a self-review +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding documentation changes +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix/feature works +- [ ] New and existing unit tests pass locally +- [ ] Any dependent changes have been merged and published ## Related Issues - \ No newline at end of file + +Closes # \ No newline at end of file