Skip to content

Commit 7a98aff

Browse files
committed
commit first
1 parent 1b87a81 commit 7a98aff

34 files changed

+7736
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.json linguist-language=JSON-with-Comments

.githooks/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
npx --no-install lint-staged

.github/FUNDING.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# These are supported funding model platforms
2+
3+
github: kazupon
4+
patreon: #
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
issuehunt: #
9+
custom: # Replace with a single custom sponsorship URL
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: 🐛 Bug report
2+
description: Report an issue
3+
labels: ['status: review needed']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: textarea
10+
id: bug-description
11+
attributes:
12+
label: Describe the bug
13+
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
14+
placeholder: Bug description
15+
validations:
16+
required: true
17+
- type: input
18+
id: reproduction
19+
attributes:
20+
label: Reproduction
21+
description: A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is **required**, otherwise the issue might be closed without further notice. [**Why & How?**](https://antfu.me/posts/why-reproductions-are-required)
22+
placeholder: Reproduction
23+
validations:
24+
required: true
25+
- type: dropdown
26+
id: issue-runtime
27+
attributes:
28+
label: Issue Runtime
29+
description: Select the JavaScript Runtime
30+
options:
31+
- Node.js
32+
- Deno
33+
- Bun
34+
validations:
35+
required: true
36+
- type: dropdown
37+
id: issue-package
38+
attributes:
39+
label: Issue Package
40+
description: Select the package
41+
options:
42+
- '@intlify/h3'
43+
- '@intlify/hono'
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: system-info
48+
attributes:
49+
label: System Info
50+
description: Output of `npx envinfo --system --binaries` for (Node) / `deno run -A npm:envinfo --system --binaries && deno -v` (for Deno) / `bunx envinfo --system --binaries` (for Bun)
51+
render: Shell
52+
placeholder: System, Binaries
53+
validations:
54+
required: true
55+
- type: textarea
56+
id: additional-context
57+
attributes:
58+
label: Additional context
59+
description: Any other context or screenshots about the bug report here.
60+
- type: checkboxes
61+
id: checkboxes
62+
attributes:
63+
label: Validations
64+
description: Before submitting the issue, please make sure you do the following
65+
options:
66+
- label: Read the [Contributing Guide](https://github.com/intlify/srvmid/blob/main/CONTRIBUTING.md).
67+
required: true
68+
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
69+
required: true
70+
- label: Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
71+
required: true
72+
- label: The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
73+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
contact_links:
2+
- name: 🙌 Contribution Guide
3+
url: https://github.com/intlify/srvmid/blob/main/CONTRIBUTING.md
4+
about: Please read through before making contributions.
5+
- name: ⁉️ Why and How to make a reproduction?
6+
url: https://antfu.me/posts/why-reproductions-are-required
7+
about: Reproduction is very important for maintainer to help on your issues!
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: 🚀 New feature proposal
2+
description: Propose a new feature
3+
labels: [feature]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for your interest in the project and taking the time to fill out this feature report!
9+
- type: textarea
10+
id: feature-description
11+
attributes:
12+
label: Clear and concise description of the problem
13+
description: 'As a user using srvmid packages. I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!'
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: suggested-solution
18+
attributes:
19+
label: Suggested solution
20+
description: 'In module [xy] we could provide following implementation...'
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: alternative
25+
attributes:
26+
label: Alternative
27+
description: Clear and concise description of any alternative solutions or features you've considered.
28+
- type: textarea
29+
id: additional-context
30+
attributes:
31+
label: Additional context
32+
description: Any other context or screenshots about the feature request here.
33+
- type: checkboxes
34+
id: checkboxes
35+
attributes:
36+
label: Validations
37+
description: Before submitting the issue, please make sure you do the following
38+
options:
39+
- label: Read the [Contributing Guide](https://github.com/intlify/srvmid/blob/main/CONTRIBUTING.md).
40+
required: true
41+
- label: Read the README
42+
required: true
43+
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
44+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- DO NOT IGNORE THE TEMPLATE!
2+
3+
Thank you for contributing!
4+
5+
Before submitting the PR, please make sure you do the following:
6+
7+
- Read the [Contributing Guide](https://github.com/intlify/srvmid/blob/main/CONTRIBUTING.md).
8+
- Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
9+
- Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
10+
- Ideally, include relevant tests that fail without this PR but pass with it.
11+
12+
-->
13+
14+
### Description
15+
16+
<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->
17+
18+
### Linked Issues
19+
20+
### Additional context
21+
22+
<!-- e.g. is there anything you'd like reviewers to focus on? -->

.github/labels.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
- name: feature
2+
description: Includes new features
3+
color: ffff00
4+
- name: bug
5+
description: Includes new features
6+
color: ee0701
7+
- name: improvement
8+
description: Includes backwards-compatible fixes
9+
color: 1d76db
10+
- name: breaking
11+
description: Includes backwards-incompatible fixes
12+
color: b60205
13+
- name: refactoring
14+
description: A code change that neither fixes a bug nor adds a feature
15+
color: fbca04
16+
- name: security
17+
description: Security fixes
18+
color: b60205
19+
- name: documentation
20+
description: Includes documetation fixes
21+
color: '5319e7'
22+
- name: example
23+
description: Includes example and demo code fixes
24+
color: db0875
25+
- name: deprecated
26+
description: Includes deprecate fixes
27+
color: f7ffa8
28+
- name: performance
29+
description: Includes performance fixes
30+
color: cc317c
31+
- name: i18n
32+
description: Includes internationalization fixes
33+
color: ffd412
34+
- name: a11y
35+
description: Inlucdes accessibility fixes
36+
color: 0000ff
37+
- name: dependency
38+
description: Includes dependency fixes
39+
color: ffbce7
40+
- name: todo
41+
description: todo tasks
42+
color: c2e0c6
43+
- name: duplicate
44+
description: This issue or Pull Request already exists
45+
color: ededed
46+
- name: help wanted
47+
description: Extra attention is needed
48+
color: e99695
49+
- name: good first issue
50+
description: Good for newcomers
51+
color: 7057ff
52+
- name: 'status: abandoned'
53+
description: The issue or Pull Request is wontfix
54+
color: '000000'
55+
- name: 'status: blocked'
56+
description: Progress on the issue is Blocked
57+
color: ee0701
58+
- name: 'status: in progress'
59+
description: Work in Progress
60+
color: cccccc
61+
- name: 'status: proposal'
62+
description: Request for comments
63+
color: d4c5f9
64+
- name: 'status: pull request welcome'
65+
description: Welcome to Pull Request
66+
color: '2E7733'
67+
- name: 'status: review needed'
68+
description: Request for review
69+
color: fbca04
70+
- name: 'status: need more repro codes or info'
71+
description: Lacks enough info to make progress
72+
color: F9C90A
73+
- name: 🧹 p1-chore
74+
description: 'Priority 1: no change in change code behavior'
75+
color: '#FDDFD7'
76+
- name: 🍰 p2-nice-to-have
77+
description: "Priority 2: nothing is broken but it's worth addressing"
78+
color: '#0e8a16'
79+
- name: 🔨 p3-minor-bug
80+
description: 'Priority 3: a bug in an edge case that only affects very specific usage'
81+
color: '#fbca04'
82+
- name: ❗ p4-important
83+
description: 'Priority 4: bugs that violate documented behavior, or significantly impact perf'
84+
color: '#d93f0b'
85+
- name: 🔥 p5-urgent
86+
description: 'Priority 5: build-breaking bugs that affect most users and should be fixed ASAP'
87+
color: '#ee0701'

.github/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
authors:
6+
- octocat
7+
- renovate[bot]
8+
categories:
9+
- title: 🌟 Features
10+
labels:
11+
- feature
12+
- title: 🐛 Bug Fixes
13+
labels:
14+
- bug
15+
- title: 💥 Breaking Changes
16+
labels:
17+
- breaking
18+
- title: ⚠️ Deprecated Features
19+
labels:
20+
- deprecated
21+
- title: ⚡ Improvement Features
22+
labels:
23+
- improvement
24+
- title: 🔒 Security Fixes
25+
labels:
26+
- security
27+
- title: 📈 Performance Fixes
28+
labels:
29+
- performance
30+
- title: 📝️ Documentations
31+
labels:
32+
- documentation
33+
- title: 👕 Refactoring
34+
labels:
35+
- refactoring
36+
- title: 🍭 Examples
37+
labels:
38+
- example
39+
- title: 🌐 ♿ Internationalization or Accessibility Fixes
40+
labels:
41+
- a11y
42+
- i18n
43+
- title: 🪄 Others
44+
labels:
45+
- chore

0 commit comments

Comments
 (0)