apply core-imports codemod to all packages and plugins

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-06-17 17:56:24 +02:00
parent 9b9a8f3925
commit d453c05dc3
541 changed files with 1549 additions and 1321 deletions
@@ -15,11 +15,11 @@
*/
import { Config } from '@backstage/config';
import { ApiRef, createApiRef } from '@backstage/core';
import {
ScmIntegrationRegistry,
ScmIntegrations,
} from '@backstage/integration';
import { ApiRef, createApiRef } from '@backstage/core-plugin-api';
export class ScmIntegrationsApi {
static fromConfig(config: Config): ScmIntegrationRegistry {
@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { useApp } from '@backstage/core';
import CodeIcon from '@material-ui/icons/Code';
import React from 'react';
import { useApp } from '@backstage/core-plugin-api';
export const ScmIntegrationIcon = ({ type }: { type?: string }) => {
const app = useApp();