dev: upgrade to gatsby 4 (#2553)

This commit is contained in:
Ludovic Fernandez 2022-02-06 10:52:34 +01:00 committed by GitHub
parent 19385fa814
commit 4b37b0e375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11843 additions and 22871 deletions

View File

@ -22,7 +22,6 @@ module.exports = {
}, },
plugins: [ plugins: [
`gatsby-alias-imports`, `gatsby-alias-imports`,
`gatsby-transformer-sharp`, `gatsby-transformer-sharp`,
`gatsby-plugin-sharp`, `gatsby-plugin-sharp`,
{ {
@ -52,7 +51,6 @@ module.exports = {
gatsbyRemarkPlugins: [ gatsbyRemarkPlugins: [
`gatsby-remark-autolink-headers`, `gatsby-remark-autolink-headers`,
`gatsby-remark-external-links`, `gatsby-remark-external-links`,
`gatsby-remark-embedder`,
{ {
resolve: `gatsby-remark-images`, resolve: `gatsby-remark-images`,
options: { options: {
@ -109,7 +107,6 @@ module.exports = {
}, },
`gatsby-plugin-netlify`, `gatsby-plugin-netlify`,
`gatsby-plugin-netlify-cache`, `gatsby-plugin-netlify-cache`,
`gatsby-plugin-catch-links`, `gatsby-plugin-catch-links`,
`gatsby-plugin-emotion`, `gatsby-plugin-emotion`,
`gatsby-plugin-react-helmet`, `gatsby-plugin-react-helmet`,

34668
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,34 +10,34 @@
"@emotion/styled": "^11.6.0", "@emotion/styled": "^11.6.0",
"@mdx-js/mdx": "^1.6.22", "@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "^1.6.16", "@mdx-js/react": "^1.6.16",
"gatsby": "^2.32.13", "gatsby": "^4.6.0",
"gatsby-alias-imports": "^1.0.6", "gatsby-alias-imports": "^1.0.6",
"gatsby-plugin-canonical-urls": "^2.10.0", "gatsby-plugin-canonical-urls": "^4.6.0",
"gatsby-plugin-catch-links": "^2.10.0", "gatsby-plugin-catch-links": "^4.6.0",
"gatsby-plugin-emotion": "^5.0.0", "gatsby-plugin-emotion": "^7.6.0",
"gatsby-plugin-google-analytics": "^4.6.0", "gatsby-plugin-google-analytics": "^4.6.0",
"gatsby-plugin-manifest": "^2.12.1", "gatsby-plugin-manifest": "^4.6.0",
"gatsby-plugin-mdx": "^2.14.0", "gatsby-plugin-mdx": "^3.6.0",
"gatsby-plugin-netlify": "^2.11.1", "gatsby-plugin-netlify": "^4.1.0",
"gatsby-plugin-netlify-cache": "^2.0.0", "gatsby-plugin-netlify-cache": "^2.0.0",
"gatsby-plugin-offline": "^5.6.0", "gatsby-plugin-offline": "^5.6.0",
"gatsby-plugin-react-helmet": "^3.10.0", "gatsby-plugin-react-helmet": "^5.6.0",
"gatsby-plugin-react-svg": "^3.1.0", "gatsby-plugin-react-svg": "^3.1.0",
"gatsby-plugin-robots-txt": "^1.6.14", "gatsby-plugin-robots-txt": "^1.7.0",
"gatsby-plugin-sharp": "^3.10.2", "gatsby-plugin-sharp": "^4.6.0",
"gatsby-plugin-sitemap": "^5.6.0", "gatsby-plugin-sitemap": "^5.6.0",
"gatsby-remark-autolink-headers": "^2.11.0", "gatsby-remark-autolink-headers": "^5.6.0",
"gatsby-remark-copy-linked-files": "^5.6.0", "gatsby-remark-copy-linked-files": "^5.6.0",
"gatsby-remark-embedder": "^4.2.0", "gatsby-remark-external-links": "^0.0.4",
"gatsby-remark-external-links": "0.0.4", "gatsby-remark-images": "^6.6.0",
"gatsby-remark-images": "^3.11.1",
"gatsby-remark-mermaid": "^2.1.0", "gatsby-remark-mermaid": "^2.1.0",
"gatsby-remark-responsive-iframe": "^2.11.0", "gatsby-remark-responsive-iframe": "^5.6.0",
"gatsby-source-filesystem": "^2.11.1", "gatsby-source-filesystem": "^4.6.0",
"gatsby-transformer-remark": "^2.16.1", "gatsby-transformer-remark": "^5.6.0",
"gatsby-transformer-sharp": "^2.12.1", "gatsby-transformer-sharp": "^4.6.0",
"gatsby-transformer-yaml": "^2.11.0", "gatsby-transformer-yaml": "^4.6.0",
"polished": "^4.1.4", "polished": "^4.1.4",
"postcss": "^8.4.6",
"prism-react-renderer": "^1.2.1", "prism-react-renderer": "^1.2.1",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"puppeteer": "^13.1.3", "puppeteer": "^13.1.3",
@ -46,7 +46,7 @@
"react-headroom": "^3.2.0", "react-headroom": "^3.2.0",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"react-icons": "^4.3.1", "react-icons": "^4.3.1",
"react-live": "^2.4.1", "react-live": "^3.0.0",
"url-join": "^4.0.1" "url-join": "^4.0.1"
}, },
"devDependencies": {}, "devDependencies": {},

View File

@ -1,8 +1,11 @@
[context.production.environment] [context.production.environment]
GO_VERSION = "1.16" GO_VERSION = "1.16"
NODE_VERSION = "17"
[context.deploy-preview.environment] [context.deploy-preview.environment]
GO_VERSION = "1.16" GO_VERSION = "1.16"
NODE_VERSION = "17"
[context.branch-deploy.environment] [context.branch-deploy.environment]
GO_VERSION = "1.16" GO_VERSION = "1.16"
NODE_VERSION = "17"