Skip to content

Commit 1fbdae0

Browse files
committed
Manual changes for release
Signed-off-by: Andre Wanlin <[email protected]>
1 parent 5dd10ab commit 1fbdae0

17 files changed

+11
-19
lines changed

package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"node": "20 || 22"
77
},
88
"scripts": {
9-
"dev": "yarn workspaces foreach -A --include backend --include app --parallel --jobs unlimited -v -i run start",
10-
"start": "yarn workspace app start",
11-
"start-backend": "yarn workspace backend start",
9+
"start": "backstage-cli repo start",
1210
"build:backend": "yarn workspace backend build",
1311
"build:all": "backstage-cli repo build --all",
1412
"build-image": "yarn workspace backend build-image",

packages/app/src/App.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { render, waitFor } from '@testing-library/react';
32
import App from './App';
43
import { v4 } from 'uuid';

packages/app/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { UnifiedThemeProvider, themes } from '@backstage/theme';
3131

3232
import { ApiExplorerPage } from '@backstage/plugin-api-docs';
3333
import { GraphiQLPage } from '@backstage-community/plugin-graphiql';
34-
import React from 'react';
34+
3535
import { Root } from './components/Root';
3636
import { SearchPage } from '@backstage/plugin-search';
3737
import { TechRadarPage } from '@backstage-community/plugin-tech-radar';

packages/app/src/components/Root/ApertureLogoFull.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { makeStyles } from '@material-ui/core';
32

43
const useStyles = makeStyles({

packages/app/src/components/Root/ApertureLogoIcon.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { makeStyles } from '@material-ui/core';
32

43
const useStyles = makeStyles({

packages/app/src/components/Root/LogoFull.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
import React from 'react';
1817
import { makeStyles } from '@material-ui/core';
1918

2019
const useStyles = makeStyles({

packages/app/src/components/Root/LogoIcon.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
import React from 'react';
1817
import { makeStyles } from '@material-ui/core';
1918

2019
const useStyles = makeStyles({

packages/app/src/components/Root/Root.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { PropsWithChildren } from 'react';
1+
import { PropsWithChildren } from 'react';
22
import { Link, Theme, makeStyles } from '@material-ui/core';
33
import HomeIcon from '@material-ui/icons/Home';
44
import ExtensionIcon from '@material-ui/icons/Extension';

packages/app/src/components/catalog/EntityPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import React, { useMemo, useState } from 'react';
16+
import { useMemo, useState } from 'react';
1717
import { Button, Grid } from '@material-ui/core';
1818
import BadgeIcon from '@material-ui/icons/CallToAction';
1919
import {

packages/app/src/components/home/CustomizableHomePage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
} from '@backstage/plugin-home';
1212
import { HomePageSearchBar } from '@backstage/plugin-search';
1313
import { Grid } from '@material-ui/core';
14-
import React from 'react';
14+
1515
import { tools, useLogoStyles } from './shared';
1616

1717
const defaultConfig = [

packages/app/src/components/home/HomePage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { HomePageSearchBar } from '@backstage/plugin-search';
1111
import { SearchContextProvider } from '@backstage/plugin-search-react';
1212
import { Grid, makeStyles } from '@material-ui/core';
13-
import React from 'react';
13+
1414
import { tools, useLogoStyles } from './shared';
1515

1616
const useStyles = makeStyles(theme => ({

packages/app/src/components/home/shared.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { TemplateBackstageLogoIcon } from '@backstage/plugin-home';
22
import { makeStyles } from '@material-ui/core/styles';
3-
import React from 'react';
43

54
export const useLogoStyles = makeStyles(theme => ({
65
container: {

packages/app/src/components/search/SearchPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from '@backstage/plugin-search-react';
1818
import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
1919
import { Grid, List, makeStyles, Paper, Theme } from '@material-ui/core';
20-
import React from 'react';
20+
2121
import { ToolSearchResultListItem } from '@backstage-community/plugin-explore';
2222
import { useApi } from '@backstage/core-plugin-api';
2323
import {

packages/app/src/components/settings/NotificationSettings.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '@backstage/core-plugin-api';
99

1010
import { InfoCard } from '@backstage/core-components';
11-
import React from 'react';
11+
1212
import { UserNotificationSettingsCard } from '@backstage/plugin-notifications';
1313

1414
export const NotificationSettings = () => {

packages/app/src/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import ReactDOM from 'react-dom/client';
32
import App from './App';
43
import '@backstage/canon/css/styles.css';

playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default defineConfig({
2828
? []
2929
: [
3030
{
31-
command: 'yarn dev',
31+
command: 'yarn start',
3232
port: 3000,
3333
reuseExistingServer: true,
3434
timeout: 60_000,

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"exclude": ["node_modules"],
1212
"compilerOptions": {
1313
"outDir": "dist-types",
14-
"rootDir": "."
14+
"rootDir": ".",
15+
"jsx": "react-jsx"
1516
}
1617
}

0 commit comments

Comments
 (0)