Skip to content

Commit

Permalink
Gatsby V3 (#146)
Browse files Browse the repository at this point in the history
* 💯 Fixed testing

* 💯 Fixed indentation

* 🐛 Removed packages that are not needed

* 🐛 Removed additional dependency

* Fix dependencies and update snapshots

* Update node versions checked in CI

* 🔨 Upgraded packages

* 🧹 Changed github reference

* Remove package-lock.json

* Allow gatsby 2 or 3

Co-authored-by: Andrew Branch <andrew@wheream.io>
  • Loading branch information
tnorlund and andrewbranch authored Mar 21, 2021
1 parent 7bf5c03 commit bb3f98c
Show file tree
Hide file tree
Showing 10 changed files with 19,202 additions and 23,175 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '10', '12' ]
node: [ '12', '14' ]
name: build and test (node ${{ matrix.node }})
steps:
- uses: actions/checkout@v1
Expand Down
12 changes: 6 additions & 6 deletions examples/example-site/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ module.exports = {
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
//trackingId: `ADD YOUR TRACKING ID HERE`,
},
},
// {
// resolve: `gatsby-plugin-google-analytics`,
// options: {
// //trackingId: `ADD YOUR TRACKING ID HERE`,
// },
// },
`gatsby-plugin-feed`,
{
resolve: `gatsby-plugin-manifest`,
Expand Down
17,896 changes: 0 additions & 17,896 deletions examples/example-site/package-lock.json

This file was deleted.

54 changes: 29 additions & 25 deletions examples/example-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,40 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"gatsby": "^2.17.4",
"gatsby-image": "^2.2.29",
"gatsby-plugin-feed": "^2.3.19",
"gatsby-plugin-google-analytics": "^2.1.23",
"gatsby-plugin-manifest": "^2.2.23",
"gatsby-plugin-offline": "^3.0.16",
"gatsby-plugin-react-helmet": "^3.1.13",
"gatsby-plugin-sharp": "^2.2.32",
"gatsby-plugin-typography": "^2.3.14",
"gatsby-remark-copy-linked-files": "^2.1.28",
"gatsby-remark-images": "^3.1.28",
"gatsby-remark-prismjs": "^3.3.20",
"gatsby-remark-responsive-iframe": "^2.2.25",
"gatsby-remark-smartypants": "^2.1.14",
"gatsby-source-filesystem": "^2.1.33",
"gatsby-transformer-remark": "^2.6.30",
"gatsby-transformer-sharp": "^2.3.0",
"prismjs": "^1.17.1",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-helmet": "^5.2.1",
"babel-eslint": "^10.1.0",
"gatsby": "^3.1.1",
"gatsby-image": "^3.1.0",
"gatsby-plugin-feed": "^3.1.0",
"gatsby-plugin-google-analytics": "^3.1.0",
"gatsby-plugin-manifest": "^3.1.0",
"gatsby-plugin-offline": "^4.1.0",
"gatsby-plugin-react-helmet": "^4.1.0",
"gatsby-plugin-sharp": "^3.1.1",
"gatsby-plugin-typography": "^3.1.0",
"gatsby-remark-copy-linked-files": "^3.1.0",
"gatsby-remark-images": "^4.1.0",
"gatsby-remark-prismjs": "^4.1.0",
"gatsby-remark-responsive-iframe": "^3.1.0",
"gatsby-remark-smartypants": "^3.1.0",
"gatsby-source-filesystem": "^3.1.0",
"gatsby-transformer-remark": "^3.1.0",
"gatsby-transformer-sharp": "^3.1.0",
"graphql": "^15.5.0",
"prismjs": "^1.23.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-typography": "^0.16.19",
"rehype-react": "^4.0.1",
"typeface-merriweather": "0.0.72",
"typeface-montserrat": "0.0.75",
"rehype-react": "^6.2.0",
"typeface-merriweather": "^1.1.13",
"typeface-montserrat": "^1.1.13",
"typescript": "^4.2.3",
"typography": "^0.16.19",
"typography-theme-wordpress-2016": "^0.16.19",
"vscode-styled-components": "github:styled-components/vscode-styled-components"
"vscode-styled-components": "git://github.com/styled-components/vscode-styled-components"
},
"devDependencies": {
"eslint": "^7.22.0",
"prettier": "^1.18.2"
},
"homepage": "https://github.com/gatsbyjs/gatsby-starter-blog#readme",
Expand Down
14,167 changes: 14,167 additions & 0 deletions examples/example-site/yarn.lock

Large diffs are not rendered by default.

22 changes: 12 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,26 @@
"@types/json5": "0.0.30",
"@types/node": "^12.12.5",
"@types/plist": "^3.0.2",
"gatsby": "^2.22.9",
"gatsby-cli": "^2.12.58",
"gatsby-source-filesystem": "^2.3.8",
"gatsby-transformer-remark": "^2.8.13",
"babel-eslint": "^10.1.0",
"eslint": "^7.22.0",
"gatsby": "^3.1.1",
"gatsby-cli": "^3.1.0",
"gatsby-source-filesystem": "^3.1.0",
"gatsby-transformer-remark": "^3.1.0",
"glob": "^7.1.5",
"graphql": "^14.6.0",
"hast-util-raw": "^5.0.1",
"jest": "^26.0.1",
"jest": "^26.6.3",
"mdast-util-to-hast": "^6.0.2",
"open": "^7.0.0",
"prettier": "^1.18.2",
"react-dom": "^16.13.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rehype-stringify": "^6.0.0",
"remark-parse": "^7.0.1",
"remark-rehype": "^5.0.0",
"rimraf": "^3.0.2",
"synthwave-vscode": "github:robb0wen/synthwave-vscode",
"typescript": "^3.6.4",
"synthwave-vscode": "git://github.com/robb0wen/synthwave-vscode",
"typescript": "^4.2.3",
"unified": "^8.4.1"
},
"dependencies": {
Expand All @@ -69,7 +71,7 @@
"vscode-textmate": "^5.2.0"
},
"peerDependencies": {
"gatsby": "^2.12.1"
"gatsby": "^2.12.1 || ^3.1.1"
},
"jest": {
"testMatch": [
Expand Down
Loading

0 comments on commit bb3f98c

Please sign in to comment.