gatsby-style-guide-guide
gatsby-style-guide-guide copied to clipboard
Gatsby v3
Hi all,
I had a LOT of issues getting this repository to work in Gatsby v2 for some reason, however upgrading it to v3 seemed to do the trick!
Here is my package.json file contents if anyone is interested!
{ "name": "gatsby-blog-starter-kit", "description": "Gatsby blog starter example", "version": "1.2.0", "author": "Dustin Schau [email protected] (https://dustinschau.com)", "repository": "https://github.com/dschau/gatsby-blog-starter-kit", "dependencies": { "babel-preset-gatsby": "^1.1.0", "gatsby": "~3.1.1", "gatsby-plugin-catch-links": "~3.1.0", "gatsby-plugin-react-helmet": "^4.1.0", "gatsby-plugin-sass": "^4.1.0", "gatsby-plugin-sharp": "^3.1.1", "gatsby-remark-images": "^4.1.0", "gatsby-remark-prismjs": "^4.1.0", "gatsby-source-filesystem": "~3.1.0", "gatsby-transformer-remark": "~3.1.0", "markdown-it": "^12.0.4", "node-sass": "^5.0.0", "prismjs": "^1.23.0", "prop-types": "^15.7.2", "react": "~17.0.2", "react-dom": "~17.0.2", "react-helmet": "^6.1.0", "react-icons": "~4.2.0", "react-prism": "^4.3.2" }, "devDependencies": { "classnames": "^2.2.5", "eslint": "^7.22.0", "eslint-plugin-react": "^7.23.0", "gh-pages": "^3.1.0", "prettier": "2.2.1", "react-element-to-jsx-string": "^14.3.2", "s3-deploy": "^1.4.0" }, "keywords": [ "gatsby" ], "license": "MIT", "main": "n/a", "scripts": { "build": "gatsby build", "develop": "gatsby develop", "serve": "gatsby serve", "deploy": "gatsby build --prefix-paths && gh-pages -d public", "lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .", "format": "prettier --trailing-comma es5 --no-semi --single-quote --write 'src//*.js' 'src//*.md'", "fix-semi": "eslint --quiet --ignore-pattern node_modules --ignore-pattern public --parser babel-eslint --no-eslintrc --rule '{"semi": [2, "never"], "no-extra-semi": [2]}' --fix gatsby-node.js" } }
Thanks @mandrew ! This project hasn't been upgraded to the latest version of Gatsby, so I appreciate you sharing this. Also, PRs are welcome!