Files
wallet/apps/mobile/scripts/getFingerprintForRadonIDE.ts
zeekay 55a7f247ca init: extract wallet from lux/exchange monorepo
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config,
utilities, sessions, gating, notifications, analytics, eslint-config,
prices) into a standalone pnpm workspace.  Resolves merge conflict
markers in extension and mobile package.json files, strips build
artifacts (.wxt, .output, Pods).
2026-04-11 01:59:19 -07:00

23 lines
643 B
TypeScript

#!/usr/bin/env bun
import { createProjectHashAsync } from '@expo/fingerprint'
async function main(): Promise<void> {
try {
const projectRoot = process.cwd()
const hash = await createProjectHashAsync(projectRoot, {
silent: true,
})
console.log(hash)
} catch (error) {
const errorMessage = error instanceof Error ? error.message : String(error)
console.error(`Failed to generate fingerprint: ${errorMessage}`)
process.exit(1)
}
}
main().catch((error) => {
const errorMessage = error instanceof Error ? error.message : String(error)
console.error(`Fatal error: ${errorMessage}`)
process.exit(1)
})