Skip to content

Commit 4802eab

Browse files
authored
Merge pull request #13898 from ethereum/staging
Deploy v9.0.0
2 parents 7d21d5a + b93c5cb commit 4802eab

File tree

514 files changed

+10878
-16803
lines changed

Some content is hidden

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

514 files changed

+10878
-16803
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12479,6 +12479,15 @@
1247912479
"contributions": [
1248012480
"content"
1248112481
]
12482+
},
12483+
{
12484+
"login": "nipunh",
12485+
"name": "Nipun Hedaoo",
12486+
"avatar_url": "https://avatars.githubusercontent.com/u/26524611?v=4",
12487+
"profile": "https://github.com/nipunh",
12488+
"contributions": [
12489+
"code"
12490+
]
1248212491
}
1248312492
],
1248412493
"contributorsPerLine": 7,

.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,5 @@ BUILD_LOCALES=
3535
# fixed number of CPUs (e.g. 2) to limit the demand during build time
3636
LIMIT_CPUS=
3737

38-
# Sentry auth token required for error tracking
39-
SENTRY_AUTH_TOKEN=
40-
NEXT_PUBLIC_SENTRY_DSN=
41-
4238
# Enables the bundle analyzer
4339
ANALYZE=false

README.md renamed to Adding that improves clarity README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ git push
119119
- In your PR description, reference the issue it resolves (see [linking a pull request to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
120120
- ex. `Updates out of date content [Fixes #1234]`
121121
- Netlify (our hosting service for build previews) deploys all PRs to a publicly accessible preview URL, e.g.: ![Netlify deploy preview](public/images/preview-deploy.png)
122-
- _Confirm your Netlify preview deploy looks & functions as expected_
122+
- _Confirm that your Netlify preview deploy looks and functions as expected_
123123
- Why not say hi and draw attention to your PR in [our discord server](https://discord.gg/ethereum-org)?
124124

125125
### 6. Wait for review
@@ -1908,6 +1908,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19081908
<tr>
19091909
<td align="center" valign="top" width="14.28%"><a href="https://v2eth.com/"><img src="https://avatars.githubusercontent.com/u/7024451?v=4?s=100" width="100px;" alt="Mako Shan"/><br /><sub><b>Mako Shan</b></sub></a><br /><a href="#content-makoshan" title="Content">🖋</a></td>
19101910
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cratiu222"><img src="https://avatars.githubusercontent.com/u/156356273?v=4?s=100" width="100px;" alt="Christina"/><br /><sub><b>Christina</b></sub></a><br /><a href="#content-cratiu222" title="Content">🖋</a></td>
1911+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nipunh"><img src="https://avatars.githubusercontent.com/u/26524611?v=4?s=100" width="100px;" alt="Nipun Hedaoo"/><br /><sub><b>Nipun Hedaoo</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=nipunh" title="Code">💻</a></td>
19111912
</tr>
19121913
</tbody>
19131914
</table>

instrumentation.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

next.config.js

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
22
const { PHASE_DEVELOPMENT_SERVER } = require("next/constants")
3-
const { withSentryConfig } = require("@sentry/nextjs")
43

54
const withBundleAnalyzer = require("@next/bundle-analyzer")({
65
enabled: process.env.ANALYZE === "true",
@@ -27,7 +26,7 @@ module.exports = (phase, { defaultConfig }) => {
2726
let nextConfig = {
2827
...defaultConfig,
2928
reactStrictMode: true,
30-
webpack: (config, { webpack }) => {
29+
webpack: (config) => {
3130
config.module.rules.push({
3231
test: /\.ya?ml$/,
3332
use: "yaml-loader",
@@ -58,30 +57,13 @@ module.exports = (phase, { defaultConfig }) => {
5857
// Modify the file loader rule to ignore *.svg, since we have it handled now.
5958
fileLoaderRule.exclude = /\.svg$/i
6059

61-
// Tree shake Sentry debug code
62-
// ref. https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/tree-shaking/#tree-shaking-with-nextjs
63-
config.plugins.push(
64-
new webpack.DefinePlugin({
65-
__SENTRY_DEBUG__: false,
66-
__RRWEB_EXCLUDE_IFRAME__: true,
67-
__RRWEB_EXCLUDE_SHADOW_DOM__: true,
68-
__SENTRY_EXCLUDE_REPLAY_WORKER__: true,
69-
})
70-
)
71-
7260
return config
7361
},
7462
i18n,
7563
trailingSlash: true,
7664
images: {
7765
deviceSizes: [640, 750, 828, 1080, 1200, 1504, 1920],
7866
},
79-
env: {
80-
NEXT_PUBLIC_CONTEXT: process.env.CONTEXT,
81-
},
82-
experimental: {
83-
instrumentationHook: true,
84-
},
8567
}
8668

8769
if (phase !== PHASE_DEVELOPMENT_SERVER) {
@@ -110,15 +92,5 @@ module.exports = (phase, { defaultConfig }) => {
11092
}
11193
}
11294

113-
return withBundleAnalyzer(
114-
withSentryConfig(nextConfig, {
115-
// TODO: temp config, update this to the correct org & project
116-
org: "ethereumorg-ow",
117-
project: "javascript-nextjs",
118-
authToken: process.env.SENTRY_AUTH_TOKEN,
119-
release: `${process.env.BUILD_ID}_${process.env.REVIEW_ID}`,
120-
disableLogger: true,
121-
silent: true,
122-
})
123-
)
95+
return withBundleAnalyzer(nextConfig)
12496
}

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "8.10.1",
3+
"version": "9.0.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {
@@ -48,14 +48,12 @@
4848
"@radix-ui/react-switch": "^1.1.0",
4949
"@radix-ui/react-tooltip": "^1.1.2",
5050
"@radix-ui/react-visually-hidden": "^1.1.0",
51-
"@sentry/nextjs": "^8.19.0",
5251
"@socialgouv/matomo-next": "^1.8.0",
5352
"chart.js": "^4.4.2",
5453
"chartjs-plugin-datalabels": "^2.2.0",
5554
"class-variance-authority": "^0.7.0",
5655
"clsx": "^2.1.1",
5756
"cmdk": "^1.0.0",
58-
"embla-carousel-react": "^7.0.0",
5957
"ethereum-blockies-base64": "^1.0.2",
6058
"framer-motion": "^10.13.0",
6159
"gray-matter": "^4.0.3",
@@ -64,7 +62,7 @@
6462
"lodash.merge": "^4.6.2",
6563
"lodash.shuffle": "^4.2.0",
6664
"lodash.union": "^4.6.0",
67-
"next": "^14.2.3",
65+
"next": "^14.2.10",
6866
"next-i18next": "^14.0.3",
6967
"next-mdx-remote": "^3.0.8",
7068
"next-sitemap": "^4.2.3",
@@ -82,7 +80,9 @@
8280
"react-select": "5.8.0",
8381
"reading-time": "^1.5.0",
8482
"remark-gfm": "^3.0.1",
83+
"swiper": "^11.1.10",
8584
"tailwind-merge": "^2.3.0",
85+
"tailwind-variants": "^0.2.1",
8686
"tailwindcss-animate": "^1.0.7",
8787
"usehooks-ts": "^3.1.0",
8888
"yaml-loader": "^0.8.0"
@@ -104,6 +104,8 @@
104104
"@types/node": "^20.4.2",
105105
"@types/react": "18.2.57",
106106
"@types/react-dom": "18.2.19",
107+
"@types/swiper": "^6.0.0",
108+
"@types/xml2js": "^0.4.14",
107109
"@typescript-eslint/eslint-plugin": "^6.19.0",
108110
"@typescript-eslint/parser": "^6.19.0",
109111
"autoprefixer": "^10.4.19",
@@ -133,7 +135,8 @@
133135
"tsconfig-paths-webpack-plugin": "4.1.0",
134136
"typescript": "^5.5.2",
135137
"unified": "^10.0.0",
136-
"unist-util-visit": "^5.0.0"
138+
"unist-util-visit": "^5.0.0",
139+
"xml2js": "^0.6.2"
137140
},
138141
"resolutions": {
139142
"jackspeak": "2.1.1",

public/content/about/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ lang: en
88

99
ethereum.org is a public, open-source resource for the Ethereum community that anyone can contribute to. We have a small core team dedicated to maintaining and developing the site with contributions from thousands of community members across the globe.
1010

11+
**Nobody from ethereum.org will ever contact you. Do not respond.**
12+
1113
## A note on names {#a-note-on-names}
1214

1315
It's common for people to confuse names within the Ethereum landscape, which can lead to poor mental models about how Ethereum works. Here's a quick explainer to clear things up:

public/content/community/support/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lang: en
1010

1111
Are you looking for the official Ethereum support? The first thing you should know is that Ethereum is decentralized. This means no central organization, entity, or person owns Ethereum, and because of this, no official support channels exist.
1212

13-
Understanding the decentralized nature of Ethereum is vital because anyone claiming to be official support for Ethereum is probably trying to scam you! The best protection against scammers is educating yourself and taking security seriously.
13+
Understanding the decentralized nature of Ethereum is vital because **anyone claiming to be official support for Ethereum is probably trying to scam you!** The best protection against scammers is educating yourself and taking security seriously.
1414

1515
<DocLink href="/security/">
1616
Ethereum security and scam prevention

public/content/contributing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Before contributing, make sure you're familiar with:
6868
- our [style guide](/contributing/style-guide/)
6969
- our [code of conduct](/community/code-of-conduct)
7070

71-
<ContributorsQuizBanner mt={16} mb={8} />
71+
<ContributorsQuizBanner className="mt-16 mb-8" />
7272

7373
## How decisions about the site are made {#how-decisions-about-the-site-are-made}
7474

public/content/contributing/translation-program/content-buckets/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,6 @@ Below is a breakdown of the website pages each content bucket contains.
341341
- [Set up web3.js to use the Ethereum blockchain in JavaScript](/developers/tutorials/set-up-web3js-to-use-ethereum-in-javascript/)
342342
- [Short ABIs for calldata optimization](/developers/tutorials/short-abi/)
343343
- [Smart contract security guidelines](/developers/tutorials/smart-contract-security-guidelines/)
344-
- [Solidity and Truffle continuous integration setup](/developers/tutorials/solidity-and-truffle-continuous-integration-setup/)
345344
- [Testing ERC-20 tokens with Waffle](/developers/tutorials/testing-erc-20-tokens-with-waffle/)
346345
- [Token integration checklist](/developers/tutorials/token-integration-checklist/)
347346
- [Using WebSockets](/developers/tutorials/using-websockets/)

0 commit comments

Comments
 (0)