From 977c87a905810f9854036ccc27cce06953b0a3ba Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 22 Jan 2022 11:28:57 +0100 Subject: [PATCH] gcp-projects: pin react-router-dom version Signed-off-by: Patrik Oldsberg --- .changeset/tasty-carpets-search.md | 5 +++++ plugins/gcp-projects/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tasty-carpets-search.md diff --git a/.changeset/tasty-carpets-search.md b/.changeset/tasty-carpets-search.md new file mode 100644 index 0000000000..40b0e90c4e --- /dev/null +++ b/.changeset/tasty-carpets-search.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-gcp-projects': patch +--- + +Pin the `react-router-dom` version to `6.0.0-beta.0`. This avoids issues caused by newer versions of the package being installed. diff --git a/plugins/gcp-projects/package.json b/plugins/gcp-projects/package.json index 678557c416..45f4664cf9 100644 --- a/plugins/gcp-projects/package.json +++ b/plugins/gcp-projects/package.json @@ -37,7 +37,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.57", - "react-router-dom": "^6.0.0-beta.0", + "react-router-dom": "6.0.0-beta.0", "react-use": "^17.2.4" }, "peerDependencies": {