Skip to content

Commit

Permalink
fix: react peer deps on newer components (#3472)
Browse files Browse the repository at this point in the history
  • Loading branch information
SiTaggart authored Sep 6, 2023
1 parent cc89c01 commit 0b5f37e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 18 deletions.
9 changes: 9 additions & 0 deletions .changeset/poor-ants-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@twilio-paste/account-switcher': patch
'@twilio-paste/product-switcher': patch
'@twilio-paste/progress-steps': patch
'@twilio-paste/visual-picker': patch
'@twilio-paste/core': patch
---

[account-switcher, product-switcher, progress-steps, visual-picker] Corrected the React and React-dom peer dependency versions to include React 16 and 17
4 changes: 2 additions & 2 deletions packages/paste-core/components/account-switcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@types/react": "^16.8.6 || ^17.0.2 || ^18.0.27",
"@types/react-dom": "^16.8.6 || ^17.0.2 || ^18.0.10",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^16.8.6 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.2 || ^18.0.0"
},
"devDependencies": {
"@twilio-paste/anchor": "^12.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/paste-core/components/product-switcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@types/react": "^16.8.6 || ^17.0.2 || ^18.0.27",
"@types/react-dom": "^16.8.6 || ^17.0.2 || ^18.0.10",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^16.8.6 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.2 || ^18.0.0"
},
"devDependencies": {
"@twilio-paste/anchor": "^12.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/paste-core/components/progress-steps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@types/react": "^16.8.6 || ^17.0.2 || ^18.0.27",
"@types/react-dom": "^16.8.6 || ^17.0.2 || ^18.0.10",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^16.8.6 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.2 || ^18.0.0"
},
"devDependencies": {
"@twilio-paste/animation-library": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/paste-core/components/visual-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@types/react": "^16.8.6 || ^17.0.2 || ^18.0.27",
"@types/react-dom": "^16.8.6 || ^17.0.2 || ^18.0.10",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^16.8.6 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.2 || ^18.0.0"
},
"devDependencies": {
"@twilio-paste/animation-library": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions tools/plop-templates/package.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"@twilio-paste/theme": "^10.0.2",
"@twilio-paste/types": "^5.0.0",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^16.8.6 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.8.6 || ^17.0.2 || ^18.0.0"
},
"devDependencies": {
"@twilio-paste/animation-library": "^1.0.0",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12508,8 +12508,8 @@ __metadata:
"@types/react": ^16.8.6 || ^17.0.2 || ^18.0.27
"@types/react-dom": ^16.8.6 || ^17.0.2 || ^18.0.10
prop-types: ^15.7.2
react: ^18.0.0
react-dom: ^18.0.0
react: ^16.8.6 || ^17.0.2 || ^18.0.0
react-dom: ^16.8.6 || ^17.0.2 || ^18.0.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -15357,8 +15357,8 @@ __metadata:
"@types/react": ^16.8.6 || ^17.0.2 || ^18.0.27
"@types/react-dom": ^16.8.6 || ^17.0.2 || ^18.0.10
prop-types: ^15.7.2
react: ^18.0.0
react-dom: ^18.0.0
react: ^16.8.6 || ^17.0.2 || ^18.0.0
react-dom: ^16.8.6 || ^17.0.2 || ^18.0.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -15448,8 +15448,8 @@ __metadata:
"@types/react": ^16.8.6 || ^17.0.2 || ^18.0.27
"@types/react-dom": ^16.8.6 || ^17.0.2 || ^18.0.10
prop-types: ^15.7.2
react: ^18.0.0
react-dom: ^18.0.0
react: ^16.8.6 || ^17.0.2 || ^18.0.0
react-dom: ^16.8.6 || ^17.0.2 || ^18.0.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -16933,8 +16933,8 @@ __metadata:
"@types/react": ^16.8.6 || ^17.0.2 || ^18.0.27
"@types/react-dom": ^16.8.6 || ^17.0.2 || ^18.0.10
prop-types: ^15.7.2
react: ^18.0.0
react-dom: ^18.0.0
react: ^16.8.6 || ^17.0.2 || ^18.0.0
react-dom: ^16.8.6 || ^17.0.2 || ^18.0.0
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 0b5f37e

Please sign in to comment.