diff --git a/change/acs-ui-common-45280c34-62ae-45e9-ad6c-1a6efe7a01ca.json b/change/acs-ui-common-45280c34-62ae-45e9-ad6c-1a6efe7a01ca.json new file mode 100644 index 00000000000..7b76783c075 --- /dev/null +++ b/change/acs-ui-common-45280c34-62ae-45e9-ad6c-1a6efe7a01ca.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update dev dependencies to satisify peer dependencies", + "packageName": "acs-ui-common", + "email": "mail@jamesburnside.com", + "dependentChangeType": "none" +} diff --git a/change/calling-component-bindings-bddb3121-b753-48fc-9f24-7beb902433c3.json b/change/calling-component-bindings-bddb3121-b753-48fc-9f24-7beb902433c3.json new file mode 100644 index 00000000000..11c8169b05f --- /dev/null +++ b/change/calling-component-bindings-bddb3121-b753-48fc-9f24-7beb902433c3.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "update react peer deps to be >=16.8.0 <18.0.0", + "packageName": "calling-component-bindings", + "email": "mail@jamesburnside.com", + "dependentChangeType": "patch" +} diff --git a/change/calling-stateful-client-f64e9fc4-d76d-41d5-8c4a-5fb9e994953d.json b/change/calling-stateful-client-f64e9fc4-d76d-41d5-8c4a-5fb9e994953d.json new file mode 100644 index 00000000000..1c9b999f794 --- /dev/null +++ b/change/calling-stateful-client-f64e9fc4-d76d-41d5-8c4a-5fb9e994953d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update dev dependencies to satisify peer dependencies", + "packageName": "calling-stateful-client", + "email": "mail@jamesburnside.com", + "dependentChangeType": "none" +} diff --git a/change/chat-component-bindings-cbda3f0e-b79d-4d84-922f-9e862dcf3705.json b/change/chat-component-bindings-cbda3f0e-b79d-4d84-922f-9e862dcf3705.json new file mode 100644 index 00000000000..0bd16e5f6af --- /dev/null +++ b/change/chat-component-bindings-cbda3f0e-b79d-4d84-922f-9e862dcf3705.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "update react peer deps to be >=16.8.0 <18.0.0", + "packageName": "chat-component-bindings", + "email": "mail@jamesburnside.com", + "dependentChangeType": "patch" +} diff --git a/change/chat-stateful-client-efd2ea9d-3b86-4646-b028-6fabc45d9fec.json b/change/chat-stateful-client-efd2ea9d-3b86-4646-b028-6fabc45d9fec.json new file mode 100644 index 00000000000..93808287333 --- /dev/null +++ b/change/chat-stateful-client-efd2ea9d-3b86-4646-b028-6fabc45d9fec.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update dev dependencies to satisify peer dependencies", + "packageName": "chat-stateful-client", + "email": "mail@jamesburnside.com", + "dependentChangeType": "none" +} diff --git a/change/react-components-8f2fa8f9-12cd-47c9-b4d0-4fdadb3633c4.json b/change/react-components-8f2fa8f9-12cd-47c9-b4d0-4fdadb3633c4.json new file mode 100644 index 00000000000..3328ea3bd82 --- /dev/null +++ b/change/react-components-8f2fa8f9-12cd-47c9-b4d0-4fdadb3633c4.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "update react peer deps to be >=16.8.0 <18.0.0", + "packageName": "react-components", + "email": "mail@jamesburnside.com", + "dependentChangeType": "patch" +} diff --git a/change/react-composites-85b53c04-490c-4dac-9ad2-37fdd50a7b51.json b/change/react-composites-85b53c04-490c-4dac-9ad2-37fdd50a7b51.json new file mode 100644 index 00000000000..36be2e4f814 --- /dev/null +++ b/change/react-composites-85b53c04-490c-4dac-9ad2-37fdd50a7b51.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "update react peer deps to be >=16.8.0 <18.0.0", + "packageName": "react-composites", + "email": "mail@jamesburnside.com", + "dependentChangeType": "patch" +} diff --git a/common/config/package.json b/common/config/package.json index 9195bb8a748..bcade5634eb 100644 --- a/common/config/package.json +++ b/common/config/package.json @@ -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" } } diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index f71e8322a5c..395ba103e01 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -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 diff --git a/packages/acs-ui-common/package.json b/packages/acs-ui-common/package.json index 4b356a19767..ed320c438e1 100644 --- a/packages/acs-ui-common/package.json +++ b/packages/acs-ui-common/package.json @@ -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" diff --git a/packages/calling-component-bindings/package.json b/packages/calling-component-bindings/package.json index 8540e395ba2..c522b6859b4 100644 --- a/packages/calling-component-bindings/package.json +++ b/packages/calling-component-bindings/package.json @@ -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", @@ -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", diff --git a/packages/calling-stateful-client/package.json b/packages/calling-stateful-client/package.json index 2b079be074d..58702e8861b 100644 --- a/packages/calling-stateful-client/package.json +++ b/packages/calling-stateful-client/package.json @@ -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" diff --git a/packages/chat-component-bindings/package.json b/packages/chat-component-bindings/package.json index 661785b200c..822143e6d54 100644 --- a/packages/chat-component-bindings/package.json +++ b/packages/chat-component-bindings/package.json @@ -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", @@ -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", diff --git a/packages/chat-stateful-client/package.json b/packages/chat-stateful-client/package.json index acedfc2a01b..320b195ac28 100644 --- a/packages/chat-stateful-client/package.json +++ b/packages/chat-stateful-client/package.json @@ -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", diff --git a/packages/check-treeshaking/package.json b/packages/check-treeshaking/package.json index 0c584156364..021c2d490f5 100644 --- a/packages/check-treeshaking/package.json +++ b/packages/check-treeshaking/package.json @@ -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" } } diff --git a/packages/communication-react/package.json b/packages/communication-react/package.json index 674ae123c5a..051655bcd36 100644 --- a/packages/communication-react/package.json +++ b/packages/communication-react/package.json @@ -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", @@ -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", @@ -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", diff --git a/packages/react-components/package.json b/packages/react-components/package.json index d83563bbe65..783aa7deaa1 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -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", @@ -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", diff --git a/packages/react-composites/package.json b/packages/react-composites/package.json index b3eecc004ae..02a8d2a8e43 100644 --- a/packages/react-composites/package.json +++ b/packages/react-composites/package.json @@ -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", @@ -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", diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 9abc0fffc21..3005b38e749 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -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", @@ -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", diff --git a/packages/storybook/stories/Examples/IncomingCallAlerts/__snapshots__/IncomingCallAlerts.stories.storyshot b/packages/storybook/stories/Examples/IncomingCallAlerts/__snapshots__/IncomingCallAlerts.stories.storyshot index b46e76b20f9..7c9b5fe1ea8 100644 --- a/packages/storybook/stories/Examples/IncomingCallAlerts/__snapshots__/IncomingCallAlerts.stories.storyshot +++ b/packages/storybook/stories/Examples/IncomingCallAlerts/__snapshots__/IncomingCallAlerts.stories.storyshot @@ -236,7 +236,7 @@ exports[`storybook snapshot tests Storyshots Examples/Incoming Call Alerts Incom