Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Gatsby to v5.13.7 and related dependencies #675

Merged
merged 4 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

.gitignore
/\"**/*.{js,jsx}\"
5 changes: 0 additions & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ module.exports = {
},
},
`gatsby-plugin-styled-components`,
{
resolve: `gatsby-plugin-create-client-paths`,
options: { prefixes: [`/edit/*`] },
},

{
resolve: `gatsby-plugin-csp`,
options: {
Expand Down
59 changes: 30 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,34 @@
"@knight-lab/timelinejs": "^3.9.3",
"@mapbox/geo-viewport": "^0.5.0",
"@mapbox/mapbox-gl-draw": "^1.3.0",
"@reach/accordion": "^0.17.0",
"@reach/auto-id": "^0.17.0",
"@reach/accordion": "^0.18.0",
"@reach/auto-id": "^0.18.0",
"@reach/combobox": "^0.18.0",
"@reach/disclosure": "^0.17.0",
"@reach/listbox": "^0.17.0",
"@reach/visually-hidden": "^0.17.0",
"@reach/disclosure": "^0.18.0",
"@reach/listbox": "^0.18.0",
"@reach/visually-hidden": "^0.18.0",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/boolean-disjoint": "^6.5.0",
"@turf/centroid": "^6.5.0",
"@turf/envelope": "^6.5.0",
"d3": "^7.3.0",
"date-fns": "^2.28.0",
"gatsby": "^4.8.1",
"gatsby-plugin-create-client-paths": "^4.8.0",
"gatsby-plugin-csp": "^1.1.3",
"gatsby-plugin-google-gtag": "4.24.0",
"gatsby-plugin-image": "^2.8.1",
"gatsby-plugin-less": "6.25.0-next.0",
"gatsby-plugin-manifest": "^4.8.1",
"gatsby-plugin-offline": "^5.8.1",
"gatsby-plugin-postcss": "5.10.0",
"gatsby-plugin-react-helmet": "^5.8.0",
"gatsby-plugin-sharp": "^4.8.1",
"gatsby-plugin-styled-components": "^5.8.0",
"gatsby-plugin-typography": "^4.8.0",
"gatsby-source-filesystem": "^4.8.1",
"gatsby-transformer-json": "^4.8.0",
"gatsby-transformer-sharp": "^4.8.0",
"gatsby": "^5.13.7",
"gatsby-plugin-csp": "^1.1.4",
"gatsby-plugin-google-gtag": "5.13.1",
"gatsby-plugin-image": "^3.13.1",
"gatsby-plugin-less": "7.13.1",
"gatsby-plugin-manifest": "^5.13.1",
"gatsby-plugin-offline": "^6.13.2",
"gatsby-plugin-postcss": "6.13.1",
"gatsby-plugin-react-helmet": "^6.13.1",
"gatsby-plugin-sharp": "^5.13.1",
"gatsby-plugin-styled-components": "^6.13.1",
"gatsby-plugin-typography": "^5.13.1",
"gatsby-source-filesystem": "^5.13.1",
"gatsby-transformer-json": "^5.13.1",
"gatsby-transformer-sharp": "^5.13.1",
"lodash.debounce": "^4.0.8",
"mapbox-gl": "1.13.1",
"nuka-carousel": "^4.8.4",
Expand All @@ -56,25 +55,26 @@
"react-helmet": "^6.1.0",
"react-tooltip": "^5.26.3",
"react-typography": "^0.16.20",
"sharp": "^0.33.4",
"styled-components": "^5.3.3",
"typography": "^0.16.21",
"use-debounce": "^7.0.1",
"wellknown": "^0.5.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@playwright/test": "1.31.2",
"@quickbaseoss/babel-plugin-styled-components-css-namespace": "^1.0.1",
"@testing-library/react-hooks": "^7.0.2",
"axe-core": "^4.4.1",
"axe-playwright": "^1.2.3",
"babel-jest": "^29.5.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-styled-components": "^2.0.6",
"babel-preset-gatsby": "^2.8.1",
"babel-plugin-styled-components": "^2.1.4",
"babel-preset-gatsby": "^3.13.2",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-config-react-app": "^7.0.0",
Expand All @@ -85,7 +85,7 @@
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"gatsby-plugin-perf-budgets": "^0.0.18",
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.26",
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.32",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down Expand Up @@ -124,5 +124,6 @@
},
"overrides": {
"playwright": "1.31.2"
}
},
"browserslist": "> 0.25%, not dead"
}
32 changes: 16 additions & 16 deletions src/components/__tests__/__snapshots__/card.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

exports[`Card renders card with tag 1`] = `
<div
className="card___StyledDiv-sc-16fz0z7-1 jaYWWZ"
className="card___StyledDiv-sc-16fz0z7-1 jcRYMA"
>
<a
className="card___StyledLink-sc-16fz0z7-2 jDaJEM"
className="card___StyledLink-sc-16fz0z7-2 dDHGTR"
data-cy="campaigns-card"
>
<div
className="card__CardHeader-sc-16fz0z7-0 gbZyqC"
className="card__CardHeader-sc-16fz0z7-0 qvFHz"
>
<div
className="card___StyledDiv2-sc-16fz0z7-4 cPSZeM"
className="card___StyledDiv2-sc-16fz0z7-4 eUlfwF"
>
<svg
height="80"
Expand All @@ -36,7 +36,7 @@ exports[`Card renders card with tag 1`] = `
</div>
<div>
<big
className="cardtest___StyledBig-sc-1cx8i5d-0 etMSdh"
className="cardtest___StyledBig-sc-1cx8i5d-0 kGDInE"
data-cy="shortname"
>
GCPEx
Expand All @@ -53,7 +53,7 @@ exports[`Card renders card with tag 1`] = `
</p>
</div>
<div
className="card___StyledDiv3-sc-16fz0z7-5 hugbRo"
className="card___StyledDiv3-sc-16fz0z7-5 iJZYOB"
data-cy="stationary-tag"
>
Stationary
Expand All @@ -64,17 +64,17 @@ exports[`Card renders card with tag 1`] = `

exports[`Card renders plain card 1`] = `
<div
className="card___StyledDiv-sc-16fz0z7-1 jaYWWZ"
className="card___StyledDiv-sc-16fz0z7-1 jcRYMA"
>
<a
className="card___StyledLink-sc-16fz0z7-2 jDaJEM"
className="card___StyledLink-sc-16fz0z7-2 dDHGTR"
data-cy="campaigns-card"
>
<div
className="card__CardHeader-sc-16fz0z7-0 gbZyqC"
className="card__CardHeader-sc-16fz0z7-0 qvFHz"
>
<div
className="card___StyledDiv2-sc-16fz0z7-4 cPSZeM"
className="card___StyledDiv2-sc-16fz0z7-4 eUlfwF"
>
<svg
height="80"
Expand All @@ -98,7 +98,7 @@ exports[`Card renders plain card 1`] = `
</div>
<div>
<big
className="cardtest___StyledBig-sc-1cx8i5d-0 etMSdh"
className="cardtest___StyledBig-sc-1cx8i5d-0 kGDInE"
data-cy="shortname"
>
GCPEx
Expand All @@ -120,17 +120,17 @@ exports[`Card renders plain card 1`] = `

exports[`Card renders with footer list 1`] = `
<div
className="card___StyledDiv-sc-16fz0z7-1 jaYWWZ"
className="card___StyledDiv-sc-16fz0z7-1 jcRYMA"
>
<a
className="card___StyledLink-sc-16fz0z7-2 jDaJEM"
className="card___StyledLink-sc-16fz0z7-2 dDHGTR"
data-cy="campaigns-card"
>
<div
className="card__CardHeader-sc-16fz0z7-0 gbZyqC"
className="card__CardHeader-sc-16fz0z7-0 qvFHz"
>
<div
className="card___StyledDiv2-sc-16fz0z7-4 cPSZeM"
className="card___StyledDiv2-sc-16fz0z7-4 eUlfwF"
>
<svg
height="80"
Expand All @@ -154,7 +154,7 @@ exports[`Card renders with footer list 1`] = `
</div>
<div>
<big
className="cardtest___StyledBig-sc-1cx8i5d-0 etMSdh"
className="cardtest___StyledBig-sc-1cx8i5d-0 kGDInE"
data-cy="shortname"
>
GCPEx
Expand Down
8 changes: 4 additions & 4 deletions src/components/__tests__/__snapshots__/chip.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`Chip renders with action 1`] = `
<div
className="chip___StyledDiv-sc-4ga8fx-0 cqOzva"
className="chip___StyledDiv-sc-4ga8fx-0 gxafbr"
data-cy="filter-chip"
>
<small
Expand All @@ -11,14 +11,14 @@ exports[`Chip renders with action 1`] = `
Weather
</small>
<button
className="button__Clickable-sc-1yw7vig-0 button___StyledClickable2-sc-1yw7vig-1 fRqvWm jFCEpa"
className="button__Clickable-sc-1yw7vig-0 button___StyledClickable2-sc-1yw7vig-1 cpFIXP ZpXgf"
data-cy="remove-filter"
onClick={[Function]}
type="button"
>
<span
aria-label="remove-filter-icon"
className="button___StyledSpan-sc-1yw7vig-3 lnRQLV"
className="button___StyledSpan-sc-1yw7vig-3 lgIojE"
role="img"
>
<svg
Expand All @@ -39,7 +39,7 @@ exports[`Chip renders with action 1`] = `

exports[`Chip renders without action 1`] = `
<div
className="chip___StyledDiv-sc-4ga8fx-0 cqOzva"
className="chip___StyledDiv-sc-4ga8fx-0 gxafbr"
data-cy="filter-chip"
>
<small
Expand Down
Loading
Loading