diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f6bbf6ba..c92d312c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,13 +1,12 @@ { - "name": "meshtastic-web", - "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", - "features": { - "ghcr.io/r3dpoint/devcontainer-features/tailwindcss-standalone-cli:1": { - "version": "latest" - }, - "ghcr.io/devcontainers-extra/features/pnpm:2": { - "version": "latest" - } - } + "name": "meshtastic-web", + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", + "features": { + "ghcr.io/r3dpoint/devcontainer-features/tailwindcss-standalone-cli:1": { + "version": "latest" + }, + "ghcr.io/devcontainers-extra/features/pnpm:2": { + "version": "latest" + } + } } - diff --git a/.github/workflows/release-protobufs.yml b/.github/workflows/release-protobufs.yml index ac60296c..6bb40c21 100644 --- a/.github/workflows/release-protobufs.yml +++ b/.github/workflows/release-protobufs.yml @@ -16,7 +16,7 @@ on: permissions: write-all env: - PROTOBUF_DIR: ./packages/protobufs + PROTOBUF_DIR: ./packages/protobufs jobs: codegen: @@ -70,7 +70,7 @@ jobs: - name: Setup pnpm uses: pnpm/action-setup@v6 - + - name: Install workspace dependencies run: pnpm install --frozen-lockfile diff --git a/.github/workflows/update-stable-from-master.yml b/.github/workflows/update-stable-from-master.yml index 44c0682a..cfa4968d 100644 --- a/.github/workflows/update-stable-from-master.yml +++ b/.github/workflows/update-stable-from-master.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 - fetch-tags: true # IMPORTANT: we need tags to resolve the release commit + fetch-tags: true # IMPORTANT: we need tags to resolve the release commit - name: Configure Git author run: | diff --git a/.oxfmtrc.json b/.oxfmtrc.json index b5fa1fc7..32547c59 100644 --- a/.oxfmtrc.json +++ b/.oxfmtrc.json @@ -1,5 +1,5 @@ { - "$schema": "./node_modules/oxfmt/configuration_schema.json", + "$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxfmt/configuration_schema.json", "useTabs": false, "tabWidth": 2, "printWidth": 80, diff --git a/.vscode/settings.json b/.vscode/settings.json index 2253a76e..9f4f9317 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,5 @@ "editor.formatOnSave": true, "search.exclude": { "**/i18n/locales/*-*/**": true - }, -} \ No newline at end of file + } +} diff --git a/apps/web/index.html b/apps/web/index.html index 30ad400c..4d5b33b6 100644 --- a/apps/web/index.html +++ b/apps/web/index.html @@ -1,4 +1,4 @@ - +
@@ -11,11 +11,7 @@ - + diff --git a/apps/web/package.json b/apps/web/package.json index 506b318c..7f46f261 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,17 +1,17 @@ { "name": "meshtastic-web", "version": "2.6.6-0", - "type": "module", "description": "Meshtastic web client", + "homepage": "https://meshtastic.org", + "bugs": { + "url": "https://github.com/meshtastic/web/issues" + }, "license": "GPL-3.0-only", "repository": { "type": "git", "url": "git+https://github.com/meshtastic/web.git" }, - "bugs": { - "url": "https://github.com/meshtastic/web/issues" - }, - "homepage": "https://meshtastic.org", + "type": "module", "scripts": { "preinstall": "npx only-allow pnpm", "setup:certs": "mkcert localhost 127.0.0.1 ::1", @@ -41,7 +41,6 @@ "@meshtastic/transport-web-serial": "workspace:*", "@noble/curves": "^1.9.2", "@preact/signals-core": "^1.8.0", - "better-result": "^2.9.2", "@radix-ui/react-accordion": "^1.2.13", "@radix-ui/react-alert-dialog": "^1.1.16", "@radix-ui/react-checkbox": "^1.3.4", @@ -69,6 +68,7 @@ "@types/node": "^25.9.3", "@types/web-bluetooth": "^0.0.21", "base64-js": "^1.5.1", + "better-result": "^2.9.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", diff --git a/apps/web/public/site.webmanifest b/apps/web/public/site.webmanifest index 7f923721..dc9509b9 100644 --- a/apps/web/public/site.webmanifest +++ b/apps/web/public/site.webmanifest @@ -1,16 +1,16 @@ { - "name": "Meshtastic", - "short_name": "Web Client", - "start_url": ".", - "description": "Meshtastic Web App", - "icons": [ - { - "src": "/logo.svg", - "sizes": "any", - "type": "image/svg+xml" - } - ], - "theme_color": "#67ea94", - "background_color": "#67ea94", - "display": "standalone" + "name": "Meshtastic", + "short_name": "Web Client", + "start_url": ".", + "description": "Meshtastic Web App", + "icons": [ + { + "src": "/logo.svg", + "sizes": "any", + "type": "image/svg+xml" + } + ], + "theme_color": "#67ea94", + "background_color": "#67ea94", + "display": "standalone" } diff --git a/apps/web/src/DeviceWrapper.tsx b/apps/web/src/DeviceWrapper.tsx index 05ae6c57..d9ee3def 100644 --- a/apps/web/src/DeviceWrapper.tsx +++ b/apps/web/src/DeviceWrapper.tsx @@ -8,6 +8,8 @@ export interface DeviceWrapperProps { export const DeviceWrapper = ({ children, deviceId }: DeviceWrapperProps) => { return ( -