Skip to content

Commit 6ca60c0

Browse files
Use extracted (alpha) connection library (#1190)
The connection library is not final, but we will update it as it develops.
1 parent 28baa00 commit 6ca60c0

34 files changed

+267
-2382
lines changed

package-lock.json

+146-312
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"@codemirror/view": "^6.26.3",
1717
"@emotion/react": "^11.11.4",
1818
"@emotion/styled": "^11.11.5",
19-
"@microbit/microbit-fs": "^0.9.2",
19+
"@microbit/microbit-connection": "^0.0.0-alpha.33",
20+
"@microbit/microbit-fs": "^0.10.0",
2021
"@sanity/block-content-to-react": "^3.0.0",
2122
"@sanity/image-url": "^1.0.1",
2223
"@testing-library/jest-dom": "^5.14.1",
@@ -32,7 +33,6 @@
3233
"@types/react-dom": "^18.3.0",
3334
"base64-js": "^1.5.1",
3435
"crelt": "^1.0.5",
35-
"dapjs": "2.2.0",
3636
"dompurify": "^2.3.3",
3737
"file-saver": "^2.0.5",
3838
"framer-motion": "^10.2.4",
@@ -80,7 +80,7 @@
8080
"typescript": "^5.4.2",
8181
"vite-plugin-pwa": "^0.19.8",
8282
"vite-plugin-svgr": "^4.2.0",
83-
"vitest": "^1.3.1"
83+
"vitest": "^2.0.0"
8484
},
8585
"engines": {
8686
"node": ">=16.0",

src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import "./App.css";
1010
import { DialogProvider } from "./common/use-dialogs";
1111
import VisualViewPortCSSVariables from "./common/VisualViewportCSSVariables";
1212
import { deployment, useDeployment } from "./deployment";
13-
import { MicrobitWebUSBConnection } from "./device/webusb";
13+
import { MicrobitWebUSBConnection } from "@microbit/microbit-connection";
1414
import { DeviceContextProvider } from "./device/device-hooks";
1515
import { MockDeviceConnection } from "./device/mock";
1616
import DocumentationProvider from "./documentation/documentation-hooks";

src/device/async-util.test.ts

-19
This file was deleted.

src/device/async-util.ts

-24
This file was deleted.

src/device/board-id.ts

-58
This file was deleted.

src/device/board-serial-info.test.ts

-52
This file was deleted.

src/device/board-serial-info.ts

-35
This file was deleted.

src/device/constants.ts

-80
This file was deleted.

0 commit comments

Comments
 (0)