Version Packages

This commit is contained in:
github-actions[bot]
2022-12-20 11:30:21 +00:00
parent 9ef94ccd4a
commit 3245539963
569 changed files with 6420 additions and 2404 deletions
+63
View File
@@ -1,5 +1,68 @@
# @backstage/create-app
## 0.4.35
### Patch Changes
- c4788dbb58: Fix dependency ordering in templated packages.
- 83d3167594: Bumped create-app version.
- 2cb6963f9b: Bumped create-app version.
- 6465ab3686: Bumped create-app version.
- af1358bb07: added default project name for CI job compatibility
- 935b66a646: Change step output template examples to use square bracket syntax.
- dfb269fab2: Updated the template to have the `'/test'` proxy endpoint in `app-config.yaml` be commented out by default.
- d9b3753f87: Updated the app template to use the new `AppRouter` component instead of `app.getRouter()`, as well as `app.createRoot()` instead of `app.getProvider()`.
To apply this change to an existing app, make the following change to `packages/app/src/App.tsx`:
```diff
-import { FlatRoutes } from '@backstage/core-app-api';
+import { AppRouter, FlatRoutes } from '@backstage/core-app-api';
...
-const AppProvider = app.getProvider();
-const AppRouter = app.getRouter();
...
-const App = () => (
+export default app.createRoot(
- <AppProvider>
+ <>
<AlertDisplay />
<OAuthRequestDialog />
<AppRouter>
<Root>{routes}</Root>
</AppRouter>
- </AppProvider>
+ </>,
);
```
The final export step should end up looking something like this:
```tsx
export default app.createRoot(
<>
<AlertDisplay />
<OAuthRequestDialog />
<AppRouter>
<Root>{routes}</Root>
</AppRouter>
</>,
);
```
Note that `app.createRoot()` accepts a React element, rather than a component.
- 71e75c0b70: 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.
- Updated dependencies
- @backstage/cli-common@0.1.11
## 0.4.35-next.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/create-app",
"description": "A CLI that helps you create your own Backstage app",
"version": "0.4.35-next.4",
"version": "0.4.35",
"publishConfig": {
"access": "public"
},