-
+ {componentCreated ? (
+
+ {componentCreated} is created!{' '}
+
+ 🎉
+
-
-
-
-
-
-
- }
+ ) : (
+
+ )}
);
diff --git a/frontend/packages/plugins/create-entity/src/components/CreateEntityPage/CreateEntityPage.tsx b/frontend/packages/plugins/create-entity/src/components/CreateEntityPage/CreateEntityPage.tsx
index 970267896b..51dc2f7c24 100644
--- a/frontend/packages/plugins/create-entity/src/components/CreateEntityPage/CreateEntityPage.tsx
+++ b/frontend/packages/plugins/create-entity/src/components/CreateEntityPage/CreateEntityPage.tsx
@@ -1,5 +1,5 @@
import React, { FC, Fragment, useEffect, useState } from 'react';
-import { InfoCard, TemplateList } from '@backstage/core';
+import { InfoCard, TemplateList } from '@spotify-backstage/core';
import { scaffolderV1 } from '@backstage/protobuf-definitions';
const CreateEntityPage: FC<{}> = () => {
diff --git a/frontend/packages/plugins/create-entity/src/plugin.ts b/frontend/packages/plugins/create-entity/src/plugin.ts
index 627f7da037..2e4328c40a 100644
--- a/frontend/packages/plugins/create-entity/src/plugin.ts
+++ b/frontend/packages/plugins/create-entity/src/plugin.ts
@@ -1,4 +1,4 @@
-import { createPlugin } from '@backstage/core';
+import { createPlugin } from '@spotify-backstage/core';
import CreateEntityPage from './components/CreateEntityPage';
import CreateEntityFormPage from './components/CreateEntityFormPage';
@@ -8,4 +8,4 @@ export default createPlugin({
router.registerRoute('/create', CreateEntityPage);
router.registerRoute('/create/:templateId', CreateEntityFormPage);
},
-});
\ No newline at end of file
+});
diff --git a/frontend/packages/plugins/github-actions/package.json b/frontend/packages/plugins/github-actions/package.json
index f1ad8c30e2..6571892f73 100644
--- a/frontend/packages/plugins/github-actions/package.json
+++ b/frontend/packages/plugins/github-actions/package.json
@@ -4,7 +4,7 @@
"main": "src/index.ts",
"main:src": "src/index.ts",
"devDependencies": {
- "@backstage/core": "0.0.0",
+ "@spotify-backstage/core": "1.0.0",
"@backstage/protobuf-definitions": "0.0.0",
"@spotify/web-scripts": "^6.0.0",
"@testing-library/jest-dom": "^4.2.4",
diff --git a/frontend/packages/plugins/github-actions/src/components/BuildDetailsPage/BuildDetailsPage.tsx b/frontend/packages/plugins/github-actions/src/components/BuildDetailsPage/BuildDetailsPage.tsx
index b21cbab658..27c3f6ef14 100644
--- a/frontend/packages/plugins/github-actions/src/components/BuildDetailsPage/BuildDetailsPage.tsx
+++ b/frontend/packages/plugins/github-actions/src/components/BuildDetailsPage/BuildDetailsPage.tsx
@@ -17,7 +17,7 @@ import {
Button,
Theme,
} from '@material-ui/core';
-import { RelativeEntityLink } from '@backstage/core';
+import { RelativeEntityLink } from '@spotify-backstage/core';
import BuildStatusIndicator from '../BuildStatusIndicator';
const useStyles = makeStyles
(theme => ({
diff --git a/frontend/packages/plugins/github-actions/src/components/BuildInfoCard/BuildInfoCard.tsx b/frontend/packages/plugins/github-actions/src/components/BuildInfoCard/BuildInfoCard.tsx
index 6b78460d05..d890c8203d 100644
--- a/frontend/packages/plugins/github-actions/src/components/BuildInfoCard/BuildInfoCard.tsx
+++ b/frontend/packages/plugins/github-actions/src/components/BuildInfoCard/BuildInfoCard.tsx
@@ -1,5 +1,5 @@
import React, { FC } from 'react';
-import { RelativeEntityLink, useEntity } from '@backstage/core';
+import { RelativeEntityLink, useEntity } from '@spotify-backstage/core';
import { BuildsClient } from '../../apis/builds';
import { useAsync } from 'react-use';
import {
diff --git a/frontend/packages/plugins/github-actions/src/components/BuildListPage/BuildListPage.tsx b/frontend/packages/plugins/github-actions/src/components/BuildListPage/BuildListPage.tsx
index 5e684060bf..dc46c5caa7 100644
--- a/frontend/packages/plugins/github-actions/src/components/BuildListPage/BuildListPage.tsx
+++ b/frontend/packages/plugins/github-actions/src/components/BuildListPage/BuildListPage.tsx
@@ -13,7 +13,7 @@ import {
makeStyles,
Theme,
} from '@material-ui/core';
-import { RelativeEntityLink, useEntity } from '@backstage/core';
+import { RelativeEntityLink, useEntity } from '@spotify-backstage/core';
import { BuildsClient } from '../../apis/builds';
import { useAsync } from 'react-use';
import BuildStatusIndicator from '../BuildStatusIndicator';
diff --git a/frontend/packages/plugins/github-actions/src/components/BuildStatusIndicator/BuildStatusIndicator.tsx b/frontend/packages/plugins/github-actions/src/components/BuildStatusIndicator/BuildStatusIndicator.tsx
index 642eac350e..071dae4e8f 100644
--- a/frontend/packages/plugins/github-actions/src/components/BuildStatusIndicator/BuildStatusIndicator.tsx
+++ b/frontend/packages/plugins/github-actions/src/components/BuildStatusIndicator/BuildStatusIndicator.tsx
@@ -5,7 +5,7 @@ import FailureIcon from '@material-ui/icons/Error';
import SuccessIcon from '@material-ui/icons/CheckCircle';
import ProgressIcon from '@material-ui/icons/Autorenew';
import UnknownIcon from '@material-ui/icons/Help';
-import { IconComponent } from '@backstage/core';
+import { IconComponent } from '@spotify-backstage/core';
type Props = {
status?: BuildStatus;
diff --git a/frontend/packages/plugins/github-actions/src/plugin.ts b/frontend/packages/plugins/github-actions/src/plugin.ts
index 0f5a7f9607..8c8f854a34 100644
--- a/frontend/packages/plugins/github-actions/src/plugin.ts
+++ b/frontend/packages/plugins/github-actions/src/plugin.ts
@@ -1,4 +1,4 @@
-import { createPlugin } from '@backstage/core';
+import { createPlugin } from '@spotify-backstage/core';
import BuildDetailsPage from './components/BuildDetailsPage';
import BuildListPage from './components/BuildListPage';
import BuildIcon from '@material-ui/icons/Build';
diff --git a/frontend/packages/plugins/hello-world/package.json b/frontend/packages/plugins/hello-world/package.json
index 5b8b6e3b9f..97f15dbced 100644
--- a/frontend/packages/plugins/hello-world/package.json
+++ b/frontend/packages/plugins/hello-world/package.json
@@ -4,7 +4,7 @@
"main": "src/index.ts",
"main:src": "src/index.ts",
"devDependencies": {
- "@backstage/core": "0.0.0",
+ "@spotify-backstage/core": "1.0.0",
"@material-ui/core": "^4.9.1",
"@material-ui/icons": "^4.9.1",
"@spotify/web-scripts": "^6.0.0",
diff --git a/frontend/packages/plugins/hello-world/src/plugin.ts b/frontend/packages/plugins/hello-world/src/plugin.ts
index 27e04016dd..c3ebca48e8 100644
--- a/frontend/packages/plugins/hello-world/src/plugin.ts
+++ b/frontend/packages/plugins/hello-world/src/plugin.ts
@@ -1,4 +1,4 @@
-import { createPlugin } from '@backstage/core';
+import { createPlugin } from '@spotify-backstage/core';
export default createPlugin({
id: 'hello-world',
diff --git a/frontend/packages/plugins/home-page/package.json b/frontend/packages/plugins/home-page/package.json
index bbb77a1ce6..d02cec74d7 100644
--- a/frontend/packages/plugins/home-page/package.json
+++ b/frontend/packages/plugins/home-page/package.json
@@ -4,7 +4,7 @@
"main": "src/index.ts",
"main:src": "src/index.ts",
"devDependencies": {
- "@backstage/core": "0.0.0",
+ "@spotify-backstage/core": "1.0.0",
"@spotify/web-scripts": "^6.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
diff --git a/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.test.tsx b/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.test.tsx
index fc495d3111..bafe94a923 100644
--- a/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.test.tsx
+++ b/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.test.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import { render } from '@testing-library/react';
import HomePage from './HomePage';
import { ThemeProvider } from '@material-ui/core';
-import { BackstageTheme } from '@backstage/core';
+import { BackstageTheme } from '@spotify-backstage/core';
describe('HomePage', () => {
it('should render', () => {
diff --git a/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.tsx b/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.tsx
index b9638c7b67..26060f93cd 100644
--- a/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.tsx
+++ b/frontend/packages/plugins/home-page/src/components/HomePage/HomePage.tsx
@@ -10,7 +10,7 @@ import {
theme,
Progress,
getTimeBasedGreeting,
-} from '@backstage/core';
+} from '@spotify-backstage/core';
import SquadTechHealth from './SquadTechHealth';
import { useAsync } from 'react-use';
diff --git a/frontend/packages/plugins/home-page/src/components/HomePage/SquadTechHealth.tsx b/frontend/packages/plugins/home-page/src/components/HomePage/SquadTechHealth.tsx
index f20279668e..e13a4e805f 100644
--- a/frontend/packages/plugins/home-page/src/components/HomePage/SquadTechHealth.tsx
+++ b/frontend/packages/plugins/home-page/src/components/HomePage/SquadTechHealth.tsx
@@ -1,7 +1,7 @@
import React, { FC } from 'react';
import { Grid, Typography } from '@material-ui/core';
-import { HorizontalScrollGrid, ProgressCard } from '@backstage/core';
+import { HorizontalScrollGrid, ProgressCard } from '@spotify-backstage/core';
const SquadTechHealth: FC<{}> = () => {
return (
diff --git a/frontend/packages/plugins/home-page/src/components/HomepageTimer/HomepageTimer.tsx b/frontend/packages/plugins/home-page/src/components/HomepageTimer/HomepageTimer.tsx
index 54d269bf9c..ad6d81161c 100644
--- a/frontend/packages/plugins/home-page/src/components/HomepageTimer/HomepageTimer.tsx
+++ b/frontend/packages/plugins/home-page/src/components/HomepageTimer/HomepageTimer.tsx
@@ -1,5 +1,5 @@
import React, { FC } from 'react';
-import { HeaderLabel } from '@backstage/core';
+import { HeaderLabel } from '@spotify-backstage/core';
const timeFormat = { hour: '2-digit', minute: '2-digit' };
const nycOptions = { timeZone: 'America/New_York', ...timeFormat };
diff --git a/frontend/packages/plugins/home-page/src/plugin.ts b/frontend/packages/plugins/home-page/src/plugin.ts
index 29d3ec1e6d..f0cd2c612c 100644
--- a/frontend/packages/plugins/home-page/src/plugin.ts
+++ b/frontend/packages/plugins/home-page/src/plugin.ts
@@ -1,4 +1,4 @@
-import { createPlugin } from '@backstage/core';
+import { createPlugin } from '@spotify-backstage/core';
import HomePage from './components/HomePage';
export default createPlugin({
diff --git a/frontend/packages/plugins/login/package.json b/frontend/packages/plugins/login/package.json
index 04c33bda17..f0375ccc57 100644
--- a/frontend/packages/plugins/login/package.json
+++ b/frontend/packages/plugins/login/package.json
@@ -4,7 +4,7 @@
"main": "src/index.ts",
"main:src": "src/index.ts",
"devDependencies": {
- "@backstage/core": "0.0.0",
+ "@spotify-backstage/core": "1.0.0",
"@spotify/web-scripts": "^6.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
diff --git a/frontend/packages/plugins/login/src/plugin.ts b/frontend/packages/plugins/login/src/plugin.ts
index f09a95ae5b..5edeb2779d 100644
--- a/frontend/packages/plugins/login/src/plugin.ts
+++ b/frontend/packages/plugins/login/src/plugin.ts
@@ -1,4 +1,4 @@
-import { createPlugin } from '@backstage/core';
+import { createPlugin } from '@spotify-backstage/core';
export default createPlugin({
id: 'login',
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index c763a05dd5..6914349288 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -2568,6 +2568,25 @@
inquirer "^7.0.4"
recursive-readdir "^2.2.2"
replace-in-file "^5.0.2"
+"@spotify-backstage/core@file:packages/core":
+ version "1.0.0"
+ dependencies:
+ "@material-ui/core" "^4.9.1"
+ "@material-ui/icons" "^4.9.1"
+ "@types/google-protobuf" "^3.7.2"
+ "@types/jest" "^24.0.0"
+ "@types/node" "^12.0.0"
+ "@types/react" "^16.9.0"
+ "@types/react-dom" "^16.9.0"
+ "@types/react-router-dom" "^5.1.3"
+ classnames "^2.2.6"
+ rc-progress "^2.5.2"
+ react "^16.12.0"
+ react-addons-text-content "0.0.4"
+ react-dom "^16.12.0"
+ react-helmet "5.2.1"
+ react-router-dom "^5.1.2"
+ recompose "0.30.0"
"@spotify/eslint-config-base@^6.0.0":
version "6.0.0"
@@ -2873,6 +2892,11 @@
"@types/minimatch" "*"
"@types/node" "*"
+"@types/google-protobuf@^3.7.2":
+ version "3.7.2"
+ resolved "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.7.2.tgz#cd8a360c193ce4d672575a20a79f49ba036d38d2"
+ integrity sha512-ifFemzjNchFBCtHS6bZNhSZCBu7tbtOe0e8qY0z2J4HtFXmPJjm6fXSaQsTG7yhShBEZtt2oP/bkwu5k+emlkQ==
+
"@types/history@*":
version "4.7.5"
resolved "https://registry.npmjs.org/@types/history/-/history-4.7.5.tgz#527d20ef68571a4af02ed74350164e7a67544860"