Merge branch 'backstage:master' into #18042-feature

This commit is contained in:
Snehal Jose
2023-06-29 17:05:18 +05:30
committed by GitHub
521 changed files with 7274 additions and 795 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-devtools': patch
---
Allow specifying custom title for `DevToolsLayout`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-badges-backend': patch
---
Added support for the [new backend system](https://backstage.io/docs/backend-system/)
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixed the `--alwaysYarnPack` flag on the`backstage-cli build-workspace` command.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-catalog-unprocessed-entities': patch
---
The Catalog Unprocessed Entities plugin can now be integrated as a tab within the DevTools plugin
- Added an export for `UnprocessedEntitiesContent`
- Updated the `README` with images of the features
- Adjusted the styles to fill in the available space
- Set the table page size to 20 as 40 was causing errors in the browser console
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-stackstorm': patch
---
Add props to StackstormHome for Header Customization
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-react': patch
---
Made markdown description theme-able
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
fixed event handler to respect configured organization
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog-unprocessed-entities': patch
---
Export some types and API items. This allows people to call the API from different places with the ApiRef, as well
as completely customize the client if required. Check the [README.md](https://github.com/backstage/backstage/blob/master/plugins/catalog-unprocessed-entities/README.md) to
note what needs to be added in order to use the new `catalogUnprocessedEntitiesApiRef` exported function.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Add WebSocket support to `kubernetes-backend` proxy.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-devtools': patch
---
Updated the `README` with instructions on how to integrate the Catalog Unprocessed Entities plugin as a tab within DevTools
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
use `Readable.from` to explicitly convert the `buffer` from `node-fetch` to a `Readable` stream
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-sonarqube': patch
'@backstage/plugin-sonarqube-backend': patch
---
Made default config optional
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-dynatrace': patch
---
updated the link that the "View Entity in Dynatrace" redirects the user to.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-backend-module-unprocessed': patch
'@backstage/plugin-catalog-unprocessed-entities': patch
---
Fix and improve documentation for the unprocessed entities modules.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-azure-devops-backend': patch
'@backstage/plugin-devtools-backend': patch
'@backstage/plugin-linguist-backend': patch
---
Added alpha support for the [new backend system](https://backstage.io/docs/backend-system/)
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
fix: update plugin home dependency for `@rjsf/material-ui` to `@rjsf/material-ui-v5`
+19 -1
View File
@@ -230,5 +230,23 @@
"@backstage/plugin-vault-backend": "0.3.2",
"@backstage/plugin-xcmetrics": "0.2.39"
},
"changesets": []
"changesets": [
"angry-phones-wash",
"cli-always-yarn-pack-freal",
"create-app-1687867724",
"cyan-shirts-deny",
"dirty-wasps-draw",
"dull-onions-remember",
"green-otters-wait",
"lazy-frogs-destroy",
"many-ants-poke",
"mighty-shoes-refuse",
"old-rules-give",
"popular-kangaroos-accept",
"purple-starfishes-design",
"short-rabbits-roll",
"sour-humans-begin",
"tough-flowers-suffer",
"twenty-seas-float"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-unprocessed-entities': patch
---
Corrected the installation instructions.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-backend': minor
'@backstage/plugin-catalog-node': minor
---
Support placeholder resolvers in the CatalogPlugin, also moves `PlaceholderResolver` and related types from `@backstage/plugin-catalog-backend` to `@backstage/plugin-catalog-node`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
Fix missing column breakpoints in `CustomHompageGrid`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Update readme with a valid link to k8s documentation
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fix keyboard navigation & focus highlight on Select component.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-unprocessed-entities': patch
---
install command points to correct package name
+6
View File
@@ -39,6 +39,9 @@ yarn.lock @backstage/maintainers @back
/plugins/code-coverage-backend @backstage/maintainers @alde @nissayeva
/plugins/cost-insights @backstage/maintainers @backstage/silver-lining
/plugins/cost-insights-* @backstage/maintainers @backstage/silver-lining
/plugins/devtools @backstage/maintainers @awanlin
/plugins/devtools-backend @backstage/maintainers @awanlin
/plugins/devtools-common @backstage/maintainers @awanlin
/plugins/entity-feedback @backstage/maintainers @kuangp
/plugins/entity-feedback-* @backstage/maintainers @kuangp
/plugins/events-backend @backstage/maintainers @pjungermann
@@ -64,6 +67,9 @@ yarn.lock @backstage/maintainers @back
/plugins/kafka-backend @backstage/maintainers @nirga @andrewthauer
/plugins/kubernetes @backstage/maintainers @backstage/kubernetes-maintainers
/plugins/kubernetes-* @backstage/maintainers @backstage/kubernetes-maintainers
/plugins/linguist @backstage/maintainers @awanlin
/plugins/linguist-backend @backstage/maintainers @awanlin
/plugins/linguist-common @backstage/maintainers @awanlin
/plugins/microsoft-calendar @backstage/maintainers @abhay-soni-developer @NishkarshRaj
/plugins/newrelic-dashboard @backstage/maintainers @mufaddal7
/plugins/permission-* @backstage/permission-maintainers
+2 -2
View File
@@ -120,9 +120,9 @@ Scope: Tooling for frontend and backend schema-first OpenAPI development.
| Name | Organization | GitHub | Discord |
| ------------------------------ | ------------------------- | ----------------------------------------------------- | ------------------------------ |
| Adam Harvey | Cisco | [adamdmharvey](https://github.com/adamdmharvey) | `adamharvey#3739` |
| Adam Harvey | Cisco | [adamdmharvey](https://github.com/adamdmharvey) | `adamharvey_` |
| Alex Crome | | [afscrome](https://github.com/afscrome) | `afscrome` |
| Andre Wanlin | Keyloop | [awanlin](https://github.com/awanlin) | `Ahhhndre#3095` |
| Andre Wanlin | Keyloop | [awanlin](https://github.com/awanlin) | `ahhhndre` |
| Andrew Thauer | Wealthsimple | [andrewthauer](https://github.com/andrewthauer) | `andrewthauer#3060` |
| Aramis Sennyey | | [sennyeya](https://github.com/sennyeya) | `Aramis#7984` |
| Brian Fletcher | Roadie.io | [punkle](https://github.com/punkle) | `Brian Fletcher#7051` |
+3 -3
View File
@@ -1230,13 +1230,13 @@ __metadata:
linkType: hard
"semver@npm:^7.3.2":
version: 7.3.7
resolution: "semver@npm:7.3.7"
version: 7.5.3
resolution: "semver@npm:7.5.3"
dependencies:
lru-cache: ^6.0.0
bin:
semver: bin/semver.js
checksum: 2fa3e877568cd6ce769c75c211beaed1f9fce80b28338cadd9d0b6c40f2e2862bafd62c19a6cff42f3d54292b7c623277bcab8816a2b5521cf15210d43e75232
checksum: 9d58db16525e9f749ad0a696a1f27deabaa51f66e91d2fa2b0db3de3e9644e8677de3b7d7a03f4c15bc81521e0c3916d7369e0572dbde250d9bedf5194e2a8a7
languageName: node
linkType: hard
@@ -84,7 +84,7 @@ Options are a simple way to allow for more lightweight customization of a plugin
The following rules apply to the production setup of Backstage plugins in the broader Backstage plugin ecosystem. Any plugin that is maintained under the `@backstage` package namespace should follow these rules, and it is recommended that all widely distributed plugins follow these rules as well.
An exception to these rules are made for development or test setups, where shortcuts can be take in order to streamline development and keep things simple.
An exception to these rules are made for development or test setups, where shortcuts can be taken in order to streamline development and keep things simple.
### Scalable
@@ -92,4 +92,4 @@ Plugins must always be designed to be horizontally scalable. This means that you
### Isolated
Plugins must never communicate with each other directly through code, they may only communicate over the network. Plugins that wish to expose an external interface for other plugins and modules to use are recommended to do so though a [node-library](../../local-dev/cli-build-system.md#package-roles) package. The library should export an API client service to make calls to your plugin, or similar construct.
Plugins must never communicate with each other directly through code, they may only communicate over the network. Plugins that wish to expose an external interface for other plugins and modules to use are recommended to do so through a [node-library](../../local-dev/cli-build-system.md#package-roles) package. The library should export an API client service to make calls to your plugin, or similar construct.
@@ -4,8 +4,8 @@ title: Writing Custom Actions
description: How to write your own actions
---
If you're wanting to extend the functionality of the Scaffolder, you can do so
by writing custom actions which can be used along side our
If you want to extend the functionality of the Scaffolder, you can do so
by writing custom actions which can be used alongside our
[built-in actions](./builtin-actions.md).
> Note: When adding custom actions, the actions array will **replace the
@@ -65,7 +65,7 @@ The `createTemplateAction` takes an object which specifies the following:
- `schema.input` - A `zod` or JSON schema object for input values to your function
- `schema.output` - A `zod` or JSON schema object for values which are output from the
function using `ctx.output`
- `handler` - the actual code which is run part of the action, with a context
- `handler` - the actual code which is run as part of the action, with a context
You can also choose to define your custom action using JSON schema instead of `zod`:
+1 -1
View File
@@ -40,7 +40,7 @@ Inside your `packages/app` directory, create a new file where our new homepage c
```tsx
import React from 'react';
export const homePage = (
export const HomePage = () => (
/* We will shortly compose a pretty homepage here. */
<h1>Welcome to Backstage!</h1>
);
+2
View File
@@ -53,6 +53,8 @@ create a subdirectory inside your current working directory.
npx @backstage/create-app@latest
```
> Note: If this fails on the `yarn install` step, it's likely that you will need to install some additional dependencies which are used to configure `isolated-vm`. You can find out more in their [requirements section](https://github.com/laverdet/isolated-vm#requirements), and then run `yarn install` manually again after you've completed those steps.
The wizard will ask you for the name of the app, which will also be the name of the directory
![Screenshot of the wizard asking for a name for the app.](../assets/getting-started/wizard.png)
+2 -2
View File
@@ -37,7 +37,7 @@ catalog:
```
Finally, register the plugin in `catalog.ts`.
For large organizations, this plugin can take a long time, so be careful setting low frequency / timeouts.
For large organizations, this plugin can take a long time, so be careful setting low frequency / timeouts and importing a large amount of users / groups for the first try.
```ts title="packages/backend/src/plugins/catalog.ts"
/* highlight-add-next-line */
@@ -106,7 +106,7 @@ To grant the managed identity the same permissions as mentioned in _App Registra
## Filtering imported Users and Groups
By default, the plugin will import all users and groups from your directory.
This can be customized through [filters](https://learn.microsoft.com/en-us/graph/filter-query-parameter) and [search](https://learn.microsoft.com/en-us/graph/search-query-parameter) queries.
This can be customized through [filters](https://learn.microsoft.com/en-us/graph/filter-query-parameter) and [search](https://learn.microsoft.com/en-us/graph/search-query-parameter) queries. Keep in mind that if you omit filters and search queries for the user or group properties, the plugin will automatically import all available users or groups.
### Groups
File diff suppressed because it is too large Load Diff
+10
View File
@@ -0,0 +1,10 @@
---
title: 'DevTools'
author: Keyloop
authorUrl: https://keyloop.com/
category: Tools
description: Tools for helping with the Ops side of running a Backstage instance
documentation: https://github.com/backstage/backstage/blob/master/plugins/devtools/README.md
iconUrl: /img/devtools.svg
npmPackageName: '@backstage/plugin-devtools'
addedDate: '2023-06-17'
+10
View File
@@ -0,0 +1,10 @@
---
title: 'Linguist'
author: Keyloop
authorUrl: https://keyloop.com/
category: Metadata
description: View the programming language break down for your entities within the Software Catalog
documentation: https://github.com/backstage/backstage/blob/master/plugins/linguist/README.md
iconUrl: /img/linguist.svg
npmPackageName: '@backstage/plugin-linguist'
addedDate: '2023-06-17'
+4
View File
@@ -127,6 +127,10 @@ module.exports = {
from: '/docs/features/techdocs/techdocs-overview',
to: '/docs/features/techdocs/',
},
{
from: '/docs/features/kubernetes/overview',
to: '/docs/features/kubernetes/',
},
{
from: '/docs/features/search/search-overview',
to: '/docs/features/search/',
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path clip-rule="evenodd" d="M0 0h24v24H0z" fill="none"/><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>

After

Width:  |  Height:  |  Size: 345 B

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0z" fill="none"/><path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"/></svg>

After

Width:  |  Height:  |  Size: 453 B

+1 -1
View File
@@ -47,7 +47,7 @@
"@types/react": "^17",
"@types/react-dom": "^17"
},
"version": "1.15.0",
"version": "1.16.0-next.0",
"dependencies": {
"@backstage/errors": "workspace:^",
"@manypkg/get-packages": "^1.1.3"
+11
View File
@@ -1,5 +1,16 @@
# @backstage/app-defaults
## 1.4.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.3-next.0
- @backstage/core-app-api@1.8.1
- @backstage/core-plugin-api@1.5.2
- @backstage/theme@0.4.0
- @backstage/plugin-permission-react@0.4.14-next.0
## 1.4.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/app-defaults",
"description": "Provides the default wiring of a Backstage App",
"version": "1.4.0",
"version": "1.4.1-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+75
View File
@@ -1,5 +1,80 @@
# example-app
## 0.2.85-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-devtools@0.1.2-next.0
- @backstage/cli@0.22.9-next.0
- @backstage/plugin-catalog-unprocessed-entities@0.1.1-next.0
- @backstage/plugin-stackstorm@0.1.4-next.0
- @backstage/plugin-dynatrace@6.0.1-next.0
- @backstage/plugin-home@0.5.4-next.0
- @backstage/core-components@0.13.3-next.0
- @backstage/plugin-playlist@0.1.12-next.0
- @backstage/plugin-nomad@0.1.1-next.0
- @backstage/app-defaults@1.4.1-next.0
- @backstage/catalog-model@1.4.1-next.0
- @backstage/config@1.0.8
- @backstage/core-app-api@1.8.1
- @backstage/core-plugin-api@1.5.2
- @backstage/integration-react@1.1.15-next.0
- @backstage/theme@0.4.0
- @backstage/plugin-adr@0.6.3-next.0
- @backstage/plugin-airbrake@0.3.20-next.0
- @backstage/plugin-apache-airflow@0.2.13-next.0
- @backstage/plugin-api-docs@0.9.6-next.0
- @backstage/plugin-azure-devops@0.3.2-next.0
- @backstage/plugin-azure-sites@0.1.9-next.0
- @backstage/plugin-badges@0.2.44-next.0
- @backstage/plugin-catalog-common@1.0.15-next.0
- @backstage/plugin-catalog-graph@0.2.32-next.0
- @backstage/plugin-catalog-import@0.9.10-next.0
- @backstage/plugin-catalog-react@1.7.1-next.0
- @backstage/plugin-circleci@0.3.20-next.0
- @backstage/plugin-cloudbuild@0.3.20-next.0
- @backstage/plugin-code-coverage@0.2.13-next.0
- @backstage/plugin-cost-insights@0.12.9-next.0
- @backstage/plugin-entity-feedback@0.2.3-next.0
- @backstage/plugin-explore@0.4.6-next.0
- @backstage/plugin-gcalendar@0.3.16-next.0
- @backstage/plugin-gcp-projects@0.3.39-next.0
- @backstage/plugin-github-actions@0.6.1-next.0
- @backstage/plugin-gocd@0.1.26-next.0
- @backstage/plugin-graphiql@0.2.52-next.0
- @backstage/plugin-jenkins@0.8.2-next.0
- @backstage/plugin-kafka@0.3.20-next.0
- @backstage/plugin-kubernetes@0.9.3-next.0
- @backstage/plugin-lighthouse@0.4.5-next.0
- @backstage/plugin-linguist@0.1.5-next.0
- @backstage/plugin-linguist-common@0.1.0
- @backstage/plugin-microsoft-calendar@0.1.5-next.0
- @backstage/plugin-newrelic@0.3.38-next.0
- @backstage/plugin-newrelic-dashboard@0.2.13-next.0
- @backstage/plugin-octopus-deploy@0.2.2-next.0
- @backstage/plugin-org@0.6.10-next.0
- @backstage/plugin-pagerduty@0.6.1-next.0
- @backstage/plugin-permission-react@0.4.14-next.0
- @backstage/plugin-puppetdb@0.1.3-next.0
- @backstage/plugin-rollbar@0.4.20-next.0
- @backstage/plugin-scaffolder@1.14.1-next.0
- @backstage/plugin-scaffolder-react@1.5.1-next.0
- @backstage/plugin-search@1.3.3-next.0
- @backstage/plugin-search-common@1.2.5-next.0
- @backstage/plugin-search-react@1.6.3-next.0
- @backstage/plugin-sentry@0.5.5-next.0
- @backstage/plugin-shortcuts@0.3.12-next.0
- @backstage/plugin-stack-overflow@0.1.18-next.0
- @backstage/plugin-tech-insights@0.3.12-next.0
- @backstage/plugin-tech-radar@0.6.6-next.0
- @backstage/plugin-techdocs@1.6.5-next.0
- @backstage/plugin-techdocs-module-addons-contrib@1.0.15-next.0
- @backstage/plugin-techdocs-react@1.1.8-next.0
- @backstage/plugin-todo@0.2.22-next.0
- @backstage/plugin-user-settings@0.7.5-next.0
- @internal/plugin-catalog-customized@0.0.12-next.0
## 0.2.84
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-app",
"version": "0.2.84",
"version": "0.2.85-next.0",
"private": true,
"backstage": {
"role": "frontend"
@@ -21,6 +21,7 @@ import {
} from '@backstage/plugin-devtools';
import { DevToolsLayout } from '@backstage/plugin-devtools';
import React from 'react';
import { UnprocessedEntitiesContent } from '@backstage/plugin-catalog-unprocessed-entities';
const DevToolsPage = () => {
return (
@@ -37,6 +38,12 @@ const DevToolsPage = () => {
>
<ExternalDependenciesContent />
</DevToolsLayout.Route>
<DevToolsLayout.Route
path="unprocessed-entities"
title="Unprocessed Entities"
>
<UnprocessedEntitiesContent />
</DevToolsLayout.Route>
</DevToolsLayout>
);
};
+16
View File
@@ -1,5 +1,21 @@
# @backstage/backend-app-api
## 0.4.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/backend-common@0.19.1-next.0
- @backstage/backend-plugin-api@0.5.4-next.0
- @backstage/backend-tasks@0.5.4-next.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/config-loader@1.3.2-next.0
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16-next.0
- @backstage/plugin-permission-node@0.7.10-next.0
## 0.4.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-app-api",
"description": "Core API used by Backstage backend apps",
"version": "0.4.4",
"version": "0.4.5-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+17
View File
@@ -1,5 +1,22 @@
# @backstage/backend-common
## 0.19.1-next.0
### Patch Changes
- 787ddcc5ef99: use `Readable.from` to explicitly convert the `buffer` from `node-fetch` to a `Readable` stream
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/backend-app-api@0.4.5-next.0
- @backstage/backend-dev-utils@0.1.1
- @backstage/backend-plugin-api@0.5.4-next.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/config-loader@1.3.2-next.0
- @backstage/integration@1.5.1-next.0
- @backstage/integration-aws-node@0.1.5-next.0
- @backstage/types@1.1.0
## 0.19.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-common",
"description": "Common functionality library for Backstage backends",
"version": "0.19.0",
"version": "0.19.1-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
@@ -158,7 +158,7 @@ export class AzureUrlReader implements UrlReader {
}
return await this.deps.treeResponseFactory.fromZipArchive({
stream: archiveAzureResponse.body as unknown as Readable,
stream: Readable.from(archiveAzureResponse.body),
etag: commitSha,
filter,
subpath,
@@ -160,7 +160,7 @@ export class BitbucketCloudUrlReader implements UrlReader {
}
return await this.deps.treeResponseFactory.fromTarArchive({
stream: archiveResponse.body as unknown as Readable,
stream: Readable.from(archiveResponse.body),
subpath: filepath,
etag: lastCommitShortHash,
filter: options?.filter,
@@ -151,7 +151,7 @@ export class BitbucketServerUrlReader implements UrlReader {
}
return await this.deps.treeResponseFactory.fromTarArchive({
stream: archiveResponse.body as unknown as Readable,
stream: Readable.from(archiveResponse.body),
subpath: filepath,
etag: lastCommitShortHash,
filter: options?.filter,
@@ -171,7 +171,7 @@ export class BitbucketUrlReader implements UrlReader {
}
return await this.deps.treeResponseFactory.fromTarArchive({
stream: archiveBitbucketResponse.body as unknown as Readable,
stream: Readable.from(archiveBitbucketResponse.body),
subpath: filepath,
etag: lastCommitShortHash,
filter: options?.filter,
@@ -204,7 +204,7 @@ export class GerritUrlReader implements UrlReader {
});
const tarArchive = Readable.from(data);
return await this.deps.treeResponseFactory.fromTarArchive({
stream: tarArchive as unknown as Readable,
stream: tarArchive,
subpath: filePath === '/' ? undefined : filePath,
etag: branchInfo.revision,
filter: options?.filter,
@@ -238,7 +238,7 @@ export class GithubUrlReader implements UrlReader {
return await this.deps.treeResponseFactory.fromTarArchive({
// TODO(Rugvip): Underlying implementation of fetch will be node-fetch, we probably want
// to stick to using that in exclusively backend code.
stream: archive.body as unknown as Readable,
stream: Readable.from(archive.body),
subpath,
etag: sha,
filter: options?.filter,
@@ -347,7 +347,6 @@ export class GithubUrlReader implements UrlReader {
init: RequestInit,
): Promise<Response> {
const urlAsString = url.toString();
const response = await fetch(urlAsString, init);
if (!response.ok) {
@@ -229,7 +229,7 @@ export class GitlabUrlReader implements UrlReader {
}
return await this.deps.treeResponseFactory.fromTarArchive({
stream: archiveGitLabResponse.body as unknown as Readable,
stream: Readable.from(archiveGitLabResponse.body),
subpath: filepath,
etag: commitSha,
filter: options?.filter,
@@ -151,7 +151,6 @@ export class TarArchiveResponse implements ReadTreeResponse {
const strip = this.subPath ? this.subPath.split('/').length : 1;
let filterError: Error | undefined = undefined;
await pipeline(
this.stream,
tar.extract({
+9
View File
@@ -1,5 +1,14 @@
# @backstage/backend-defaults
## 0.1.12-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.1-next.0
- @backstage/backend-app-api@0.4.5-next.0
- @backstage/backend-plugin-api@0.5.4-next.0
## 0.1.11
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-defaults",
"description": "Backend defaults used by Backstage backend apps",
"version": "0.1.11",
"version": "0.1.12-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+24
View File
@@ -1,5 +1,29 @@
# example-backend-next
## 0.0.13-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-backend-module-unprocessed@0.1.1-next.0
- @backstage/plugin-entity-feedback-backend@0.1.5-next.0
- @backstage/plugin-catalog-backend@1.11.0-next.0
- @backstage/plugin-kubernetes-backend@0.11.2-next.0
- @backstage/backend-defaults@0.1.12-next.0
- @backstage/plugin-app-backend@0.3.47-next.0
- @backstage/plugin-auth-node@0.2.16-next.0
- @backstage/plugin-permission-backend@0.5.22-next.0
- @backstage/plugin-permission-common@0.7.7-next.0
- @backstage/plugin-permission-node@0.7.10-next.0
- @backstage/plugin-scaffolder-backend@1.15.1-next.0
- @backstage/plugin-search-backend@1.3.3-next.0
- @backstage/plugin-search-backend-module-catalog@0.1.3-next.0
- @backstage/plugin-search-backend-module-explore@0.1.3-next.0
- @backstage/plugin-search-backend-module-techdocs@0.1.3-next.0
- @backstage/plugin-search-backend-node@1.2.3-next.0
- @backstage/plugin-techdocs-backend@1.6.4-next.0
- @backstage/plugin-todo-backend@0.1.44-next.0
## 0.0.12
### Patch Changes
+6 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend-next",
"version": "0.0.12",
"version": "0.0.13-next.0",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -26,12 +26,17 @@
},
"dependencies": {
"@backstage/backend-defaults": "workspace:^",
"@backstage/backend-tasks": "workspace:^",
"@backstage/plugin-app-backend": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/plugin-azure-devops-backend": "workspace:^",
"@backstage/plugin-badges-backend": "workspace:^",
"@backstage/plugin-catalog-backend": "workspace:^",
"@backstage/plugin-catalog-backend-module-unprocessed": "workspace:^",
"@backstage/plugin-devtools-backend": "workspace:^",
"@backstage/plugin-entity-feedback-backend": "workspace:^",
"@backstage/plugin-kubernetes-backend": "workspace:^",
"@backstage/plugin-linguist-backend": "workspace:^",
"@backstage/plugin-permission-backend": "workspace:^",
"@backstage/plugin-permission-common": "workspace:^",
"@backstage/plugin-permission-node": "workspace:^",
+30
View File
@@ -32,14 +32,44 @@ import { techdocsPlugin } from '@backstage/plugin-techdocs-backend/alpha';
import { todoPlugin } from '@backstage/plugin-todo-backend';
import { entityFeedbackPlugin } from '@backstage/plugin-entity-feedback-backend';
import { catalogModuleUnprocessedEntities } from '@backstage/plugin-catalog-backend-module-unprocessed';
import { badgesPlugin } from '@backstage/plugin-badges-backend';
import { azureDevOpsPlugin } from '@backstage/plugin-azure-devops-backend';
import { linguistPlugin } from '@backstage/plugin-linguist-backend';
import { devtoolsPlugin } from '@backstage/plugin-devtools-backend';
import { TaskScheduleDefinition } from '@backstage/backend-tasks';
const backend = createBackend();
backend.add(appPlugin({ appPackageName: 'example-app' }));
// Badges
backend.add(badgesPlugin());
// Azure DevOps
backend.add(azureDevOpsPlugin());
// DevTools
backend.add(devtoolsPlugin());
// Entity Feedback
backend.add(entityFeedbackPlugin());
// Linguist
const linguistSchedule: TaskScheduleDefinition = {
frequency: { minutes: 2 },
timeout: { minutes: 15 },
initialDelay: { seconds: 15 },
};
backend.add(
linguistPlugin({
schedule: linguistSchedule,
age: { days: 30 },
batchSize: 2,
useSourceLocation: false,
}),
);
// Todo
backend.add(todoPlugin());
+11
View File
@@ -1,5 +1,16 @@
# @backstage/backend-plugin-api
## 0.5.4-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-tasks@0.5.4-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16-next.0
- @backstage/plugin-permission-common@0.7.7-next.0
## 0.5.3
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-plugin-api",
"description": "Core API used by Backstage backend plugins",
"version": "0.5.3",
"version": "0.5.4-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+10
View File
@@ -1,5 +1,15 @@
# @backstage/backend-tasks
## 0.5.4-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/backend-common@0.19.1-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
## 0.5.3
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-tasks",
"description": "Common distributed task management library for Backstage backends",
"version": "0.5.3",
"version": "0.5.4-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+12
View File
@@ -1,5 +1,17 @@
# @backstage/backend-test-utils
## 0.1.39-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.1-next.0
- @backstage/backend-app-api@0.4.5-next.0
- @backstage/backend-plugin-api@0.5.4-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
- @backstage/plugin-auth-node@0.2.16-next.0
## 0.1.38
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-test-utils",
"description": "Test helpers library for Backstage backends",
"version": "0.1.38",
"version": "0.1.39-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+55
View File
@@ -1,5 +1,60 @@
# example-backend
## 0.2.85-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.1-next.0
- @backstage/plugin-catalog-backend-module-unprocessed@0.1.1-next.0
- @backstage/plugin-entity-feedback-backend@0.1.5-next.0
- @backstage/plugin-catalog-backend@1.11.0-next.0
- @backstage/plugin-catalog-node@1.4.0-next.0
- @backstage/plugin-kubernetes-backend@0.11.2-next.0
- example-app@0.2.85-next.0
- @backstage/backend-tasks@0.5.4-next.0
- @backstage/catalog-client@1.4.3-next.0
- @backstage/catalog-model@1.4.1-next.0
- @backstage/config@1.0.8
- @backstage/integration@1.5.1-next.0
- @backstage/plugin-adr-backend@0.3.5-next.0
- @backstage/plugin-app-backend@0.3.47-next.0
- @backstage/plugin-auth-backend@0.18.5-next.0
- @backstage/plugin-auth-node@0.2.16-next.0
- @backstage/plugin-azure-devops-backend@0.3.26-next.0
- @backstage/plugin-azure-sites-backend@0.1.9-next.0
- @backstage/plugin-badges-backend@0.2.2-next.0
- @backstage/plugin-code-coverage-backend@0.2.13-next.0
- @backstage/plugin-devtools-backend@0.1.2-next.0
- @backstage/plugin-events-backend@0.2.8-next.0
- @backstage/plugin-events-node@0.2.8-next.0
- @backstage/plugin-explore-backend@0.0.9-next.0
- @backstage/plugin-graphql-backend@0.1.37-next.0
- @backstage/plugin-jenkins-backend@0.2.2-next.0
- @backstage/plugin-kafka-backend@0.2.40-next.0
- @backstage/plugin-lighthouse-backend@0.2.3-next.0
- @backstage/plugin-linguist-backend@0.3.1-next.0
- @backstage/plugin-nomad-backend@0.1.1-next.0
- @backstage/plugin-permission-backend@0.5.22-next.0
- @backstage/plugin-permission-common@0.7.7-next.0
- @backstage/plugin-permission-node@0.7.10-next.0
- @backstage/plugin-playlist-backend@0.3.3-next.0
- @backstage/plugin-proxy-backend@0.2.41-next.0
- @backstage/plugin-rollbar-backend@0.1.44-next.0
- @backstage/plugin-scaffolder-backend@1.15.1-next.0
- @backstage/plugin-scaffolder-backend-module-confluence-to-markdown@0.1.4-next.0
- @backstage/plugin-scaffolder-backend-module-rails@0.4.16-next.0
- @backstage/plugin-search-backend@1.3.3-next.0
- @backstage/plugin-search-backend-module-elasticsearch@1.3.2-next.0
- @backstage/plugin-search-backend-module-pg@0.5.8-next.0
- @backstage/plugin-search-backend-node@1.2.3-next.0
- @backstage/plugin-search-common@1.2.5-next.0
- @backstage/plugin-tech-insights-backend@0.5.13-next.0
- @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.31-next.0
- @backstage/plugin-tech-insights-node@0.4.5-next.0
- @backstage/plugin-techdocs-backend@1.6.4-next.0
- @backstage/plugin-todo-backend@0.1.44-next.0
## 0.2.84
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend",
"version": "0.2.84",
"version": "0.2.85-next.0",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
+8
View File
@@ -1,5 +1,13 @@
# @backstage/catalog-client
## 1.4.3-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/catalog-model@1.4.1-next.0
## 1.4.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-client",
"description": "An isomorphic client for the catalog backend",
"version": "1.4.2",
"version": "1.4.3-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/catalog-model
## 1.4.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/config@1.0.8
- @backstage/types@1.1.0
## 1.4.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-model",
"description": "Types and validators that help describe the model of a Backstage Catalog",
"version": "1.4.0",
"version": "1.4.1-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/cli-node
## 0.1.2-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/cli-common@0.1.12
- @backstage/types@1.1.0
## 0.1.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/cli-node",
"description": "Node.js library for Backstage CLIs",
"version": "0.1.1",
"version": "0.1.2-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+17
View File
@@ -1,5 +1,22 @@
# @backstage/cli
## 0.22.9-next.0
### Patch Changes
- 6adb6f41711a: Fixed the `--alwaysYarnPack` flag on the`backstage-cli build-workspace` command.
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/catalog-model@1.4.1-next.0
- @backstage/cli-common@0.1.12
- @backstage/cli-node@0.1.2-next.0
- @backstage/config@1.0.8
- @backstage/config-loader@1.3.2-next.0
- @backstage/eslint-plugin@0.1.3
- @backstage/integration@1.5.1-next.0
- @backstage/release-manifests@0.0.9
- @backstage/types@1.1.0
## 0.22.8
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/cli",
"description": "CLI for developing Backstage plugins and apps",
"version": "0.22.8",
"version": "0.22.9-next.0",
"publishConfig": {
"access": "public"
},
+6 -1
View File
@@ -17,12 +17,17 @@
import fs from 'fs-extra';
import { createDistWorkspace } from '../lib/packager';
export default async (dir: string, packages: string[]) => {
type Options = {
alwaysYarnPack?: boolean;
};
export default async (dir: string, packages: string[], options: Options) => {
if (!(await fs.pathExists(dir))) {
throw new Error(`Target workspace directory doesn't exist, '${dir}'`);
}
await createDistWorkspace(packages, {
targetDir: dir,
alwaysYarnPack: options.alwaysYarnPack,
});
};
+10
View File
@@ -1,5 +1,15 @@
# @backstage/config-loader
## 1.3.2-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/cli-common@0.1.12
- @backstage/config@1.0.8
- @backstage/types@1.1.0
## 1.3.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/config-loader",
"description": "Config loading functionality used by Backstage backend, and CLI",
"version": "1.3.1",
"version": "1.3.2-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+13
View File
@@ -1,5 +1,18 @@
# @backstage/core-components
## 0.13.3-next.0
### Patch Changes
- 68531cc70e1f: Break some internal circular import chains
- a011d2316a58: Fix keyboard navigation & focus highlight on Select component.
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/config@1.0.8
- @backstage/core-plugin-api@1.5.2
- @backstage/theme@0.4.0
- @backstage/version-bridge@1.0.4
## 0.13.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-components",
"description": "Core components used by Backstage plugins and apps",
"version": "0.13.2",
"version": "0.13.3-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -43,6 +43,9 @@ const BootstrapInput = withStyles(
'label + &': {
marginTop: theme.spacing(3),
},
'&.Mui-focused > div[role=button]': {
borderColor: theme.palette.primary.main,
},
},
input: {
borderRadius: theme.shape.borderRadius,
@@ -75,7 +78,7 @@ const useStyles = makeStyles(
(theme: Theme) =>
createStyles({
formControl: {
margin: `${theme.spacing(1)} 0px`,
margin: theme.spacing(1, 0),
maxWidth: 300,
},
label: {
@@ -212,7 +215,6 @@ export function SelectComponent(props: SelectProps) {
onClose={handleClose}
input={<BootstrapInput />}
label={label}
tabIndex={0}
renderValue={s =>
multiple && (value as any[]).length !== 0 ? (
<Box className={classes.chips}>
+8
View File
@@ -1,5 +1,13 @@
# @backstage/create-app
## 0.5.3-next.0
### Patch Changes
- Bumped create-app version.
- Updated dependencies
- @backstage/cli-common@0.1.12
## 0.5.2
### 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.5.2",
"version": "0.5.3-next.0",
"publishConfig": {
"access": "public"
},
+15
View File
@@ -1,5 +1,20 @@
# @backstage/dev-utils
## 1.0.17-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.3-next.0
- @backstage/app-defaults@1.4.1-next.0
- @backstage/catalog-model@1.4.1-next.0
- @backstage/core-app-api@1.8.1
- @backstage/core-plugin-api@1.5.2
- @backstage/integration-react@1.1.15-next.0
- @backstage/test-utils@1.4.1-next.0
- @backstage/theme@0.4.0
- @backstage/plugin-catalog-react@1.7.1-next.0
## 1.0.16
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/dev-utils",
"description": "Utilities for developing Backstage plugins.",
"version": "1.0.16",
"version": "1.0.17-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+9
View File
@@ -1,5 +1,14 @@
# e2e-test
## 0.2.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/create-app@0.5.3-next.0
- @backstage/errors@1.2.1-next.0
- @backstage/cli-common@0.1.12
## 0.2.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "e2e-test",
"description": "E2E test for verifying Backstage packages",
"version": "0.2.4",
"version": "0.2.5-next.0",
"private": true,
"backstage": {
"role": "cli"
+8
View File
@@ -1,5 +1,13 @@
# @backstage/errors
## 1.2.1-next.0
### Patch Changes
- e205b3e6ede8: Set `this.name` in all error classes that extend `CustomErrorBase` class to their actual name
- Updated dependencies
- @backstage/types@1.1.0
## 1.2.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/errors",
"description": "Common utilities for error handling within Backstage",
"version": "1.2.0",
"version": "1.2.1-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -1,5 +1,13 @@
# @backstage/integration-aws-node
## 0.1.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/config@1.0.8
## 0.1.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/integration-aws-node",
"description": "Helpers for fetching AWS account credentials",
"version": "0.1.4",
"version": "0.1.5-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+11
View File
@@ -1,5 +1,16 @@
# @backstage/integration-react
## 1.1.15-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.3-next.0
- @backstage/config@1.0.8
- @backstage/core-plugin-api@1.5.2
- @backstage/integration@1.5.1-next.0
- @backstage/theme@0.4.0
## 1.1.14
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/integration-react",
"description": "Frontend package for managing integrations towards external systems",
"version": "1.1.14",
"version": "1.1.15-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+8
View File
@@ -1,5 +1,13 @@
# @backstage/integration
## 1.5.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/config@1.0.8
## 1.5.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/integration",
"description": "Helpers for managing integrations towards external systems",
"version": "1.5.0",
"version": "1.5.1-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/repo-tools
## 0.3.2-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/cli-common@0.1.12
- @backstage/cli-node@0.1.2-next.0
## 0.3.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/repo-tools",
"description": "CLI for Backstage repo tooling ",
"version": "0.3.1",
"version": "0.3.2-next.0",
"publishConfig": {
"access": "public"
},
@@ -1,5 +1,24 @@
# techdocs-cli-embedded-app
## 0.2.84-next.0
### Patch Changes
- Updated dependencies
- @backstage/cli@0.22.9-next.0
- @backstage/core-components@0.13.3-next.0
- @backstage/app-defaults@1.4.1-next.0
- @backstage/catalog-model@1.4.1-next.0
- @backstage/config@1.0.8
- @backstage/core-app-api@1.8.1
- @backstage/core-plugin-api@1.5.2
- @backstage/integration-react@1.1.15-next.0
- @backstage/test-utils@1.4.1-next.0
- @backstage/theme@0.4.0
- @backstage/plugin-catalog@1.11.3-next.0
- @backstage/plugin-techdocs@1.6.5-next.0
- @backstage/plugin-techdocs-react@1.1.8-next.0
## 0.2.83
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More