Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use extracted (alpha) connection library #1190

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
436 changes: 146 additions & 290 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@codemirror/view": "^6.26.3",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@microbit/microbit-connection": "^0.0.0-alpha.14",
"@microbit/microbit-fs": "^0.9.2",
"@sanity/block-content-to-react": "^3.0.0",
"@sanity/image-url": "^1.0.1",
Expand All @@ -32,7 +33,6 @@
"@types/react-dom": "^18.3.0",
"base64-js": "^1.5.1",
"crelt": "^1.0.5",
"dapjs": "2.2.0",
"dompurify": "^2.3.3",
"file-saver": "^2.0.5",
"framer-motion": "^10.2.4",
Expand Down Expand Up @@ -80,7 +80,7 @@
"typescript": "^5.4.2",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.3.1"
"vitest": "^2.0.0"
},
"engines": {
"node": ">=16.0",
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "./App.css";
import { DialogProvider } from "./common/use-dialogs";
import VisualViewPortCSSVariables from "./common/VisualViewportCSSVariables";
import { deployment, useDeployment } from "./deployment";
import { MicrobitWebUSBConnection } from "./device/webusb";
import { MicrobitWebUSBConnection } from "@microbit/microbit-connection";
import { DeviceContextProvider } from "./device/device-hooks";
import { MockDeviceConnection } from "./device/mock";
import DocumentationProvider from "./documentation/documentation-hooks";
Expand Down
19 changes: 0 additions & 19 deletions src/device/async-util.test.ts

This file was deleted.

24 changes: 0 additions & 24 deletions src/device/async-util.ts

This file was deleted.

58 changes: 0 additions & 58 deletions src/device/board-id.ts

This file was deleted.

52 changes: 0 additions & 52 deletions src/device/board-serial-info.test.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/device/board-serial-info.ts

This file was deleted.

80 changes: 0 additions & 80 deletions src/device/constants.ts

This file was deleted.

Loading