Skip to content

Commit 1f74881

Browse files
committed
initial commit
0 parents  commit 1f74881

48 files changed

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

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_style = tab
7+
tab_width = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{md,yml,yaml,toml}]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

.eslintrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"@calmdownval/eslint-config/js",
5+
"@calmdownval/eslint-config/js/stylistic",
6+
"@calmdownval/eslint-config/js/import",
7+
"@calmdownval/eslint-config/ts",
8+
"@calmdownval/eslint-config/ts/stylistic",
9+
"@calmdownval/eslint-config/ts/import"
10+
],
11+
"parserOptions": {
12+
"project": "./packages/*/tsconfig.json"
13+
},
14+
"settings": {
15+
"import/resolver": {
16+
"@calmdownval/eslint-import-resolver": {
17+
"project": "./packages/*/tsconfig.json"
18+
}
19+
}
20+
}
21+
}

.github/workflows/verify.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Verify And Build
2+
on:
3+
push:
4+
branches: [ master ]
5+
6+
jobs:
7+
verify_and_build:
8+
name: Verify
9+
runs-on: ubuntu-latest
10+
steps:
11+
12+
- name: Checkout the repository
13+
uses: actions/checkout@v4
14+
15+
- name: Get Yarn cache directory path
16+
id: yarn-cache-dir-path
17+
run: echo "::set-output name=dir::$(yarn cache dir)"
18+
19+
- name: Setup Yarn cache
20+
uses: actions/cache@v4
21+
with:
22+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
23+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
24+
restore-keys: |
25+
${{ runner.os }}-yarn-
26+
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile
29+
30+
- name: TypeScript check
31+
run: yarn run typecheck
32+
33+
- name: ESLint check
34+
run: yarn run lint
35+
36+
- name: Build the project
37+
run: yarn run build
38+
39+
- name: Upload build artifacts
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: build-artifacts
43+
retention-days: 7
44+
path: build/
45+
46+
summary:
47+
runs-on: ubuntu-latest
48+
if: ${{ !cancelled() && secrets.WEBHOOK_DISCORD != '' }}
49+
needs: [ verify_and_build ]
50+
steps:
51+
52+
- name: Trigger Webhook
53+
uses: CalmDownVal/webhook-summary@v1
54+
with:
55+
token: ${{ github.token }}
56+
url: ${{ secrets.WEBHOOK_DISCORD }}

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Build artifacts
2+
dist
3+
4+
# Yarn
5+
.yarn/*
6+
!.yarn/patches
7+
!.yarn/plugins
8+
!.yarn/releases
9+
!.yarn/sdks
10+
!.yarn/versions
11+
12+
# MacOS Finder files
13+
.DS_Store

.pnp.cjs

Lines changed: 12087 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)