Skip to content

Commit 80cba94

Browse files
committed
feat: 3.0.0
- major rewrite to utilize rsc
1 parent e6a0e64 commit 80cba94

File tree

138 files changed

+8860
-50233
lines changed

Some content is hidden

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

138 files changed

+8860
-50233
lines changed

.eslintignore

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

.eslintrc

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

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: "🐛 Bug report"
2-
title: "[BUG] - YOUR_BUG_TITLE_HERE_REPLACE_ME"
1+
name: '🐛 Bug report'
2+
title: '[BUG] - YOUR_BUG_TITLE_HERE_REPLACE_ME'
33
labels: [bug]
44
description: Create a report to help us improve
55
body:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Feature request
2-
title: "[Feature Request] YOUR_FEATURE_TITLE_HERE_REPLACE_ME"
2+
title: '[Feature Request] YOUR_FEATURE_TITLE_HERE_REPLACE_ME'
33
labels: [feature request]
44
description: |
55
💡 Suggest an idea for the `deploy.sh` project

.github/workflows/ci.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js CI
1+
name: CI
22

33
on:
44
push:
@@ -9,19 +9,21 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
node-version: [16.x]
15-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1612
steps:
17-
- uses: actions/checkout@v2
18-
- name: Use Node.js ${{ matrix.node-version }}
19-
uses: actions/setup-node@v2
13+
- uses: actions/checkout@v4
14+
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: 10
18+
19+
- uses: actions/setup-node@v4
2020
with:
21-
node-version: ${{ matrix.node-version }}
22-
cache: "npm"
23-
- run: npm i -g npm@7
24-
- run: npm ci
25-
- run: npm run build --if-present
26-
- run: npm test
21+
node-version: 22
22+
cache: pnpm
2723

24+
- run: pnpm install --frozen-lockfile
25+
- run: pnpm run typecheck
26+
- run: pnpm run lint
27+
- run: pnpm run format:check
28+
- run: pnpm test
29+
- run: pnpm run build

.github/workflows/pages.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
name: Deploy docusaurus with GitHub Pages dependencies preinstalled
1+
name: Deploy Docs to GitHub Pages
22

33
on:
4-
# Runs on pushes targeting the default branch
54
push:
6-
branches: ['main']
7-
8-
# Allows you to run this workflow manually from the Actions tab
5+
branches: [main]
96
workflow_dispatch:
107

11-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
128
permissions:
139
contents: read
1410
pages: write
1511
id-token: write
1612

17-
# Allow one concurrent deployment
1813
concurrency:
19-
group: 'pages'
14+
group: pages
2015
cancel-in-progress: true
2116

2217
jobs:
23-
# Build job
2418
build:
2519
runs-on: ubuntu-latest
2620
steps:
27-
- name: Checkout
28-
uses: actions/checkout@v3
29-
- name: Setup Pages
30-
uses: actions/configure-pages@v1
31-
- uses: volta-cli/action@v1
32-
- run: cd website && npm install && npm run build
33-
- name: Upload artifact
34-
uses: actions/upload-pages-artifact@v1
21+
- uses: actions/checkout@v4
22+
23+
- uses: pnpm/action-setup@v4
24+
with:
25+
version: 10
26+
27+
- uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
30+
cache: pnpm
31+
32+
- run: pnpm install --frozen-lockfile
33+
34+
- run: pnpm run build:docs
35+
36+
- uses: actions/upload-pages-artifact@v3
3537
with:
36-
path: website/build
38+
path: dist-docs
3739

38-
# Deployment job
3940
deploy:
41+
needs: build
42+
runs-on: ubuntu-latest
4043
environment:
4144
name: github-pages
4245
url: ${{ steps.deployment.outputs.page_url }}
43-
runs-on: ubuntu-latest
44-
needs: build
4546
steps:
46-
- name: Deploy to GitHub Pages
47-
id: deployment
48-
uses: actions/deploy-pages@v1
47+
- id: deployment
48+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
node_modules
2-
coverage
3-
.nyc_output
1+
node_modules/
2+
dist/
3+
dist-docs/
44
.DS_Store
5-
npm-debug.log
6-
tmp
75
*.tgz
8-
packed
6+
.env
7+
.env.local
8+
.vite/
9+
.deploy-data/

.husky/pre-commit

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

.oxfmtrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"printWidth": 100,
6+
"trailingComma": "all"
7+
}

.oxlintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"plugins": ["react", "typescript"],
4+
"categories": {
5+
"correctness": "error",
6+
"suspicious": "warn"
7+
},
8+
"rules": {
9+
"react-in-jsx-scope": "off"
10+
}
11+
}

0 commit comments

Comments
 (0)