From 314f48635df1c78b5cedb2270596329801d86b0e Mon Sep 17 00:00:00 2001 From: secustor Date: Wed, 3 Sep 2025 19:19:10 +0200 Subject: [PATCH] fix: peer dependencies Signed-off-by: secustor --- plugins/devtools-react/package.json | 8 +++++--- yarn.lock | 24 +++++++++++++----------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/plugins/devtools-react/package.json b/plugins/devtools-react/package.json index d6ed74c1e5..7d0bcaf8ac 100644 --- a/plugins/devtools-react/package.json +++ b/plugins/devtools-react/package.json @@ -47,10 +47,12 @@ "@backstage/cli": "workspace:^", "@backstage/test-utils": "workspace:^", "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^14.0.0", - "react": "^16.13.1 || ^17.0.0 || ^18.0.0" + "@testing-library/react": "^14.0.0" }, "peerDependencies": { - "react": "^16.13.1 || ^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0", + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0", + "react-router-dom": "^6.3.0" } } diff --git a/yarn.lock b/yarn.lock index 15078530d8..2123b5e26b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5111,9 +5111,11 @@ __metadata: "@material-ui/core": "npm:^4.9.13" "@testing-library/jest-dom": "npm:^6.0.0" "@testing-library/react": "npm:^14.0.0" - react: "npm:^16.13.1 || ^17.0.0 || ^18.0.0" peerDependencies: - react: ^16.13.1 || ^17.0.0 || ^18.0.0 + "@types/react": ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + react-router-dom: ^6.3.0 languageName: unknown linkType: soft @@ -43478,15 +43480,6 @@ __metadata: languageName: node linkType: hard -"react@npm:^16.13.1 || ^17.0.0 || ^18.0.0, react@npm:^18.0.2": - version: 18.3.1 - resolution: "react@npm:18.3.1" - dependencies: - loose-envify: "npm:^1.1.0" - checksum: 10/261137d3f3993eaa2368a83110466fc0e558bc2c7f7ae7ca52d94f03aac945f45146bd85e5f481044db1758a1dbb57879e2fcdd33924e2dde1bdc550ce73f7bf - languageName: node - linkType: hard - "react@npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0": version: 19.1.1 resolution: "react@npm:19.1.1" @@ -43504,6 +43497,15 @@ __metadata: languageName: node linkType: hard +"react@npm:^18.0.2": + version: 18.3.1 + resolution: "react@npm:18.3.1" + dependencies: + loose-envify: "npm:^1.1.0" + checksum: 10/261137d3f3993eaa2368a83110466fc0e558bc2c7f7ae7ca52d94f03aac945f45146bd85e5f481044db1758a1dbb57879e2fcdd33924e2dde1bdc550ce73f7bf + languageName: node + linkType: hard + "read-cmd-shim@npm:^2.0.0": version: 2.0.0 resolution: "read-cmd-shim@npm:2.0.0"