Promote translation refs from alpha to stable entry points
Add each plugin and package translation ref to the corresponding stable entry point, changing the JSDoc tag from @alpha to @public. The alpha entry points now re-export with a @deprecated annotation so existing consumers continue to work. Affected packages: core-components, api-docs, catalog, catalog-graph, catalog-import, catalog-react, home, home-react, kubernetes, kubernetes-cluster, kubernetes-react, notifications, org, scaffolder, scaffolder-react, search, search-react, user-settings. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { kubernetesReactTranslationRef } from './translation';
|
||||
import { kubernetesReactTranslationRef as _kubernetesReactTranslationRef } from './translation';
|
||||
|
||||
export { kubernetesReactTranslationRef };
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Import from `@backstage/plugin-kubernetes-react` instead.
|
||||
*/
|
||||
export const kubernetesReactTranslationRef = _kubernetesReactTranslationRef;
|
||||
|
||||
@@ -28,3 +28,4 @@ export * from './api';
|
||||
export * from './kubernetes-auth-provider';
|
||||
export * from './components';
|
||||
export * from './types';
|
||||
export { kubernetesReactTranslationRef } from './translation';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { createTranslationRef } from '@backstage/core-plugin-api/alpha';
|
||||
|
||||
/** @alpha */
|
||||
/** @public */
|
||||
export const kubernetesReactTranslationRef = createTranslationRef({
|
||||
id: 'kubernetes-react',
|
||||
messages: {
|
||||
|
||||
Reference in New Issue
Block a user