diff --git a/packages/grafana-data/package.json b/packages/grafana-data/package.json index c06a4a0589b..740b0375263 100644 --- a/packages/grafana-data/package.json +++ b/packages/grafana-data/package.json @@ -94,7 +94,7 @@ "typescript": "5.3.3" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/packages/grafana-flamegraph/package.json b/packages/grafana-flamegraph/package.json index 1391a71641a..18bea05581a 100644 --- a/packages/grafana-flamegraph/package.json +++ b/packages/grafana-flamegraph/package.json @@ -82,7 +82,7 @@ "typescript": "5.3.3" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/packages/grafana-o11y-ds-frontend/package.json b/packages/grafana-o11y-ds-frontend/package.json index 517f8feda95..531f0eabb36 100644 --- a/packages/grafana-o11y-ds-frontend/package.json +++ b/packages/grafana-o11y-ds-frontend/package.json @@ -44,7 +44,7 @@ "typescript": "5.3.3" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/packages/grafana-prometheus/package.json b/packages/grafana-prometheus/package.json index 9b01f15272b..28237b8f220 100644 --- a/packages/grafana-prometheus/package.json +++ b/packages/grafana-prometheus/package.json @@ -144,7 +144,7 @@ "webpack-cli": "5.1.4" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/packages/grafana-runtime/package.json b/packages/grafana-runtime/package.json index 2dc1bd6b418..fc1e92938b7 100644 --- a/packages/grafana-runtime/package.json +++ b/packages/grafana-runtime/package.json @@ -77,7 +77,7 @@ "typescript": "5.3.3" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/packages/grafana-ui/package.json b/packages/grafana-ui/package.json index 60116069b1e..69436c7d08c 100644 --- a/packages/grafana-ui/package.json +++ b/packages/grafana-ui/package.json @@ -186,7 +186,7 @@ "webpack": "5.90.3" }, "peerDependencies": { - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } } diff --git a/yarn.lock b/yarn.lock index 5d859962018..4a44becb24b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3589,8 +3589,8 @@ __metadata: uplot: "npm:1.6.30" xss: "npm:^1.0.14" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft @@ -3808,8 +3808,8 @@ __metadata: tslib: "npm:2.6.2" typescript: "npm:5.3.3" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft @@ -3880,8 +3880,8 @@ __metadata: tslib: "npm:2.6.2" typescript: "npm:5.3.3" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft @@ -4023,8 +4023,8 @@ __metadata: webpack-cli: "npm:5.1.4" whatwg-fetch: "npm:3.6.20" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft @@ -4068,8 +4068,8 @@ __metadata: tslib: "npm:2.6.2" typescript: "npm:5.3.3" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft @@ -4307,8 +4307,8 @@ __metadata: uuid: "npm:9.0.1" webpack: "npm:5.90.3" peerDependencies: - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 languageName: unknown linkType: soft