From f60f5af424e301f3547eb94111b3a36cd64b7d2a Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Wed, 25 Feb 2026 13:14:19 -0800 Subject: [PATCH] Update link_deps --- link_deps | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/link_deps b/link_deps index 6aa5d333..6d8ec80e 100755 --- a/link_deps +++ b/link_deps @@ -1,11 +1,12 @@ #!/usr/bin/env node import fs from 'fs' -import path from 'path' import { execSync } from 'child_process' -if (execSync('git status --porcelain', { encoding: 'utf8' }).trim()) { - console.error('Error: Git working tree is dirty. Please commit or stash your changes first.') +const force = process.argv.includes('--force') + +if (execSync('git status --porcelain', { encoding: 'utf8' }).trim() && !force) { + console.error('Error: Git working tree is dirty. Please commit or stash your changes first, or re-run with --force.') process.exit(1) } @@ -22,6 +23,7 @@ pkg.pnpm.overrides["@welshman/router"] = "link:../welshman/packages/router" pkg.pnpm.overrides["@welshman/signer"] = "link:../welshman/packages/signer" pkg.pnpm.overrides["@welshman/store"] = "link:../welshman/packages/store" pkg.pnpm.overrides["@welshman/util"] = "link:../welshman/packages/util" +// pkg.pnpm.overrides["nostr-editor"] = "link:../nostr-editor" // pkg.pnpm.overrides["@pomade/core"] = "link:../pomade/packages/core" // pkg.pnpm.overrides["nostr-signer-capacitor-plugin"] = "link:../nostr-signer-capacitor-plugin"