diff options
author | 2024-03-26 17:08:11 +0100 | |
---|---|---|
committer | 2024-03-26 17:08:11 +0100 | |
commit | 48427c101a2eb3319a15bc7d9a2d23b30ccc3441 (patch) | |
tree | 5316fa05f6651be364b7ab6616887801f5e764d9 /subprojects/frontend | |
parent | Merge pull request #56 from kris7t/custom-colors (diff) | |
download | refinery-48427c101a2eb3319a15bc7d9a2d23b30ccc3441.tar.gz refinery-48427c101a2eb3319a15bc7d9a2d23b30ccc3441.tar.zst refinery-48427c101a2eb3319a15bc7d9a2d23b30ccc3441.zip |
chore(deps): bump dependencies
Diffstat (limited to 'subprojects/frontend')
-rw-r--r-- | subprojects/frontend/package.json | 50 | ||||
-rw-r--r-- | subprojects/frontend/package.json.orig | 121 | ||||
-rw-r--r-- | subprojects/frontend/src/table/TableArea.tsx | 11 |
3 files changed, 155 insertions, 27 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json index 970d00a3..5a21069a 100644 --- a/subprojects/frontend/package.json +++ b/subprojects/frontend/package.json | |||
@@ -28,33 +28,33 @@ | |||
28 | }, | 28 | }, |
29 | "homepage": "https://refinery.tools", | 29 | "homepage": "https://refinery.tools", |
30 | "dependencies": { | 30 | "dependencies": { |
31 | "@codemirror/autocomplete": "^6.12.0", | 31 | "@codemirror/autocomplete": "^6.15.0", |
32 | "@codemirror/commands": "^6.3.3", | 32 | "@codemirror/commands": "^6.3.3", |
33 | "@codemirror/language": "^6.10.1", | 33 | "@codemirror/language": "^6.10.1", |
34 | "@codemirror/lint": "^6.5.0", | 34 | "@codemirror/lint": "^6.5.0", |
35 | "@codemirror/search": "^6.5.6", | 35 | "@codemirror/search": "^6.5.6", |
36 | "@codemirror/state": "^6.4.1", | 36 | "@codemirror/state": "^6.4.1", |
37 | "@codemirror/view": "^6.24.1", | 37 | "@codemirror/view": "^6.26.0", |
38 | "@emotion/cache": "^11.11.0", | 38 | "@emotion/cache": "^11.11.0", |
39 | "@emotion/react": "^11.11.3", | 39 | "@emotion/react": "^11.11.4", |
40 | "@emotion/serialize": "^1.1.3", | 40 | "@emotion/serialize": "^1.1.3", |
41 | "@emotion/styled": "^11.11.0", | 41 | "@emotion/styled": "^11.11.0", |
42 | "@emotion/utils": "^1.2.1", | 42 | "@emotion/utils": "^1.2.1", |
43 | "@fontsource-variable/jetbrains-mono": "^5.0.19", | 43 | "@fontsource-variable/jetbrains-mono": "^5.0.20", |
44 | "@fontsource-variable/open-sans": "^5.0.25", | 44 | "@fontsource-variable/open-sans": "^5.0.28", |
45 | "@fontsource/open-sans": "^5.0.24", | 45 | "@fontsource/open-sans": "^5.0.27", |
46 | "@hpcc-js/wasm": "^2.16.0", | 46 | "@hpcc-js/wasm": "^2.16.0", |
47 | "@lezer/common": "^1.2.1", | 47 | "@lezer/common": "^1.2.1", |
48 | "@lezer/highlight": "^1.2.0", | 48 | "@lezer/highlight": "^1.2.0", |
49 | "@lezer/lr": "^1.4.0", | 49 | "@lezer/lr": "^1.4.0", |
50 | "@material-icons/svg": "^1.0.33", | 50 | "@material-icons/svg": "^1.0.33", |
51 | "@mui/icons-material": "^5.15.11", | 51 | "@mui/icons-material": "^5.15.14", |
52 | "@mui/material": "^5.15.11", | 52 | "@mui/material": "^5.15.14", |
53 | "@mui/system": "^5.15.11", | 53 | "@mui/system": "^5.15.14", |
54 | "@mui/x-data-grid": "^6.19.5", | 54 | "@mui/x-data-grid": "^7.0.0", |
55 | "ansi-styles": "^6.2.1", | 55 | "ansi-styles": "^6.2.1", |
56 | "csstype": "^3.1.3", | 56 | "csstype": "^3.1.3", |
57 | "d3": "^7.8.5", | 57 | "d3": "^7.9.0", |
58 | "d3-color": "^3.1.0", | 58 | "d3-color": "^3.1.0", |
59 | "d3-graphviz": "patch:d3-graphviz@npm%3A5.3.0#~/.yarn/patches/d3-graphviz-npm-5.3.0-e0eace978a.patch", | 59 | "d3-graphviz": "patch:d3-graphviz@npm%3A5.3.0#~/.yarn/patches/d3-graphviz-npm-5.3.0-e0eace978a.patch", |
60 | "d3-selection": "^3.0.0", | 60 | "d3-selection": "^3.0.0", |
@@ -64,8 +64,8 @@ | |||
64 | "lodash-es": "^4.17.21", | 64 | "lodash-es": "^4.17.21", |
65 | "loglevel": "^1.9.1", | 65 | "loglevel": "^1.9.1", |
66 | "loglevel-plugin-prefix": "^0.8.4", | 66 | "loglevel-plugin-prefix": "^0.8.4", |
67 | "mobx": "^6.12.0", | 67 | "mobx": "^6.12.1", |
68 | "mobx-react-lite": "^4.0.5", | 68 | "mobx-react-lite": "^4.0.6", |
69 | "ms": "^2.1.3", | 69 | "ms": "^2.1.3", |
70 | "nanoid": "^5.0.6", | 70 | "nanoid": "^5.0.6", |
71 | "notistack": "^3.0.1", | 71 | "notistack": "^3.0.1", |
@@ -77,45 +77,45 @@ | |||
77 | "zod": "^3.22.4" | 77 | "zod": "^3.22.4" |
78 | }, | 78 | }, |
79 | "devDependencies": { | 79 | "devDependencies": { |
80 | "@lezer/generator": "^1.6.0", | 80 | "@lezer/generator": "^1.7.0", |
81 | "@types/d3": "^7.4.3", | 81 | "@types/d3": "^7.4.3", |
82 | "@types/d3-color": "^3.1.3", | 82 | "@types/d3-color": "^3.1.3", |
83 | "@types/d3-graphviz": "^2.6.10", | 83 | "@types/d3-graphviz": "^2.6.10", |
84 | "@types/d3-selection": "^3.0.10", | 84 | "@types/d3-selection": "^3.0.10", |
85 | "@types/d3-zoom": "^3.0.8", | 85 | "@types/d3-zoom": "^3.0.8", |
86 | "@types/eslint": "^8.56.3", | 86 | "@types/eslint": "^8.56.6", |
87 | "@types/html-minifier-terser": "^7.0.2", | 87 | "@types/html-minifier-terser": "^7.0.2", |
88 | "@types/jspdf": "^2.0.0", | 88 | "@types/jspdf": "^2.0.0", |
89 | "@types/lodash-es": "^4.17.12", | 89 | "@types/lodash-es": "^4.17.12", |
90 | "@types/micromatch": "^4.0.6", | 90 | "@types/micromatch": "^4.0.6", |
91 | "@types/ms": "^0.7.34", | 91 | "@types/ms": "^0.7.34", |
92 | "@types/node": "^20.11.20", | 92 | "@types/node": "^20.11.30", |
93 | "@types/pnpapi": "^0.0.5", | 93 | "@types/pnpapi": "^0.0.5", |
94 | "@types/react": "^18.2.58", | 94 | "@types/react": "^18.2.71", |
95 | "@types/react-dom": "^18.2.19", | 95 | "@types/react-dom": "^18.2.22", |
96 | "@typescript-eslint/eslint-plugin": "^6.21.0", | 96 | "@typescript-eslint/eslint-plugin": "^7.4.0", |
97 | "@typescript-eslint/parser": "^6.21.0", | 97 | "@typescript-eslint/parser": "^7.4.0", |
98 | "@vitejs/plugin-react-swc": "^3.6.0", | 98 | "@vitejs/plugin-react-swc": "^3.6.0", |
99 | "@xstate/cli": "^0.5.17", | 99 | "@xstate/cli": "^0.5.17", |
100 | "cross-env": "^7.0.3", | 100 | "cross-env": "^7.0.3", |
101 | "eslint": "^8.57.0", | 101 | "eslint": "^8.57.0", |
102 | "eslint-config-airbnb": "^19.0.4", | 102 | "eslint-config-airbnb": "^19.0.4", |
103 | "eslint-config-airbnb-typescript": "^17.1.0", | 103 | "eslint-config-airbnb-typescript": "^18.0.0", |
104 | "eslint-config-prettier": "^9.1.0", | 104 | "eslint-config-prettier": "^9.1.0", |
105 | "eslint-import-resolver-typescript": "^3.6.1", | 105 | "eslint-import-resolver-typescript": "^3.6.1", |
106 | "eslint-plugin-import": "^2.29.1", | 106 | "eslint-plugin-import": "^2.29.1", |
107 | "eslint-plugin-jsx-a11y": "^6.8.0", | 107 | "eslint-plugin-jsx-a11y": "^6.8.0", |
108 | "eslint-plugin-mobx": "^0.0.9", | 108 | "eslint-plugin-mobx": "^0.0.9", |
109 | "eslint-plugin-prettier": "^5.1.3", | 109 | "eslint-plugin-prettier": "^5.1.3", |
110 | "eslint-plugin-react": "^7.33.2", | 110 | "eslint-plugin-react": "^7.34.1", |
111 | "eslint-plugin-react-hooks": "^4.6.0", | 111 | "eslint-plugin-react-hooks": "^4.6.0", |
112 | "html-minifier-terser": "^7.2.0", | 112 | "html-minifier-terser": "^7.2.0", |
113 | "micromatch": "^4.0.5", | 113 | "micromatch": "^4.0.5", |
114 | "pnpapi": "^0.0.0", | 114 | "pnpapi": "^0.0.0", |
115 | "prettier": "^3.2.5", | 115 | "prettier": "^3.2.5", |
116 | "typescript": "5.3.3", | 116 | "typescript": "5.4.3", |
117 | "vite": "^5.1.4", | 117 | "vite": "^5.2.6", |
118 | "vite-plugin-pwa": "^0.19.0", | 118 | "vite-plugin-pwa": "^0.19.7", |
119 | "workbox-window": "^7.0.0" | 119 | "workbox-window": "^7.0.0" |
120 | } | 120 | } |
121 | } | 121 | } |
diff --git a/subprojects/frontend/package.json.orig b/subprojects/frontend/package.json.orig new file mode 100644 index 00000000..34bbd6d2 --- /dev/null +++ b/subprojects/frontend/package.json.orig | |||
@@ -0,0 +1,121 @@ | |||
1 | { | ||
2 | "//": [ | ||
3 | "SPDX-FileCopyrightText: 2021-2024 The Refinery Authors <https://refinery.tools/>", | ||
4 | "", | ||
5 | "SPDX-License-Identifier: EPL-2.0" | ||
6 | ], | ||
7 | "name": "@refinery/frontend", | ||
8 | "version": "0.0.0", | ||
9 | "description": "Web frontend for Refinery", | ||
10 | "type": "module", | ||
11 | "private": true, | ||
12 | "scripts": { | ||
13 | "build": "cross-env MODE=production vite build", | ||
14 | "serve": "cross-env MODE=development vite serve", | ||
15 | "typegen": "xstate typegen \"src/**/*.ts?(x)\"", | ||
16 | "typecheck": "tsc -p tsconfig.shared.json && tsc -p tsconfig.node.json && tsc -p tsconfig.json", | ||
17 | "lint": "node config/eslintReport.cjs", | ||
18 | "lint:fix": "yarn run lint --fix" | ||
19 | }, | ||
20 | "repository": { | ||
21 | "type": "git", | ||
22 | "url": "git+https://github.com/graphs4value/refinery.git" | ||
23 | }, | ||
24 | "author": "The Refinery Authors <https://refinery.tools/>", | ||
25 | "license": "EPL-2.0", | ||
26 | "bugs": { | ||
27 | "url": "https://github.com/graphs4value/refinery/issues" | ||
28 | }, | ||
29 | "homepage": "https://refinery.tools", | ||
30 | "dependencies": { | ||
31 | "@codemirror/autocomplete": "^6.15.0", | ||
32 | "@codemirror/commands": "^6.3.3", | ||
33 | "@codemirror/language": "^6.10.1", | ||
34 | "@codemirror/lint": "^6.5.0", | ||
35 | "@codemirror/search": "^6.5.6", | ||
36 | "@codemirror/state": "^6.4.1", | ||
37 | "@codemirror/view": "^6.26.0", | ||
38 | "@emotion/cache": "^11.11.0", | ||
39 | "@emotion/react": "11.11.3", | ||
40 | "@emotion/serialize": "^1.1.3", | ||
41 | "@emotion/styled": "^11.11.0", | ||
42 | "@emotion/utils": "^1.2.1", | ||
43 | "@fontsource-variable/jetbrains-mono": "^5.0.20", | ||
44 | "@fontsource-variable/open-sans": "^5.0.28", | ||
45 | "@fontsource/open-sans": "^5.0.27", | ||
46 | "@hpcc-js/wasm": "^2.16.0", | ||
47 | "@lezer/common": "^1.2.1", | ||
48 | "@lezer/highlight": "^1.2.0", | ||
49 | "@lezer/lr": "^1.4.0", | ||
50 | "@material-icons/svg": "^1.0.33", | ||
51 | "@mui/icons-material": "5.15.11", | ||
52 | "@mui/material": "5.15.11", | ||
53 | "@mui/system": "5.15.11", | ||
54 | "@mui/x-data-grid": "6.19.5", | ||
55 | "ansi-styles": "^6.2.1", | ||
56 | "csstype": "^3.1.3", | ||
57 | "d3": "^7.9.0", | ||
58 | "d3-color": "^3.1.0", | ||
59 | "d3-graphviz": "patch:d3-graphviz@npm%3A5.3.0#~/.yarn/patches/d3-graphviz-npm-5.3.0-e0eace978a.patch", | ||
60 | "d3-selection": "^3.0.0", | ||
61 | "d3-zoom": "patch:d3-zoom@npm%3A3.0.0#~/.yarn/patches/d3-zoom-npm-3.0.0-18f706a421.patch", | ||
62 | "escape-string-regexp": "^5.0.0", | ||
63 | "jspdf": "^2.5.1", | ||
64 | "lodash-es": "^4.17.21", | ||
65 | "loglevel": "^1.9.1", | ||
66 | "loglevel-plugin-prefix": "^0.8.4", | ||
67 | "mobx": "^6.12.1", | ||
68 | "mobx-react-lite": "^4.0.6", | ||
69 | "ms": "^2.1.3", | ||
70 | "nanoid": "^5.0.6", | ||
71 | "notistack": "^3.0.1", | ||
72 | "react": "^18.2.0", | ||
73 | "react-dom": "^18.2.0", | ||
74 | "react-resize-detector": "^10.0.1", | ||
75 | "svg2pdf.js": "^2.2.3", | ||
76 | "xstate": "^4.38.3", | ||
77 | "zod": "^3.22.4" | ||
78 | }, | ||
79 | "devDependencies": { | ||
80 | "@lezer/generator": "^1.7.0", | ||
81 | "@types/d3": "^7.4.3", | ||
82 | "@types/d3-color": "^3.1.3", | ||
83 | "@types/d3-graphviz": "^2.6.10", | ||
84 | "@types/d3-selection": "^3.0.10", | ||
85 | "@types/d3-zoom": "^3.0.8", | ||
86 | "@types/eslint": "^8.56.6", | ||
87 | "@types/html-minifier-terser": "^7.0.2", | ||
88 | "@types/jspdf": "^2.0.0", | ||
89 | "@types/lodash-es": "^4.17.12", | ||
90 | "@types/micromatch": "^4.0.6", | ||
91 | "@types/ms": "^0.7.34", | ||
92 | "@types/node": "^20.11.30", | ||
93 | "@types/pnpapi": "^0.0.5", | ||
94 | "@types/react": "^18.2.71", | ||
95 | "@types/react-dom": "^18.2.22", | ||
96 | "@typescript-eslint/eslint-plugin": "^7.4.0", | ||
97 | "@typescript-eslint/parser": "^7.4.0", | ||
98 | "@vitejs/plugin-react-swc": "^3.6.0", | ||
99 | "@xstate/cli": "^0.5.17", | ||
100 | "cross-env": "^7.0.3", | ||
101 | "eslint": "^8.57.0", | ||
102 | "eslint-config-airbnb": "^19.0.4", | ||
103 | "eslint-config-airbnb-typescript": "^18.0.0", | ||
104 | "eslint-config-prettier": "^9.1.0", | ||
105 | "eslint-import-resolver-typescript": "^3.6.1", | ||
106 | "eslint-plugin-import": "^2.29.1", | ||
107 | "eslint-plugin-jsx-a11y": "^6.8.0", | ||
108 | "eslint-plugin-mobx": "^0.0.9", | ||
109 | "eslint-plugin-prettier": "^5.1.3", | ||
110 | "eslint-plugin-react": "^7.34.1", | ||
111 | "eslint-plugin-react-hooks": "^4.6.0", | ||
112 | "html-minifier-terser": "^7.2.0", | ||
113 | "micromatch": "^4.0.5", | ||
114 | "pnpapi": "^0.0.0", | ||
115 | "prettier": "^3.2.5", | ||
116 | "typescript": "5.4.3", | ||
117 | "vite": "5.1.4", | ||
118 | "vite-plugin-pwa": "0.19.0", | ||
119 | "workbox-window": "^7.0.0" | ||
120 | } | ||
121 | } | ||
diff --git a/subprojects/frontend/src/table/TableArea.tsx b/subprojects/frontend/src/table/TableArea.tsx index 166b8adf..854f3a97 100644 --- a/subprojects/frontend/src/table/TableArea.tsx +++ b/subprojects/frontend/src/table/TableArea.tsx | |||
@@ -23,6 +23,13 @@ interface Row { | |||
23 | value: string; | 23 | value: string; |
24 | } | 24 | } |
25 | 25 | ||
26 | declare module '@mui/x-data-grid' { | ||
27 | // Declare our custom prop type for `TableToolbar`. | ||
28 | interface ToolbarPropsOverrides { | ||
29 | graph: GraphStore; | ||
30 | } | ||
31 | } | ||
32 | |||
26 | function TableArea({ graph }: { graph: GraphStore }): JSX.Element { | 33 | function TableArea({ graph }: { graph: GraphStore }): JSX.Element { |
27 | const { | 34 | const { |
28 | selectedSymbol, | 35 | selectedSymbol, |
@@ -37,7 +44,7 @@ function TableArea({ graph }: { graph: GraphStore }): JSX.Element { | |||
37 | defs.push({ | 44 | defs.push({ |
38 | field: `n${i}`, | 45 | field: `n${i}`, |
39 | headerName: String(i + 1), | 46 | headerName: String(i + 1), |
40 | valueGetter: (row) => row.row.nodes[i] ?? '', | 47 | valueGetter: (_, row) => row.nodes[i] ?? '', |
41 | flex: 1, | 48 | flex: 1, |
42 | }); | 49 | }); |
43 | } | 50 | } |
@@ -96,7 +103,7 @@ function TableArea({ graph }: { graph: GraphStore }): JSX.Element { | |||
96 | graph, | 103 | graph, |
97 | }, | 104 | }, |
98 | }} | 105 | }} |
99 | density="compact" | 106 | initialState={{ density: 'compact' }} |
100 | rowSelection={false} | 107 | rowSelection={false} |
101 | columns={columns} | 108 | columns={columns} |
102 | rows={rows} | 109 | rows={rows} |