Skip to content

Commit

Permalink
feat: bump styled-components lib version examples (#24482)
Browse files Browse the repository at this point in the history
Hi folks I know many people that use that example and it could be using the new version of React to be according with the NextJS v11 

## Documentation / Examples

- [ ] Make sure the linting passes
- [ ] Make sure that the bumped up versions are okay
  • Loading branch information
omariosouto authored Apr 27, 2021
1 parent 0f2bd4f commit 5de5e49
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
9 changes: 5 additions & 4 deletions examples/with-styled-components-rtl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
},
"dependencies": {
"next": "latest",
"react": "16.12.0",
"react-dom": "16.12.0",
"styled-components": "5.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"styled-components": "^5.2.3",
"stylis-plugin-rtl": "1.0.0"
},
"devDependencies": {
"babel-plugin-styled-components": "1.10.6"
"babel-plugin-styled-components": "^1.12.0"
},
"license": "MIT"
}
10 changes: 5 additions & 5 deletions examples/with-styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
},
"dependencies": {
"next": "latest",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-is": "^16.8.0",
"styled-components": "^5.0.0"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"styled-components": "^5.2.3"
},
"devDependencies": {
"babel-plugin-styled-components": "^1.8.0"
"babel-plugin-styled-components": "^1.12.0"
},
"license": "MIT"
}
19 changes: 10 additions & 9 deletions examples/with-typescript-styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
},
"dependencies": {
"next": "latest",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"styled-components": "^5.0.0"
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"styled-components": "^5.2.3"
},
"devDependencies": {
"@types/node": "12.0.12",
"@types/react": "16.8.23",
"@types/react-dom": "16.8.4",
"@types/styled-components": "5.0.1",
"babel-plugin-styled-components": "^1.10.0",
"typescript": "4.0"
"@types/node": "15.0.0",
"@types/react": "17.0.4",
"@types/react-dom": "17.0.3",
"@types/styled-components": "5.1.9",
"babel-plugin-styled-components": "^1.12.0",
"typescript": "4.2.4"
},
"license": "MIT"
}

0 comments on commit 5de5e49

Please sign in to comment.