Skip to content

Commit

Permalink
Merge pull request #103 from noahm/renovate/major-react-monorepo
Browse files Browse the repository at this point in the history
Update react monorepo to v19 (major)
  • Loading branch information
noahm authored Jan 12, 2025
2 parents 8c2ab03 + 4cbd7b7 commit 46684c7
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 70 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@
"baconjs": "patch:baconjs@npm%3A3.0.17#~/.yarn/patches/baconjs-npm-3.0.17-1a95474784.patch",
"classnames": "^2.5.1",
"jotai": "^2.9.3",
"logrocket": "^9.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/w3c-web-hid": "1.0.6",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.5.4",
Expand Down
3 changes: 0 additions & 3 deletions ui/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import * as Bacon from "baconjs";
import { Provider } from "jotai";
import LogRocket from "logrocket";
import { createRoot } from "react-dom/client";

import { uiState } from "./state.ts";
import { UI } from "./ui.tsx";

LogRocket.init("rgozwj/smx-config-web");

Bacon.fromEvent(document, "DOMContentLoaded").onValue(async () => {
const rootEl = document.getElementById("root");
if (!rootEl) return;
Expand Down
5 changes: 4 additions & 1 deletion ui/pad-coms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ export async function open_smx_device(dev: HIDDevice, autoSelect = false) {
} catch (e) {
console.error(e);
uiState.set(nextStatusTextLine$, "failed to open device; more details in the browser console.");
uiState.set(nextStatusTextLine$, "if you are using linux, permissions to talk to a stage are still an unsolved puzzle.");
uiState.set(
nextStatusTextLine$,
"if you are using linux, permissions to talk to a stage are still an unsolved puzzle.",
);
return;
}
}
Expand Down
90 changes: 29 additions & 61 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1030,29 +1030,21 @@ __metadata:
languageName: node
linkType: hard

"@types/prop-types@npm:*":
version: 15.7.12
resolution: "@types/prop-types@npm:15.7.12"
checksum: 10c0/1babcc7db6a1177779f8fde0ccc78d64d459906e6ef69a4ed4dd6339c920c2e05b074ee5a92120fe4e9d9f1a01c952f843ebd550bee2332fc2ef81d1706878f8
languageName: node
linkType: hard

"@types/react-dom@npm:^18.3.0":
version: 18.3.0
resolution: "@types/react-dom@npm:18.3.0"
dependencies:
"@types/react": "npm:*"
checksum: 10c0/6c90d2ed72c5a0e440d2c75d99287e4b5df3e7b011838cdc03ae5cd518ab52164d86990e73246b9d812eaf02ec351d74e3b4f5bd325bf341e13bf980392fd53b
"@types/react-dom@npm:^19.0.0":
version: 19.0.3
resolution: "@types/react-dom@npm:19.0.3"
peerDependencies:
"@types/react": ^19.0.0
checksum: 10c0/3867427b333cbe8cbba496d7cc20ec9676d32c25ae44f4d1263a4129d42e57cf4adf0039ad263432f1215b88075c27d326e7eb4ed646128235d01a76e661d48f
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:^18.3.3":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
"@types/react@npm:^19.0.0":
version: 19.0.5
resolution: "@types/react@npm:19.0.5"
dependencies:
"@types/prop-types": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10c0/fe455f805c5da13b89964c3d68060cebd43e73ec15001a68b34634604a78140e6fc202f3f61679b9d809dde6d7a7c2cb3ed51e0fd1462557911db09879b55114
checksum: 10c0/6f3a25c826e8b274cf26b25ef7bd4a97aaa4d7b30a0ea529bf252c6f0387d74f44940dea55cfcac75829bee53cd4c82fdb41653b978954a08036d2812a0ae6d6
languageName: node
linkType: hard

Expand Down Expand Up @@ -1923,7 +1915,7 @@ __metadata:
languageName: node
linkType: hard

"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
"js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
checksum: 10c0/e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed
Expand Down Expand Up @@ -1955,24 +1947,6 @@ __metadata:
languageName: node
linkType: hard

"logrocket@npm:^9.0.0":
version: 9.0.0
resolution: "logrocket@npm:9.0.0"
checksum: 10c0/d44b1c4993200b94b98dc64c952d3b6bf32e21fb0eede69135b34e9f56fe91c0c43bf769f42411862c2554194cb1f0e1770835be83523f6b16e39925e8cf0f46
languageName: node
linkType: hard

"loose-envify@npm:^1.1.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
dependencies:
js-tokens: "npm:^3.0.0 || ^4.0.0"
bin:
loose-envify: cli.js
checksum: 10c0/655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e
languageName: node
linkType: hard

"loupe@npm:^3.1.0, loupe@npm:^3.1.2":
version: 3.1.2
resolution: "loupe@npm:3.1.2"
Expand Down Expand Up @@ -2303,15 +2277,14 @@ __metadata:
languageName: node
linkType: hard

"react-dom@npm:^18.3.1":
version: 18.3.1
resolution: "react-dom@npm:18.3.1"
"react-dom@npm:^19.0.0":
version: 19.0.0
resolution: "react-dom@npm:19.0.0"
dependencies:
loose-envify: "npm:^1.1.0"
scheduler: "npm:^0.23.2"
scheduler: "npm:^0.25.0"
peerDependencies:
react: ^18.3.1
checksum: 10c0/a752496c1941f958f2e8ac56239172296fcddce1365ce45222d04a1947e0cc5547df3e8447f855a81d6d39f008d7c32eab43db3712077f09e3f67c4874973e85
react: ^19.0.0
checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9
languageName: node
linkType: hard

Expand All @@ -2322,12 +2295,10 @@ __metadata:
languageName: node
linkType: hard

"react@npm:^18.3.1":
version: 18.3.1
resolution: "react@npm:18.3.1"
dependencies:
loose-envify: "npm:^1.1.0"
checksum: 10c0/283e8c5efcf37802c9d1ce767f302dd569dd97a70d9bb8c7be79a789b9902451e0d16334b05d73299b20f048cbc3c7d288bbbde10b701fa194e2089c237dbea3
"react@npm:^19.0.0":
version: 19.0.0
resolution: "react@npm:19.0.0"
checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471
languageName: node
linkType: hard

Expand Down Expand Up @@ -2414,12 +2385,10 @@ __metadata:
languageName: node
linkType: hard

"scheduler@npm:^0.23.2":
version: 0.23.2
resolution: "scheduler@npm:0.23.2"
dependencies:
loose-envify: "npm:^1.1.0"
checksum: 10c0/26383305e249651d4c58e6705d5f8425f153211aef95f15161c151f7b8de885f24751b377e4a0b3dd42cce09aad3f87a61dab7636859c0d89b7daf1a1e2a5c78
"scheduler@npm:^0.25.0":
version: 0.25.0
resolution: "scheduler@npm:0.25.0"
checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe
languageName: node
linkType: hard

Expand Down Expand Up @@ -2486,16 +2455,15 @@ __metadata:
dependencies:
"@biomejs/biome": "npm:1.9.4"
"@nmann/struct-buffer": "npm:^5.4.1"
"@types/react": "npm:^18.3.3"
"@types/react-dom": "npm:^18.3.0"
"@types/react": "npm:^19.0.0"
"@types/react-dom": "npm:^19.0.0"
"@types/w3c-web-hid": "npm:1.0.6"
"@vitejs/plugin-react": "npm:^4.3.4"
baconjs: "patch:baconjs@npm%3A3.0.17#~/.yarn/patches/baconjs-npm-3.0.17-1a95474784.patch"
classnames: "npm:^2.5.1"
jotai: "npm:^2.9.3"
logrocket: "npm:^9.0.0"
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
react: "npm:^19.0.0"
react-dom: "npm:^19.0.0"
typescript: "npm:^5.5.4"
vite: "npm:^6.0.7"
vite-plugin-mkcert: "npm:^1.17.6"
Expand Down

0 comments on commit 46684c7

Please sign in to comment.