Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip - local-runner #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
234 changes: 185 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
"web-vitals": "^2.1.4",
"ws": "^8.18.0"
},
"scripts": {
"start": "react-scripts start",
"start": "concurrently \"react-scripts start\" \"node watch-configmap.js\"",
"build": "react-scripts build",
"test": "mocha tests --timeout 10000",
"test:ci": "npm start & wait-on http://localhost:3000 && mocha tests --timeout 10000",
Expand Down Expand Up @@ -49,6 +50,7 @@
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@puppeteer/browsers": "^2.3.1",
"chai": "^5.1.1",
"concurrently": "^7.0.0",
"mocha": "^10.7.3",
"puppeteer": "^23.1.1",
"wait-on": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Policy Machinery</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Policy Machinery",
"name": "Policy Machinery",
"icons": [
{
"src": "favicon.ico",
Expand Down
6 changes: 4 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App .policy-topology-container svg text {
Expand All @@ -35,6 +33,10 @@
color: #61dafb;
}

/* .App .policy-topology-container {
width: 400px;
} */

.App .pf-c-dropdown__toggle {
background-color: #fff;
margin-bottom: 1em;
Expand Down
Loading