Skip to content

Commit e484fe4

Browse files
authored
feat: rewritten in TypeScript, new API (#296)
BREAKING CHANGE: rewritten in TypeScript, new API
1 parent 5650ea9 commit e484fe4

Some content is hidden

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

50 files changed

+9066
-5584
lines changed

.clean-publish

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

.commitlintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"body-max-line-length": [0]
5+
}
6+
}

.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: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
root = true
22

33
[*]
4-
indent_style = tab
4+
indent_style = space
5+
indent_size = 2
56
charset = utf-8
67
trim_trailing_whitespace = true
78
insert_final_newline = true
8-
9-
[package.json]
10-
indent_style = space
11-
indent_size = 2
12-
13-
[*.md]
14-
indent_style = space
15-
indent_size = 4
16-
trim_trailing_whitespace = false
9+
end_of_line = lf

.eslintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"@trigen/eslint-config",
5+
"@trigen/eslint-config/esm",
6+
"@trigen/eslint-config/typescript",
7+
"@trigen/eslint-config/typescript-requiring-type-checking",
8+
"@trigen/eslint-config/jest"
9+
],
10+
"env": {
11+
"node": true
12+
},
13+
"parserOptions": {
14+
"tsconfigRootDir": "./",
15+
"project": ["./tsconfig.json", "./test/tsconfig.json"]
16+
},
17+
"rules": {
18+
"no-console": "off"
19+
}
20+
}

.eslintrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
id: input1
12+
attributes:
13+
label: Would you like to work on a fix?
14+
options:
15+
- label: Check this if you would like to implement a PR, we are more than happy to help you go through the process.
16+
17+
- type: textarea
18+
attributes:
19+
label: Current and expected behavior
20+
description: A clear and concise description of what the library is doing and what you would expect.
21+
validations:
22+
required: true
23+
24+
- type: input
25+
attributes:
26+
label: Reproduction
27+
description: |
28+
Please provide issue reproduction.
29+
You can give a link to a repository with the reproduction or make a [sandbox](https://codesandbox.io/) and reproduce the issue there.
30+
validations:
31+
required: true
32+
33+
- type: input
34+
attributes:
35+
label: argue-cli version
36+
description: Which version of `argue-cli` are you using?
37+
placeholder: v0.0.0
38+
validations:
39+
required: true
40+
41+
- type: textarea
42+
attributes:
43+
label: Possible solution
44+
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: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
id: input1
11+
attributes:
12+
label: Would you like to work on this feature?
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: What problem are you trying to solve?
19+
description: |
20+
A concise description of what the problem is.
21+
placeholder: |
22+
I have an issue when [...]
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: Describe the solution you'd like
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
attributes:
34+
label: Describe alternatives you've considered
35+
36+
- type: textarea
37+
attributes:
38+
label: Documentation, Adoption, Migration Strategy
39+
description: |
40+
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)