Version Packages
This commit is contained in:
committed by
Fredrik Adelöw
parent
a19d2a3f36
commit
4ae0467c2f
@@ -1,5 +1,64 @@
|
||||
# example-app
|
||||
|
||||
## 0.2.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [a5f42cf66]
|
||||
- Updated dependencies [38205492a]
|
||||
- Updated dependencies [e488f0502]
|
||||
- Updated dependencies [e799e74d4]
|
||||
- Updated dependencies [e3bc5aad7]
|
||||
- Updated dependencies [a5f42cf66]
|
||||
- Updated dependencies [a8953a9c9]
|
||||
- Updated dependencies [f37992797]
|
||||
- Updated dependencies [347137ccf]
|
||||
- Updated dependencies [d0760ecdf]
|
||||
- Updated dependencies [1407b34c6]
|
||||
- Updated dependencies [88f1f1b60]
|
||||
- Updated dependencies [d6593abe6]
|
||||
- Updated dependencies [bad21a085]
|
||||
- Updated dependencies [e8e35fb5f]
|
||||
- Updated dependencies [9615e68fb]
|
||||
- Updated dependencies [e780e119c]
|
||||
- Updated dependencies [437bac549]
|
||||
- Updated dependencies [9f2b3a26e]
|
||||
- Updated dependencies [49f9b7346]
|
||||
- Updated dependencies [5c2e2863f]
|
||||
- Updated dependencies [968b588f7]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [2499f6cde]
|
||||
- Updated dependencies [5469a9761]
|
||||
- Updated dependencies [60d1bc3e7]
|
||||
- Updated dependencies [2c1f2a7c2]
|
||||
- Updated dependencies [6266ddd11]
|
||||
- @backstage/core@0.6.3
|
||||
- @backstage/plugin-scaffolder@0.6.0
|
||||
- @backstage/plugin-cost-insights@0.8.2
|
||||
- @backstage/plugin-org@0.3.8
|
||||
- @backstage/plugin-catalog@0.4.0
|
||||
- @backstage/plugin-catalog-import@0.4.2
|
||||
- @backstage/plugin-techdocs@0.5.8
|
||||
- @backstage/plugin-explore@0.2.7
|
||||
- @backstage/plugin-catalog-react@0.1.0
|
||||
- @backstage/plugin-api-docs@0.4.7
|
||||
- @backstage/catalog-model@0.7.2
|
||||
- @backstage/cli@0.6.2
|
||||
- @backstage/plugin-tech-radar@0.3.6
|
||||
- @backstage/plugin-circleci@0.2.10
|
||||
- @backstage/plugin-cloudbuild@0.2.11
|
||||
- @backstage/plugin-github-actions@0.3.4
|
||||
- @backstage/plugin-jenkins@0.3.11
|
||||
- @backstage/plugin-kafka@0.2.4
|
||||
- @backstage/plugin-kubernetes@0.3.11
|
||||
- @backstage/plugin-lighthouse@0.2.12
|
||||
- @backstage/plugin-pagerduty@0.3.1
|
||||
- @backstage/plugin-register-component@0.2.11
|
||||
- @backstage/plugin-rollbar@0.3.2
|
||||
- @backstage/plugin-search@0.3.2
|
||||
- @backstage/plugin-sentry@0.3.7
|
||||
|
||||
## 0.2.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
+27
-27
@@ -1,38 +1,38 @@
|
||||
{
|
||||
"name": "example-app",
|
||||
"version": "0.2.16",
|
||||
"version": "0.2.17",
|
||||
"private": true,
|
||||
"bundled": true,
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/core": "^0.6.2",
|
||||
"@backstage/plugin-api-docs": "^0.4.6",
|
||||
"@backstage/plugin-catalog": "^0.3.2",
|
||||
"@backstage/plugin-catalog-react": "^0.0.4",
|
||||
"@backstage/plugin-catalog-import": "^0.4.1",
|
||||
"@backstage/plugin-circleci": "^0.2.9",
|
||||
"@backstage/plugin-cloudbuild": "^0.2.10",
|
||||
"@backstage/plugin-cost-insights": "^0.8.1",
|
||||
"@backstage/plugin-explore": "^0.2.6",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/plugin-api-docs": "^0.4.7",
|
||||
"@backstage/plugin-catalog": "^0.4.0",
|
||||
"@backstage/plugin-catalog-react": "^0.1.0",
|
||||
"@backstage/plugin-catalog-import": "^0.4.2",
|
||||
"@backstage/plugin-circleci": "^0.2.10",
|
||||
"@backstage/plugin-cloudbuild": "^0.2.11",
|
||||
"@backstage/plugin-cost-insights": "^0.8.2",
|
||||
"@backstage/plugin-explore": "^0.2.7",
|
||||
"@backstage/plugin-gcp-projects": "^0.2.4",
|
||||
"@backstage/plugin-github-actions": "^0.3.3",
|
||||
"@backstage/plugin-github-actions": "^0.3.4",
|
||||
"@backstage/plugin-gitops-profiles": "^0.2.5",
|
||||
"@backstage/plugin-graphiql": "^0.2.7",
|
||||
"@backstage/plugin-org": "^0.3.7",
|
||||
"@backstage/plugin-jenkins": "^0.3.10",
|
||||
"@backstage/plugin-kafka": "^0.2.3",
|
||||
"@backstage/plugin-kubernetes": "^0.3.10",
|
||||
"@backstage/plugin-lighthouse": "^0.2.11",
|
||||
"@backstage/plugin-org": "^0.3.8",
|
||||
"@backstage/plugin-jenkins": "^0.3.11",
|
||||
"@backstage/plugin-kafka": "^0.2.4",
|
||||
"@backstage/plugin-kubernetes": "^0.3.11",
|
||||
"@backstage/plugin-lighthouse": "^0.2.12",
|
||||
"@backstage/plugin-newrelic": "^0.2.5",
|
||||
"@backstage/plugin-pagerduty": "0.3.0",
|
||||
"@backstage/plugin-register-component": "^0.2.10",
|
||||
"@backstage/plugin-rollbar": "^0.3.1",
|
||||
"@backstage/plugin-scaffolder": "^0.5.1",
|
||||
"@backstage/plugin-sentry": "^0.3.6",
|
||||
"@backstage/plugin-search": "^0.3.1",
|
||||
"@backstage/plugin-tech-radar": "^0.3.5",
|
||||
"@backstage/plugin-techdocs": "^0.5.7",
|
||||
"@backstage/plugin-pagerduty": "0.3.1",
|
||||
"@backstage/plugin-register-component": "^0.2.11",
|
||||
"@backstage/plugin-rollbar": "^0.3.2",
|
||||
"@backstage/plugin-scaffolder": "^0.6.0",
|
||||
"@backstage/plugin-sentry": "^0.3.7",
|
||||
"@backstage/plugin-search": "^0.3.2",
|
||||
"@backstage/plugin-tech-radar": "^0.3.6",
|
||||
"@backstage/plugin-techdocs": "^0.5.8",
|
||||
"@backstage/plugin-user-settings": "^0.2.6",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
@@ -53,7 +53,7 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/test-utils": "^0.1.7",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@testing-library/cypress": "^7.0.1",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^10.4.1",
|
||||
|
||||
@@ -1,5 +1,27 @@
|
||||
# example-backend
|
||||
|
||||
## 0.2.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [a70af22a2]
|
||||
- Updated dependencies [ec504e7b4]
|
||||
- Updated dependencies [a5f42cf66]
|
||||
- Updated dependencies [f37992797]
|
||||
- Updated dependencies [bad21a085]
|
||||
- Updated dependencies [1c06cb312]
|
||||
- Updated dependencies [2499f6cde]
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/plugin-kubernetes-backend@0.2.7
|
||||
- @backstage/plugin-auth-backend@0.3.2
|
||||
- @backstage/plugin-scaffolder-backend@0.8.0
|
||||
- @backstage/plugin-techdocs-backend@0.6.2
|
||||
- @backstage/catalog-model@0.7.2
|
||||
- @backstage/plugin-app-backend@0.3.8
|
||||
- @backstage/plugin-catalog-backend@0.6.3
|
||||
- @backstage/config@0.1.3
|
||||
- example-app@0.2.17
|
||||
|
||||
## 0.2.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "example-backend",
|
||||
"version": "0.2.15",
|
||||
"version": "0.2.17",
|
||||
"main": "dist/index.cjs.js",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -29,23 +29,23 @@
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "^0.5.3",
|
||||
"@backstage/catalog-client": "^0.3.6",
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/plugin-app-backend": "^0.3.7",
|
||||
"@backstage/plugin-auth-backend": "^0.3.0",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.1",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/plugin-app-backend": "^0.3.8",
|
||||
"@backstage/plugin-auth-backend": "^0.3.2",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.3",
|
||||
"@backstage/plugin-graphql-backend": "^0.1.5",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.2.6",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.2.7",
|
||||
"@backstage/plugin-kafka-backend": "^0.2.0",
|
||||
"@backstage/plugin-proxy-backend": "^0.2.4",
|
||||
"@backstage/plugin-rollbar-backend": "^0.1.7",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.7.0",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.0",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.8.0",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.2",
|
||||
"@gitbeaker/node": "^28.0.2",
|
||||
"@octokit/rest": "^18.0.12",
|
||||
"azure-devops-node-api": "^10.1.1",
|
||||
"dockerode": "^3.2.1",
|
||||
"example-app": "^0.2.15",
|
||||
"example-app": "^0.2.17",
|
||||
"express": "^4.17.1",
|
||||
"express-promise-router": "^3.0.3",
|
||||
"knex": "^0.21.6",
|
||||
@@ -55,7 +55,7 @@
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.0",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@types/dockerode": "^3.2.1",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express-serve-static-core": "^4.17.5"
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @backstage/catalog-model
|
||||
|
||||
## 0.7.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- bad21a085: Implement annotations for customising Entity URLs in the Catalog pages.
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/config@0.1.3
|
||||
|
||||
## 0.7.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/catalog-model",
|
||||
"version": "0.7.1",
|
||||
"version": "0.7.2",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -29,7 +29,7 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@types/json-schema": "^7.0.5",
|
||||
"@types/yup": "^0.29.8",
|
||||
"ajv": "^7.0.3",
|
||||
@@ -39,7 +39,7 @@
|
||||
"yup": "^0.29.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.0",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/lodash": "^4.14.151",
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
# @backstage/cli
|
||||
|
||||
## 0.6.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- e780e119c: Add missing `file-loader` dependency which could cause issues with loading images and other assets.
|
||||
- 6266ddd11: The `yarn backstage-cli app:diff` has been broken since a couple of months. The command to perform updates `yarn backstage-cli versions:bump` prints change logs which seems to be a good replacement for this command.
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/config@0.1.3
|
||||
|
||||
## 0.6.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/cli",
|
||||
"description": "CLI for developing Backstage plugins and apps",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
@@ -31,7 +31,7 @@
|
||||
"@babel/core": "^7.4.4",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
|
||||
"@backstage/cli-common": "^0.1.1",
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/config-loader": "^0.5.1",
|
||||
"@hot-loader/react-dom": "^16.13.0",
|
||||
"@lerna/package-graph": "^4.0.0",
|
||||
@@ -117,10 +117,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-common": "^0.5.4",
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/core": "^0.6.2",
|
||||
"@backstage/dev-utils": "^0.1.11",
|
||||
"@backstage/test-utils": "^0.1.6",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/dev-utils": "^0.1.12",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@types/diff": "^4.0.2",
|
||||
"@types/express": "^4.17.6",
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
# @backstage/config
|
||||
|
||||
## 0.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- a1f5e6545: Adds an optional type to `config.get` & `config.getOptional`. This avoids the need for casting. For example:
|
||||
|
||||
```ts
|
||||
const config = useApi(configApiRef);
|
||||
|
||||
const myConfig = config.get<SomeTypeDefinition>('myPlugin.complexConfig');
|
||||
// vs
|
||||
const myConfig config.get('myPlugin.complexConfig') as SomeTypeDefinition;
|
||||
```
|
||||
|
||||
## 0.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/config",
|
||||
"description": "Config API used by Backstage core, backend, and CLI",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/core-api
|
||||
|
||||
## 0.2.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 3a58084b6: The `FlatRoutes` components now renders the not found page of the app if no routes are matched.
|
||||
- 1407b34c6: More informative error message for missing ApiContext.
|
||||
- b6c4f485d: Fix error when querying Backstage Identity with SAML authentication
|
||||
- 3a58084b6: Created separate `AppContext` type to be returned from `useApp` rather than the `BackstageApp` itself. The `AppContext` type includes but deprecates `getPlugins`, `getProvider`, `getRouter`, and `getRoutes`. In addition, the `AppContext` adds a new `getComponents` method which providers access to the app components.
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/config@0.1.3
|
||||
|
||||
## 0.2.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/core-api",
|
||||
"description": "Internal Core API used by Backstage plugins and apps",
|
||||
"version": "0.2.10",
|
||||
"version": "0.2.11",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -29,7 +29,7 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -42,8 +42,8 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/test-utils": "^0.1.6",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/test-utils-core": "^0.1.1",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^10.4.1",
|
||||
|
||||
@@ -1,5 +1,26 @@
|
||||
# @backstage/core
|
||||
|
||||
## 0.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 3a58084b6: The `FlatRoutes` components now renders the not found page of the app if no routes are matched.
|
||||
- e799e74d4: Fix `OverflowTooltip` cutting off the bottom of letters like "g" and "y".
|
||||
- 1407b34c6: More informative error message for missing ApiContext.
|
||||
- 9615e68fb: Forward link styling of `EntityRefLink` and `EnriryRefLinks` into the underling
|
||||
`Link`.
|
||||
- 49f9b7346: Deprecate `type` of `ItemCard` and introduce new `subtitle` which allows passing
|
||||
react nodes.
|
||||
- 3a58084b6: Created separate `AppContext` type to be returned from `useApp` rather than the `BackstageApp` itself. The `AppContext` type includes but deprecates `getPlugins`, `getProvider`, `getRouter`, and `getRoutes`. In addition, the `AppContext` adds a new `getComponents` method which providers access to the app components.
|
||||
- 2c1f2a7c2: Introduced generic OverflowTooltip component for cases where longer text needs to be truncated with ellipsis and show hover tooltip with full text. This is particularly useful in the cases where longer description text is rendered in table. e.g. CatalogTable and ApiExplorerTable.
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [1407b34c6]
|
||||
- Updated dependencies [b6c4f485d]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/core-api@0.2.11
|
||||
- @backstage/config@0.1.3
|
||||
|
||||
## 0.6.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/core",
|
||||
"description": "Core API used by Backstage plugins and apps",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -29,8 +29,8 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/core-api": "^0.2.10",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core-api": "^0.2.11",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -68,8 +68,8 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/test-utils": "^0.1.7",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^10.4.1",
|
||||
"@testing-library/user-event": "^12.0.7",
|
||||
|
||||
@@ -1,5 +1,169 @@
|
||||
# @backstage/create-app
|
||||
|
||||
## 0.3.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 4594f7efc: Add the google analytics scripts in the `index.html` template for new applications.
|
||||
|
||||
To apply this change to an existing application, change the following in `packages\app\public\index.html`:
|
||||
|
||||
```diff
|
||||
<title><%= app.title %></title>
|
||||
|
||||
+ <% if (app.googleAnalyticsTrackingId && typeof app.googleAnalyticsTrackingId
|
||||
+ === 'string') { %>
|
||||
+ <script
|
||||
+ async
|
||||
+ src="https://www.googletagmanager.com/gtag/js?id=<%= app.googleAnalyticsTrackingId %>"
|
||||
+ ></script>
|
||||
+ <script>
|
||||
+ window.dataLayer = window.dataLayer || [];
|
||||
+ function gtag() {
|
||||
+ dataLayer.push(arguments);
|
||||
+ }
|
||||
+ gtag('js', new Date());
|
||||
+
|
||||
+ gtag('config', '<%= app.googleAnalyticsTrackingId %>');
|
||||
+ </script>
|
||||
+ <% } %>
|
||||
</head>
|
||||
```
|
||||
|
||||
- 08fa2176a: **BREAKING CHANGE**
|
||||
|
||||
The Scaffolder and Catalog plugins have been migrated to partially require use of the [new composability API](https://backstage.io/docs/plugins/composability). The Scaffolder used to register its pages using the deprecated route registration plugin API, but those registrations have been removed. This means you now need to add the Scaffolder plugin page to the app directly.
|
||||
|
||||
The Catalog plugin has also been migrated to use an [external route reference](https://backstage.io/docs/plugins/composability#binding-external-routes-in-the-app) to dynamically link to the create component page. This means you need to migrate the catalog plugin to use the new extension components, as well as bind the external route.
|
||||
|
||||
Apply the following changes to `packages/app/src/App.tsx`:
|
||||
|
||||
```diff
|
||||
-import { Router as CatalogRouter } from '@backstage/plugin-catalog';
|
||||
+import {
|
||||
+ catalogPlugin,
|
||||
+ CatalogIndexPage,
|
||||
+ CatalogEntityPage,
|
||||
+} from '@backstage/plugin-catalog';
|
||||
+import { scaffolderPlugin, ScaffolderPage } from '@backstage/plugin-scaffolder';
|
||||
|
||||
# The following addition to the app config allows the catalog plugin to link to the
|
||||
# component creation page, i.e. the scaffolder. You can chose a different target if you want to.
|
||||
const app = createApp({
|
||||
apis,
|
||||
plugins: Object.values(plugins),
|
||||
+ bindRoutes({ bind }) {
|
||||
+ bind(catalogPlugin.externalRoutes, {
|
||||
+ createComponent: scaffolderPlugin.routes.root,
|
||||
+ });
|
||||
+ }
|
||||
});
|
||||
|
||||
# Apply these changes within FlatRoutes. It is important to have migrated to using FlatRoutes
|
||||
# for this to work, if you haven't done that yet, see the previous entries in this changelog.
|
||||
- <Route
|
||||
- path="/catalog"
|
||||
- element={<CatalogRouter EntityPage={EntityPage} />}
|
||||
- />
|
||||
+ <Route path="/catalog" element={<CatalogIndexPage />} />
|
||||
+ <Route
|
||||
+ path="/catalog/:namespace/:kind/:name"
|
||||
+ element={<CatalogEntityPage />}
|
||||
+ >
|
||||
+ <EntityPage />
|
||||
+ </Route>
|
||||
<Route path="/docs" element={<DocsRouter />} />
|
||||
+ <Route path="/create" element={<ScaffolderPage />} />
|
||||
```
|
||||
|
||||
The scaffolder has been redesigned to be horizontally scalable and to persistently store task state and execution logs in the database. Component registration has moved from the frontend into a separate registration step executed by the `TaskWorker`. This requires that a `CatalogClient` is passed to the scaffolder backend instead of the old `CatalogEntityClient`.
|
||||
|
||||
The default catalog client comes from the `@backstage/catalog-client`, which you need to add as a dependency in `packages/backend/package.json`.
|
||||
|
||||
Once the dependency has been added, apply the following changes to`packages/backend/src/plugins/scaffolder.ts`:
|
||||
|
||||
```diff
|
||||
import {
|
||||
CookieCutter,
|
||||
createRouter,
|
||||
Preparers,
|
||||
Publishers,
|
||||
CreateReactAppTemplater,
|
||||
Templaters,
|
||||
- CatalogEntityClient,
|
||||
} from '@backstage/plugin-scaffolder-backend';
|
||||
+import { CatalogClient } from '@backstage/catalog-client';
|
||||
|
||||
const discovery = SingleHostDiscovery.fromConfig(config);
|
||||
-const entityClient = new CatalogEntityClient({ discovery });
|
||||
+const catalogClient = new CatalogClient({ discoveryApi: discovery })
|
||||
|
||||
return await createRouter({
|
||||
preparers,
|
||||
templaters,
|
||||
publishers,
|
||||
logger,
|
||||
config,
|
||||
dockerClient,
|
||||
- entityClient,
|
||||
database,
|
||||
+ catalogClient,
|
||||
});
|
||||
```
|
||||
|
||||
See the `@backstage/scaffolder-backend` changelog for more information about this change.
|
||||
|
||||
- Updated dependencies [ec504e7b4]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [a5f42cf66]
|
||||
- Updated dependencies [e488f0502]
|
||||
- Updated dependencies [e799e74d4]
|
||||
- Updated dependencies [dc12852c9]
|
||||
- Updated dependencies [a5f42cf66]
|
||||
- Updated dependencies [a8953a9c9]
|
||||
- Updated dependencies [f37992797]
|
||||
- Updated dependencies [347137ccf]
|
||||
- Updated dependencies [d0760ecdf]
|
||||
- Updated dependencies [1407b34c6]
|
||||
- Updated dependencies [d6593abe6]
|
||||
- Updated dependencies [bad21a085]
|
||||
- Updated dependencies [e8e35fb5f]
|
||||
- Updated dependencies [9615e68fb]
|
||||
- Updated dependencies [e780e119c]
|
||||
- Updated dependencies [437bac549]
|
||||
- Updated dependencies [9f2b3a26e]
|
||||
- Updated dependencies [49f9b7346]
|
||||
- Updated dependencies [1c06cb312]
|
||||
- Updated dependencies [968b588f7]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [2499f6cde]
|
||||
- Updated dependencies [5469a9761]
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- Updated dependencies [60d1bc3e7]
|
||||
- Updated dependencies [2c1f2a7c2]
|
||||
- Updated dependencies [6266ddd11]
|
||||
- @backstage/plugin-auth-backend@0.3.2
|
||||
- @backstage/core@0.6.3
|
||||
- @backstage/plugin-scaffolder@0.6.0
|
||||
- @backstage/plugin-scaffolder-backend@0.8.0
|
||||
- @backstage/test-utils@0.1.8
|
||||
- @backstage/plugin-catalog@0.4.0
|
||||
- @backstage/plugin-catalog-import@0.4.2
|
||||
- @backstage/plugin-techdocs@0.5.8
|
||||
- @backstage/plugin-techdocs-backend@0.6.2
|
||||
- @backstage/plugin-explore@0.2.7
|
||||
- @backstage/plugin-api-docs@0.4.7
|
||||
- @backstage/catalog-model@0.7.2
|
||||
- @backstage/cli@0.6.2
|
||||
- @backstage/plugin-tech-radar@0.3.6
|
||||
- @backstage/plugin-app-backend@0.3.8
|
||||
- @backstage/plugin-catalog-backend@0.6.3
|
||||
- @backstage/config@0.1.3
|
||||
- @backstage/plugin-circleci@0.2.10
|
||||
- @backstage/plugin-github-actions@0.3.4
|
||||
- @backstage/plugin-lighthouse@0.2.12
|
||||
- @backstage/plugin-search@0.3.2
|
||||
|
||||
## 0.3.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/create-app",
|
||||
"description": "Create app package for Backstage",
|
||||
"version": "0.3.10",
|
||||
"version": "0.3.11",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
@@ -46,30 +46,30 @@
|
||||
"peerDependencies": {
|
||||
"@backstage/backend-common": "^0.5.4",
|
||||
"@backstage/catalog-client": "^0.3.6",
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/core": "^0.6.2",
|
||||
"@backstage/plugin-api-docs": "^0.4.6",
|
||||
"@backstage/plugin-app-backend": "^0.3.7",
|
||||
"@backstage/plugin-auth-backend": "^0.3.1",
|
||||
"@backstage/plugin-catalog": "^0.3.2",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.2",
|
||||
"@backstage/plugin-catalog-import": "^0.4.1",
|
||||
"@backstage/plugin-circleci": "^0.2.9",
|
||||
"@backstage/plugin-explore": "^0.2.6",
|
||||
"@backstage/plugin-github-actions": "^0.3.3",
|
||||
"@backstage/plugin-lighthouse": "^0.2.11",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/plugin-api-docs": "^0.4.7",
|
||||
"@backstage/plugin-app-backend": "^0.3.8",
|
||||
"@backstage/plugin-auth-backend": "^0.3.2",
|
||||
"@backstage/plugin-catalog": "^0.4.0",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.3",
|
||||
"@backstage/plugin-catalog-import": "^0.4.2",
|
||||
"@backstage/plugin-circleci": "^0.2.10",
|
||||
"@backstage/plugin-explore": "^0.2.7",
|
||||
"@backstage/plugin-github-actions": "^0.3.4",
|
||||
"@backstage/plugin-lighthouse": "^0.2.12",
|
||||
"@backstage/plugin-proxy-backend": "^0.2.4",
|
||||
"@backstage/plugin-rollbar-backend": "^0.1.7",
|
||||
"@backstage/plugin-scaffolder": "^0.5.1",
|
||||
"@backstage/plugin-search": "^0.3.1",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.7.1",
|
||||
"@backstage/plugin-tech-radar": "^0.3.5",
|
||||
"@backstage/plugin-techdocs": "^0.5.7",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.1",
|
||||
"@backstage/plugin-scaffolder": "^0.6.0",
|
||||
"@backstage/plugin-search": "^0.3.2",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.8.0",
|
||||
"@backstage/plugin-tech-radar": "^0.3.6",
|
||||
"@backstage/plugin-techdocs": "^0.5.8",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.2",
|
||||
"@backstage/plugin-user-settings": "^0.2.6",
|
||||
"@backstage/test-utils": "^0.1.7",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.3"
|
||||
},
|
||||
"nodemonConfig": {
|
||||
|
||||
@@ -1,5 +1,27 @@
|
||||
# @backstage/dev-utils
|
||||
|
||||
## 0.1.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 5aa4ceea6: Make sure to provide dummy routes for all external routes of plugins given to DevApp
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [e799e74d4]
|
||||
- Updated dependencies [dc12852c9]
|
||||
- Updated dependencies [d0760ecdf]
|
||||
- Updated dependencies [1407b34c6]
|
||||
- Updated dependencies [88f1f1b60]
|
||||
- Updated dependencies [bad21a085]
|
||||
- Updated dependencies [9615e68fb]
|
||||
- Updated dependencies [49f9b7346]
|
||||
- Updated dependencies [5c2e2863f]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [2c1f2a7c2]
|
||||
- @backstage/core@0.6.3
|
||||
- @backstage/test-utils@0.1.8
|
||||
- @backstage/plugin-catalog-react@0.1.0
|
||||
- @backstage/catalog-model@0.7.2
|
||||
|
||||
## 0.1.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/dev-utils",
|
||||
"description": "Utilities for developing Backstage plugins.",
|
||||
"version": "0.1.11",
|
||||
"version": "0.1.12",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -29,10 +29,10 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core": "^0.6.2",
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/plugin-catalog-react": "^0.0.4",
|
||||
"@backstage/test-utils": "^0.1.7",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/plugin-catalog-react": "^0.1.0",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -47,7 +47,7 @@
|
||||
"react-router-dom": "6.0.0-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/node": "^12.0.0"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/techdocs-common
|
||||
|
||||
## 0.4.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 2499f6cde: Add support for assuming role in AWS integrations
|
||||
- 1e4ddd71d: Fix AWS, GCS and Azure publisher to work on Windows.
|
||||
- Updated dependencies [bad21a085]
|
||||
- Updated dependencies [a1f5e6545]
|
||||
- @backstage/catalog-model@0.7.2
|
||||
- @backstage/config@0.1.3
|
||||
|
||||
## 0.4.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/techdocs-common",
|
||||
"description": "Common functionalities for TechDocs, to be shared between techdocs-backend plugin and techdocs-cli",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"private": false,
|
||||
@@ -39,8 +39,8 @@
|
||||
"@azure/identity": "^1.2.2",
|
||||
"@azure/storage-blob": "^12.4.0",
|
||||
"@backstage/backend-common": "^0.5.4",
|
||||
"@backstage/catalog-model": "^0.7.1",
|
||||
"@backstage/config": "^0.1.2",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/integration": "^0.5.0",
|
||||
"@google-cloud/storage": "^5.6.0",
|
||||
"@types/dockerode": "^3.2.1",
|
||||
@@ -60,7 +60,7 @@
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@types/fs-extra": "^9.0.5",
|
||||
"@types/git-url-parse": "^9.0.0",
|
||||
"@types/js-yaml": "^3.12.5",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/test-utils
|
||||
|
||||
## 0.1.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- dc12852c9: Allow `ExternalRouteRef` instances to be passed as a route ref to `mountedRoutes`.
|
||||
- Updated dependencies [3a58084b6]
|
||||
- Updated dependencies [1407b34c6]
|
||||
- Updated dependencies [b6c4f485d]
|
||||
- Updated dependencies [3a58084b6]
|
||||
- @backstage/core-api@0.2.11
|
||||
|
||||
## 0.1.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/test-utils",
|
||||
"description": "Utilities to test Backstage plugins and apps.",
|
||||
"version": "0.1.7",
|
||||
"version": "0.1.8",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -29,7 +29,7 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core-api": "^0.2.7",
|
||||
"@backstage/core-api": "^0.2.11",
|
||||
"@backstage/test-utils-core": "^0.1.1",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
@@ -45,7 +45,7 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.0",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/node": "^12.0.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user