Skip to content

Commit

Permalink
chore(deps): update Gatsby to latest because of useful fix
Browse files Browse the repository at this point in the history
Because of this [fix](gatsbyjs/gatsby#36623) which I think if have seen happening in our Portal as well.

Run lint with NODE_ENV=test to prevent babel parsing error (because of babel config change it gets picket up now)
  • Loading branch information
tujoworker committed Oct 10, 2022
1 parent 04ccbdd commit 9081dff
Show file tree
Hide file tree
Showing 4 changed files with 563 additions and 1,855 deletions.
4 changes: 0 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ packageExtensions:
stylelint@*:
dependencies:
postcss-scss: "*"
gatsby@*:
dependencies:
history: "*"
process: "*"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
[
'babel-preset-gatsby',
{
stage: process.env.NODE_ENV ? 'develop-html' : 'build-html',
reactRuntime: 'automatic',
},
],
Expand Down
28 changes: 14 additions & 14 deletions packages/dnb-design-system-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"cypress:server": "gatsby serve -p 3030",
"lint": "eslint --quiet ./src",
"lint-staged": "lint-staged",
"lint:ci": "yarn lint:js && yarn lint:styles",
"lint:ci": "NODE_ENV=test yarn lint:js && yarn lint:styles",
"lint:js": "yarn lint --fix",
"lint:js:staged": "eslint --quiet --fix",
"lint:styles": "stylelint './src/**/*.{js,css}'",
Expand Down Expand Up @@ -65,7 +65,7 @@
"@babel/eslint-parser": "7.18.2",
"@babel/node": "7.16.0",
"@emotion/cache": "11.9.3",
"babel-preset-gatsby": "2.20.0",
"babel-preset-gatsby": "2.24.0",
"camelcase": "6.2.0",
"cross-env": "7.0.3",
"current-git-branch": "1.1.0",
Expand All @@ -78,25 +78,25 @@
"eslint-plugin-react-hooks": "4.5.0",
"front-matter": "4.0.2",
"fs-extra": "10.0.0",
"gatsby": "4.20.0",
"gatsby-link": "4.20.0",
"gatsby": "4.24.3",
"gatsby-link": "4.24.0",
"gatsby-plugin-algolia": "0.26.0",
"gatsby-plugin-catch-links": "4.20.0",
"gatsby-plugin-catch-links": "4.24.0",
"gatsby-plugin-emotion": "7.1.0",
"gatsby-plugin-eufemia-theme-handler": "workspace:*",
"gatsby-plugin-gatsby-cloud": "4.20.0",
"gatsby-plugin-manifest": "4.20.0",
"gatsby-plugin-gatsby-cloud": "4.24.0",
"gatsby-plugin-manifest": "4.24.0",
"gatsby-plugin-mdx": "3.20.0",
"gatsby-plugin-meta-redirect": "1.1.1",
"gatsby-plugin-offline": "5.20.0",
"gatsby-plugin-page-creator": "4.20.0",
"gatsby-plugin-offline": "5.24.0",
"gatsby-plugin-page-creator": "4.24.0",
"gatsby-plugin-remove-serviceworker": "1.0.0",
"gatsby-plugin-sass": "5.20.0",
"gatsby-plugin-sass": "5.24.0",
"gatsby-plugin-scroll-position": "1.2.1",
"gatsby-plugin-sharp": "4.20.0",
"gatsby-react-router-scroll": "5.20.0",
"gatsby-remark-images": "6.20.0",
"gatsby-source-filesystem": "4.20.0",
"gatsby-plugin-sharp": "4.24.0",
"gatsby-react-router-scroll": "5.24.0",
"gatsby-remark-images": "6.24.0",
"gatsby-source-filesystem": "4.24.0",
"github-slugger": "1.4.0",
"is-absolute-url": "4.0.1",
"jest": "28.1.1",
Expand Down
Loading

0 comments on commit 9081dff

Please sign in to comment.