Skip to content

Commit 03a4748

Browse files
authored
Merge pull request #9156 from ethereum/gatsby-v5
Gatsby v5
2 parents e4aaae1 + f667403 commit 03a4748

File tree

6 files changed

+2702
-3775
lines changed

6 files changed

+2702
-3775
lines changed

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,32 @@
2828
"ethereum-blockies-base64": "^1.0.2",
2929
"focus-trap-react": "^10.0.0",
3030
"framer-motion": "^6.5.1",
31-
"gatsby": "^4.21.1",
32-
"gatsby-plugin-emotion": "^7.19.0",
33-
"gatsby-plugin-gatsby-cloud": "^4.20.0",
34-
"gatsby-plugin-image": "^2.21.0",
35-
"gatsby-plugin-manifest": "^4.21.0",
36-
"gatsby-plugin-matomo": "^0.9.0",
31+
"gatsby": "^5.4.1",
32+
"gatsby-plugin-emotion": "^8.4.0",
33+
"gatsby-plugin-gatsby-cloud": "^5.4.0",
34+
"gatsby-plugin-image": "^3.4.0",
35+
"gatsby-plugin-manifest": "^5.4.0",
36+
"gatsby-plugin-matomo": "^0.14.0",
3737
"gatsby-plugin-mdx": "^3.0.0",
38-
"gatsby-plugin-netlify": "^5.0.1",
39-
"gatsby-plugin-react-helmet": "^5.0.0",
38+
"gatsby-plugin-netlify": "^5.1.0",
39+
"gatsby-plugin-react-helmet": "^6.4.0",
4040
"gatsby-plugin-react-helmet-canonical-urls": "^1.4.0",
41-
"gatsby-plugin-react-svg": "^3.1.0",
42-
"gatsby-plugin-robots-txt": "^1.7.1",
43-
"gatsby-plugin-sharp": "^4.21.0",
44-
"gatsby-plugin-sitemap": "^5.21.0",
41+
"gatsby-plugin-react-svg": "^3.3.0",
42+
"gatsby-plugin-robots-txt": "^1.8.0",
43+
"gatsby-plugin-sharp": "^5.4.0",
44+
"gatsby-plugin-sitemap": "^6.4.0",
4545
"gatsby-remark-autolink-headers": "^5.21.0",
4646
"gatsby-remark-copy-linked-files": "^5.21.0",
4747
"gatsby-remark-images": "^6.21.0",
4848
"gatsby-remark-reading-time": "^1.1.0",
49-
"gatsby-source-filesystem": "^4.21.1",
49+
"gatsby-source-filesystem": "^5.4.0",
5050
"gatsby-theme-i18n": "^3.0.0",
5151
"gatsby-theme-i18n-react-intl": "^3.0.0",
52-
"gatsby-transformer-csv": "^4.0.0",
52+
"gatsby-transformer-csv": "^5.4.0",
5353
"gatsby-transformer-gitinfo": "^1.1.0",
54-
"gatsby-transformer-json": "^4.11.0",
55-
"gatsby-transformer-remark": "^5.25.1",
56-
"gatsby-transformer-sharp": "^4.21.0",
54+
"gatsby-transformer-json": "^5.4.0",
55+
"gatsby-transformer-remark": "^6.4.0",
56+
"gatsby-transformer-sharp": "^5.4.0",
5757
"is-relative-url": "^3.0.0",
5858
"lodash": "^4.17.21",
5959
"luxon": "^1.28.1",
@@ -110,14 +110,14 @@
110110
},
111111
"scripts": {
112112
"build": "gatsby build",
113-
"build:lambda": "netlify-lambda build src/lambda --config=./webpack.lambda.js",
113+
"build:lambda": "NODE_OPTIONS=--openssl-legacy-provider netlify-lambda build src/lambda --config=./webpack.lambda.js",
114114
"build:10gb": "NODE_OPTIONS=--max-old-space-size=10240 gatsby build",
115115
"clean": "gatsby clean",
116116
"crowdin-clean": "rm -rf .crowdin && mkdir .crowdin",
117117
"crowdin-import": "ts-node src/scripts/crowdin-import.ts",
118118
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
119119
"markdown-checker": "node src/scripts/markdown-checker.js",
120-
"generate-heading-ids": "ts-node --esm src/scripts/generateHeadingIds.mts",
120+
"generate-heading-ids": "ts-node -O '{ \"module\": \"commonjs\" }' src/scripts/generateHeadingIds.ts",
121121
"start": "gatsby develop",
122122
"start:lambda": "netlify-lambda serve src/lambda",
123123
"start:static": "gatsby build && gatsby serve",
@@ -132,7 +132,7 @@
132132
}
133133
},
134134
"volta": {
135-
"node": "16.15.0",
135+
"node": "18.13.0",
136136
"npm": "8.5.5",
137137
"yarn": "1.22.18"
138138
}

src/pages/bug-bounty.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ export const ClientLogosSmall = graphql`
872872
export const query = graphql`
873873
query BugBountyPage {
874874
consensusBountyHunters: allConsensusBountyHuntersCsv(
875-
sort: { order: DESC, fields: score }
875+
sort: { score: DESC }
876876
) {
877877
nodes {
878878
username
@@ -881,7 +881,7 @@ export const query = graphql`
881881
}
882882
}
883883
executionBountyHunters: allExecutionBountyHuntersCsv(
884-
sort: { order: DESC, fields: score }
884+
sort: { score: DESC }
885885
) {
886886
nodes {
887887
username

src/pages/developers/tutorials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export const query = graphql`
466466
query DevelopersTutorialsPage {
467467
allTutorials: allMdx(
468468
filter: { slug: { regex: "/tutorials/" } }
469-
sort: { fields: frontmatter___published, order: DESC }
469+
sort: { frontmatter: { published: DESC } }
470470
) {
471471
nodes {
472472
fields {

src/pages/upgrades/get-involved/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,7 @@ export const Clients = graphql`
542542

543543
export const query = graphql`
544544
query GetInvolvedPage {
545-
bountyHunters: allConsensusBountyHuntersCsv(
546-
sort: { order: DESC, fields: score }
547-
) {
545+
bountyHunters: allConsensusBountyHuntersCsv(sort: { score: DESC }) {
548546
nodes {
549547
username
550548
name

0 commit comments

Comments
 (0)