Skip to content

Commit b0dd6dd

Browse files
initial commit
0 parents  commit b0dd6dd

110 files changed

Lines changed: 10409 additions & 0 deletions

File tree

Some content is hidden

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

.eslintrc.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 2022,
6+
"sourceType": "module",
7+
"ecmaFeatures": {
8+
"jsx": true
9+
}
10+
},
11+
"plugins": ["@typescript-eslint"],
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/recommended"
15+
],
16+
"rules": {
17+
"@typescript-eslint/no-explicit-any": "error",
18+
"@typescript-eslint/no-unused-vars": [
19+
"error",
20+
{
21+
"argsIgnorePattern": "^_",
22+
"varsIgnorePattern": "^_"
23+
}
24+
]
25+
},
26+
"ignorePatterns": ["dist", "build", "node_modules", "*.config.js"]
27+
}
28+

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout
6+
*.ts text eol=lf
7+
*.tsx text eol=lf
8+
*.js text eol=lf
9+
*.jsx text eol=lf
10+
*.json text eol=lf
11+
*.md text eol=lf
12+
*.yml text eol=lf
13+
*.yaml text eol=lf
14+
*.css text eol=lf
15+
*.html text eol=lf
16+
*.sh text eol=lf
17+
18+
# Denote all files that are truly binary and should not be modified
19+
*.png binary
20+
*.jpg binary
21+
*.jpeg binary
22+
*.gif binary
23+
*.ico binary
24+
*.svg binary
25+
*.woff binary
26+
*.woff2 binary
27+
*.ttf binary
28+
*.eot binary
29+

.github/FUNDING.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
14+
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## Description
10+
A clear and concise description of what the bug is.
11+
12+
## Steps to Reproduce
13+
1. Go to '...'
14+
2. Click on '....'
15+
3. Scroll down to '....'
16+
4. See error
17+
18+
## Expected Behavior
19+
A clear and concise description of what you expected to happen.
20+
21+
## Actual Behavior
22+
What actually happened.
23+
24+
## Screenshots
25+
If applicable, add screenshots to help explain your problem.
26+
27+
## Environment
28+
- OS: [e.g. macOS, Windows, Linux]
29+
- Node version: [e.g. 18.0.0]
30+
- pnpm version: [e.g. 8.0.0]
31+
- Browser (if applicable): [e.g. Chrome, Firefox]
32+
33+
## Additional Context
34+
Add any other context about the problem here.
35+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
## Feature Description
10+
A clear and concise description of the feature you'd like to see.
11+
12+
## Use Case
13+
Describe the problem this feature would solve or the use case it would enable.
14+
15+
## Proposed Solution
16+
Describe how you envision this feature working.
17+
18+
## Alternatives Considered
19+
Describe any alternative solutions or features you've considered.
20+
21+
## Additional Context
22+
Add any other context, mockups, or examples about the feature request here.
23+

.github/dependabot.yml

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

.github/pull_request_template.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Description
2+
Brief description of what this PR does.
3+
4+
## Type of Change
5+
- [ ] Bug fix
6+
- [ ] New feature
7+
- [ ] Breaking change
8+
- [ ] Documentation update
9+
10+
## Changes Made
11+
-
12+
-
13+
-
14+
15+
## Testing
16+
- [ ] Tests pass locally
17+
- [ ] TypeScript compiles without errors
18+
- [ ] Linting passes
19+
- [ ] Manual testing completed
20+
21+
## Checklist
22+
- [ ] Code follows the project's style guidelines
23+
- [ ] Self-review completed
24+
- [ ] Comments added for complex code
25+
- [ ] Documentation updated (if needed)
26+
- [ ] No new warnings introduced
27+
28+
## Screenshots (if applicable)
29+
Add screenshots to help explain your changes.
30+
31+
## Related Issues
32+
Closes #
33+

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v2
18+
with:
19+
version: 8
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 18
25+
cache: "pnpm"
26+
27+
- name: Install dependencies
28+
run: pnpm install --frozen-lockfile
29+
30+
- name: Type check
31+
run: pnpm typecheck
32+
33+
- name: Lint
34+
run: pnpm lint
35+
36+
- name: Test
37+
run: pnpm test
38+
39+
- name: Build
40+
run: pnpm build
41+

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy-playground:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: pnpm/action-setup@v2
13+
with:
14+
version: 8
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: 18
18+
cache: "pnpm"
19+
- run: pnpm install --frozen-lockfile
20+
- run: cd apps/playground && pnpm build
21+
- uses: amondnet/vercel-action@v25
22+
with:
23+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
24+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
25+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
26+
vercel-args: "--prod"
27+
working-directory: ./apps/playground
28+

.gitignore

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Dependencies
2+
node_modules/
3+
.pnp
4+
.pnp.js
5+
6+
# Build outputs
7+
dist/
8+
build/
9+
*.tsbuildinfo
10+
tsconfig.tsbuildinfo
11+
12+
# Next.js
13+
.next/
14+
out/
15+
# Note: next-env.d.ts should be committed (it's a TypeScript declaration file)
16+
17+
# Testing
18+
coverage/
19+
.nyc_output/
20+
*.test.js.snap
21+
.vitest/
22+
23+
# Environment
24+
.env
25+
.env.local
26+
.env.development.local
27+
.env.test.local
28+
.env.production.local
29+
.env*.local
30+
31+
# IDE
32+
.vscode/
33+
.idea/
34+
*.swp
35+
*.swo
36+
*~
37+
*.sublime-project
38+
*.sublime-workspace
39+
40+
# OS
41+
.DS_Store
42+
.DS_Store?
43+
._*
44+
.Spotlight-V100
45+
.Trashes
46+
ehthumbs.db
47+
Thumbs.db
48+
Desktop.ini
49+
50+
# Logs
51+
*.log
52+
npm-debug.log*
53+
pnpm-debug.log*
54+
yarn-debug.log*
55+
yarn-error.log*
56+
lerna-debug.log*
57+
58+
# Cache
59+
.cache/
60+
.parcel-cache/
61+
.turbo/
62+
.eslintcache
63+
.stylelintcache
64+
65+
# Temporary files
66+
*.tmp
67+
*.temp
68+
.tmp/
69+
.temp/
70+
71+
# Vercel
72+
.vercel
73+
74+
# TypeScript
75+
*.tsbuildinfo
76+
77+
# Package manager locks (keep pnpm-lock.yaml, ignore others)
78+
package-lock.json
79+
yarn.lock
80+
81+
# Misc
82+
*.pem
83+
*.key

0 commit comments

Comments
 (0)