Skip to content

Commit 827be00

Browse files
committed
Initial
0 parents  commit 827be00

27 files changed

+2754
-0
lines changed

.dnt.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import {
2+
getMetadataFromConfig,
3+
invokeDenoNodeJSTransformer
4+
} from "DNT";
5+
const configJSR = await getMetadataFromConfig("jsr.jsonc");
6+
await invokeDenoNodeJSTransformer({
7+
copyAssets: [
8+
"LICENSE.md",
9+
"README.md"
10+
],
11+
entrypoints: configJSR.getExports(),
12+
fixInjectedImports: true,
13+
generateDeclarationMap: true,
14+
metadata: {
15+
name: configJSR.getName(),
16+
version: configJSR.getVersion(),
17+
description: "A module to handle the HTTP header value.",
18+
keywords: [
19+
"handle",
20+
"handler",
21+
"header",
22+
"http"
23+
],
24+
homepage: "https://github.com/hugoalh/http-header-value-handler-es#readme",
25+
bugs: {
26+
url: "https://github.com/hugoalh/http-header-value-handler-es/issues"
27+
},
28+
license: "MIT",
29+
author: "hugoalh",
30+
repository: {
31+
type: "git",
32+
url: "git+https://github.com/hugoalh/http-header-value-handler-es.git"
33+
},
34+
scripts: {
35+
},
36+
engines: {
37+
},
38+
private: false,
39+
publishConfig: {
40+
access: "public"
41+
}
42+
},
43+
outputDirectory: "dist/npm",
44+
outputDirectoryPreEmpty: true
45+
});

.gitattributes

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
* text=auto
2+
3+
*.anim text eol=lf
4+
*.asset text eol=lf
5+
*.bash text eol=lf
6+
*.bat text eol=crlf
7+
*.cdxml text eol=crlf
8+
*.cmd text eol=crlf
9+
*.controller text eol=lf
10+
*.csproj text eol=crlf
11+
*.dbproj text eol=crlf
12+
*.dist text eol=lf
13+
*.engine text eol=lf
14+
*.filters text eol=crlf
15+
*.fish text eol=lf
16+
*.fsproj text eol=crlf
17+
*.inc text eol=lf
18+
*.install text eol=lf
19+
*.ipynb text eol=lf
20+
*.ksh text eol=lf
21+
*.lsproj text eol=crlf
22+
*.map text eol=lf
23+
*.mat text eol=lf
24+
*.mcf text eol=crlf
25+
*.meta text eol=lf
26+
*.modelproj text eol=crlf
27+
*.module text eol=lf
28+
*.msh text eol=crlf
29+
*.msh1 text eol=crlf
30+
*.msh1xml text eol=crlf
31+
*.msh2 text eol=crlf
32+
*.msh2xml text eol=crlf
33+
*.mshxml text eol=crlf
34+
*.php text eol=lf
35+
*.phpt text eol=lf
36+
*.phtml text eol=lf
37+
*.physicmaterial text eol=lf
38+
*.physicmaterial2d text eol=lf
39+
*.physicsmaterial text eol=lf
40+
*.physicsmaterial2d text eol=lf
41+
*.po text eol=lf
42+
*.prefab text eol=lf
43+
*.profile text eol=lf
44+
*.props text eol=crlf
45+
*.props.tmpl text eol=crlf
46+
*.ps1 text eol=crlf
47+
*.ps1x text eol=crlf
48+
*.ps1xml text eol=crlf
49+
*.psd1 text eol=crlf
50+
*.psm1 text eol=crlf
51+
*.psrc text eol=crlf
52+
*.pssc text eol=crlf
53+
*.rc text eol=crlf
54+
*.sh text eol=lf
55+
*.sln text eol=crlf
56+
*.sln.tmpl text eol=crlf
57+
*.sql text eol=lf
58+
*.sqlproj text eol=crlf
59+
*.theme text eol=lf
60+
*.twig text eol=lf
61+
*.unity text eol=lf
62+
*.vbproj text eol=crlf
63+
*.vcproj text eol=crlf
64+
*.vcxitems text eol=crlf
65+
*.vcxproj text eol=crlf
66+
*.vcxproj.filters text eol=crlf
67+
*.vcxproj.tmpl text eol=crlf
68+
*.vim text eol=lf
69+
*.wixproj text eol=crlf
70+
*.wmaproj text eol=crlf
71+
*.wwaproj text eol=crlf
72+
*.xproj text eol=crlf
73+
*.zsh text eol=lf
74+
75+
.husky/* text eol=lf
76+
77+
.gvimrc text eol=lf
78+
.vimrc text eol=lf
79+
gradlew text eol=lf
80+
mvnw text eol=lf
81+
phpcs.xml text eol=lf
82+
phpstan.neon text eol=lf
83+
phpunit.xml text eol=lf
84+
psalm.xml text eol=lf

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @hugoalh
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
2+
name: "Bug Report"
3+
description: "Report a bug."
4+
labels:
5+
- "Type/Bug 🐛"
6+
body:
7+
- type: "input"
8+
id: "version"
9+
attributes:
10+
label: "Version"
11+
description: |-
12+
Which version occur this bug? Version must be supported at the time of submit, the supported versions are listed in the Security Policy file `SECURITY.md`.
13+
14+
> [!NOTE]
15+
> - For multiple versions, separate each version with comma-space (`, `), or use versions range syntax from [OSGi](https://docs.osgi.org/whitepaper/semantic-versioning/040-semantic-versions.html) or [SemVer](https://devhints.io/semver).
16+
placeholder: "1.0.2"
17+
validations:
18+
required: true
19+
- type: "textarea"
20+
id: "describe"
21+
attributes:
22+
label: "Describe"
23+
description: |-
24+
What the bug is? If needed, use images, videos, or other media type to help for explain this bug.
25+
26+
> [!NOTE]
27+
> - For external media, please ensure we are able to view those without any extra step.
28+
placeholder: |-
29+
It unable to XXXXXXXX.
30+
validations:
31+
required: true
32+
- type: "input"
33+
id: "behaviour-expected"
34+
attributes:
35+
label: "Behaviour Expected"
36+
description: |-
37+
What things should expected to happen?
38+
placeholder: |-
39+
It should XXXXXXXX.
40+
validations:
41+
required: false
42+
- type: "input"
43+
id: "behaviour-actual"
44+
attributes:
45+
label: "Behaviour Actual"
46+
description: |-
47+
What things happened instead of the expected?
48+
placeholder: |-
49+
It XXXXXXXX.
50+
validations:
51+
required: false
52+
- type: "textarea"
53+
id: "reproduce"
54+
attributes:
55+
label: "To Reproduce"
56+
description: |-
57+
Is this bug reproducible? If reproducible, please show the reproduce steps; If needed, use images, videos, or other media to help for show the reproduce steps.
58+
59+
> [!NOTE]
60+
> - For external media, please ensure we are able to view those without any extra step.
61+
placeholder: |-
62+
1. Go to XXXXXXXX.
63+
2. Click on XXXXXXXX.
64+
3. Scroll to XXXXXXXX.
65+
4. Encounter this bug.
66+
validations:
67+
required: false
68+
- type: "dropdown"
69+
id: "frequency"
70+
attributes:
71+
label: "Frequency"
72+
description: |-
73+
How often does this bug occur?
74+
options:
75+
- "Unknown / Untested"
76+
- "Always (~100%)"
77+
- "Frequently (~75%)"
78+
- "Half (~50%)"
79+
- "Sometimes (~25%)"
80+
- "Rarely (~5%)"
81+
multiple: false
82+
default: 0
83+
validations:
84+
required: true
85+
- type: "textarea"
86+
id: "execution-environment"
87+
attributes:
88+
label: "Execution Environment"
89+
description: |-
90+
How is the execution environment? Different execution environment may have different outcome, provide this information may help for reproduce this bug.
91+
92+
These are common categories:
93+
94+
- **`type`:** Device type (e.g.: `computer`, `phone`, `server`).
95+
- **`cpu`:** Details of the central processing unit (e.g.: `Intel i7-6700`).
96+
- **`ram`:** Details of the random access memory (e.g.: `8 GB`).
97+
- **`storage`:** Details of the storage unit (e.g.: `500 GB SSD`).
98+
- **`network`:** Details of the network.
99+
- **`gpu`:** Details of the graphics processing unit (e.g.: `NVIDIA GeForce RTX 4090`).
100+
- **`os`:** Details of the operate system (e.g.: `Windows 11 Professional 23H2 X64`).
101+
- **`softwares`:** List of the installed softwares (e.g.: `NodeJS 20.6.0 X64`, `Deno 1.36.0 X64`).
102+
- **`env`:** List of the environment variables (e.g.: `NO_COLOR=1`).
103+
104+
> [!NOTE]
105+
> - Accept multiple execution environments.
106+
> - All of the categories are optional.
107+
108+
**\[🖌️ YAML\]**
109+
render: "yml"
110+
validations:
111+
required: false
112+
- type: "textarea"
113+
id: "additional-information"
114+
attributes:
115+
label: "Additional Information"
116+
description: |-
117+
If there have information which relevant to this bug but not suitable at other fields, please list those at here.
118+
validations:
119+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
2+
blank_issues_enabled: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
2+
name: "Documentation Issue"
3+
description: "Report a documentation issue."
4+
labels:
5+
- "Type/Documentation 📓"
6+
body:
7+
- type: "textarea"
8+
id: "document"
9+
attributes:
10+
label: "Document"
11+
description: |-
12+
Which document occur this issue?
13+
14+
> [!NOTE]
15+
> - Accept multiple documents.
16+
placeholder: |-
17+
README.md
18+
validations:
19+
required: true
20+
- type: "textarea"
21+
id: "describe"
22+
attributes:
23+
label: "Describe"
24+
description: |-
25+
What the issue is? If needed, use images, videos, or other media type to help for explain this issue.
26+
27+
> [!NOTE]
28+
> - For external media, please ensure we are able to view those without any extra step.
29+
validations:
30+
required: true
31+
- type: "textarea"
32+
id: "additional-information"
33+
attributes:
34+
label: "Additional Information"
35+
description: |-
36+
If there have information which relevant to this issue but not suitable at other fields, please list those at here.
37+
validations:
38+
required: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-forms.json
2+
name: "Feature Request"
3+
description: "Suggest an idea."
4+
labels:
5+
- "Type/Enhancement 💡"
6+
body:
7+
- type: "textarea"
8+
id: "describe"
9+
attributes:
10+
label: "Describe"
11+
description: |-
12+
What feature do you want? Is your feature request related to a problem? If needed, use images, videos, or other media type to help for explain this feature.
13+
14+
> [!NOTE]
15+
> - For external media, please ensure we are able to view those without any extra step.
16+
validations:
17+
required: true
18+
- type: "input"
19+
id: "behaviour-expected"
20+
attributes:
21+
label: "Behaviour Expected"
22+
description: |-
23+
What things should expected to happen?
24+
placeholder: |-
25+
It should XXXXXXXX.
26+
validations:
27+
required: false
28+
- type: "textarea"
29+
id: "additional-information"
30+
attributes:
31+
label: "Additional Information"
32+
description: |-
33+
If there have information which relevant to this feature but not suitable at other fields, please list those at here.
34+
validations:
35+
required: false

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directories:
6+
- "/"
7+
schedule:
8+
interval: "weekly"
9+
labels:
10+
- "Platform/GitHubActions"
11+
- "Type/Dependency 📦"
12+
pull-request-branch-name:
13+
separator: "/"
14+
cooldown:
15+
default-days: 1

0 commit comments

Comments
 (0)