Skip to content

Commit 62e2207

Browse files
committed
Merge branch 'dev' into pr/15320
2 parents 87d0e59 + d7e7b96 commit 62e2207

File tree

2,029 files changed

+87221
-31866
lines changed

Some content is hidden

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

2,029 files changed

+87221
-31866
lines changed

.all-contributorsrc

Lines changed: 90 additions & 5 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
{
@@ -6239,10 +6241,10 @@
62396241
]
62406242
},
62416243
{
6242-
"login": "mradziwon",
6243-
"name": "mradziwon",
6244+
"login": "maciejrrr",
6245+
"name": "maciejrrr",
62446246
"avatar_url": "https://avatars.githubusercontent.com/u/6785984?v=4",
6245-
"profile": "http://www.linkedin.com/in/mradziwon",
6247+
"profile": "http://www.linkedin.com/in/maciejrrr",
62466248
"contributions": [
62476249
"code",
62486250
"bug"
@@ -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
{
@@ -12715,6 +12718,88 @@
1271512718
"contributions": [
1271612719
"code"
1271712720
]
12721+
},
12722+
{
12723+
"login": "JJOptimist",
12724+
"name": "JJOptimist",
12725+
"avatar_url": "https://avatars.githubusercontent.com/u/86833563?v=4",
12726+
"profile": "https://github.com/JJOptimist",
12727+
"contributions": [
12728+
"bug"
12729+
]
12730+
},
12731+
{
12732+
"login": "hotequil",
12733+
"name": "João Paulo Hotequil",
12734+
"avatar_url": "https://avatars.githubusercontent.com/u/46814712?v=4",
12735+
"profile": "https://github.com/hotequil",
12736+
"contributions": [
12737+
"code",
12738+
"translation"
12739+
]
12740+
},
12741+
{
12742+
"login": "microHoffman",
12743+
"name": "microHoffman",
12744+
"avatar_url": "https://avatars.githubusercontent.com/u/61500778?v=4",
12745+
"profile": "http://pwn.xyz",
12746+
"contributions": [
12747+
"bug"
12748+
]
12749+
},
12750+
{
12751+
"login": "smithrashell",
12752+
"name": "Rashell Smith",
12753+
"avatar_url": "https://avatars.githubusercontent.com/u/36465023?v=4",
12754+
"profile": "https://github.com/smithrashell",
12755+
"contributions": [
12756+
"bug"
12757+
]
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+
]
1271812803
}
1271912804
],
1272012805
"contributorsPerLine": 7,

.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
# be careful not to expose sensitive data (e.g. your Algolia admin key)
55

66
# Algolia environment (app ID, search key and base search index name required for search)
7+
# You can use the following test keys provided by DocSearch for local development/testing:
8+
# NEXT_PUBLIC_ALGOLIA_APP_ID=R2IYF7ETH7
9+
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=599cec31baffa4868cae4e79f180729b
10+
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=docsearch
11+
# Replace insertValue with your actual keys for production builds.
712
# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue
813
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue
914
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
1015

1116
# Github token for read-only use with api functions
12-
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue
17+
# GITHUB_TOKEN_READ_ONLY=insertValue
1318

1419
# Etherscan API key (required for Etherscan API fetches)
1520
# 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/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
* @wackerow @corwintines @pettinarip @minimalsm
99

1010
# Owners of specific files
11-
/src/data/consensus-bounty-hunters.json @djrtwo @asanso @fredriksvantes
11+
/src/data/consensus-bounty-hunters.json @asanso @fredriksvantes
1212
/src/data/wallets/new-to-crypto.ts @konopkja @minimalsm
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Suggest a resource
2+
description: Suggest a new resource to list on ethereum.org/resources
3+
title: Suggest a resource
4+
labels: ["resource 📚"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Before suggesting a resource, make sure you've read [our listing policy](https://www.ethereum.org/en/contributing/adding-resources/).
10+
- type: markdown
11+
attributes:
12+
value: Only continue with the issue if your resource meets the criteria listed there.
13+
- type: markdown
14+
attributes:
15+
value: If it does, complete the following information which we need to accurately list the resource.
16+
- type: markdown
17+
id: resource_info
18+
attributes:
19+
value: "## Resource info"
20+
- type: input
21+
id: resource_name
22+
attributes:
23+
label: Name
24+
description: Please provide the official name of the resource
25+
validations:
26+
required: true
27+
- type: input
28+
id: resource_url
29+
attributes:
30+
label: Resource URL
31+
description: Please provide a URL to the resource
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: resource_description
36+
attributes:
37+
label: Description
38+
description: Please provide a short 1-2 sentence description of the resource
39+
validations:
40+
required: true
41+
- type: textarea
42+
id: resource_logo
43+
attributes:
44+
label: Logo
45+
description: |
46+
Please provide an SVG or transparent PNG
47+
Tip: You can attach images by clicking this area to highlight it and then dragging files in.
48+
- type: input
49+
id: resource_category
50+
attributes:
51+
label: Category
52+
description: Please specify a best fit to categorize the resource (e.g., DeFi, NFT, Scaling, etc.)
53+
- type: checkboxes
54+
id: resource_work_on
55+
attributes:
56+
label: Would you like to work on this issue?
57+
options:
58+
- label: "Yes"
59+
required: false
60+
- label: "No"
61+
required: false
62+
validations:
63+
required: true

.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

0 commit comments

Comments
 (0)