Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from EmaSuriano/gatsby-v4
Browse files Browse the repository at this point in the history
BREAKING CHANGE: gatsby v4
  • Loading branch information
EmaSuriano authored Mar 21, 2022
2 parents 5e7d602 + fcec16a commit 07006e3
Show file tree
Hide file tree
Showing 6 changed files with 3,796 additions and 5,169 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:ui": "yarn cy open"
},
"dependencies": {
"gatsby": "^3.11.0",
"gatsby": "^4.10.1",
"gatsby-theme-mate": "0.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand Down
1 change: 1 addition & 0 deletions gatsby-theme-mate/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = ({
'gatsby-plugin-typescript',
'gatsby-plugin-styled-components',
'gatsby-transformer-remark',
'gatsby-plugin-image',
{
resolve: 'gatsby-plugin-manifest',
options: {
Expand Down
26 changes: 13 additions & 13 deletions gatsby-theme-mate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@
"@rebass/preset": "^4.0.5",
"@tippy.js/react": "^3.1.1",
"assert": "^2.0.0",
"babel-plugin-styled-components": "^2.0.2",
"gatsby-plugin-image": "^1.11.0",
"gatsby-plugin-manifest": "^3.11.0",
"gatsby-plugin-react-helmet": "^4.11.0",
"gatsby-plugin-sharp": "^3.11.0",
"gatsby-plugin-styled-components": "^4.11.0",
"gatsby-plugin-typescript": "^3.11.0",
"gatsby-source-contentful": "^5.11.0",
"gatsby-source-medium": "^3.11.0",
"gatsby-transformer-remark": "^4.8.0",
"babel-plugin-styled-components": "^2.0.6",
"gatsby-plugin-image": "^2.10.0",
"gatsby-plugin-manifest": "^4.10.1",
"gatsby-plugin-react-helmet": "^5.10.0",
"gatsby-plugin-sharp": "^4.10.1",
"gatsby-plugin-styled-components": "^5.10.0",
"gatsby-plugin-typescript": "^4.10.0",
"gatsby-source-contentful": "^7.8.1",
"gatsby-source-medium": "^4.10.0",
"gatsby-transformer-remark": "^5.10.1",
"react-awesome-reveal": "^3.8.1",
"react-headroom": "^3.1.1",
"react-headroom": "^3.2.0",
"react-helmet": "^6.1.0",
"react-markdown": "^7.0.0",
"react-text-loop": "^2.3.0",
"rebass": "^4.0.7",
"styled-components": "^5.3.0"
"styled-components": "^5.3.3"
},
"devDependencies": {
"@types/react-headroom": "^2.2.2",
"@types/react-helmet": "^6.1.2",
"@types/rebass": "^4.0.9",
"typescript": "^4.3.5"
"typescript": "^4.6.2"
}
}
2 changes: 1 addition & 1 deletion gatsby-theme-mate/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Header = () => {
</Flex>
</RebassLink>
<Flex mr={[0, 3, 5]}>
{Object.keys(SECTION)
{(Object.keys(SECTION) as Array<keyof typeof SECTION>)
.filter((id) => id !== 'home')
.map((id) => (
<Box key={id} ml={[2, 3]} color="background" fontSize={[2, 3]}>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
],
"devDependencies": {
"env-cmd": "^10.1.0",
"start-server-and-test": "^1.13.1"
"start-server-and-test": "^1.14.0"
}
}
Loading

0 comments on commit 07006e3

Please sign in to comment.