Merge branch 'master' into redirect-oauth-flow

This commit is contained in:
headphonejames
2023-02-27 17:20:37 -08:00
1999 changed files with 73777 additions and 12080 deletions
+48
View File
@@ -1,5 +1,53 @@
# @backstage/app-defaults
## 1.2.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-plugin-api@1.4.1-next.0
- @backstage/core-app-api@1.5.1-next.0
- @backstage/core-components@0.12.5-next.0
- @backstage/theme@0.2.17
- @backstage/plugin-permission-react@0.4.11-next.0
## 1.2.0
### Minor Changes
- db10b6ef65: Added a Bitbucket Server Auth Provider and added its API to the app defaults
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.12.4
- @backstage/theme@0.2.17
- @backstage/core-app-api@1.5.0
- @backstage/core-plugin-api@1.4.0
- @backstage/plugin-permission-react@0.4.10
## 1.1.1-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.12.4-next.1
- @backstage/core-app-api@1.4.1-next.0
- @backstage/core-plugin-api@1.3.0
- @backstage/theme@0.2.16
- @backstage/plugin-permission-react@0.4.9
## 1.1.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-app-api@1.4.1-next.0
- @backstage/core-components@0.12.4-next.0
- @backstage/core-plugin-api@1.3.0
- @backstage/theme@0.2.16
- @backstage/plugin-permission-react@0.4.9
## 1.1.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.1.0",
"version": "1.2.1-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -25,6 +25,7 @@ import {
GitlabAuth,
MicrosoftAuth,
BitbucketAuth,
BitbucketServerAuth,
OAuthRequestManager,
WebStorage,
UrlPatternDiscovery,
@@ -53,6 +54,7 @@ import {
configApiRef,
oneloginAuthApiRef,
bitbucketAuthApiRef,
bitbucketServerAuthApiRef,
atlassianAuthApiRef,
} from '@backstage/core-plugin-api';
import {
@@ -226,6 +228,19 @@ export const apis = [
environment: configApi.getOptionalString('auth.environment'),
}),
}),
createApiFactory({
api: bitbucketServerAuthApiRef,
deps: {
discoveryApi: discoveryApiRef,
oauthRequestApi: oauthRequestApiRef,
},
factory: ({ discoveryApi, oauthRequestApi }) =>
BitbucketServerAuth.create({
discoveryApi,
oauthRequestApi,
defaultScopes: ['REPO_READ'],
}),
}),
createApiFactory({
api: atlassianAuthApiRef,
deps: {