rename npm namespace from @spotify-backstage to @backstage

This commit is contained in:
Patrik Oldsberg
2020-03-25 19:12:11 +01:00
parent 5c26725361
commit 3a0d8edcb5
35 changed files with 51 additions and 58 deletions
@@ -15,7 +15,7 @@
*/
import React, { FC } from 'react';
import { HeaderLabel } from '@spotify-backstage/core';
import { HeaderLabel } from '@backstage/core';
const timeFormat = { hour: '2-digit', minute: '2-digit' };
const utcOptions = { timeZone: 'UTC', ...timeFormat };
@@ -17,7 +17,7 @@
import React from 'react';
import { render, fireEvent } from '@testing-library/react';
import ErrorButton from './ErrorButton';
import { ApiRegistry, errorApiRef, ApiProvider } from '@spotify-backstage/core';
import { ApiRegistry, errorApiRef, ApiProvider } from '@backstage/core';
describe('ErrorButton', () => {
it('should trigger an error', () => {
@@ -16,7 +16,7 @@
import React, { FC } from 'react';
import { Button } from '@material-ui/core';
import { errorApiRef, useApi } from '@spotify-backstage/core';
import { errorApiRef, useApi } from '@backstage/core';
const ErrorButton: FC<{}> = () => {
const errorApi = useApi(errorApiRef);
@@ -23,7 +23,7 @@ import {
ApiProvider,
ApiRegistry,
errorApiRef,
} from '@spotify-backstage/core';
} from '@backstage/core';
describe('WelcomePage', () => {
it('should render', () => {
@@ -33,7 +33,7 @@ import {
pageTheme,
ContentHeader,
SupportButton,
} from '@spotify-backstage/core';
} from '@backstage/core';
import ErrorButton from './ErrorButton';
const WelcomePage: FC<{}> = () => {
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { createPlugin } from '@spotify-backstage/core';
import { createPlugin } from '@backstage/core';
import WelcomePage from './components/WelcomePage';
export default createPlugin({