Skip to content

Commit 9bb8f26

Browse files
buttercubzghaerdi
andauthored
version v1.10.0 (#110)
* fix: http url error * feat: check if a dependency is outdate * chore: update to [email protected] * fix: undefined error on string * chore: format (#108) * chore: update to [email protected] Co-authored-by: Gil Rudolf Härdi <[email protected]>
1 parent daae8e5 commit 9bb8f26

33 files changed

+729
-458
lines changed

.githooks/pre-push

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
# test
4+
deno test -A --unstable --import-map=./import_map.json
5+
6+
# format the code and commit it
7+
deno fmt
8+
9+
# commit the code when it's formatted
10+
git add .
11+
git diff --quiet && git diff --staged --quiet || git commit -m "format"

.githooks/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
run the next command in the project directory to add those hooks to the repo
2+
locally:
3+
4+
```console
5+
cp -a .githooks/. .git/hooks/
6+
```
7+
8+
Check if all files are copied succesfully
9+
10+
```console
11+
ls .git/hooks/
12+
```

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,24 @@ assignees: ''
77

88
---
99

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
10+
**Describe the bug** A clear and concise description of what the bug is.
11+
12+
**To Reproduce** Steps to reproduce the behavior:
1213

13-
**To Reproduce**
14-
Steps to reproduce the behavior:
1514
1. Go to '...'
1615
2. Click on '....'
1716
3. Scroll down to '....'
1817
4. See error
1918

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
19+
**Expected behavior** A clear and concise description of what you expected to
20+
happen.
2221

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
22+
**Screenshots** If applicable, add screenshots to help explain your problem.
2523

2624
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Deno version: [e.g. 1.11.5]
29-
- Trex Version [e.g. 1.8.0]
3025

26+
- OS: [e.g. iOS]
27+
- Deno version: [e.g. 1.11.5]
28+
- Trex Version [e.g. 1.8.0]
3129

32-
**Additional context**
33-
Add any other context about the problem here.
30+
**Additional context** Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ assignees: ''
77

88
---
99

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
**Is your feature request related to a problem? Please describe.** A clear and
11+
concise description of what the problem is. Ex. I'm always frustrated when [...]
1212

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
13+
**Describe the solution you'd like** A clear and concise description of what you
14+
want to happen.
1515

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
16+
**Describe alternatives you've considered** A clear and concise description of
17+
any alternative solutions or features you've considered.
1818

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
19+
**Additional context** Add any other context or screenshots about the feature
20+
request here.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest, windows-latest]
20-
deno: [1.13.0]
20+
deno: [1.15.3]
2121
name: Trex cli test
2222
steps:
2323
- uses: actions/checkout@master

CODE_OF_CONDUCT.md

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
In the interest of fostering an open and welcoming environment, we as
66
contributors and maintainers pledge to making participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
10-
appearance, race, religion, or sexual identity and orientation.
8+
size, disability, ethnicity, sex characteristics, gender identity and
9+
expression, level of experience, education, socio-economic status, nationality,
10+
personal appearance, race, religion, or sexual identity and orientation.
1111

1212
## Our Standards
1313

1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

3636
Project maintainers are responsible for clarifying the standards of acceptable
3737
behavior and are expected to take appropriate and fair corrective action in
3838
response to any instances of unacceptable behavior.
3939

40-
Project maintainers have the right and responsibility to remove, edit, or
41-
reject comments, commits, code, wiki edits, issues, and other contributions
42-
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviors that they deem inappropriate,
44-
threatening, offensive, or harmful.
40+
Project maintainers have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43+
contributor for other behaviors that they deem inappropriate, threatening,
44+
offensive, or harmful.
4545

4646
## Scope
4747

@@ -55,20 +55,21 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
58+
reported by contacting the project team at [email protected]. All complaints
59+
will be reviewed and investigated and will result in a response that is deemed
60+
necessary and appropriate to the circumstances. The project team is obligated to
61+
maintain confidentiality with regard to the reporter of an incident. Further
62+
details of specific enforcement policies may be posted separately.
6363

6464
Project maintainers who do not follow or enforce the Code of Conduct in good
6565
faith may face temporary or permanent repercussions as determined by other
6666
members of the project's leadership.
6767

6868
## Attribution
6969

70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
71+
version 1.4, available at
72+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
7273

7374
[homepage]: https://www.contributor-covenant.org
7475

CONTRIBUTING.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
1111

12-
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:
12+
Pull requests are the best way to propose changes to the codebase (we use
13+
[Github Flow](https://guides.github.com/introduction/flow/index.html)). We
14+
actively welcome your pull requests:
1315

1416
1. Fork the repo and create your branch from `master`.
1517
2. If you've added code that should be tested, add tests.
@@ -20,11 +22,15 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
2022

2123
## Any contributions you make will be under the MIT Software License
2224

23-
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
25+
In short, when you submit code changes, your submissions are understood to be
26+
under the same [MIT License](http://choosealicense.com/licenses/mit/) that
27+
covers the project. Feel free to contact the maintainers if that's a concern.
2428

2529
## Report bugs using Github's [issues](https://github.com/crewdevio/Trex/issues/)
2630

27-
Report a bug by [opening a new issue](https://github.com/crewdevio/Trex/issues/new/choose); it's that easy!
31+
Report a bug by
32+
[opening a new issue](https://github.com/crewdevio/Trex/issues/new/choose); it's
33+
that easy!
2834

2935
## Write bug reports with detail, background, and sample code
3036

@@ -33,20 +39,24 @@ Report a bug by [opening a new issue](https://github.com/crewdevio/Trex/issues/n
3339
- A quick summary and/or background
3440
- Steps to reproduce
3541
- Be specific!
36-
- Give sample code if you can. includes sample code that _anyone_ with a base R setup can run to reproduce what I was seeing
42+
- Give sample code if you can. includes sample code that _anyone_ with a base
43+
R setup can run to reproduce what I was seeing
3744
- What you expected would happen
3845
- What actually happens
3946

4047
## Use a Consistent Coding Style
4148

4249
- You can use the extension prettier with the default setting
4350
- All the imports should be in-line and a pyramide
44-
- For commits we now implement [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/)
51+
- For commits we now implement
52+
[conventional commits](https://www.conventionalcommits.org/en/v1.0.0/)
4553

4654
## License
4755

48-
By contributing, you agree that your contributions will be licensed under its MIT License.
56+
By contributing, you agree that your contributions will be licensed under its
57+
MIT License.
4958

5059
## References
5160

52-
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)
61+
This document was adapted from the open-source contribution guidelines for
62+
[Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md)

0 commit comments

Comments
 (0)