Skip to content

Commit b99071f

Browse files
committed
first commit
0 parents  commit b99071f

183 files changed

Lines changed: 19395 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.

.editorconfig

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

.github/dependabot.yml

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

.github/workflows/lint-ignored.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Lint ignored
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
6+
on:
7+
pull_request:
8+
paths-ignore:
9+
- 'packages/**/*'
10+
11+
concurrency:
12+
group: lint-ignored-${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
lint:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- run: exit 0

.github/workflows/lint.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Lint
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- 'packages/**/*'
12+
pull_request:
13+
paths:
14+
- 'packages/**/*'
15+
16+
concurrency:
17+
group: lint-${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
lint:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
- name: Enable Corepack
28+
run: corepack enable
29+
- uses: actions/setup-node@v4
30+
with:
31+
node-version: 24
32+
cache: yarn
33+
- uses: actions/cache@v4
34+
with:
35+
path: node_modules
36+
key: yarn-cache-${{ hashFiles('yarn.lock') }}
37+
- name: Install Dependencies
38+
run: yarn install --immutable
39+
- name: Run lint
40+
run: yarn lint

.github/workflows/test-ignored.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test ignored
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
6+
on:
7+
pull_request:
8+
paths-ignore:
9+
- 'packages/**/*'
10+
11+
concurrency:
12+
group: test-ignored-${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- run: exit 0

.github/workflows/test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test
2+
permissions:
3+
contents: read
4+
pull-requests: write
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
paths:
11+
- 'packages/template/**/*'
12+
pull_request:
13+
paths:
14+
- 'packages/template/**/*'
15+
16+
concurrency:
17+
group: test-${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
test:
22+
runs-on: ubuntu-latest
23+
permissions:
24+
contents: write
25+
pull-requests: write
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
- name: Enable Corepack
31+
run: corepack enable
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 24
35+
cache: yarn
36+
- uses: actions/cache@v4
37+
with:
38+
path: node_modules
39+
key: yarn-cache-${{ hashFiles('yarn.lock') }}
40+
- name: Install Dependencies
41+
run: yarn install --immutable
42+
- name: Run test
43+
run: yarn test --coverage

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
coverage
2+
dist
3+
node_modules
4+
.yarn/*
5+
*.local
6+
*.log
7+
yarn-debug.log*
8+
yarn-error.log*
9+
.DS_Store

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
yarn lint --fix
2+
CI=true yarn test

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24

.oxlintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"env": {
3+
"browser": true
4+
},
5+
"globals": {},
6+
"settings": {},
7+
"rules": {}
8+
}

0 commit comments

Comments
 (0)