Skip to content

Commit 2d53b1f

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 042a006 + cd21860 commit 2d53b1f

File tree

330 files changed

+30764
-22115
lines changed

Some content is hidden

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

330 files changed

+30764
-22115
lines changed

.env.example

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,14 @@ STORAGE_SKIP_BUCKET_CHECK=false
6868
# GOOGLE_CLIENT_ID=
6969
# GOOGLE_CLIENT_SECRET=
7070
# GOOGLE_CALLBACK_URL=http://localhost:5173/api/auth/google/callback
71+
72+
# OpenID (Optional)
73+
# VITE_OPENID_NAME=
74+
# OPENID_AUTHORIZATION_URL=
75+
# OPENID_CALLBACK_URL=http://localhost:5173/api/auth/openid/callback
76+
# OPENID_CLIENT_ID=
77+
# OPENID_CLIENT_SECRET=
78+
# OPENID_ISSUER=
79+
# OPENID_SCOPE=openid profile email
80+
# OPENID_TOKEN_URL=
81+
# OPENID_USER_INFO_URL=

.eslintrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"plugins": ["simple-import-sort", "unused-imports"],
1010
"rules": {
1111
// eslint
12+
"no-console": "error",
1213
"no-return-await": "off",
1314

1415
// simple-import-sort
@@ -41,6 +42,14 @@
4142
}
4243
]
4344
}
45+
],
46+
47+
// prettier
48+
"prettier/prettier": [
49+
"warn",
50+
{
51+
"endOfLine": "auto"
52+
}
4453
]
4554
}
4655
},
@@ -69,6 +78,7 @@
6978
"@typescript-eslint/no-misused-promises": "off",
7079
"@typescript-eslint/no-unsafe-assignment": "off",
7180
"@typescript-eslint/no-unsafe-member-access": "off",
81+
"@typescript-eslint/consistent-type-imports": "error",
7282
"@typescript-eslint/restrict-template-expressions": "off",
7383
"@typescript-eslint/no-redundant-type-constituents": "off",
7484
"@typescript-eslint/consistent-type-definitions": ["error", "type"],

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ body:
7676
- Bronzor
7777
- Chikorita
7878
- Ditto
79+
- Gengar
80+
- Glalie
7981
- Kakuna
82+
- Leafish
8083
- Nosepass
8184
- Onyx
8285
- Pikachu

.github/workflows/lint-test-build.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,32 @@ jobs:
1919

2020
steps:
2121
- name: Checkout Repository
22-
uses: actions/checkout@v4.1.1
22+
uses: actions/checkout@v4.2.2
2323
with:
2424
fetch-depth: 2
2525

2626
- name: Setup pnpm
27-
uses: pnpm/action-setup@v3.0.0
27+
uses: pnpm/action-setup@v4.0.0
2828
with:
29-
version: 9.1.3
29+
version: latest
3030

3131
- name: Setup Node.js
32-
uses: actions/setup-node@v4.0.2
32+
uses: actions/setup-node@v4.1.0
3333
with:
3434
cache: "pnpm"
35-
node-version: 20.13.1
35+
node-version: 22
3636

3737
- name: Install Dependencies
3838
run: pnpm install --frozen-lockfile
3939

4040
- name: Lint
41-
run: pnpm lint
41+
run: pnpm run lint
4242

4343
- name: Format
44-
run: pnpm format:check
44+
run: pnpm run format
4545

4646
- name: Test
47-
run: pnpm test
47+
run: pnpm run test
4848

4949
- name: Build
50-
run: pnpm build
51-
env:
52-
NODE_ENV: production
53-
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
50+
run: pnpm run build

.github/workflows/publish-docker-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ jobs:
152152
username: ${{ secrets.DOCKER_USERNAME }}
153153
password: ${{ secrets.DOCKER_TOKEN }}
154154

155-
- uses: sarisia/actions-status-discord@v1.14.3
155+
- name: Deploy the latest image on rxresu.me
156+
run: curl -kX POST ${{ secrets.SERVICE_WEBHOOK }}
157+
158+
- name: Inform about the release on Discord
159+
uses: sarisia/actions-status-discord@v1.14.3
156160
if: always()
157161
with:
158162
username: ReleaseBot

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ stats.html
4949

5050
# Lingui Compiled Messages
5151
apps/client/src/locales/_build/
52-
apps/client/src/locales/*/messages.mjs
52+
apps/client/src/locales/*/messages.*js

.ncurc.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/raineorshine/npm-check-updates/main/src/types/RunOptions.json",
33
"upgrade": true,
4+
"target": "minor",
45
"install": "always",
56
"packageManager": "pnpm",
6-
"reject": ["eslint", "eslint-plugin-unused-imports", "@reactive-resume/*"]
7+
"reject": [
8+
"eslint",
9+
"@swc/*",
10+
"@swc-node/*",
11+
"@reactive-resume/*",
12+
"eslint-plugin-unused-imports"
13+
]
714
}

.prettierrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"printWidth": 100
2+
"printWidth": 100,
3+
"endOfLine": "auto",
4+
"plugins": ["prettier-plugin-tailwindcss"],
5+
"tailwindFunctions": ["cn", "cva"]
36
}

.vscode/extensions.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"recommendations": [
3-
"nrwl.angular-console",
4-
"esbenp.prettier-vscode",
5-
"dbaeumer.vscode-eslint",
6-
"firsttris.vscode-jest-runner"
7-
]
2+
"recommendations": ["nrwl.angular-console", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
83
}

.vscode/settings.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
{
2+
"css.validate": false,
3+
"vitest.disableWorkspaceWarning": true,
24
"typescript.tsdk": "node_modules/typescript/lib",
35
"tailwindCSS.experimental.classRegex": [
46
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
57
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
6-
],
7-
"yaml.schemas": {
8-
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml",
9-
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
10-
"tools/compose/*"
11-
]
12-
},
13-
"i18n-ally.localesPaths": ["apps/client/src/locales"],
14-
"vitest.disableWorkspaceWarning": true
8+
]
159
}

0 commit comments

Comments
 (0)