Skip to content

Commit 5be019b

Browse files
committed
Added initial app-next
Signed-off-by: Andre Wanlin <[email protected]>
1 parent c9498ff commit 5be019b

36 files changed

+2116
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"start": "backstage-cli repo start",
1010
"start:app-migrated": "backstage-cli repo start app-migrated backend",
11+
"start:app-next": "backstage-cli repo start app-next backend",
1112
"start:otel": "docker-compose -f ./open-telemetry/docker-compose.yaml up -d && backstage-cli repo start",
1213
"build:backend": "yarn workspace backend build",
1314
"build:all": "backstage-cli repo build --all",

packages/app-next/.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);

packages/app-next/config.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export interface Config {
2+
/**
3+
* @visibility frontend
4+
*/
5+
notificationsTester?: {
6+
/**
7+
* Flag to enable or disable the tester
8+
* Default is enabled
9+
*
10+
* @visibility frontend
11+
*/
12+
enabled: boolean;
13+
};
14+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright 2023 The Backstage Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import { test, expect } from '@playwright/test';
18+
19+
test('App should render the welcome page', async ({ page }) => {
20+
await page.goto('/');
21+
await expect(page.getByText('My Company Catalog')).toBeVisible();
22+
});

packages/app-next/package.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"name": "app-next",
3+
"version": "0.0.0",
4+
"private": true,
5+
"backstage": {
6+
"role": "frontend"
7+
},
8+
"bundled": true,
9+
"dependencies": {
10+
"@backstage-community/plugin-badges": "^0.9.0",
11+
"@backstage-community/plugin-cost-insights": "^0.15.1",
12+
"@backstage-community/plugin-explore": "^0.9.0",
13+
"@backstage-community/plugin-github-actions": "^0.11.0",
14+
"@backstage-community/plugin-graphiql": "^0.4.1",
15+
"@backstage-community/plugin-tech-radar": "^1.6.0",
16+
"@backstage-community/plugin-todo": "^0.9.0",
17+
"@backstage/canon": "backstage:^",
18+
"@backstage/cli": "backstage:^",
19+
"@backstage/core-app-api": "backstage:^",
20+
"@backstage/core-compat-api": "backstage:^",
21+
"@backstage/core-components": "backstage:^",
22+
"@backstage/core-plugin-api": "backstage:^",
23+
"@backstage/frontend-defaults": "backstage:^",
24+
"@backstage/frontend-plugin-api": "backstage:^",
25+
"@backstage/integration-react": "backstage:^",
26+
"@backstage/plugin-api-docs": "backstage:^",
27+
"@backstage/plugin-catalog": "backstage:^",
28+
"@backstage/plugin-catalog-graph": "backstage:^",
29+
"@backstage/plugin-catalog-react": "backstage:^",
30+
"@backstage/plugin-home": "backstage:^",
31+
"@backstage/plugin-kubernetes": "backstage:^",
32+
"@backstage/plugin-notifications": "backstage:^",
33+
"@backstage/plugin-org": "backstage:^",
34+
"@backstage/plugin-scaffolder": "backstage:^",
35+
"@backstage/plugin-search": "backstage:^",
36+
"@backstage/plugin-search-react": "backstage:^",
37+
"@backstage/plugin-signals": "backstage:^",
38+
"@backstage/plugin-techdocs": "backstage:^",
39+
"@backstage/plugin-techdocs-module-addons-contrib": "backstage:^",
40+
"@backstage/plugin-techdocs-react": "backstage:^",
41+
"@backstage/plugin-user-settings": "backstage:^",
42+
"@backstage/theme": "backstage:^",
43+
"@material-ui/core": "^4.11.0",
44+
"@material-ui/icons": "^4.9.1",
45+
"backstage-plugin-techdocs-addon-mermaid": "^0.21.0",
46+
"react": "^18.2.0",
47+
"react-dom": "^18.2.0",
48+
"react-router": "^6.3.0",
49+
"react-router-dom": "^6.3.0"
50+
},
51+
"devDependencies": {
52+
"@playwright/test": "^1.32.3",
53+
"@testing-library/dom": "^10.1.0",
54+
"@testing-library/jest-dom": "^6.0.0",
55+
"@testing-library/react": "^16.0.0",
56+
"@types/d3": "^7.4.3",
57+
"@types/node": "^22.0.0",
58+
"@types/react-dom": "*"
59+
},
60+
"scripts": {
61+
"start": "backstage-cli package start",
62+
"build": "backstage-cli package build",
63+
"test": "backstage-cli package test",
64+
"lint": "backstage-cli package lint",
65+
"clean": "backstage-cli package clean"
66+
},
67+
"browserslist": {
68+
"production": [
69+
">0.2%",
70+
"not dead",
71+
"not op_mini all"
72+
],
73+
"development": [
74+
"last 1 chrome version",
75+
"last 1 firefox version",
76+
"last 1 safari version"
77+
]
78+
},
79+
"files": [
80+
"dist",
81+
"config.d.ts"
82+
],
83+
"configSchema": "config.d.ts"
84+
}
13.3 KB
Loading
12.3 KB
Loading
883 Bytes
Loading
1.65 KB
Loading

packages/app-next/public/favicon.ico

14.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)