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:
Patrik Oldsberg
2026-03-17 13:02:06 +01:00
parent f60c2673ce
commit 0be2541b5c
92 changed files with 1171 additions and 67 deletions
+7 -1
View File
@@ -23,7 +23,13 @@ import {
import SettingsIcon from '@material-ui/icons/Settings';
import { settingsRouteRef } from './plugin';
export * from './translation';
import { userSettingsTranslationRef as _userSettingsTranslationRef } from './translation';
/**
* @public
* @deprecated Import from `@backstage/plugin-user-settings` instead.
*/
export const userSettingsTranslationRef = _userSettingsTranslationRef;
const userSettingsPage = PageBlueprint.makeWithOverrides({
inputs: {
+1
View File
@@ -27,3 +27,4 @@ export {
UserSettingsPage,
} from './plugin';
export * from './components';
export { userSettingsTranslationRef } from './translation';
+1 -1
View File
@@ -16,7 +16,7 @@
import { createTranslationRef } from '@backstage/core-plugin-api/alpha';
/** @alpha */
/** @public */
export const userSettingsTranslationRef = createTranslationRef({
id: 'user-settings',
messages: {