Skip to content

Commit db9beba

Browse files
committed
initial commit
0 parents  commit db9beba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6029
-0
lines changed
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
name: 🐛 Bug Report
2+
description: Report a bug in HogTyped
3+
labels: ["bug", "needs-triage"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to report this issue!
9+
10+
- type: dropdown
11+
id: package
12+
attributes:
13+
label: Which package is affected?
14+
options:
15+
- TypeScript/JavaScript (hogtyped npm package)
16+
- Python (hogtyped PyPI package)
17+
- Both
18+
- Documentation
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: description
24+
attributes:
25+
label: Bug Description
26+
description: A clear and concise description of what the bug is
27+
placeholder: |
28+
When I run `npx hogtyped generate`, I get an error...
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: reproduction
34+
attributes:
35+
label: Steps to Reproduce
36+
description: Steps to reproduce the behavior
37+
value: |
38+
1. Create a schema file with...
39+
2. Run command...
40+
3. See error...
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: expected
46+
attributes:
47+
label: Expected Behavior
48+
description: What you expected to happen
49+
validations:
50+
required: true
51+
52+
- type: textarea
53+
id: actual
54+
attributes:
55+
label: Actual Behavior
56+
description: What actually happened
57+
validations:
58+
required: true
59+
60+
- type: textarea
61+
id: schema
62+
attributes:
63+
label: Schema Example
64+
description: If relevant, provide the schema that causes the issue
65+
render: json
66+
placeholder: |
67+
{
68+
"events": {
69+
"my_event": {
70+
"type": "object",
71+
"properties": {
72+
"field": { "type": "string" }
73+
}
74+
}
75+
}
76+
}
77+
78+
- type: textarea
79+
id: error
80+
attributes:
81+
label: Error Output
82+
description: Any error messages or stack traces
83+
render: shell
84+
85+
- type: input
86+
id: version
87+
attributes:
88+
label: HogTyped Version
89+
description: What version of HogTyped are you using?
90+
placeholder: "0.1.0"
91+
validations:
92+
required: true
93+
94+
- type: dropdown
95+
id: node-version
96+
attributes:
97+
label: Node.js Version (if applicable)
98+
options:
99+
- "16"
100+
- "18"
101+
- "20"
102+
- "Other"
103+
- "N/A"
104+
105+
- type: dropdown
106+
id: python-version
107+
attributes:
108+
label: Python Version (if applicable)
109+
options:
110+
- "3.7"
111+
- "3.8"
112+
- "3.9"
113+
- "3.10"
114+
- "3.11"
115+
- "3.12"
116+
- "Other"
117+
- "N/A"
118+
119+
- type: dropdown
120+
id: os
121+
attributes:
122+
label: Operating System
123+
options:
124+
- macOS
125+
- Windows
126+
- Linux
127+
- Other
128+
validations:
129+
required: true
130+
131+
- type: textarea
132+
id: additional
133+
attributes:
134+
label: Additional Context
135+
description: Add any other context about the problem here
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: ✨ Feature Request
2+
description: Suggest a new feature for HogTyped
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for suggesting a new feature!
9+
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem Description
14+
description: Is your feature request related to a problem? Please describe.
15+
placeholder: |
16+
I'm frustrated when I can't...
17+
validations:
18+
required: true
19+
20+
- type: textarea
21+
id: solution
22+
attributes:
23+
label: Proposed Solution
24+
description: Describe the solution you'd like
25+
placeholder: |
26+
It would be great if HogTyped could...
27+
validations:
28+
required: true
29+
30+
- type: textarea
31+
id: alternatives
32+
attributes:
33+
label: Alternatives Considered
34+
description: Describe any alternative solutions or features you've considered
35+
36+
- type: textarea
37+
id: example
38+
attributes:
39+
label: Example Usage
40+
description: Provide an example of how this feature would be used
41+
render: typescript
42+
placeholder: |
43+
// Example of how the API might look
44+
import { hogtyped } from 'hogtyped';
45+
46+
hogtyped.newFeature({
47+
// ...
48+
});
49+
50+
- type: dropdown
51+
id: package
52+
attributes:
53+
label: Which package would this affect?
54+
options:
55+
- TypeScript/JavaScript
56+
- Python
57+
- Both
58+
- Core functionality
59+
validations:
60+
required: true
61+
62+
- type: checkboxes
63+
id: contribution
64+
attributes:
65+
label: Would you be willing to contribute this feature?
66+
options:
67+
- label: I would be willing to submit a PR for this feature
68+
required: false
69+
70+
- type: textarea
71+
id: additional
72+
attributes:
73+
label: Additional Context
74+
description: Add any other context or screenshots about the feature request here

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 2
2+
updates:
3+
# TypeScript/JavaScript dependencies
4+
- package-ecosystem: "npm"
5+
directory: "/packages/js"
6+
schedule:
7+
interval: "weekly"
8+
open-pull-requests-limit: 5
9+
labels:
10+
- "dependencies"
11+
- "javascript"
12+
commit-message:
13+
prefix: "chore(deps)"
14+
15+
# Python dependencies
16+
- package-ecosystem: "pip"
17+
directory: "/packages/python"
18+
schedule:
19+
interval: "weekly"
20+
open-pull-requests-limit: 5
21+
labels:
22+
- "dependencies"
23+
- "python"
24+
commit-message:
25+
prefix: "chore(deps)"
26+
27+
# GitHub Actions
28+
- package-ecosystem: "github-actions"
29+
directory: "/"
30+
schedule:
31+
interval: "weekly"
32+
labels:
33+
- "dependencies"
34+
- "github-actions"
35+
commit-message:
36+
prefix: "chore(ci)"

.github/pull_request_template.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Description
2+
<!-- Describe your changes in detail -->
3+
4+
## Type of Change
5+
<!-- Mark relevant options with an "x" -->
6+
7+
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
8+
- [ ] ✨ New feature (non-breaking change which adds functionality)
9+
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
10+
- [ ] 📝 Documentation update
11+
- [ ] 🧹 Code refactoring
12+
- [ ] ✅ Test update
13+
- [ ] 🔧 Configuration change
14+
15+
## Testing
16+
<!-- Describe the tests you ran to verify your changes -->
17+
18+
- [ ] TypeScript tests pass (`cd packages/js && npm test`)
19+
- [ ] Python tests pass (`cd packages/python && python -m pytest`)
20+
- [ ] Generated code compiles/runs correctly
21+
- [ ] Examples still work
22+
23+
## Checklist
24+
25+
- [ ] My code follows the style guidelines of this project
26+
- [ ] I have performed a self-review of my own code
27+
- [ ] I have commented my code, particularly in hard-to-understand areas
28+
- [ ] I have made corresponding changes to the documentation
29+
- [ ] My changes generate no new warnings
30+
- [ ] I have added tests that prove my fix is effective or that my feature works
31+
- [ ] New and existing tests pass locally with my changes
32+
33+
## Screenshots (if applicable)
34+
<!-- Add screenshots to help explain your changes -->
35+
36+
## Additional Notes
37+
<!-- Add any additional notes or context -->

0 commit comments

Comments
 (0)