Skip to content

Commit e8b9fcb

Browse files
committed
Initial commit
0 parents  commit e8b9fcb

Some content is hidden

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

49 files changed

+20118
-0
lines changed

.github/workflows/main.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: build-and-test
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
testing:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Build
20+
run: npm run build
21+
- name: lint
22+
run: npm run lint
23+
- name: Test
24+
run: npm run test
25+
- name: Publish Test Report
26+
uses: ctrf-io/github-test-reporter@v1
27+
with:
28+
report-path: './ctrf/*.json'
29+
github-report: true
30+
failed-report: true
31+
flaky-report: true
32+
insights-report: true
33+
fail-rate-report: true
34+
flaky-rate-report: true
35+
slowest-report: true
36+
previous-results-report: true
37+
upload-artifact: true
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
if: always()

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Build output
5+
dist/
6+
7+
# node_modules
8+
node_modules/
9+
10+
# Documentation
11+
docs/
12+
temp-docs/
13+
14+
# IDE
15+
.vscode/
16+
.idea/
17+
*.swp
18+
*.swo
19+
20+
# Coverage
21+
coverage/
22+
23+
# Test reports
24+
ctrf/
25+
test-data/

CHANGELOG.md

Whitespace-only changes.

CONTRIBUTING.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Contributing
2+
3+
First off, thank you for considering contributing to this project.
4+
5+
## Reporting Issues
6+
7+
Before submitting an issue, please check the issue tracker to ensure that the issue hasn't already been reported. If you find your issue already reported, you can subscribe to that issue to receive updates. If you have any additional information to add, please comment on the issue. If the issue is unnasigned and you'd like to contribute, assign the issue to yourself.
8+
9+
## How to Contribute
10+
11+
If you'd like to contribute, start by searching through the issues and pull requests to see whether someone else has raised a similar idea or question.
12+
13+
If you don't see your idea listed, and you think it fits into the goals of this project, do one of the following:
14+
15+
- If your contribution is minor, such as a typo fix, open a pull request.
16+
- If your contribution is major, or you have not yet decided how to implement your idea, open an issue to discuss it. This allows other contributors to point out any potential flaws or to help you flesh out your idea.
17+
18+
### Pull Requests
19+
20+
1. Fork the repository
21+
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
22+
3. Add your changes and include TSDoc comments for any new helpers
23+
4. Run tests (`npm test`)
24+
5. Run linting (`npm run lint`)
25+
6. Update documentation (`npm run docs:readme`)
26+
7. Commit your changes (`git commit -m 'Add some amazing feature'`)
27+
8. Push to the branch (`git push origin feature/amazing-feature`)
28+
9. Open a Pull Request
29+
30+
### Commit Messages
31+
32+
Write meaningful commit messages that provide insight into the changes made.
33+
34+
## Finding Bugs
35+
36+
If you find a bug, please report it in the issue tracker with a detailed description.
37+
38+
## Feature Requests
39+
40+
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. Please provide as much detail and context as possible.
41+
42+
## License
43+
44+
By contributing to this project, you agree that your contributions will be licensed under MIT.
45+
46+
## Acknowledgments
47+
48+
Your contributions are sincerely appreciated. We want to make contributing to this project as easy and transparent as possible, whether it's:
49+
50+
- Reporting a bug
51+
- Discussing the current state of the code
52+
- Submitting a fix
53+
- Proposing new features
54+
55+
Thank you for your interest in contributing

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Matthew Thomas
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)