mirror of
https://github.com/ellmau/adf-obdd.git
synced 2025-12-20 09:39:38 +01:00
Upgrade frontend dependencies
This commit is contained in:
parent
b23f342a4e
commit
e615a1fb86
@ -8,26 +8,26 @@
|
|||||||
"build": "parcel build"
|
"build": "parcel build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^18.0.12",
|
"@types/react": "^18.0.26",
|
||||||
"@types/react-dom": "^18.0.5",
|
"@types/react-dom": "^18.0.10",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
||||||
"@typescript-eslint/parser": "^5.28.0",
|
"@typescript-eslint/parser": "^5.48.1",
|
||||||
"eslint": "^8.17.0",
|
"eslint": "^8.31.0",
|
||||||
"eslint-config-airbnb": "^19.0.4",
|
"eslint-config-airbnb": "^19.0.4",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.27.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
"eslint-plugin-react": "^7.30.0",
|
"eslint-plugin-react": "^7.32.0",
|
||||||
"parcel": "^2.6.0",
|
"parcel": "^2.8.2",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
"typescript": "^4.7.3"
|
"typescript": "^4.9.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antv/g6": "^4.6.4",
|
"@antv/g6": "^4.8.3",
|
||||||
"@emotion/react": "^11.10.0",
|
"@emotion/react": "^11.10.5",
|
||||||
"@emotion/styled": "^11.10.0",
|
"@emotion/styled": "^11.10.5",
|
||||||
"@fontsource/roboto": "^4.5.8",
|
"@fontsource/roboto": "^4.5.8",
|
||||||
"@mui/material": "^5.10.2",
|
"@mui/material": "^5.11.4",
|
||||||
"react": "^18.1.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.1.0"
|
"react-dom": "^18.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
frontend/shell.nix
Normal file
8
frontend/shell.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
pkgs.yarn
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ import {
|
|||||||
TextField,
|
TextField,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
|
|
||||||
import Graph from './graph.tsx';
|
import GraphG6 from './graph-g6.tsx';
|
||||||
|
|
||||||
const { useState, useCallback } = React;
|
const { useState, useCallback } = React;
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ function App() {
|
|||||||
{graphs.length > 0
|
{graphs.length > 0
|
||||||
&& (
|
&& (
|
||||||
<Paper elevation={3} square sx={{ marginTop: 4, marginBottom: 4 }}>
|
<Paper elevation={3} square sx={{ marginTop: 4, marginBottom: 4 }}>
|
||||||
<Graph graph={graphs[graphIndex]} />
|
<GraphG6 graph={graphs[graphIndex]} />
|
||||||
</Paper>
|
</Paper>
|
||||||
)}
|
)}
|
||||||
{graphs.length === 0
|
{graphs.length === 0
|
||||||
|
|||||||
@ -140,7 +140,7 @@ interface Props {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function Graph(props: Props) {
|
function GraphG6(props: Props) {
|
||||||
const { graph: graphProps } = props;
|
const { graph: graphProps } = props;
|
||||||
|
|
||||||
const ref = useRef(null);
|
const ref = useRef(null);
|
||||||
@ -359,4 +359,4 @@ function Graph(props: Props) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Graph;
|
export default GraphG6;
|
||||||
2287
frontend/yarn.lock
2287
frontend/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user