From 3cb8b28be42947aa307308de06de84cd79455d2c Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Mon, 13 Jul 2026 05:33:36 -0400 Subject: [PATCH] Run mobile typecheck through pnpm Co-authored-by: Orca --- .github/workflows/mobile.yml | 2 +- mobile/package.json | 1 + mobile/src/transport/mobile-relay-pairing-journal.ts | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml index 0d31113a0e0..2998d1dcce7 100644 --- a/.github/workflows/mobile.yml +++ b/.github/workflows/mobile.yml @@ -51,7 +51,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Typecheck - run: npx tsc --noEmit + run: pnpm typecheck - name: Test run: pnpm test diff --git a/mobile/package.json b/mobile/package.json index 324ec971762..41ddf3f2f3b 100644 --- a/mobile/package.json +++ b/mobile/package.json @@ -9,6 +9,7 @@ "ios": "expo run:ios", "postinstall": "node scripts/build-terminal-webview-engine.mjs", "test": "vitest run", + "typecheck": "tsc --noEmit", "lint": "oxlint", "format": "oxfmt --write .", "format:check": "oxfmt --check .", diff --git a/mobile/src/transport/mobile-relay-pairing-journal.ts b/mobile/src/transport/mobile-relay-pairing-journal.ts index 3359aaa645f..c78fc0e5126 100644 --- a/mobile/src/transport/mobile-relay-pairing-journal.ts +++ b/mobile/src/transport/mobile-relay-pairing-journal.ts @@ -1,7 +1,8 @@ import * as ExpoCrypto from 'expo-crypto' import { sha256 } from '@noble/hashes/sha256' import { z } from 'zod' -import type { PairingOffer, PairingRelay } from './types' +import type { PairingRelay } from '../../../src/shared/mobile-relay-pairing-offer' +import type { PairingOffer } from './types' const Base64Url32ByteSchema = z.string().regex(/^[A-Za-z0-9_-]{43}$/)