Merge pull request #15127 from backstage/rugvip/rrd

Replace usages of react-router with react-router-dom
This commit is contained in:
Patrik Oldsberg
2022-12-12 23:51:54 +01:00
committed by GitHub
121 changed files with 186 additions and 199 deletions
+38
View File
@@ -0,0 +1,38 @@
---
'@backstage/app-defaults': patch
'@backstage/core-components': patch
'@backstage/dev-utils': patch
'@backstage/test-utils': patch
'@backstage/plugin-airbrake': patch
'@backstage/plugin-api-docs': patch
'@backstage/plugin-azure-devops': patch
'@backstage/plugin-badges': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-catalog-import': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-circleci': patch
'@backstage/plugin-cloudbuild': patch
'@backstage/plugin-code-climate': patch
'@backstage/plugin-code-coverage': patch
'@backstage/plugin-explore': patch
'@backstage/plugin-git-release-manager': patch
'@backstage/plugin-github-actions': patch
'@backstage/plugin-home': patch
'@backstage/plugin-jenkins': patch
'@backstage/plugin-kafka': patch
'@backstage/plugin-org': patch
'@backstage/plugin-permission-react': patch
'@backstage/plugin-playlist': patch
'@backstage/plugin-rollbar': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-search': patch
'@backstage/plugin-search-react': patch
'@backstage/plugin-sentry': patch
'@backstage/plugin-shortcuts': patch
'@backstage/plugin-techdocs': patch
'@backstage/plugin-todo': patch
'@backstage/plugin-user-settings': patch
---
Internal refactor to use `react-router-dom` rather than `react-router`.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/create-app': patch
---
Removed the `react-router` dependency from the app package, using only `react-router-dom` instead.
This change is just a bit of cleanup and is optional. If you want to apply it to your app, remove the `react-router` dependency from `packages/app/package.json`, and replace any imports from `react-router` with `react-router-dom` instead.