Skip to content

Commit e8e8e02

Browse files
committed
chore: init
0 parents  commit e8e8e02

26 files changed

+553
-0
lines changed

.clean-publish

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

.commitlintrc.js

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

.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

.eslintrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"@trigen/eslint-config",
5+
"@trigen/eslint-config/tsm",
6+
"@trigen/eslint-config/esm",
7+
"@trigen/eslint-config/jest"
8+
],
9+
"env": {
10+
"node": true
11+
},
12+
"ignorePatterns": [
13+
"packages/*/dist/**/*"
14+
]
15+
}

.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

0 commit comments

Comments
 (0)