From 4958c01d14cf511ebf586b98aecb45e26b95de36 Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Tue, 24 Sep 2024 21:08:37 -0400 Subject: [PATCH] revert version of react and fix merge conflicts Signed-off-by: aramissennyeydd --- packages/app-defaults/package.json | 4 ++-- packages/app-next-example-plugin/package.json | 4 ++-- packages/app-next/package.json | 4 ++-- packages/app/package.json | 4 ++-- packages/core-app-api/package.json | 4 ++-- packages/core-components/package.json | 4 ++-- packages/core-plugin-api/package.json | 4 ++-- .../default-app/packages/app/package.json.hbs | 4 ++-- packages/dev-utils/package.json | 4 ++-- packages/frontend-app-api/package.json | 4 ++-- packages/frontend-defaults/package.json | 16 ++++++++++++++-- packages/frontend-plugin-api/package.json | 4 ++-- packages/frontend-test-utils/package.json | 4 ++-- packages/integration-react/package.json | 4 ++-- .../src/commands/peer-deps/peer-deps.ts | 2 +- packages/techdocs-cli-embedded-app/package.json | 4 ++-- packages/test-utils/package.json | 4 ++-- packages/theme/package.json | 4 ++-- packages/version-bridge/package.json | 4 ++-- .../api-docs-module-protoc-gen-doc/package.json | 4 ++-- plugins/api-docs/package.json | 4 ++-- plugins/app-visualizer/package.json | 4 ++-- plugins/app/package.json | 12 +++++++++++- plugins/auth-react/package.json | 4 ++-- plugins/catalog-graph/package.json | 4 ++-- plugins/catalog-import/package.json | 4 ++-- plugins/catalog-react/package.json | 4 ++-- .../catalog-unprocessed-entities/package.json | 4 ++-- plugins/catalog/package.json | 4 ++-- plugins/config-schema/package.json | 4 ++-- plugins/devtools/package.json | 4 ++-- plugins/example-todo-list/package.json | 4 ++-- plugins/home-react/package.json | 4 ++-- plugins/home/package.json | 4 ++-- plugins/kubernetes-cluster/package.json | 4 ++-- plugins/kubernetes-react/package.json | 4 ++-- plugins/kubernetes/package.json | 4 ++-- plugins/notifications/package.json | 4 ++-- plugins/org-react/package.json | 4 ++-- plugins/org/package.json | 4 ++-- plugins/permission-react/package.json | 4 ++-- plugins/scaffolder-react/package.json | 4 ++-- plugins/scaffolder/package.json | 4 ++-- plugins/search-react/package.json | 4 ++-- plugins/search/package.json | 4 ++-- plugins/signals-react/package.json | 4 ++-- plugins/signals/package.json | 4 ++-- plugins/techdocs-addons-test-utils/package.json | 4 ++-- .../techdocs-module-addons-contrib/package.json | 4 ++-- plugins/techdocs-react/package.json | 4 ++-- plugins/techdocs/package.json | 4 ++-- plugins/user-settings/package.json | 4 ++-- storybook/package.json | 4 ++-- 53 files changed, 126 insertions(+), 104 deletions(-) diff --git a/packages/app-defaults/package.json b/packages/app-defaults/package.json index 1865c856b7..5865cb3f43 100644 --- a/packages/app-defaults/package.json +++ b/packages/app-defaults/package.json @@ -50,8 +50,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/app-next-example-plugin/package.json b/packages/app-next-example-plugin/package.json index 56374b384c..dc477e31ec 100644 --- a/packages/app-next-example-plugin/package.json +++ b/packages/app-next-example-plugin/package.json @@ -50,8 +50,8 @@ "@types/react": "^18.0.0", "cross-fetch": "^4.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/app-next/package.json b/packages/app-next/package.json index 29f9105031..da3ab3d184 100644 --- a/packages/app-next/package.json +++ b/packages/app-next/package.json @@ -78,8 +78,8 @@ "@material-ui/lab": "4.0.0-alpha.61", "@octokit/rest": "^19.0.3", "history": "^5.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-use": "^17.2.4", diff --git a/packages/app/package.json b/packages/app/package.json index 15cdd85d32..02e6a8673b 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -76,8 +76,8 @@ "@octokit/rest": "^19.0.3", "@vitejs/plugin-react": "^4.3.1", "history": "^5.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-use": "^17.2.4", diff --git a/packages/core-app-api/package.json b/packages/core-app-api/package.json index 6d443606b0..d1c9f0a053 100644 --- a/packages/core-app-api/package.json +++ b/packages/core-app-api/package.json @@ -70,8 +70,8 @@ "@types/react": "^18.0.0", "@types/zen-observable": "^0.8.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-beta": "npm:react-router@6.0.0-beta.0", "react-router-dom": "^6.3.0", "react-router-dom-beta": "npm:react-router-dom@6.0.0-beta.0", diff --git a/packages/core-components/package.json b/packages/core-components/package.json index 30699ad7a1..fc9ebc30e5 100644 --- a/packages/core-components/package.json +++ b/packages/core-components/package.json @@ -116,8 +116,8 @@ "cross-fetch": "^4.0.0", "history": "^5.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/core-plugin-api/package.json b/packages/core-plugin-api/package.json index 876457b939..e9e46a8064 100644 --- a/packages/core-plugin-api/package.json +++ b/packages/core-plugin-api/package.json @@ -64,8 +64,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/create-app/templates/default-app/packages/app/package.json.hbs b/packages/create-app/templates/default-app/packages/app/package.json.hbs index 0601a3a4e3..6415b25771 100644 --- a/packages/create-app/templates/default-app/packages/app/package.json.hbs +++ b/packages/create-app/templates/default-app/packages/app/package.json.hbs @@ -41,8 +41,8 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "history": "^5.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", "react-use": "^17.2.4" diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index a45f63324e..d8fa50b1ee 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -56,8 +56,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "zen-observable": "^0.10.0" }, diff --git a/packages/frontend-app-api/package.json b/packages/frontend-app-api/package.json index ec5463642b..26473d0dea 100644 --- a/packages/frontend-app-api/package.json +++ b/packages/frontend-app-api/package.json @@ -52,8 +52,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^15.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/frontend-defaults/package.json b/packages/frontend-defaults/package.json index 7d78dc5410..9443f63f66 100644 --- a/packages/frontend-defaults/package.json +++ b/packages/frontend-defaults/package.json @@ -44,9 +44,21 @@ "@backstage/core-plugin-api": "workspace:^", "@backstage/test-utils": "workspace:^", "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^16.0.0" + "@testing-library/react": "^16.0.0", + "@types/react": "^18.0.0", + "react": "^18.0.0", + "react-dom": "^18.0.0", + "react-router-dom": "^6.3.0" }, "peerDependencies": { - "react": "^16.13.1 || ^17.0.0 || ^18.0.0" + "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react-router-dom": "6.0.0-beta.0 || ^6.3.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } } diff --git a/packages/frontend-plugin-api/package.json b/packages/frontend-plugin-api/package.json index 309ebacc04..43509a6132 100644 --- a/packages/frontend-plugin-api/package.json +++ b/packages/frontend-plugin-api/package.json @@ -49,8 +49,8 @@ "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", "history": "^5.3.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/frontend-test-utils/package.json b/packages/frontend-test-utils/package.json index b8973bc5bd..7ebf1eb4f0 100644 --- a/packages/frontend-test-utils/package.json +++ b/packages/frontend-test-utils/package.json @@ -44,8 +44,8 @@ "@backstage/cli": "workspace:^", "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/integration-react/package.json b/packages/integration-react/package.json index 5911006c7e..f426ec4a01 100644 --- a/packages/integration-react/package.json +++ b/packages/integration-react/package.json @@ -48,8 +48,8 @@ "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/repo-tools/src/commands/peer-deps/peer-deps.ts b/packages/repo-tools/src/commands/peer-deps/peer-deps.ts index 9544b3b457..c433dd8581 100644 --- a/packages/repo-tools/src/commands/peer-deps/peer-deps.ts +++ b/packages/repo-tools/src/commands/peer-deps/peer-deps.ts @@ -191,7 +191,7 @@ export default async ({ fix }: { fix: boolean }) => { if (fix) { writeFileSync( resolvePath(pkg.dir, 'package.json'), - JSON.stringify(packageJson, null, 4), + `${JSON.stringify(packageJson, null, 2)}\n`, ); } } diff --git a/packages/techdocs-cli-embedded-app/package.json b/packages/techdocs-cli-embedded-app/package.json index 00baa817d6..5a6d51bad3 100644 --- a/packages/techdocs-cli-embedded-app/package.json +++ b/packages/techdocs-cli-embedded-app/package.json @@ -48,8 +48,8 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "history": "^5.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "react-use": "^17.2.4" }, diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index f31595084c..dc2713ff09 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -67,8 +67,8 @@ "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/theme/package.json b/packages/theme/package.json index 17b655ca52..435f517326 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -46,8 +46,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/packages/version-bridge/package.json b/packages/version-bridge/package.json index aea9d122bf..50a5883b15 100644 --- a/packages/version-bridge/package.json +++ b/packages/version-bridge/package.json @@ -40,8 +40,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/api-docs-module-protoc-gen-doc/package.json b/plugins/api-docs-module-protoc-gen-doc/package.json index 1c533b7885..f41fe2f9fb 100644 --- a/plugins/api-docs-module-protoc-gen-doc/package.json +++ b/plugins/api-docs-module-protoc-gen-doc/package.json @@ -43,8 +43,8 @@ "@backstage/cli": "workspace:^", "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/api-docs/package.json b/plugins/api-docs/package.json index 79c2320563..f9888ed99c 100644 --- a/plugins/api-docs/package.json +++ b/plugins/api-docs/package.json @@ -86,8 +86,8 @@ "@types/highlightjs": "^10.1.0", "@types/react": "^18.0.0", "@types/swagger-ui-react": "^4.18.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/app-visualizer/package.json b/plugins/app-visualizer/package.json index e9e6568210..53720d560a 100644 --- a/plugins/app-visualizer/package.json +++ b/plugins/app-visualizer/package.json @@ -43,8 +43,8 @@ "devDependencies": { "@backstage/cli": "workspace:^", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/app/package.json b/plugins/app/package.json index 39459854d0..14854539b0 100644 --- a/plugins/app/package.json +++ b/plugins/app/package.json @@ -55,11 +55,21 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", + "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^16.13.1 || ^17.0.0 || ^18.0.0" + "react": "^^18.0.0", + "react-dom": "^18.0.0", + "react-router-dom": "^6.3.0" }, "peerDependencies": { + "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "react": "^16.13.1 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0", "react-router-dom": "6.0.0-beta.0 || ^6.3.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } } diff --git a/plugins/auth-react/package.json b/plugins/auth-react/package.json index 5bb99f0c8d..995d9adecf 100644 --- a/plugins/auth-react/package.json +++ b/plugins/auth-react/package.json @@ -52,8 +52,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/catalog-graph/package.json b/plugins/catalog-graph/package.json index c444cd755f..e6e4b5651d 100644 --- a/plugins/catalog-graph/package.json +++ b/plugins/catalog-graph/package.json @@ -77,8 +77,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/catalog-import/package.json b/plugins/catalog-import/package.json index 277e259458..1dbfac3179 100644 --- a/plugins/catalog-import/package.json +++ b/plugins/catalog-import/package.json @@ -89,8 +89,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/catalog-react/package.json b/plugins/catalog-react/package.json index 34728f38a0..5d8d0e7da6 100644 --- a/plugins/catalog-react/package.json +++ b/plugins/catalog-react/package.json @@ -95,8 +95,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "@types/zen-observable": "^0.8.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "react-test-renderer": "^16.13.1" }, diff --git a/plugins/catalog-unprocessed-entities/package.json b/plugins/catalog-unprocessed-entities/package.json index fe7857091a..a0e652bc03 100644 --- a/plugins/catalog-unprocessed-entities/package.json +++ b/plugins/catalog-unprocessed-entities/package.json @@ -53,8 +53,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/catalog/package.json b/plugins/catalog/package.json index 1c159af6ce..2b8e0484b7 100644 --- a/plugins/catalog/package.json +++ b/plugins/catalog/package.json @@ -98,8 +98,8 @@ "@testing-library/user-event": "^14.0.0", "@types/pluralize": "^0.0.33", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "swr": "^2.2.5" }, diff --git a/plugins/config-schema/package.json b/plugins/config-schema/package.json index bd29c74543..643f7ac765 100644 --- a/plugins/config-schema/package.json +++ b/plugins/config-schema/package.json @@ -55,8 +55,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/devtools/package.json b/plugins/devtools/package.json index 66679a712d..62a838f8fa 100644 --- a/plugins/devtools/package.json +++ b/plugins/devtools/package.json @@ -69,8 +69,8 @@ "@backstage/dev-utils": "workspace:^", "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/example-todo-list/package.json b/plugins/example-todo-list/package.json index feda571385..4776fc2553 100644 --- a/plugins/example-todo-list/package.json +++ b/plugins/example-todo-list/package.json @@ -51,8 +51,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/home-react/package.json b/plugins/home-react/package.json index e68f20c51e..0a3edf65d4 100644 --- a/plugins/home-react/package.json +++ b/plugins/home-react/package.json @@ -52,8 +52,8 @@ "@backstage/cli": "workspace:^", "@types/react": "^18.0.0", "@types/react-grid-layout": "^1.3.2", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/home/package.json b/plugins/home/package.json index 38a12f7fcc..8dc5bc3b68 100644 --- a/plugins/home/package.json +++ b/plugins/home/package.json @@ -91,8 +91,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "@types/react-grid-layout": "^1.3.2", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/kubernetes-cluster/package.json b/plugins/kubernetes-cluster/package.json index 4f4796007d..21087fd0b7 100644 --- a/plugins/kubernetes-cluster/package.json +++ b/plugins/kubernetes-cluster/package.json @@ -66,8 +66,8 @@ "@testing-library/react": "^16.0.0", "@types/node": "^16.11.26", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/kubernetes-react/package.json b/plugins/kubernetes-react/package.json index b18794f564..879507fbe4 100644 --- a/plugins/kubernetes-react/package.json +++ b/plugins/kubernetes-react/package.json @@ -72,8 +72,8 @@ "@types/react": "^18.0.0", "jest-websocket-mock": "^2.5.0", "msw": "^1.3.1", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/kubernetes/package.json b/plugins/kubernetes/package.json index f28b4d248a..940054aa65 100644 --- a/plugins/kubernetes/package.json +++ b/plugins/kubernetes/package.json @@ -87,8 +87,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/notifications/package.json b/plugins/notifications/package.json index cb16e1cb96..aafdf2476e 100644 --- a/plugins/notifications/package.json +++ b/plugins/notifications/package.json @@ -65,8 +65,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/org-react/package.json b/plugins/org-react/package.json index b96a6f8e27..e31864e158 100644 --- a/plugins/org-react/package.json +++ b/plugins/org-react/package.json @@ -59,8 +59,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/org/package.json b/plugins/org/package.json index f44b6900da..cae8a2d11a 100644 --- a/plugins/org/package.json +++ b/plugins/org/package.json @@ -82,8 +82,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/permission-react/package.json b/plugins/permission-react/package.json index cf012d1ead..65732d8c89 100644 --- a/plugins/permission-react/package.json +++ b/plugins/permission-react/package.json @@ -53,8 +53,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/scaffolder-react/package.json b/plugins/scaffolder-react/package.json index 96c3907c46..f3e8eccdbb 100644 --- a/plugins/scaffolder-react/package.json +++ b/plugins/scaffolder-react/package.json @@ -107,8 +107,8 @@ "@types/humanize-duration": "^3.18.1", "@types/luxon": "^3.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "swr": "^2.0.0" }, diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index 01c7dacf66..e69cf0e223 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -121,8 +121,8 @@ "@types/react-resizable": "^3.0.8", "@types/react-window": "^1.8.8", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0", "swr": "^2.0.0" }, diff --git a/plugins/search-react/package.json b/plugins/search-react/package.json index 6e942e1dbb..6df72cee7d 100644 --- a/plugins/search-react/package.json +++ b/plugins/search-react/package.json @@ -81,8 +81,8 @@ "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/search/package.json b/plugins/search/package.json index 657ea72def..dba2742ca2 100644 --- a/plugins/search/package.json +++ b/plugins/search/package.json @@ -84,8 +84,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "history": "^5.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/signals-react/package.json b/plugins/signals-react/package.json index bd9d862fd4..dad70cff02 100644 --- a/plugins/signals-react/package.json +++ b/plugins/signals-react/package.json @@ -49,8 +49,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/signals/package.json b/plugins/signals/package.json index 51913117a2..f87647d356 100644 --- a/plugins/signals/package.json +++ b/plugins/signals/package.json @@ -60,8 +60,8 @@ "@types/react": "^18.0.0", "jest-websocket-mock": "^2.5.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/techdocs-addons-test-utils/package.json b/plugins/techdocs-addons-test-utils/package.json index 949c9addf3..4984bbdced 100644 --- a/plugins/techdocs-addons-test-utils/package.json +++ b/plugins/techdocs-addons-test-utils/package.json @@ -56,8 +56,8 @@ "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^6.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/techdocs-module-addons-contrib/package.json b/plugins/techdocs-module-addons-contrib/package.json index 951bd8f432..59976dde8c 100644 --- a/plugins/techdocs-module-addons-contrib/package.json +++ b/plugins/techdocs-module-addons-contrib/package.json @@ -58,8 +58,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/techdocs-react/package.json b/plugins/techdocs-react/package.json index 370c1ff110..73cab1645e 100644 --- a/plugins/techdocs-react/package.json +++ b/plugins/techdocs-react/package.json @@ -64,8 +64,8 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/techdocs/package.json b/plugins/techdocs/package.json index 86a491ab24..dec637779c 100644 --- a/plugins/techdocs/package.json +++ b/plugins/techdocs/package.json @@ -101,8 +101,8 @@ "@types/event-source-polyfill": "^1.0.0", "@types/react": "^18.0.0", "canvas": "^2.10.2", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/plugins/user-settings/package.json b/plugins/user-settings/package.json index 5322e813fa..ee79710815 100644 --- a/plugins/user-settings/package.json +++ b/plugins/user-settings/package.json @@ -83,8 +83,8 @@ "@testing-library/user-event": "^14.0.0", "@types/react": "^18.0.0", "msw": "^1.0.0", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-router-dom": "^6.3.0" }, "peerDependencies": { diff --git a/storybook/package.json b/storybook/package.json index 60ccd0d4ea..43c7b60130 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@swc/core": "^1.3.46", - "react": "^18.0.2", - "react-dom": "^18.0.2", + "react": "^18.0.0", + "react-dom": "^18.0.0", "react-hot-loader": "^4.13.0", "react-router-dom": "^6.25.1", "swc-loader": "^0.2.3"