Skip to content

Commit cd76f01

Browse files
committed
chore: project refactor
1 parent a511609 commit cd76f01

File tree

127 files changed

+7358
-28404
lines changed

Some content is hidden

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

127 files changed

+7358
-28404
lines changed

.all-contributorsrc

Lines changed: 186 additions & 279 deletions
Large diffs are not rendered by default.

.editorconfig

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: CI Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test-node:
7+
name: Test on Node.js (${{ matrix.node-version }})
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version: [16, 18, 20, 22]
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Install dependencies
23+
run: bun install
24+
25+
- name: Run tests
26+
run: npm run test
27+
28+
test-bun:
29+
name: Test on Bun (latest)
30+
runs-on: ubuntu-latest
31+
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
36+
- name: Install Bun
37+
uses: oven-sh/setup-bun@v1
38+
39+
- name: Install dependencies
40+
run: bun install
41+
42+
- name: Run tests
43+
run: bun test
44+
45+
test-browsers:
46+
name: Test on Browsers (${{ matrix.browser }} (latest)
47+
runs-on: ubuntu-latest
48+
strategy:
49+
matrix:
50+
browser: [edge, chrome, firefox]
51+
52+
steps:
53+
- name: Checkout code
54+
uses: actions/checkout@v4
55+
56+
- name: Install dependencies
57+
run: npm install
58+
59+
- name: Run tests in ${{ matrix.browser }}
60+
run: npm run test:${{ matrix.browser }}-browser
61+
62+
test-safari:
63+
name: Test on Safari
64+
runs-on: macos-latest
65+
66+
steps:
67+
- name: Checkout code
68+
uses: actions/checkout@v4
69+
70+
- name: Install dependencies
71+
run: npm install
72+
73+
- name: Run tests in Safari
74+
run: npm run test:safari-browser

.release-it.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

biome.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": []
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab"
15+
},
16+
"organizeImports": {
17+
"enabled": true
18+
},
19+
"linter": {
20+
"enabled": true,
21+
"rules": {
22+
"recommended": true
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "double"
28+
}
29+
}
30+
}

bun.lock

Lines changed: 815 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)