K-Phoen / backstage-plugin-opsgenie

OpsGenie plugin for Backstage
MIT License
35 stars 39 forks source link

Migrate to React Router 6.0 #103

Closed Shayon closed 2 years ago

Shayon commented 2 years ago

With the release of Backstage 1.6.0 it is now possible to migrate from react-router 6.0.0-beta.0 to a stable version. Backstage has released a migration guide which outlines the need for all plugins to shift react-router and react-router-dom from dependencies to peerDependencies e.g.

 dependencies {
   ...
-  "react-router-dom": "^6.0.0-beta.0",
-  "react-router": "^6.0.0-beta.0"
 },
 peerDependencies: {
   ...
+  "react-router-dom": "6.0.0-beta.0 || ^6.3.0",
+  "react-router": "6.0.0-beta.0 || ^6.3.0"
 },

In order for developers to use a stable version of react-router in their Backstage implementation, this plugin will need to make this change.

Shayon commented 2 years ago

Looks like this was done in https://github.com/K-Phoen/backstage-plugin-opsgenie/pull/105. Closing issue.