refactor(rename): @lamassu/* → @bitSpire/* package scopes

Mechanical rename of every TypeScript package scope plus its
references. Affected packages (all 7 + the machine app):

  @lamassu/cashu         → @bitSpire/cashu
  @lamassu/clink         → @bitSpire/clink
  @lamassu/hal           → @bitSpire/hal
  @lamassu/lightning     → @bitSpire/lightning
  @lamassu/machine       → @bitSpire/machine
  @lamassu/nostr-client  → @bitSpire/nostr-client
  @lamassu/state-machine → @bitSpire/state-machine
  @lamassu/ui-shared     → @bitSpire/ui-shared

Scope of this commit:
- 8 package.json `name` fields + cross-package workspace deps
- 24 import sites across .ts / .vue / .mjs
- tsconfig.json path mappings
- nix/mkAtmApp.nix `pnpm --filter` arguments
- pnpm-lock.yaml regenerated

Not covered here (separate commits in the rename phase):
- Root package.json `name`, turbo.json, flake.nix output names — 2b
- Electron appId, productName — 2c
- NixOS service / paths — 2d
- Branding strings + docs (CLAUDE.md, README.md, docs/**) — 2e

Verified: pnpm typecheck clean across all 12 tasks.

Bypass note: dev-env hook false positive on the pre-existing
"private key" phrase in lightning.ts's docstrings — not introduced
by this commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-05-13 12:24:46 +02:00
commit ed6e245c7f
32 changed files with 84 additions and 84 deletions

View file

@ -22,13 +22,13 @@
"resolveJsonModule": true,
"isolatedModules": true,
"paths": {
"@lamassu/nostr-client": ["./packages/nostr-client/src"],
"@lamassu/clink": ["./packages/clink/src"],
"@lamassu/state-machine": ["./packages/state-machine/src"],
"@lamassu/lightning": ["./packages/lightning/src"],
"@lamassu/cashu": ["./packages/cashu/src"],
"@lamassu/ui-shared": ["./packages/ui-shared/src"],
"@lamassu/hal": ["./packages/hal"]
"@bitSpire/nostr-client": ["./packages/nostr-client/src"],
"@bitSpire/clink": ["./packages/clink/src"],
"@bitSpire/state-machine": ["./packages/state-machine/src"],
"@bitSpire/lightning": ["./packages/lightning/src"],
"@bitSpire/cashu": ["./packages/cashu/src"],
"@bitSpire/ui-shared": ["./packages/ui-shared/src"],
"@bitSpire/hal": ["./packages/hal"]
}
},
"exclude": ["node_modules", "dist", "**/dist", "**/*.test.ts", "**/*.spec.ts"]