Skip to content

Commit 6cc8775

Browse files
authored
Merge pull request #11509 from ethereum/staging
Deploy v7.23.0
2 parents 46201e9 + 4248d78 commit 6cc8775

File tree

177 files changed

+6435
-3749
lines changed

Some content is hidden

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

177 files changed

+6435
-3749
lines changed

.all-contributorsrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10649,6 +10649,33 @@
1064910649
"contributions": [
1065010650
"ideas"
1065110651
]
10652+
},
10653+
{
10654+
"login": "Wilson-Wu1",
10655+
"name": "Wilson Wu",
10656+
"avatar_url": "https://avatars.githubusercontent.com/u/41039035?v=4",
10657+
"profile": "https://www.linkedin.com/in/wilson-wu-2021/",
10658+
"contributions": [
10659+
"doc"
10660+
]
10661+
},
10662+
{
10663+
"login": "fvaysh",
10664+
"name": "VAS",
10665+
"avatar_url": "https://avatars.githubusercontent.com/u/126754021?v=4",
10666+
"profile": "https://github.com/fvaysh",
10667+
"contributions": [
10668+
"doc"
10669+
]
10670+
},
10671+
{
10672+
"login": "costgallo",
10673+
"name": "Costanza",
10674+
"avatar_url": "https://avatars.githubusercontent.com/u/49433698?v=4",
10675+
"profile": "https://github.com/costgallo",
10676+
"contributions": [
10677+
"doc"
10678+
]
1065210679
}
1065310680
],
1065410681
"contributorsPerLine": 7,

.storybook/i18next.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import i18n, { Resource } from "i18next"
22
import { initReactI18next } from "gatsby-plugin-react-i18next"
3-
import fs from "fs"
43

54
export const baseLocales = {
65
en: { title: "English", left: "En" },
@@ -15,6 +14,7 @@ const ns = [
1514
"glossary",
1615
"page-about",
1716
"page-index",
17+
"page-learn",
1818
"page-upgrades",
1919
"page-developers-index",
2020
]

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config: StorybookConfig = {
1313
"@chakra-ui/storybook-addon",
1414
"storybook-react-i18next",
1515
],
16-
staticDirs: ["../static"],
16+
staticDirs: ["../static", "../src/assets"],
1717
babel: async () => ({
1818
...babelConfig,
1919
}),

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,6 +1666,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16661666
<td align="center" valign="top" width="14.28%"><a href="https://github.com/robertkodra"><img src="https://avatars.githubusercontent.com/u/36516516?v=4?s=100" width="100px;" alt="Robert"/><br /><sub><b>Robert</b></sub></a><br /><a href="#content-robertkodra" title="Content">🖋</a></td>
16671667
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xObsidian"><img src="https://avatars.githubusercontent.com/u/131651958?v=4?s=100" width="100px;" alt="obsidian"/><br /><sub><b>obsidian</b></sub></a><br /><a href="#content-0xObsidian" title="Content">🖋</a></td>
16681668
<td align="center" valign="top" width="14.28%"><a href="http://www.scienft.com"><img src="https://avatars.githubusercontent.com/u/36033065?v=4?s=100" width="100px;" alt="Fekry Aiad"/><br /><sub><b>Fekry Aiad</b></sub></a><br /><a href="#ideas-MohamedFekryyy" title="Ideas, Planning, & Feedback">🤔</a></td>
1669+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/wilson-wu-2021/"><img src="https://avatars.githubusercontent.com/u/41039035?v=4?s=100" width="100px;" alt="Wilson Wu"/><br /><sub><b>Wilson Wu</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=Wilson-Wu1" title="Documentation">📖</a></td>
1670+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fvaysh"><img src="https://avatars.githubusercontent.com/u/126754021?v=4?s=100" width="100px;" alt="VAS"/><br /><sub><b>VAS</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=fvaysh" title="Documentation">📖</a></td>
1671+
</tr>
1672+
<tr>
1673+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/costgallo"><img src="https://avatars.githubusercontent.com/u/49433698?v=4?s=100" width="100px;" alt="Costanza"/><br /><sub><b>Costanza</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=costgallo" title="Documentation">📖</a></td>
16691674
</tr>
16701675
</tbody>
16711676
</table>

docs/review-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This documentation outlines our current processes for how we prioritize items in
66

77
### General review process
88

9-
We use a first-in, first-out system for reviewing pull requests. The longer a pull request has been open, the higher priority it is for our team to review. In some cases—for example, fixing a high-priority issue or merging low-hanging fruit for a deploy—we will stray from this process and use our best judgement to get higher-impact changes deployed more quickly.
9+
We use a first-in, first-out system for reviewing pull requests. The longer a pull request has been open, the higher the priority it is for our team to review. In some cases—for example, fixing a high-priority issue or merging low-hanging fruit for a deploy—we will stray from this process and use our best judgement to get higher-impact changes deployed more quickly.
1010

1111
We aim to have every new PR reviewed with change requests, merged, or closed within 30 days of opening. As outlined in the following sections, different types of pull requests do have different levels of priority, and this may influence how promptly a pull request is acted on.
1212

1313
### Translations
1414

15-
Translation pull requests are considered high priority. These are when the translated and reviewed files from our translation management platform are submitted as a pull request. They are important to our core value of bringing Ethereum education to as many languages as possible. They also are the accumulation of months of work by translators and reviewers, and any delay to this already long process is undesirable.
15+
Translation pull requests are considered high-priority. These are when the translated and reviewed files from our translation management platform are submitted as a pull request. They are important to our core value of bringing Ethereum education to as many languages as possible. They also are the accumulation of months of work by translators and reviewers, and any delay to this already long process is undesirable.
1616

1717
**Timeline:** PRs should be merged within 4 days of opening (by the next release).
1818

@@ -24,7 +24,7 @@ Bug pull requests can vary from low-priority to high-priority depending on the s
2424

2525
### Features
2626

27-
Any new feature correlated to an approved issue is medium-priority. Similar to translators, code contributors dedicate a large amount of their time to improving [ethereum.org](http://ethereum.org) as a resource and addressing their efforts quickly is desirable. New features that were not discussed, requested or approved do not fall under this timeline.
27+
Any new feature correlated with an approved issue is of medium priority. Similar to translators, code contributors dedicate a large amount of their time to improving [ethereum.org](http://ethereum.org) as a resource and addressing their efforts quickly is desirable. New features that were not discussed, requested or approved do not fall under this timeline.
2828

2929
**Timeline:** Major features should be merged within 30 days of opening. Minor features should be merged within 14 days of opening.
3030

gatsby-node.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -495,18 +495,3 @@ export const onPreBootstrap: GatsbyNode["onPreBootstrap"] = async ({
495495
copyContributors()
496496
reporter.info(`Contributors copied`)
497497
}
498-
499-
// Build lambda functions when the build is complete and the `/public` folder exists
500-
export const onPostBuild: GatsbyNode["onPostBuild"] = async (
501-
gatsbyNodeHelpers
502-
) => {
503-
const { reporter } = gatsbyNodeHelpers
504-
505-
const reportOut = (report: { stderr: string; stdout: string }) => {
506-
const { stderr, stdout } = report
507-
if (stderr) reporter.error(stderr)
508-
if (stdout) reporter.info(stdout)
509-
}
510-
511-
reportOut(await exec("npm run build:lambda && cp netlify.toml public"))
512-
}

netlify.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
# Default build command.
1414
# command = "yarn build" # debug with: "yarn build --verbose"
1515

16-
# Directory with the serverless Lambda functions to deploy to AWS.
17-
# netlify-lambda needs this netlify.toml file in order to build
16+
# Directory with the serverless Lambda functions to deploy to AWS
1817
functions = "public/functions"
1918

2019
[[headers]]
2120
for = "/*"
2221
[headers.values]
23-
Access-Control-Allow-Origin = "https://esp.ethereum.foundation"
22+
Access-Control-Allow-Origin = "https://esp.ethereum.foundation"
23+
24+
[[plugins]]
25+
package = "@netlify/plugin-gatsby"

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "7.22.3",
3+
"version": "7.23.0",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "[email protected]:ethereum/ethereum-org-website.git",
@@ -58,7 +58,6 @@
5858
"is-relative-url": "^3.0.0",
5959
"lodash": "^4.17.21",
6060
"luxon": "^1.28.1",
61-
"netlify-lambda": "^2.0.3",
6261
"polished": "^4.1.4",
6362
"prism-react-renderer": "^1.1.1",
6463
"prismjs": "^1.27.0",
@@ -83,6 +82,7 @@
8382
"@chakra-ui/cli": "^2.4.1",
8483
"@chakra-ui/storybook-addon": "^5.0.1",
8584
"@netlify/functions": "^1.2.0",
85+
"@netlify/plugin-gatsby": "^3.7.2",
8686
"@storybook/addon-a11y": "^7.0.23",
8787
"@storybook/addon-actions": "^7.0.23",
8888
"@storybook/addon-essentials": "^7.0.23",
@@ -121,7 +121,6 @@
121121
"scripts": {
122122
"postinstall": "yarn theme",
123123
"build": "gatsby build",
124-
"build:lambda": "cross-env NODE_OPTIONS=--openssl-legacy-provider netlify-lambda build src/lambda --config=./webpack.lambda.js",
125124
"build:10gb": "cross-env NODE_OPTIONS=--max-old-space-size=10240 gatsby build",
126125
"clean": "gatsby clean",
127126
"crowdin-clean": "rm -rf .crowdin && mkdir .crowdin",
@@ -134,7 +133,6 @@
134133
"optimize-images": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/optimizeImages.ts",
135134
"crowdin-contributors": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/crowdin/getCrowdinContributors.ts",
136135
"start": "gatsby develop",
137-
"start:lambda": "netlify-lambda serve src/lambda",
138136
"start:static": "gatsby build && gatsby serve",
139137
"serve": "gatsby serve",
140138
"type-check": "tsc --noEmit",

src/@chakra-ui/gatsby-plugin/components/Heading.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const { sizes: defaultSizes } = headingDefaultTheme
55

66
const lineHeightScale = {
77
"4xl": "6xs",
8-
"3xl": ["5xs", null, "6xs"],
9-
"2xl": ["5xs", null, "4xs"],
10-
xl: ["3xs", null, "2xs"],
11-
lg: ["3xs", null, "2xs"],
8+
"3xl": ["6xs", null, "5xs"],
9+
"2xl": ["4xs", null, "5xs"],
10+
xl: ["2xs", null, "4xs"],
11+
lg: ["2xs", null, "3xs"],
1212
md: "xs",
1313
sm: "base",
1414
xs: "base",

src/@chakra-ui/gatsby-plugin/styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ const styles = {
7979
visibility: "visible",
8080
},
8181
"pre, code, kbd, samp": {
82-
fontSize: "0.8em",
83-
lineHeight: "1.1rem",
84-
fontFamily: "SFMono-Regular,Menlo,Monaco,Consolas,monospace",
82+
fontSize: "md",
83+
lineHeight: "base",
84+
fontFamily: "monospace",
8585
},
8686
}),
8787
}

0 commit comments

Comments
 (0)