Skip to content

Commit 34b7c5e

Browse files
committed
feat: initial commit
1 parent 7dea723 commit 34b7c5e

32 files changed

+7098
-0
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = 100
10+
quote_type = single
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
*.go -text diff=golang
5+
6+
*.rs text diff=rust
7+
*.toml text diff=toml
8+
Cargo.lock text
9+
10+
*.pxd text diff=python
11+
*.py text diff=python
12+
*.py3 text diff=python
13+
*.pyw text diff=python
14+
*.pyx text diff=python
15+
*.pyz text diff=python
16+
*.pyi text diff=python
17+
*.ipynb text eol=lf
18+
19+
*.db binary
20+
*.p binary
21+
*.pkl binary
22+
*.pickle binary
23+
*.pyc binary export-ignore
24+
*.pyo binary export-ignore
25+
*.pyd binary
26+
27+
# Source code
28+
*.bash text eol=lf
29+
*.bat text eol=crlf
30+
*.cmd text eol=crlf
31+
*.coffee text
32+
*.css text diff=css
33+
*.htm text diff=html
34+
*.html text diff=html
35+
*.inc text
36+
*.ini text
37+
*.js text
38+
*.json text
39+
*.jsx text
40+
*.less text
41+
*.ls text
42+
*.map text -diff
43+
*.od text
44+
*.onlydata text
45+
*.php text diff=php
46+
*.pl text
47+
*.ps1 text eol=crlf
48+
*.py text diff=python
49+
*.rb text diff=ruby
50+
*.sass text
51+
*.scm text
52+
*.scss text diff=css
53+
*.sh text eol=lf
54+
.husky/* text eol=lf
55+
*.sql text
56+
*.styl text
57+
*.tag text
58+
*.ts text
59+
*.tsx text
60+
*.xml text
61+
*.xhtml text diff=html
62+
63+
# Docker
64+
Dockerfile text
65+
66+
# Documentation
67+
*.markdown text diff=markdown
68+
*.md text diff=markdown
69+
*.mdwn text diff=markdown
70+
*.mdown text diff=markdown
71+
*.mkd text diff=markdown
72+
*.mkdn text diff=markdown
73+
*.mdtxt text
74+
*.mdtext text
75+
*.txt text
76+
AUTHORS text
77+
CHANGELOG text
78+
CHANGES text
79+
CONTRIBUTING text
80+
COPYING text
81+
copyright text
82+
*COPYRIGHT* text
83+
INSTALL text
84+
license text
85+
LICENSE text
86+
NEWS text
87+
readme text
88+
*README* text
89+
TODO text
90+
91+
# Templates
92+
*.dot text
93+
*.ejs text
94+
*.erb text
95+
*.haml text
96+
*.handlebars text
97+
*.hbs text
98+
*.hbt text
99+
*.jade text
100+
*.latte text
101+
*.mustache text
102+
*.njk text
103+
*.phtml text
104+
*.svelte text
105+
*.tmpl text
106+
*.tpl text
107+
*.twig text
108+
*.vue text
109+
110+
# Configs
111+
*.cnf text
112+
*.conf text
113+
*.config text
114+
.editorconfig text
115+
.env text
116+
.gitconfig text
117+
.htaccess text
118+
*.lock text -diff
119+
package.json text eol=lf
120+
package-lock.json text eol=lf -diff
121+
pnpm-lock.yaml text eol=lf -diff
122+
.prettierrc text
123+
yarn.lock text -diff
124+
*.toml text
125+
*.yaml text
126+
*.yml text
127+
browserslist text
128+
Makefile text
129+
makefile text
130+
# Fixes syntax highlighting on GitHub to allow comments
131+
tsconfig.json linguist-language=JSON-with-Comments
132+
133+
# Heroku
134+
Procfile text
135+
136+
# Graphics
137+
*.ai binary
138+
*.bmp binary
139+
*.eps binary
140+
*.gif binary
141+
*.gifv binary
142+
*.ico binary
143+
*.jng binary
144+
*.jp2 binary
145+
*.jpg binary
146+
*.jpeg binary
147+
*.jpx binary
148+
*.jxr binary
149+
*.pdf binary
150+
*.png binary
151+
*.psb binary
152+
*.psd binary
153+
# SVG treated as an asset (binary) by default.
154+
*.svg text
155+
# If you want to treat it as binary,
156+
# use the following line instead.
157+
# *.svg binary
158+
*.svgz binary
159+
*.tif binary
160+
*.tiff binary
161+
*.wbmp binary
162+
*.webp binary
163+
164+
# Audio
165+
*.kar binary
166+
*.m4a binary
167+
*.mid binary
168+
*.midi binary
169+
*.mp3 binary
170+
*.ogg binary
171+
*.ra binary
172+
173+
# Video
174+
*.3gpp binary
175+
*.3gp binary
176+
*.as binary
177+
*.asf binary
178+
*.asx binary
179+
*.avi binary
180+
*.fla binary
181+
*.flv binary
182+
*.m4v binary
183+
*.mng binary
184+
*.mov binary
185+
*.mp4 binary
186+
*.mpeg binary
187+
*.mpg binary
188+
*.ogv binary
189+
*.swc binary
190+
*.swf binary
191+
*.webm binary
192+
193+
# Archives
194+
*.7z binary
195+
*.gz binary
196+
*.jar binary
197+
*.rar binary
198+
*.tar binary
199+
*.zip binary
200+
201+
# Fonts
202+
*.ttf binary
203+
*.eot binary
204+
*.otf binary
205+
*.woff binary
206+
*.woff2 binary
207+
208+
# Executables
209+
*.exe binary
210+
# Prevents massive diffs caused by vendored, minified files
211+
**/.yarn/releases/** binary
212+
**/.yarn/plugins/** binary
213+
214+
# RC files (like .babelrc or .eslintrc)
215+
*.*rc text
216+
217+
# Ignore files (like .npmignore or .gitignore)
218+
*.*ignore text
219+
220+
.gitattributes text export-ignore
221+
.gitignore text export-ignore
222+
.gitkeep text export-ignore

.github/codecov.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
comment: false
2+
github_checks:
3+
annotations: true
4+
5+
coverage:
6+
precision: 2
7+
range: '20...60'
8+
round: down
9+
status:
10+
changes: false
11+
patch:
12+
default:
13+
informational: true
14+
project:
15+
default:
16+
target: auto
17+
threshold: 5%

.github/dependabot.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
3+
updates:
4+
- directory: '/'
5+
groups:
6+
actions:
7+
update-types:
8+
- 'minor'
9+
- 'patch'
10+
labels:
11+
- 'dependencies'
12+
- 'github-actions'
13+
package-ecosystem: 'github-actions'
14+
schedule:
15+
day: saturday
16+
interval: weekly
17+
time: '07:00'
18+
timezone: Etc/UTC

.github/renovate.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
extends: ['github>escapace/renovate-configuration'],
3+
}

.github/workflows/ci.yaml

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+
pull_request:
5+
branches:
6+
- trunk
7+
paths-ignore:
8+
- README.md
9+
- LICENSE
10+
push:
11+
branches:
12+
- trunk
13+
paths-ignore:
14+
- README.md
15+
- LICENSE
16+
17+
permissions:
18+
contents: read
19+
packages: read
20+
21+
env:
22+
# 7 GiB by default on GitHub, setting to 6 GiB
23+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
24+
NODE_OPTIONS: --max-old-space-size=6144
25+
26+
jobs:
27+
context:
28+
uses: escapace/workflows/.github/workflows/context.yaml@trunk
29+
30+
ci-typescript:
31+
needs:
32+
- context
33+
secrets:
34+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35+
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
36+
with:
37+
enable-codecov: ${{ !github.event.repository.private }}
38+
node-version: ${{ needs.context.outputs.node-version }}
39+
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
40+
ref: ${{ needs.context.outputs.ref }}
41+
version: ${{ needs.context.outputs.version }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: codeql-analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- trunk
7+
paths-ignore:
8+
- README.md
9+
- LICENSE
10+
11+
permissions:
12+
contents: read
13+
packages: read
14+
15+
jobs:
16+
context:
17+
uses: escapace/workflows/.github/workflows/context.yaml@trunk
18+
19+
codeql-analysis:
20+
needs:
21+
- context
22+
permissions:
23+
actions: read
24+
contents: read
25+
packages: read
26+
security-events: write
27+
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
28+
with:
29+
enable-codeql: true
30+
enable-test: false
31+
node-version: ${{ needs.context.outputs.node-version }}
32+
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
33+
ref: ${{ needs.context.outputs.ref }}
34+
version: ${{ needs.context.outputs.version }}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: dependency-review
2+
3+
on:
4+
- pull_request
5+
6+
permissions: {}
7+
8+
jobs:
9+
dependency-review:
10+
permissions:
11+
contents: read
12+
uses: escapace/workflows/.github/workflows/dependency-review.yaml@trunk

0 commit comments

Comments
 (0)