Skip to content

Commit 9083226

Browse files
authored
Merge branch 'dev' into patch-3
2 parents fdadc7c + 08df855 commit 9083226

File tree

819 files changed

+44399
-22445
lines changed

Some content is hidden

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

819 files changed

+44399
-22445
lines changed

.all-contributorsrc

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,9 @@
40394039
"profile": "https://github.com/lukassim",
40404040
"contributions": [
40414041
"content",
4042-
"ideas"
4042+
"ideas",
4043+
"translation",
4044+
"bug"
40434045
]
40444046
},
40454047
{
@@ -11685,7 +11687,8 @@
1168511687
"avatar_url": "https://avatars.githubusercontent.com/u/6020891?v=4",
1168611688
"profile": "http://www.edukids.cz",
1168711689
"contributions": [
11688-
"eventOrganizing"
11690+
"eventOrganizing",
11691+
"maintenance"
1168911692
]
1169011693
},
1169111694
{
@@ -12730,7 +12733,10 @@
1273012733
"name": "João Paulo Hotequil",
1273112734
"avatar_url": "https://avatars.githubusercontent.com/u/46814712?v=4",
1273212735
"profile": "https://github.com/hotequil",
12733-
"contributions": ["code", "translation"]
12736+
"contributions": [
12737+
"code",
12738+
"translation"
12739+
]
1273412740
},
1273512741
{
1273612742
"login": "microHoffman",
@@ -12749,6 +12755,51 @@
1274912755
"contributions": [
1275012756
"bug"
1275112757
]
12758+
},
12759+
{
12760+
"login": "aolson078",
12761+
"name": "Alex Olson",
12762+
"avatar_url": "https://avatars.githubusercontent.com/u/69769089?v=4",
12763+
"profile": "https://github.com/aolson078",
12764+
"contributions": [
12765+
"bug"
12766+
]
12767+
},
12768+
{
12769+
"login": "adminsuci",
12770+
"name": "SUCI - Blockchain Hub Team",
12771+
"avatar_url": "https://avatars.githubusercontent.com/u/155696196?v=4",
12772+
"profile": "https://www.suci.io/",
12773+
"contributions": [
12774+
"maintenance"
12775+
]
12776+
},
12777+
{
12778+
"login": "Nik-EpicWeb3",
12779+
"name": "Nik-EpicWeb3",
12780+
"avatar_url": "https://avatars.githubusercontent.com/u/214466248?v=4",
12781+
"profile": "https://github.com/Nik-EpicWeb3",
12782+
"contributions": [
12783+
"eventOrganizing"
12784+
]
12785+
},
12786+
{
12787+
"login": "kichong",
12788+
"name": "kichong",
12789+
"avatar_url": "https://avatars.githubusercontent.com/u/38249409?v=4",
12790+
"profile": "https://github.com/kichong",
12791+
"contributions": [
12792+
"content"
12793+
]
12794+
},
12795+
{
12796+
"login": "zeevick10",
12797+
"name": "FT",
12798+
"avatar_url": "https://avatars.githubusercontent.com/u/140458077?v=4",
12799+
"profile": "https://github.com/zeevick10",
12800+
"contributions": [
12801+
"content"
12802+
]
1275212803
}
1275312804
],
1275412805
"contributorsPerLine": 7,

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
1515

1616
# Github token for read-only use with api functions
17-
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue
17+
# GITHUB_TOKEN_READ_ONLY=insertValue
1818

1919
# Etherscan API key (required for Etherscan API fetches)
2020
# ETHERSCAN_API_KEY=insertValue

.eslintrc.json

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
{
2-
"extends": [
3-
"eslint:recommended",
4-
"plugin:@typescript-eslint/recommended",
5-
"next/core-web-vitals",
6-
"prettier",
7-
"plugin:storybook/recommended"
8-
],
2+
"extends": ["eslint:recommended", "next/core-web-vitals", "prettier"],
93
"env": {
10-
"es6": true
4+
"es6": true,
5+
"node": true,
6+
"browser": true
117
},
128
"plugins": ["simple-import-sort", "@typescript-eslint", "unused-imports"],
139
"parser": "@typescript-eslint/parser",
10+
"parserOptions": {
11+
"ecmaVersion": "latest",
12+
"sourceType": "module",
13+
"ecmaFeatures": {
14+
"jsx": true
15+
}
16+
},
1417
"rules": {
1518
"simple-import-sort/imports": [
1619
"error",
@@ -34,7 +37,7 @@
3437
// From the `constants` directory.
3538
["^@/lib/constants"],
3639
// `.storybook` directory and utils files`
37-
["^@/storybook","^@/storybook-utils"],
40+
["^@/storybook", "^@/storybook-utils"],
3841
// Parent imports. Put `..` last.
3942
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
4043
// Other relative imports. Put same-folder imports and `.` last.
@@ -48,13 +51,6 @@
4851
],
4952
"simple-import-sort/exports": "error",
5053
"no-unused-vars": "off",
51-
"@typescript-eslint/no-unused-vars": "off",
52-
"@typescript-eslint/no-explicit-any": [
53-
"error",
54-
{
55-
"fixToUnknown": true
56-
}
57-
],
5854
"unused-imports/no-unused-vars": [
5955
"error",
6056
{
@@ -63,6 +59,37 @@
6359
"varsIgnorePattern": "^_$"
6460
}
6561
],
66-
"unused-imports/no-unused-imports-ts": "warn"
67-
}
62+
"unused-imports/no-unused-imports": "warn"
63+
},
64+
"overrides": [
65+
{
66+
"files": ["**/*.{ts,tsx}"],
67+
"extends": ["plugin:@typescript-eslint/recommended"],
68+
"rules": {
69+
"@typescript-eslint/no-explicit-any": [
70+
"error",
71+
{
72+
"fixToUnknown": true
73+
}
74+
]
75+
}
76+
},
77+
{
78+
"files": ["**/*.stories.@(js|jsx|ts|tsx|mdx)"],
79+
"extends": ["plugin:storybook/recommended"]
80+
}
81+
],
82+
"ignorePatterns": [
83+
"node_modules/",
84+
".next/",
85+
"out/",
86+
"dist/",
87+
"build/",
88+
".vercel/",
89+
".netlify/",
90+
"coverage/",
91+
"storybook-static/",
92+
"**/*.d.ts",
93+
"src/intl/"
94+
]
6895
}

.github/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies 📦":
1313
- package.json
1414
- yarn.lock
15+
- pnpm-lock.yaml
1516

1617
"config ⚙️":
1718
- i18n.config.json

.github/workflows/chromatic.yml

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,8 @@ name: Chromatic Publish and Testing
66
# Event for the workflow
77
on:
88
pull_request:
9-
types:
10-
- opened
11-
- synchronize
12-
- ready_for_review
13-
paths:
14-
# Only run on file changes in any of these paths
15-
- "src/components/**/*"
16-
- "src/pages/**/*"
17-
- "src/layouts/**/*"
18-
- ".storybook/**/*"
19-
- "tailwind.config.ts"
20-
- "src/styles/**/*"
9+
branches: [master, staging, "test/**"]
10+
types: [opened, synchronize, ready_for_review]
2111

2212
# List of jobs
2313
jobs:
@@ -26,19 +16,36 @@ jobs:
2616
runs-on: ubuntu-latest
2717
# Job steps
2818
steps:
29-
# 👇 Version 2 of the action
3019
- name: Checkout repo
31-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
3221
with:
33-
fetch-depth: 0 # 👈 Required to retrieve git history
22+
fetch-depth: 0
23+
# Tells the checkout which commit hash to reference
24+
ref: ${{ github.event.pull_request.head.ref }}
25+
env:
26+
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
27+
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.ref }}
28+
CHROMATIC_SLUG: ${{ github.repository }}
29+
30+
- name: Setup pnpm
31+
uses: pnpm/action-setup@v2
32+
with:
33+
version: 8
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: 20
39+
cache: "pnpm"
40+
3441
- name: Install deps
35-
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
36-
run: yarn
42+
run: pnpm install
43+
3744
- name: Publish to Chromatic
38-
# 👇 Adds Chromatic as a step in the workflow
3945
uses: chromaui/action@v1
40-
# Options required for Chromatic's GitHub Action
4146
with:
4247
projectToken: fee8e66c9916
4348
# 👇 Only fail if Storybook contains stories that error
4449
exitZeroOnChanges: true
50+
onlyChanged: true # enables TurboSnap
51+
zip: true

.github/workflows/claude.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Claude PR Assistant
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude-code-action:
15+
if: |
16+
(
17+
github.event_name == 'issue_comment' &&
18+
contains(github.event.comment.body, '@claude') &&
19+
contains('minimalsm,pettinarip,wackerow,corwintines', github.event.comment.user.login)
20+
) ||
21+
(
22+
github.event_name == 'pull_request_review_comment' &&
23+
contains(github.event.comment.body, '@claude') &&
24+
contains('minimalsm,pettinarip,wackerow,corwintines', github.event.comment.user.login)
25+
) ||
26+
(
27+
github.event_name == 'pull_request_review' &&
28+
contains(github.event.review.body, '@claude') &&
29+
contains('minimalsm,pettinarip,wackerow,corwintines', github.event.review.user.login)
30+
) ||
31+
(
32+
github.event_name == 'issues' &&
33+
contains(github.event.issue.body, '@claude') &&
34+
contains('minimalsm,pettinarip,wackerow,corwintines', github.event.issue.user.login)
35+
)
36+
runs-on: ubuntu-latest
37+
permissions:
38+
contents: read
39+
pull-requests: read
40+
issues: read
41+
id-token: write
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
with:
46+
fetch-depth: 1
47+
48+
- name: Run Claude PR Action
49+
uses: anthropics/claude-code-action@beta
50+
with:
51+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
52+
timeout_minutes: "60"

.github/workflows/crowdin-ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,22 @@ jobs:
1818
- name: Check out code
1919
uses: actions/checkout@v3
2020

21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@v2
23+
with:
24+
version: 8
25+
2126
- name: Set up Node.js
2227
uses: actions/setup-node@v3
2328
with:
24-
node-version: 18
29+
node-version: 20
30+
cache: 'pnpm'
2531

2632
- name: Install dependencies
27-
run: yarn install
33+
run: pnpm install
2834

2935
- name: Install ts-node
30-
run: yarn global add ts-node
36+
run: pnpm add -g ts-node
3137

3238
- name: Set up git
3339
run: |

.github/workflows/generate-review-report.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@ jobs:
1010
- name: Check out code
1111
uses: actions/checkout@v3
1212

13+
- name: Setup pnpm
14+
uses: pnpm/action-setup@v2
15+
with:
16+
version: 8
17+
1318
- name: Set up Node.js
1419
uses: actions/setup-node@v3
1520
with:
16-
node-version: 18
21+
node-version: 20
22+
cache: 'pnpm'
1723

1824
- name: Install dependencies
19-
run: yarn install
25+
run: pnpm install
2026

2127
- name: Install ts-node
22-
run: yarn global add ts-node
28+
run: pnpm add -g ts-node
2329

2430
- name: Run script
2531
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/reports/generateReviewReport.ts

.github/workflows/get-crowdin-contributors.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ jobs:
1212
- name: Check out code
1313
uses: actions/checkout@v3
1414

15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
1520
- name: Set up Node.js
1621
uses: actions/setup-node@v3
1722
with:
18-
node-version: 18
23+
node-version: 20
24+
cache: 'pnpm'
1925

2026
- name: Install dependencies
21-
run: yarn install
27+
run: pnpm install
2228

2329
- name: Install ts-node
24-
run: yarn global add ts-node
30+
run: pnpm add -g ts-node
2531

2632
- name: Set up git
2733
run: |

0 commit comments

Comments
 (0)