Skip to content

Commit 9384d2a

Browse files
init
0 parents  commit 9384d2a

Some content is hidden

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

63 files changed

+7481
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
9+
[*.md]
10+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto eol=lf
2+
3+
# Keep lockfiles stable across platforms
4+
package-lock.json text eol=lf
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Bug report
3+
about: Report a bug
4+
labels: [bug]
5+
---
6+
7+
## What happened?
8+
9+
## Expected behavior
10+
11+
## Steps to reproduce
12+
13+
## Environment
14+
15+
- Node version:
16+
- OS:
17+
18+
## Additional context
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea
4+
labels: [enhancement]
5+
---
6+
7+
## Problem statement
8+
9+
## Proposed solution
10+
11+
## Alternatives considered
12+
13+
## Additional context

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10

.github/pull_request_template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Summary
2+
3+
## Changes
4+
5+
## How to test
6+
7+
- `npm test`
8+
9+
## Checklist
10+
11+
- [ ] I ran `npm test`
12+
- [ ] I updated docs/README if needed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 22
18+
cache: npm
19+
20+
- name: Install
21+
run: npm ci
22+
23+
- name: Test
24+
run: npm test
25+
26+
- name: Build
27+
run: npm run build

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# dependencies
2+
node_modules/
3+
4+
# build output
5+
dist/
6+
7+
# logs
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
pnpm-debug.log*
12+
13+
# environment files
14+
.env
15+
.env.*
16+
17+
# OS / editor
18+
.DS_Store
19+
.idea/
20+
.vscode/
21+
22+
# misc
23+
*.tsbuildinfo

CODE_OF_CONDUCT.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Code of Conduct
2+
3+
This project follows the Contributor Covenant Code of Conduct.
4+
5+
## Our pledge
6+
7+
We pledge to make participation in our community a harassment-free experience for everyone.
8+
9+
## Our standards
10+
11+
Examples of behavior that contributes to a positive environment include:
12+
13+
- Being respectful and considerate
14+
- Gracefully accepting constructive feedback
15+
- Focusing on what is best for the community
16+
17+
Examples of unacceptable behavior include:
18+
19+
- Harassment, discrimination, or derogatory comments
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Publishing others' private information
22+
23+
## Enforcement
24+
25+
Project maintainers are responsible for clarifying standards and taking appropriate action.
26+
27+
## Attribution
28+
29+
This Code of Conduct is adapted from the Contributor Covenant, version 2.1:
30+
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>

CONTRIBUTING.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Contributing
2+
3+
Thanks for your interest in contributing!
4+
5+
## Development setup
6+
7+
1. Install Node.js (>= 22)
8+
2. Install dependencies: `npm install`
9+
3. Run checks: `npm test`
10+
4. Build: `npm run build`
11+
12+
## Pull requests
13+
14+
- Keep changes focused and easy to review.
15+
- Include a clear description of the problem and the approach.
16+
- Add/adjust tests when applicable.
17+
- Ensure `npm test` passes.

0 commit comments

Comments
 (0)