Skip to content

Commit

Permalink
Update react peer deps to be >=16.8.0 <18.0.0 (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBurnside authored Jun 10, 2021
1 parent 17c79dc commit 987fc4f
Show file tree
Hide file tree
Showing 23 changed files with 93 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update dev dependencies to satisify peer dependencies",
"packageName": "acs-ui-common",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "update react peer deps to be >=16.8.0 <18.0.0",
"packageName": "calling-component-bindings",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update dev dependencies to satisify peer dependencies",
"packageName": "calling-stateful-client",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "update react peer deps to be >=16.8.0 <18.0.0",
"packageName": "chat-component-bindings",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update dev dependencies to satisify peer dependencies",
"packageName": "chat-stateful-client",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "update react peer deps to be >=16.8.0 <18.0.0",
"packageName": "react-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "update react peer deps to be >=16.8.0 <18.0.0",
"packageName": "react-composites",
"email": "[email protected]",
"dependentChangeType": "patch"
}
3 changes: 2 additions & 1 deletion common/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"rollup": "~2.42.4",
"rollup-plugin-sourcemaps": "~0.6.3",
"rollup-plugin-svg": "~2.0.0",
"ts-node": "^9.1.1"
"ts-node": "^9.1.1",
"typescript": ">=2.7"
}
}
2 changes: 1 addition & 1 deletion common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* After modifying this field, it's recommended to run "rush update --full" so that the package manager
* will recalculate all version selections.
*/
// "implicitlyPreferredVersions": false,
"implicitlyPreferredVersions": false,

/**
* The "rush check" command can be used to enforce that every project in the repo must specify
Expand Down
1 change: 1 addition & 0 deletions packages/acs-ui-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"eslint-plugin-prettier": "^3.1.4",
"eslint": "^7.7.0",
"jest": "26.6.0",
"prettier": ">=1.13.0",
"rollup": "~2.42.4",
"ts-jest": "^26.4.4",
"typescript": "4.1.5"
Expand Down
4 changes: 3 additions & 1 deletion packages/calling-component-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"react-components": "1.0.0-beta.1"
},
"peerDependencies": {
"react": "^16.13.1"
"@types/react": ">=16.8.0 <18.0.0",
"react": ">=16.8.0 <18.0.0"
},
"devDependencies": {
"@microsoft/api-documenter": "~7.12.11",
Expand All @@ -43,6 +44,7 @@
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"jest": "26.6.0",
"prettier": ">=1.13.0",
"rollup": "~2.42.4",
"typescript": "4.1.5",
"ts-jest": "^26.4.4",
Expand Down
1 change: 1 addition & 0 deletions packages/calling-stateful-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"eslint": "^7.7.0",
"jest": "26.6.0",
"rollup": "~2.42.4",
"prettier": ">=1.13.0",
"ts-jest": "^26.4.4",
"typescript": "4.1.5",
"@types/react": "^16.9.49"
Expand Down
4 changes: 3 additions & 1 deletion packages/chat-component-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"memoize-one": "~5.1.1"
},
"peerDependencies": {
"react": "^16.13.1"
"@types/react": ">=16.8.0 <18.0.0",
"react": ">=16.8.0 <18.0.0"
},
"devDependencies": {
"@microsoft/api-documenter": "~7.12.11",
Expand All @@ -41,6 +42,7 @@
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"prettier": ">=1.13.0",
"rollup": "~2.42.4",
"typescript": "4.1.5",
"jest": "26.6.0",
Expand Down
1 change: 1 addition & 0 deletions packages/chat-stateful-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"eslint-plugin-prettier": "^3.1.4",
"eslint": "^7.7.0",
"jest": "26.6.0",
"prettier": ">=1.13.0",
"rollup": "~2.42.4",
"ts-jest": "^26.4.4",
"typescript": "4.1.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/check-treeshaking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1"
"eslint-plugin-import": "~2.22.1",
"prettier": ">=1.13.0"
}
}
10 changes: 7 additions & 3 deletions packages/communication-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@
"uuid": "^8.1.0"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"@types/react": ">=16.8.0 <18.0.0",
"@types/react-dom": ">=16.8.0 <18.0.0",
"react": ">=16.8.0 <18.0.0",
"react-dom": ">=16.8.0 <18.0.0"
},
"main": "./dist/dist-cjs/communication-react/index.js",
"module": "./dist/dist-esm/communication-react/src/index.js",
Expand Down Expand Up @@ -94,10 +96,11 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-react": "^7.18.3",
"jest": "26.6.0",
"json-stringify-safe": "^5.0.1",
"node-forge": "0.10.0",
"prettier": "2.0.5",
Expand All @@ -107,6 +110,7 @@
"react-is": "~17.0.1",
"react-components": "1.0.0-beta.1",
"react-composites": "1.0.0-beta.1",
"react-test-renderer": ">=16.9.0",
"regenerator-runtime": "^0.13.7",
"rollup": "~2.42.4",
"source-map-explorer": "^2.5.0",
Expand Down
8 changes: 5 additions & 3 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@
"html-to-react": "~1.4.5"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"@types/react": ">=16.8.0 <18.0.0",
"@types/react-dom": ">=16.8.0 <18.0.0",
"react": ">=16.8.0 <18.0.0",
"react-dom": ">=16.8.0 <18.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.7",
Expand Down Expand Up @@ -67,7 +69,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-react": "^7.18.3",
Expand Down
8 changes: 5 additions & 3 deletions packages/react-composites/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@
"reselect": "~4.0.0"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"@types/react": ">=16.8.0 <18.0.0",
"@types/react-dom": ">=16.8.0 <18.0.0",
"react": ">=16.8.0 <18.0.0",
"react-dom": ">=16.8.0 <18.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.7",
Expand Down Expand Up @@ -80,7 +82,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-react": "^7.18.3",
Expand Down
6 changes: 1 addition & 5 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
"react-linkify": "^1.0.0-alpha",
"@fluentui/theme-samples": "8.1.5"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/core": "^7.12.7",
"@babel/preset-env": "^7.12.7",
Expand Down Expand Up @@ -87,7 +83,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-react": "^7.18.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ exports[`storybook snapshot tests Storyshots Examples/Incoming Call Alerts Incom
</div>
</div>
<div
className="ms-Stack css-182 css-47"
className="ms-Stack css-133 css-47"
>
<div
className="ms-Stack css-51"
Expand Down Expand Up @@ -439,10 +439,10 @@ exports[`storybook snapshot tests Storyshots Examples/Incoming Call Alerts Incom
className="ms-Stack css-1"
>
<div
className="ms-Stack css-178 css-2"
className="ms-Stack css-129 css-2"
>
<div
className="ms-Stack css-179 css-3"
className="ms-Stack css-130 css-3"
>
<div
aria-label="John Doe"
Expand Down Expand Up @@ -506,7 +506,7 @@ exports[`storybook snapshot tests Storyshots Examples/Incoming Call Alerts Incom
className="ms-Stack css-20"
>
<button
className="ms-Button ms-Button--default css-181 root-21"
className="ms-Button ms-Button--default css-132 root-21"
data-is-focusable={true}
onClick={[Function]}
onKeyDown={[Function]}
Expand Down Expand Up @@ -544,7 +544,7 @@ exports[`storybook snapshot tests Storyshots Examples/Incoming Call Alerts Incom
</span>
</button>
<button
className="ms-Button ms-Button--default css-180 root-21"
className="ms-Button ms-Button--default css-131 root-21"
data-is-focusable={true}
onClick={[Function]}
onKeyDown={[Function]}
Expand Down
4 changes: 3 additions & 1 deletion samples/Calling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.1.2",
Expand All @@ -107,7 +108,8 @@
"react-test-renderer": "^16.14.0",
"rimraf": "^2.6.2",
"source-map-explorer": "^2.5.0",
"typescript": "4.1.5"
"typescript": "4.1.5",
"webpack": ">=2"
},
"proxy": "http://localhost:8080/"
}
1 change: 1 addition & 0 deletions samples/Chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.1.2",
Expand Down
4 changes: 3 additions & 1 deletion samples/OneToOneCall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^4.1.2",
Expand All @@ -107,7 +108,8 @@
"react-test-renderer": "^16.14.0",
"rimraf": "^2.6.2",
"source-map-explorer": "^2.5.0",
"typescript": "4.1.5"
"typescript": "4.1.5",
"webpack": ">=2"
},
"proxy": "http://localhost:8080/"
}

0 comments on commit 987fc4f

Please sign in to comment.