mirror of
https://github.com/luxfi/wallet.git
synced 2026-10-30 15:13:19 +00:00
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).
23 lines
643 B
TypeScript
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)
|
|
})
|