@@ -21,7 +21,7 @@ import {
|
||||
createServiceRef,
|
||||
createSharedEnvironment,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import { mockServices } from '@backstage/backend-test-utils/alpha';
|
||||
import { mockServices } from '@backstage/backend-test-utils';
|
||||
import { createBackend } from './CreateBackend';
|
||||
|
||||
const fooServiceRef = createServiceRef<string>({ id: 'foo', scope: 'root' });
|
||||
|
||||
+1
-4
@@ -19,10 +19,7 @@ import {
|
||||
PluginTaskScheduler,
|
||||
TaskScheduleDefinition,
|
||||
} from '@backstage/backend-tasks';
|
||||
import {
|
||||
startTestBackend,
|
||||
mockServices,
|
||||
} from '@backstage/backend-test-utils/alpha';
|
||||
import { startTestBackend, mockServices } from '@backstage/backend-test-utils';
|
||||
import { catalogProcessingExtensionPoint } from '@backstage/plugin-catalog-node/alpha';
|
||||
import { eventsExtensionPoint } from '@backstage/plugin-events-node/alpha';
|
||||
import { Duration } from 'luxon';
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
import { BackstagePlugin } from '@backstage/core-plugin-api';
|
||||
import { DiscoveryApi } from '@backstage/core-plugin-api';
|
||||
import { Entity } from '@backstage/catalog-model';
|
||||
import { FindingSummary } from '@backstage/plugin-sonarqube-react/alpha';
|
||||
import { FindingSummary } from '@backstage/plugin-sonarqube-react';
|
||||
import { IdentityApi } from '@backstage/core-plugin-api';
|
||||
import { InfoCardVariants } from '@backstage/core-components';
|
||||
import { SonarQubeApi } from '@backstage/plugin-sonarqube-react/alpha';
|
||||
import { SonarQubeApi } from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
// @public (undocumented)
|
||||
export type DuplicationRating = {
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
FindingSummary,
|
||||
SonarQubeApi,
|
||||
sonarQubeApiRef,
|
||||
} from '@backstage/plugin-sonarqube-react/alpha';
|
||||
} from '@backstage/plugin-sonarqube-react';
|
||||
import { SONARQUBE_PROJECT_KEY_ANNOTATION } from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
const entity = (name?: string) =>
|
||||
|
||||
@@ -21,7 +21,7 @@ import { SonarQubeClient } from './index';
|
||||
import { InstanceUrlWrapper, FindingsWrapper } from './types';
|
||||
import { UrlPatternDiscovery } from '@backstage/core-app-api';
|
||||
import { IdentityApi } from '@backstage/core-plugin-api';
|
||||
import { FindingSummary } from '@backstage/plugin-sonarqube-react/alpha';
|
||||
import { FindingSummary } from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
const server = setupServer();
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import {
|
||||
FindingSummary,
|
||||
Metrics,
|
||||
SonarQubeApi,
|
||||
} from '@backstage/plugin-sonarqube-react/alpha';
|
||||
} from '@backstage/plugin-sonarqube-react';
|
||||
import { InstanceUrlWrapper, FindingsWrapper } from './types';
|
||||
import { DiscoveryApi, IdentityApi } from '@backstage/core-plugin-api';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
import {
|
||||
MetricKey as NonDeprecatedMetricKey,
|
||||
SonarUrlProcessorFunc as NonDeprecatedSonarUrlProcessorFunc,
|
||||
} from '@backstage/plugin-sonarqube-react/alpha';
|
||||
} from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
export interface InstanceUrlWrapper {
|
||||
instanceUrl: string;
|
||||
|
||||
@@ -18,7 +18,7 @@ import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
import {
|
||||
sonarQubeApiRef,
|
||||
useProjectInfo,
|
||||
} from '@backstage/plugin-sonarqube-react/alpha';
|
||||
} from '@backstage/plugin-sonarqube-react';
|
||||
import { SONARQUBE_PROJECT_KEY_ANNOTATION } from '@backstage/plugin-sonarqube-react';
|
||||
import { Chip, Grid } from '@material-ui/core';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
|
||||
@@ -20,8 +20,6 @@ import React from 'react';
|
||||
import {
|
||||
SonarQubeApi,
|
||||
sonarQubeApiRef,
|
||||
} from '@backstage/plugin-sonarqube-react/alpha';
|
||||
import {
|
||||
isSonarQubeAvailable,
|
||||
SONARQUBE_PROJECT_KEY_ANNOTATION,
|
||||
} from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
discoveryApiRef,
|
||||
identityApiRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { sonarQubeApiRef } from '@backstage/plugin-sonarqube-react/alpha';
|
||||
import { sonarQubeApiRef } from '@backstage/plugin-sonarqube-react';
|
||||
|
||||
/** @public */
|
||||
export const sonarQubePlugin = createPlugin({
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
createServiceRef,
|
||||
ServiceRef,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
import { catalogServiceRef } from '@backstage/plugin-catalog-node';
|
||||
import { catalogServiceRef } from '@backstage/plugin-catalog-node/alpha';
|
||||
|
||||
import { TodoReader, todoReaderServiceRef } from '../lib';
|
||||
import { ListTodosRequest, ListTodosResponse, TodoService } from './types';
|
||||
|
||||
Reference in New Issue
Block a user