Skip to content

Commit 0091a11

Browse files
committed
Merge branch 'dev' into crowdin-june-pt-br-20250601044854810
2 parents efaed13 + 34da7a4 commit 0091a11

File tree

449 files changed

+27548
-20385
lines changed

Some content is hidden

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

449 files changed

+27548
-20385
lines changed

.all-contributorsrc

Lines changed: 14 additions & 2 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
{
@@ -12770,6 +12773,15 @@
1277012773
"contributions": [
1277112774
"maintenance"
1277212775
]
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+
]
1277312785
}
1277412786
],
1277512787
"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: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,18 @@ jobs:
3131
uses: actions/checkout@v2
3232
with:
3333
fetch-depth: 0 # 👈 Required to retrieve git history
34+
- name: Setup pnpm
35+
uses: pnpm/action-setup@v2
36+
with:
37+
version: 8
38+
- name: Setup Node.js
39+
uses: actions/setup-node@v3
40+
with:
41+
node-version: 20
42+
cache: 'pnpm'
3443
- name: Install deps
3544
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
36-
run: yarn
45+
run: pnpm install
3746
- name: Publish to Chromatic
3847
# 👇 Adds Chromatic as a step in the workflow
3948
uses: chromaui/action@v1

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/node_modules
55
/.pnp
66
.pnp.js
7+
.pnpm-store/
78

89
# testing
910
/coverage
@@ -23,6 +24,9 @@
2324
npm-debug.log*
2425
yarn-debug.log*
2526
yarn-error.log*
27+
.pnpm-debug.log
28+
29+
pnpm-lock.yaml.bak
2630

2731
# local env files
2832
.env*.local
@@ -60,4 +64,3 @@ src/data/crowdin/bucketsAwaitingReviewReport.csv
6064
# Storybook
6165
build-storybook.log
6266
storybook-static
63-

.mise.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[settings]
2+
# tools can read the versions files used by other version managers
3+
# for example, .nvmrc in the case of node's nvm
4+
idiomatic_version_file_enable_tools = ['node']

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
20.19.2

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ yarn.lock
44
package-lock.json
55
public
66
build
7+
pnpm-lock.yaml

.storybook/main.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,10 @@ import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"
44
import type { StorybookConfig } from "@storybook/nextjs"
55

66
/**
7-
* Note regarding package.json settings related to Storybook:
8-
*
9-
* There is a resolutions option set for the package `jackspeak`. This is related to a
10-
* workaround provided to make sure storybook ( as of v7.5.2) works correctly with
11-
* Yarn v1
12-
*
13-
* Reference: https://github.com/storybookjs/storybook/issues/22431#issuecomment-1630086092
14-
*
15-
* The primary recommendation is to upgrade to Yarn 3 if possible
7+
* Storybook configuration for the ethereum.org website
8+
* This loads our components as stories and configures the necessary
9+
* webpack settings for proper rendering
1610
*/
17-
1811
const config: StorybookConfig = {
1912
stories: [
2013
"../src/components/**/*.stories.{ts,tsx}",

0 commit comments

Comments
 (0)