@backstage/frontend-plugin-api 0.6.0-next.1 → 0.6.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @backstage/frontend-plugin-api
|
|
2
2
|
|
|
3
|
+
## 0.6.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f919be9: Added a utility API for VMware Cloud auth; the API ref is available in the
|
|
8
|
+
`@backstage/core-plugin-api` and `@backstage/frontend-plugin-api` packages, the
|
|
9
|
+
implementation is in `@backstage/core-app-api` and a factory has been added to
|
|
10
|
+
`@backstage/app-defaults`.
|
|
11
|
+
- 8fe56a8: Widen `@types/react` dependency range to include version 18.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @backstage/core-components@0.14.0-next.1
|
|
14
|
+
- @backstage/core-plugin-api@1.9.0-next.1
|
|
15
|
+
- @backstage/types@1.1.1
|
|
16
|
+
- @backstage/version-bridge@1.0.7
|
|
17
|
+
|
|
3
18
|
## 0.6.0-next.1
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { ReactNode, JSX as JSX$1, ComponentType, PropsWithChildren } from 'react';
|
|
3
3
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
4
|
import { ApiRef, AnyApiRef, AnyApiFactory, IconComponent as IconComponent$1, SignInPageProps, AppTheme } from '@backstage/core-plugin-api';
|
|
5
|
-
export { AlertApi, AlertMessage, AnyApiFactory, AnyApiRef, ApiFactory, ApiHolder, ApiRef, ApiRefConfig, AppTheme, AppThemeApi, AuthProviderInfo, AuthRequestOptions, BackstageIdentityApi, BackstageIdentityResponse, BackstageUserIdentity, ConfigApi, DiscoveryApi, ErrorApi, ErrorApiError, ErrorApiErrorContext, FeatureFlag, FeatureFlagState, FeatureFlagsApi, FeatureFlagsSaveOptions, FetchApi, IdentityApi, OAuthApi, OAuthRequestApi, OAuthRequester, OAuthRequesterOptions, OAuthScope, OpenIdConnectApi, PendingOAuthRequest, ProfileInfo, ProfileInfoApi, SessionApi, SessionState, StorageApi, StorageValueSnapshot, TypesToApiRefs, alertApiRef, appThemeApiRef, atlassianAuthApiRef, bitbucketAuthApiRef, bitbucketServerAuthApiRef, configApiRef, createApiFactory, createApiRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauthRequestApiRef, oktaAuthApiRef, oneloginAuthApiRef, storageApiRef, useApi, useApiHolder, withApis } from '@backstage/core-plugin-api';
|
|
5
|
+
export { AlertApi, AlertMessage, AnyApiFactory, AnyApiRef, ApiFactory, ApiHolder, ApiRef, ApiRefConfig, AppTheme, AppThemeApi, AuthProviderInfo, AuthRequestOptions, BackstageIdentityApi, BackstageIdentityResponse, BackstageUserIdentity, ConfigApi, DiscoveryApi, ErrorApi, ErrorApiError, ErrorApiErrorContext, FeatureFlag, FeatureFlagState, FeatureFlagsApi, FeatureFlagsSaveOptions, FetchApi, IdentityApi, OAuthApi, OAuthRequestApi, OAuthRequester, OAuthRequesterOptions, OAuthScope, OpenIdConnectApi, PendingOAuthRequest, ProfileInfo, ProfileInfoApi, SessionApi, SessionState, StorageApi, StorageValueSnapshot, TypesToApiRefs, alertApiRef, appThemeApiRef, atlassianAuthApiRef, bitbucketAuthApiRef, bitbucketServerAuthApiRef, configApiRef, createApiFactory, createApiRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauthRequestApiRef, oktaAuthApiRef, oneloginAuthApiRef, storageApiRef, useApi, useApiHolder, vmwareCloudAuthApiRef, withApis } from '@backstage/core-plugin-api';
|
|
6
6
|
import { JsonObject } from '@backstage/types';
|
|
7
7
|
import { TranslationResource, TranslationMessages } from '@backstage/core-plugin-api/alpha';
|
|
8
8
|
export { TranslationMessages, TranslationMessagesOptions, TranslationRef, TranslationRefOptions, TranslationResource, TranslationResourceOptions, createTranslationMessages, createTranslationRef, createTranslationResource, useTranslationRef } from '@backstage/core-plugin-api/alpha';
|
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createVersionedContext, createVersionedValueMap, getOrCreateGlobalSingleton } from '@backstage/version-bridge';
|
|
2
2
|
import React, { useContext, useRef, Component, Suspense, useEffect, lazy, useMemo } from 'react';
|
|
3
3
|
import { createApiRef, useApi, AnalyticsContext as AnalyticsContext$1, useAnalytics as useAnalytics$1 } from '@backstage/core-plugin-api';
|
|
4
|
-
export { SessionState, alertApiRef, appThemeApiRef, atlassianAuthApiRef, bitbucketAuthApiRef, bitbucketServerAuthApiRef, configApiRef, createApiFactory, createApiRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauthRequestApiRef, oktaAuthApiRef, oneloginAuthApiRef, storageApiRef, useApi, useApiHolder, withApis } from '@backstage/core-plugin-api';
|
|
4
|
+
export { SessionState, alertApiRef, appThemeApiRef, atlassianAuthApiRef, bitbucketAuthApiRef, bitbucketServerAuthApiRef, configApiRef, createApiFactory, createApiRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauthRequestApiRef, oktaAuthApiRef, oneloginAuthApiRef, storageApiRef, useApi, useApiHolder, vmwareCloudAuthApiRef, withApis } from '@backstage/core-plugin-api';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import zodToJsonSchema from 'zod-to-json-schema';
|
|
7
7
|
import { useLocation, useParams } from 'react-router-dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/frontend-plugin-api",
|
|
3
|
-
"version": "0.6.0-next.
|
|
3
|
+
"version": "0.6.0-next.2",
|
|
4
4
|
"main": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"backstage": {
|
|
13
13
|
"role": "web-library"
|
|
14
14
|
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/backstage/backstage",
|
|
18
|
+
"directory": "packages/frontend-plugin-api"
|
|
19
|
+
},
|
|
15
20
|
"sideEffects": false,
|
|
16
21
|
"scripts": {
|
|
17
22
|
"start": "backstage-cli package start",
|
|
@@ -23,12 +28,12 @@
|
|
|
23
28
|
"postpack": "backstage-cli package postpack"
|
|
24
29
|
},
|
|
25
30
|
"dependencies": {
|
|
26
|
-
"@backstage/core-components": "^0.14.0-next.
|
|
27
|
-
"@backstage/core-plugin-api": "^1.
|
|
31
|
+
"@backstage/core-components": "^0.14.0-next.1",
|
|
32
|
+
"@backstage/core-plugin-api": "^1.9.0-next.1",
|
|
28
33
|
"@backstage/types": "^1.1.1",
|
|
29
34
|
"@backstage/version-bridge": "^1.0.7",
|
|
30
35
|
"@material-ui/core": "^4.12.4",
|
|
31
|
-
"@types/react": "^16.13.1 || ^17.0.0",
|
|
36
|
+
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
32
37
|
"lodash": "^4.17.21",
|
|
33
38
|
"zod": "^3.22.4",
|
|
34
39
|
"zod-to-json-schema": "^3.21.4"
|
|
@@ -38,10 +43,10 @@
|
|
|
38
43
|
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
39
44
|
},
|
|
40
45
|
"devDependencies": {
|
|
41
|
-
"@backstage/cli": "^0.25.2-next.
|
|
42
|
-
"@backstage/frontend-app-api": "^0.6.0-next.
|
|
43
|
-
"@backstage/frontend-test-utils": "^0.1.2-next.
|
|
44
|
-
"@backstage/test-utils": "^1.5.0-next.
|
|
46
|
+
"@backstage/cli": "^0.25.2-next.2",
|
|
47
|
+
"@backstage/frontend-app-api": "^0.6.0-next.2",
|
|
48
|
+
"@backstage/frontend-test-utils": "^0.1.2-next.2",
|
|
49
|
+
"@backstage/test-utils": "^1.5.0-next.2",
|
|
45
50
|
"@testing-library/jest-dom": "^6.0.0",
|
|
46
51
|
"@testing-library/react": "^14.0.0",
|
|
47
52
|
"history": "^5.3.0"
|