Skip to content

Commit c8c2a6b

Browse files
koji-nishimuraubugeeei
authored andcommitted
initial commit
0 parents  commit c8c2a6b

65 files changed

Lines changed: 7127 additions & 0 deletions

Some content is hidden

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

.github/workflows/deploy.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Deploy Example to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Bun
25+
uses: oven-sh/setup-bun@v2
26+
with:
27+
bun-version: latest
28+
29+
- name: Install dependencies
30+
run: bun install
31+
32+
- name: Build packages
33+
run: bun run build
34+
35+
- name: Build example
36+
run: bun run --filter example build
37+
38+
- name: Setup Pages
39+
uses: actions/configure-pages@v5
40+
41+
- name: Upload artifact
42+
uses: actions/upload-pages-artifact@v3
43+
with:
44+
path: example/dist
45+
46+
deploy:
47+
environment:
48+
name: github-pages
49+
url: ${{ steps.deployment.outputs.page_url }}
50+
runs-on: ubuntu-latest
51+
needs: build
52+
steps:
53+
- name: Deploy to GitHub Pages
54+
id: deployment
55+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Dependencies
2+
node_modules
3+
.bun
4+
5+
# Build outputs
6+
dist
7+
*.tsbuildinfo
8+
9+
# IDE
10+
.vscode
11+
.idea
12+
13+
# Logs
14+
*.log
15+
16+
# OS files
17+
.DS_Store
18+
Thumbs.db
19+
20+
# Environment
21+
.env
22+
.env.local
23+
.env.*.local
24+
25+
# Cache
26+
.cache
27+
.turbo
28+
29+
# Reference repos (for development only)
30+
__ubugeeei__

.oxfmtrc.jsonc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://oxc.rs/schemas/oxfmtrc.json",
3+
// General formatting options
4+
"indentStyle": "space",
5+
"indentWidth": 2,
6+
"lineWidth": 100,
7+
"endOfLine": "lf",
8+
// Quotes
9+
"quoteStyle": "double",
10+
"jsxQuoteStyle": "double",
11+
"quoteProps": "as-needed",
12+
// Semicolons and trailing commas
13+
"semicolons": "as-needed",
14+
"trailingCommas": "all",
15+
// Brackets
16+
"bracketSpacing": true,
17+
"bracketSameLine": false,
18+
// Arrow functions
19+
"arrowParens": "always",
20+
}

.oxlintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "https://oxc.rs/schemas/oxlintrc.json",
3+
"plugins": ["typescript", "unicorn", "import"],
4+
"env": {
5+
"browser": true,
6+
"es2024": true,
7+
"node": true
8+
},
9+
"rules": {
10+
"no-unused-vars": "off",
11+
"typescript/no-unused-vars": [
12+
"warn",
13+
{
14+
"vars": "all",
15+
"varsIgnorePattern": "^_",
16+
"args": "after-used",
17+
"argsIgnorePattern": "^_"
18+
}
19+
],
20+
"unicorn/prefer-node-protocol": "error",
21+
"import/no-duplicates": "error"
22+
},
23+
"settings": {
24+
"jsx": {
25+
"runtime": "automatic"
26+
}
27+
},
28+
"overrides": [
29+
{
30+
"files": ["**/*.vue"],
31+
"rules": {
32+
"typescript/no-unused-vars": "off"
33+
}
34+
}
35+
],
36+
"ignorePatterns": ["node_modules", "dist", "__ubugeeei__"]
37+
}

0 commit comments

Comments
 (0)