Skip to content

Commit be2a58c

Browse files
committed
chore: project base
0 parents  commit be2a58c

26 files changed

Lines changed: 3959 additions & 0 deletions

.clean-publish

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"withoutPublish": true,
3+
"tempDir": "package",
4+
"fields": ["scripts", "publishConfig"]
5+
}

.commitlintrc.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import scopes from '@commitlint/config-pnpm-scopes'
2+
3+
export default {
4+
extends: ['@commitlint/config-conventional', '@commitlint/config-pnpm-scopes'],
5+
rules: {
6+
'body-max-line-length': [0],
7+
'header-max-length': [0],
8+
'scope-enum': async (ctx) => {
9+
const scopeEnum = await scopes.rules['scope-enum'](ctx)
10+
11+
return [
12+
scopeEnum[0],
13+
scopeEnum[1],
14+
[
15+
...scopeEnum[2],
16+
'deps',
17+
'dev-deps',
18+
'release'
19+
]
20+
]
21+
}
22+
},
23+
prompt: {
24+
settings: {
25+
enableMultipleScopes: true
26+
}
27+
}
28+
}

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "@commitlint/cz-commitlint"
3+
}

.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+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ko_fi: dangreen
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: "🐛 Bug Report"
2+
description: "If something isn't working as expected."
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
9+
10+
- type: checkboxes
11+
attributes:
12+
label: Would you like to work on a fix?
13+
options:
14+
- label: Check this if you would like to implement a PR, we are more than happy to help you go through the process.
15+
16+
- type: textarea
17+
attributes:
18+
label: Current and expected behavior
19+
description: A clear and concise description of what the library is doing and what you would expect.
20+
validations:
21+
required: true
22+
23+
- type: input
24+
attributes:
25+
label: Reproduction
26+
description: |
27+
Please provide issue reproduction.
28+
You can give a link to a repository with the reproduction or make a [sandbox](https://codesandbox.io/) and reproduce the issue there.
29+
validations:
30+
required: true
31+
32+
- type: input
33+
attributes:
34+
label: package name
35+
description: What package are you using?
36+
validations:
37+
required: true
38+
39+
- type: input
40+
attributes:
41+
label: package version
42+
description: Which version of the package are you using?
43+
placeholder: v0.0.0
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
attributes:
49+
label: Possible solution
50+
description: If you have suggestions on a fix for the bug.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "🚀 Feature Request"
2+
description: "I have a specific suggestion!"
3+
labels: ["enhancement"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thanks for taking the time to suggest a new feature! Please fill out this form as completely as possible.
8+
9+
- type: checkboxes
10+
attributes:
11+
label: Would you like to work on this feature?
12+
options:
13+
- label: Check this if you would like to implement a PR, we are more than happy to help you go through the process.
14+
15+
- type: textarea
16+
attributes:
17+
label: What problem are you trying to solve?
18+
description: |
19+
A concise description of what the problem is.
20+
placeholder: |
21+
I have an issue when [...]
22+
validations:
23+
required: true
24+
25+
- type: textarea
26+
attributes:
27+
label: Describe the solution you'd like
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
attributes:
33+
label: Describe alternatives you've considered
34+
35+
- type: textarea
36+
attributes:
37+
label: Documentation, Adoption, Migration Strategy
38+
description: |
39+
If you can, explain how users will be able to use this and how it might be documented. Maybe a mock-up?
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: "❓ Question"
2+
description: "Have a Question?"
3+
labels: ["question"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Describe your question
8+
validations:
9+
required: true

.github/renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"config:recommended",
4+
":preserveSemverRanges"
5+
]
6+
}

0 commit comments

Comments
 (0)