diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-10-07 19:44:41 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-11-05 19:41:14 +0100 |
commit | abe176d0888c0fdcc803ddafe71a5cee9f4b63a0 (patch) | |
tree | ea7d5722c8e981ba540e648fbacbfd0e4a55768a /subprojects/frontend/package.json | |
parent | fix: test and lint failures (diff) | |
download | refinery-abe176d0888c0fdcc803ddafe71a5cee9f4b63a0.tar.gz refinery-abe176d0888c0fdcc803ddafe71a5cee9f4b63a0.tar.zst refinery-abe176d0888c0fdcc803ddafe71a5cee9f4b63a0.zip |
refactor(frontend): improve HMR experience
Use a HMR acceptor as in
https://github.com/vitejs/vite/issues/10227#issuecomment-1256969751
Also updates frontend tooling to the latest version
(yarn now support typescript 4.8.4)
Diffstat (limited to 'subprojects/frontend/package.json')
-rw-r--r-- | subprojects/frontend/package.json | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json index 015dd764..10de68ee 100644 --- a/subprojects/frontend/package.json +++ b/subprojects/frontend/package.json | |||
@@ -2,7 +2,7 @@ | |||
2 | "name": "@refinery/frontend", | 2 | "name": "@refinery/frontend", |
3 | "version": "0.0.0", | 3 | "version": "0.0.0", |
4 | "description": "Web frontend for Refinery", | 4 | "description": "Web frontend for Refinery", |
5 | "prive": true, | 5 | "private": true, |
6 | "scripts": { | 6 | "scripts": { |
7 | "build": "cross-env MODE=production vite build", | 7 | "build": "cross-env MODE=production vite build", |
8 | "serve": "cross-env MODE=development vite serve", | 8 | "serve": "cross-env MODE=development vite serve", |
@@ -24,23 +24,23 @@ | |||
24 | "homepage": "https://refinery.tools", | 24 | "homepage": "https://refinery.tools", |
25 | "dependencies": { | 25 | "dependencies": { |
26 | "@codemirror/autocomplete": "^6.3.0", | 26 | "@codemirror/autocomplete": "^6.3.0", |
27 | "@codemirror/commands": "^6.1.1", | 27 | "@codemirror/commands": "^6.1.2", |
28 | "@codemirror/language": "^6.2.1", | 28 | "@codemirror/language": "^6.3.0", |
29 | "@codemirror/lint": "^6.0.0", | 29 | "@codemirror/lint": "^6.0.0", |
30 | "@codemirror/search": "^6.2.1", | 30 | "@codemirror/search": "^6.2.2", |
31 | "@codemirror/state": "^6.1.2", | 31 | "@codemirror/state": "^6.1.2", |
32 | "@codemirror/view": "^6.3.0", | 32 | "@codemirror/view": "^6.4.0", |
33 | "@emotion/react": "^11.10.4", | 33 | "@emotion/react": "^11.10.5", |
34 | "@emotion/styled": "^11.10.4", | 34 | "@emotion/styled": "^11.10.5", |
35 | "@fontsource/inter": "^4.5.13", | 35 | "@fontsource/inter": "^4.5.14", |
36 | "@fontsource/jetbrains-mono": "^4.5.11", | 36 | "@fontsource/jetbrains-mono": "^4.5.11", |
37 | "@lezer/common": "^1.0.1", | 37 | "@lezer/common": "^1.0.1", |
38 | "@lezer/highlight": "^1.1.1", | 38 | "@lezer/highlight": "^1.1.2", |
39 | "@lezer/lr": "^1.2.3", | 39 | "@lezer/lr": "^1.2.3", |
40 | "@material-icons/svg": "^1.0.33", | 40 | "@material-icons/svg": "^1.0.33", |
41 | "@mui/icons-material": "5.10.6", | 41 | "@mui/icons-material": "5.10.9", |
42 | "@mui/material": "5.10.8", | 42 | "@mui/material": "5.10.12", |
43 | "ansi-styles": "^6.1.1", | 43 | "ansi-styles": "^6.2.1", |
44 | "escape-string-regexp": "^5.0.0", | 44 | "escape-string-regexp": "^5.0.0", |
45 | "lodash-es": "^4.17.21", | 45 | "lodash-es": "^4.17.21", |
46 | "loglevel": "^1.8.0", | 46 | "loglevel": "^1.8.0", |
@@ -49,44 +49,44 @@ | |||
49 | "mobx-react-lite": "^3.4.0", | 49 | "mobx-react-lite": "^3.4.0", |
50 | "ms": "^2.1.3", | 50 | "ms": "^2.1.3", |
51 | "nanoid": "^4.0.0", | 51 | "nanoid": "^4.0.0", |
52 | "notistack": "^2.0.5", | 52 | "notistack": "^2.0.8", |
53 | "react": "^18.2.0", | 53 | "react": "^18.2.0", |
54 | "react-dom": "^18.2.0", | 54 | "react-dom": "^18.2.0", |
55 | "xstate": "^4.33.6", | 55 | "xstate": "^4.34.0", |
56 | "zod": "^3.19.1" | 56 | "zod": "^3.19.1" |
57 | }, | 57 | }, |
58 | "devDependencies": { | 58 | "devDependencies": { |
59 | "@lezer/generator": "^1.1.1", | 59 | "@lezer/generator": "^1.1.1", |
60 | "@types/eslint": "^8.4.6", | 60 | "@types/eslint": "^8.4.10", |
61 | "@types/html-minifier-terser": "^7.0.0", | 61 | "@types/html-minifier-terser": "^7.0.0", |
62 | "@types/lodash-es": "^4.17.6", | 62 | "@types/lodash-es": "^4.17.6", |
63 | "@types/ms": "^0.7.31", | 63 | "@types/ms": "^0.7.31", |
64 | "@types/node": "^18.8.0", | 64 | "@types/node": "^18.11.9", |
65 | "@types/prettier": "^2.7.1", | 65 | "@types/prettier": "^2.7.1", |
66 | "@types/react": "^18.0.21", | 66 | "@types/react": "^18.0.25", |
67 | "@types/react-dom": "^18.0.6", | 67 | "@types/react-dom": "^18.0.8", |
68 | "@typescript-eslint/eslint-plugin": "^5.39.0", | 68 | "@typescript-eslint/eslint-plugin": "^5.42.0", |
69 | "@typescript-eslint/parser": "^5.39.0", | 69 | "@typescript-eslint/parser": "^5.42.0", |
70 | "@vitejs/plugin-react": "^2.1.0", | 70 | "@vitejs/plugin-react": "^2.2.0", |
71 | "@xstate/cli": "^0.3.3", | 71 | "@xstate/cli": "^0.3.3", |
72 | "cross-env": "^7.0.3", | 72 | "cross-env": "^7.0.3", |
73 | "eslint": "^8.24.0", | 73 | "eslint": "^8.26.0", |
74 | "eslint-config-airbnb": "^19.0.4", | 74 | "eslint-config-airbnb": "^19.0.4", |
75 | "eslint-config-airbnb-typescript": "^17.0.0", | 75 | "eslint-config-airbnb-typescript": "^17.0.0", |
76 | "eslint-config-prettier": "^8.5.0", | 76 | "eslint-config-prettier": "^8.5.0", |
77 | "eslint-import-resolver-typescript": "^3.5.1", | 77 | "eslint-import-resolver-typescript": "^3.5.2", |
78 | "eslint-plugin-import": "^2.26.0", | 78 | "eslint-plugin-import": "^2.26.0", |
79 | "eslint-plugin-jsx-a11y": "^6.6.1", | 79 | "eslint-plugin-jsx-a11y": "^6.6.1", |
80 | "eslint-plugin-mobx": "^0.0.9", | 80 | "eslint-plugin-mobx": "^0.0.9", |
81 | "eslint-plugin-prettier": "^4.2.1", | 81 | "eslint-plugin-prettier": "^4.2.1", |
82 | "eslint-plugin-react": "^7.31.8", | 82 | "eslint-plugin-react": "^7.31.10", |
83 | "eslint-plugin-react-hooks": "^4.6.0", | 83 | "eslint-plugin-react-hooks": "^4.6.0", |
84 | "html-minifier-terser": "^7.0.0", | 84 | "html-minifier-terser": "^7.0.0", |
85 | "prettier": "^2.7.1", | 85 | "prettier": "^2.7.1", |
86 | "typescript": "4.8.2", | 86 | "typescript": "4.8.4", |
87 | "vite": "^3.1.4", | 87 | "vite": "^3.2.2", |
88 | "vite-plugin-inject-preload": "^1.1.0", | 88 | "vite-plugin-inject-preload": "^1.1.0", |
89 | "vite-plugin-pwa": "^0.13.1", | 89 | "vite-plugin-pwa": "^0.13.2", |
90 | "workbox-window": "^6.5.4" | 90 | "workbox-window": "^6.5.4" |
91 | } | 91 | } |
92 | } | 92 | } |