Merge pull request #9243 from backstage/blam/apply-create-app-fix

Apply `create-app` fix to mainline branch
This commit is contained in:
Ben Lambert
2022-01-28 20:35:34 +01:00
committed by GitHub
5 changed files with 47 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Apply the fix from `0.4.16`, which is part of the `v0.65.1` release of Backstage.
+3 -1
View File
@@ -1,3 +1,5 @@
{
"currentReleaseVersion": {}
"currentReleaseVersion": {
"@backstage/create-app": "0.4.16"
}
}
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/create-app': patch
---
Adds missing `/catalog-graph` route to `<CatalogGraphPage/>`.
To fix this problem for a recently created app please update your `app/src/App.tsx`
```diff
+ import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
... omitted ...
</Route>
<Route path="/settings" element={<UserSettingsPage />} />
+ <Route path="/catalog-graph" element={<CatalogGraphPage />} />
</FlatRoutes>
```
+19
View File
@@ -1,5 +1,24 @@
# @backstage/create-app
## 0.4.16
### Patch Changes
- c945cd9f7e: Adds missing `/catalog-graph` route to `<CatalogGraphPage/>`.
To fix this problem for a recently created app please update your `app/src/App.tsx`
```diff
+ import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
... omitted ...
</Route>
<Route path="/settings" element={<UserSettingsPage />} />
+ <Route path="/catalog-graph" element={<CatalogGraphPage />} />
</FlatRoutes>
```
## 0.4.15
### Patch Changes
@@ -29,6 +29,7 @@ import { Root } from './components/Root';
import { AlertDisplay, OAuthRequestDialog } from '@backstage/core-components';
import { createApp } from '@backstage/app-defaults';
import { FlatRoutes } from '@backstage/core-app-api';
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
const app = createApp({
apis,
@@ -80,6 +81,7 @@ const routes = (
{searchPage}
</Route>
<Route path="/settings" element={<UserSettingsPage />} />
<Route path="/catalog-graph" element={<CatalogGraphPage />} />
</FlatRoutes>
);