From ed6e245c7fd052d218afee342b89ef3faf172b3e Mon Sep 17 00:00:00 2001 From: Padreug Date: Wed, 13 May 2026 12:24:46 +0200 Subject: [PATCH] =?UTF-8?q?refactor(rename):=20@lamassu/*=20=E2=86=92=20@b?= =?UTF-8?q?itSpire/*=20package=20scopes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- apps/machine/electron/fund-atm.ts | 4 ++-- apps/machine/electron/hal-service.ts | 6 +++--- apps/machine/package.json | 12 ++++++------ apps/machine/src/App.vue | 2 +- .../src/composables/useAvailabilityBroadcast.ts | 4 ++-- apps/machine/src/services/hal.ts | 10 +++++----- apps/machine/src/services/lightning.ts | 10 +++++----- apps/machine/src/stores/atm.ts | 6 +++--- apps/machine/src/views/IdleView.vue | 2 +- apps/machine/vite.config.ts | 4 ++-- nix/mkAtmApp.nix | 14 +++++++------- packages/cashu/package.json | 2 +- packages/cashu/src/__tests__/index.test.ts | 2 +- packages/cashu/src/index.ts | 2 +- packages/clink/package.json | 4 ++-- packages/clink/src/client.ts | 4 ++-- packages/clink/src/index.ts | 4 ++-- packages/hal/package.json | 2 +- packages/hal/src/index.ts | 4 ++-- packages/lightning/package.json | 6 +++--- packages/lightning/src/client.ts | 6 +++--- packages/lightning/src/index.ts | 6 +++--- packages/nostr-client/package-lock.json | 4 ++-- packages/nostr-client/package.json | 2 +- packages/nostr-client/src/index.ts | 4 ++-- packages/state-machine/package.json | 2 +- packages/state-machine/src/index.ts | 4 ++-- packages/ui-shared/package.json | 2 +- packages/ui-shared/src/__tests__/index.test.ts | 2 +- packages/ui-shared/src/index.ts | 2 +- pnpm-lock.yaml | 16 ++++++++-------- tsconfig.json | 14 +++++++------- 32 files changed, 84 insertions(+), 84 deletions(-) diff --git a/apps/machine/electron/fund-atm.ts b/apps/machine/electron/fund-atm.ts index 3b94967..f184a02 100644 --- a/apps/machine/electron/fund-atm.ts +++ b/apps/machine/electron/fund-atm.ts @@ -13,8 +13,8 @@ */ import { readFileSync } from 'node:fs' -import { NostrClient, loadIdentityFromHex } from '@lamassu/nostr-client' -import { LightningPubClient } from '@lamassu/lightning' +import { NostrClient, loadIdentityFromHex } from '@bitSpire/nostr-client' +import { LightningPubClient } from '@bitSpire/lightning' // @ts-ignore — qrcode is a transitive dep (via qrcode.vue), no types needed import QRCode from 'qrcode' diff --git a/apps/machine/electron/hal-service.ts b/apps/machine/electron/hal-service.ts index d4c6ccb..90c57d4 100644 --- a/apps/machine/electron/hal-service.ts +++ b/apps/machine/electron/hal-service.ts @@ -1,12 +1,12 @@ /** * HAL Service for Electron Main Process * - * Bridges @lamassu/hal hardware drivers to IPC-friendly interfaces. + * Bridges @bitSpire/hal hardware drivers to IPC-friendly interfaces. * This file is compiled by electron/tsconfig.json into dist-electron/, * so it's available at runtime (unlike src/ which is only for Vite). */ -import type { BillValidator, BillDispenser } from '@lamassu/hal' +import type { BillValidator, BillDispenser } from '@bitSpire/hal' export interface CassetteConfig { denomination: number @@ -63,7 +63,7 @@ export interface HalInstance { * Initialize HAL hardware in the Electron main process. */ export async function initializeHal(config: HalConfig): Promise { - const hal = await import('@lamassu/hal') + const hal = await import('@bitSpire/hal') const { validator: valConfig, dispenser: dispConfig } = config diff --git a/apps/machine/package.json b/apps/machine/package.json index 4099ef5..d1ccb02 100644 --- a/apps/machine/package.json +++ b/apps/machine/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/machine", + "name": "@bitSpire/machine", "version": "0.1.0", "description": "Electron ATM kiosk application with Vue 3 UI", "author": { @@ -21,11 +21,11 @@ "lint": "eslint src/" }, "dependencies": { - "@lamassu/clink": "workspace:*", - "@lamassu/hal": "workspace:*", - "@lamassu/lightning": "workspace:*", - "@lamassu/nostr-client": "workspace:*", - "@lamassu/state-machine": "workspace:*", + "@bitSpire/clink": "workspace:*", + "@bitSpire/hal": "workspace:*", + "@bitSpire/lightning": "workspace:*", + "@bitSpire/nostr-client": "workspace:*", + "@bitSpire/state-machine": "workspace:*", "@scure/base": "^1.2.0", "@tanstack/vue-table": "^8.21.3", "@vueuse/core": "^14.1.0", diff --git a/apps/machine/src/App.vue b/apps/machine/src/App.vue index 1012f72..5d6ea9e 100644 --- a/apps/machine/src/App.vue +++ b/apps/machine/src/App.vue @@ -46,7 +46,7 @@ onMounted(async () => { // Publish maintenance beacon — minimal Nostr connection only (no Lightning.Pub) try { const { NostrClient, loadIdentityFromHex, createSignedEvent } = await import( - '@lamassu/nostr-client' + '@bitSpire/nostr-client' ) const secrets = isElectron ? await window.electronAPI?.getAtmSecrets() : null const privKey = secrets?.atmPrivateKey || import.meta.env.VITE_ATM_PRIVATE_KEY diff --git a/apps/machine/src/composables/useAvailabilityBroadcast.ts b/apps/machine/src/composables/useAvailabilityBroadcast.ts index fa7bdd9..b36f6f2 100644 --- a/apps/machine/src/composables/useAvailabilityBroadcast.ts +++ b/apps/machine/src/composables/useAvailabilityBroadcast.ts @@ -13,8 +13,8 @@ import { watch, type Ref } from 'vue' import { useDebounceFn } from '@vueuse/core' -import type { NostrClient, MachineIdentity } from '@lamassu/nostr-client' -import { createSignedEvent } from '@lamassu/nostr-client' +import type { NostrClient, MachineIdentity } from '@bitSpire/nostr-client' +import { createSignedEvent } from '@bitSpire/nostr-client' type CashLevel = 'none' | 'low' | 'good' | 'full' diff --git a/apps/machine/src/services/hal.ts b/apps/machine/src/services/hal.ts index 129739d..1e20cc3 100644 --- a/apps/machine/src/services/hal.ts +++ b/apps/machine/src/services/hal.ts @@ -1,20 +1,20 @@ /** * HAL Service Wrapper * - * Bridges @lamassu/hal hardware drivers (EventEmitter-based) to the + * Bridges @bitSpire/hal hardware drivers (EventEmitter-based) to the * ATMServices interface expected by the XState state machine. * * Validator events are pushed into the state machine via callbacks. * Dispenser operations are exposed as Promise-based ATMServices methods. * - * NOTE: This module uses dynamic imports for @lamassu/hal because it + * NOTE: This module uses dynamic imports for @bitSpire/hal because it * requires Node.js APIs (serialport, node:events) that are unavailable * in the browser. It will only work in Electron's main process or * Node.js environments. In the browser, initializeHalServices() will * throw with a clear error message. */ -import type { ATMServices } from '@lamassu/state-machine' +import type { ATMServices } from '@bitSpire/state-machine' export interface CassetteConfig { denomination: number @@ -73,9 +73,9 @@ export interface HalServices { */ export async function initializeHalServices(config: HalConfig): Promise { // Dynamic import - only works in Node.js (Electron main process) - const hal = await import('@lamassu/hal').catch(() => { + const hal = await import('@bitSpire/hal').catch(() => { throw new Error( - '[HAL] @lamassu/hal requires Node.js (serialport, node:events). ' + + '[HAL] @bitSpire/hal requires Node.js (serialport, node:events). ' + 'Run in Electron main process, not the browser.' ) }) diff --git a/apps/machine/src/services/lightning.ts b/apps/machine/src/services/lightning.ts index f876227..8090b01 100644 --- a/apps/machine/src/services/lightning.ts +++ b/apps/machine/src/services/lightning.ts @@ -21,9 +21,9 @@ import { createSignedEvent, type MachineIdentity, type Event as NostrEvent, -} from '@lamassu/nostr-client' +} from '@bitSpire/nostr-client' import { verifyEvent } from 'nostr-tools' -import { LightningPubClient } from '@lamassu/lightning' +import { LightningPubClient } from '@bitSpire/lightning' import { CLINKClient, createOfferSuccess, @@ -31,9 +31,9 @@ import { OfferErrorCode, encodeNdebit, formatNdebitUri, -} from '@lamassu/clink' -import type { OfferRequest, ManagementRequest, ManagementResponse } from '@lamassu/clink' -import type { ATMServices, ATMContext } from '@lamassu/state-machine' +} from '@bitSpire/clink' +import type { OfferRequest, ManagementRequest, ManagementResponse } from '@bitSpire/clink' +import type { ATMServices, ATMContext } from '@bitSpire/state-machine' // Import Electron types import type {} from '@/types/electron' diff --git a/apps/machine/src/stores/atm.ts b/apps/machine/src/stores/atm.ts index e0bc42b..90644d6 100644 --- a/apps/machine/src/stores/atm.ts +++ b/apps/machine/src/stores/atm.ts @@ -8,18 +8,18 @@ import { type ActorRefFrom, type SnapshotFrom, type ATMMachine, -} from '@lamassu/state-machine' +} from '@bitSpire/state-machine' import { initializeLightningServices, fetchBtcPrice } from '@/services/lightning' import type { HalConfig, HalServices } from '@/services/hal' import type { MachineModel } from '@/config' -import type { LightningPubClient } from '@lamassu/lightning' +import type { LightningPubClient } from '@bitSpire/lightning' import { isMachineDispenseRequest, GFYCode, type CLINKClient, type ManagementRequest, type ManagementResponse, -} from '@lamassu/clink' +} from '@bitSpire/clink' import type { TransactionRecord } from '@/types/state' import { useAvailabilityBroadcast } from '@/composables/useAvailabilityBroadcast' diff --git a/apps/machine/src/views/IdleView.vue b/apps/machine/src/views/IdleView.vue index e07c55b..0e3b997 100644 --- a/apps/machine/src/views/IdleView.vue +++ b/apps/machine/src/views/IdleView.vue @@ -3,7 +3,7 @@ import { ref, computed, watch } from 'vue' import { useRouter } from 'vue-router' import { nip19 } from 'nostr-tools' import { useAtmStore } from '@/stores/atm' -import { initialContext } from '@lamassu/state-machine' +import { initialContext } from '@bitSpire/state-machine' import { Button } from '@/components/ui/button' import { Badge } from '@/components/ui/badge' import BitcoinIcon from '@/components/BitcoinIcon.vue' diff --git a/apps/machine/vite.config.ts b/apps/machine/vite.config.ts index dbd0ef1..6ba9f9b 100644 --- a/apps/machine/vite.config.ts +++ b/apps/machine/vite.config.ts @@ -25,9 +25,9 @@ export default defineConfig({ // Sourcemaps for debugging sourcemap: process.env.NODE_ENV === 'development', rollupOptions: { - // @lamassu/hal uses Node.js APIs (serialport, node:events) and will only + // @bitSpire/hal uses Node.js APIs (serialport, node:events) and will only // run in Electron's main process. Exclude from renderer bundle. - external: ['@lamassu/hal'], + external: ['@bitSpire/hal'], }, }, // Prevent Vite from clearing the screen (useful when running with Electron) diff --git a/nix/mkAtmApp.nix b/nix/mkAtmApp.nix index 06b9b17..49b54a0 100644 --- a/nix/mkAtmApp.nix +++ b/nix/mkAtmApp.nix @@ -29,9 +29,9 @@ pkgs.stdenv.mkDerivation (finalAttrs: { inherit src; - # Filter to only the workspace packages needed for @lamassu/machine + # Filter to only the workspace packages needed for @bitSpire/machine pnpmWorkspaces = [ - "@lamassu/machine..." # "..." suffix = include transitive workspace deps + "@bitSpire/machine..." # "..." suffix = include transitive workspace deps ]; pnpmDeps = pkgs-unstable.fetchPnpmDeps { @@ -81,7 +81,7 @@ pkgs.stdenv.mkDerivation (finalAttrs: { popd # Build the Electron app (turbo builds all workspace deps + app) - pnpm --filter="@lamassu/machine..." build + pnpm --filter="@bitSpire/machine..." build runHook postBuild ''; @@ -129,10 +129,10 @@ pkgs.stdenv.mkDerivation (finalAttrs: { copy_pnpm_pkg bindings $out/node_modules/bindings copy_pnpm_pkg file-uri-to-path $out/node_modules/file-uri-to-path - # @lamassu/hal (workspace package, dynamically imported for hardware access) - mkdir -p $out/node_modules/@lamassu/hal/dist - cp -rL packages/hal/dist/* $out/node_modules/@lamassu/hal/dist/ - cp packages/hal/package.json $out/node_modules/@lamassu/hal/package.json + # @bitSpire/hal (workspace package, dynamically imported for hardware access) + mkdir -p $out/node_modules/@bitSpire/hal/dist + cp -rL packages/hal/dist/* $out/node_modules/@bitSpire/hal/dist/ + cp packages/hal/package.json $out/node_modules/@bitSpire/hal/package.json # serialport (native RS232 driver chain) copy_pnpm_pkg serialport $out/node_modules/serialport diff --git a/packages/cashu/package.json b/packages/cashu/package.json index f6289bc..7bd23a8 100644 --- a/packages/cashu/package.json +++ b/packages/cashu/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/cashu", + "name": "@bitSpire/cashu", "version": "0.1.0", "description": "Cashu ecash integration for offline ATM operation", "type": "module", diff --git a/packages/cashu/src/__tests__/index.test.ts b/packages/cashu/src/__tests__/index.test.ts index 6b40426..50dd9dd 100644 --- a/packages/cashu/src/__tests__/index.test.ts +++ b/packages/cashu/src/__tests__/index.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect } from 'vitest' import { version } from '../index.js' -describe('@lamassu/cashu', () => { +describe('@bitSpire/cashu', () => { describe('exports', () => { it('should export version', () => { expect(version).toBe('0.1.0') diff --git a/packages/cashu/src/index.ts b/packages/cashu/src/index.ts index c9dec23..63a445a 100644 --- a/packages/cashu/src/index.ts +++ b/packages/cashu/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/cashu + * @bitSpire/cashu * * Cashu ecash integration for offline ATM operation. * diff --git a/packages/clink/package.json b/packages/clink/package.json index 3450146..46d1bca 100644 --- a/packages/clink/package.json +++ b/packages/clink/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/clink", + "name": "@bitSpire/clink", "version": "0.1.0", "description": "CLINK protocol implementation for Nostr-native Lightning payments", "type": "module", @@ -20,7 +20,7 @@ "lint": "eslint src/" }, "dependencies": { - "@lamassu/nostr-client": "workspace:*", + "@bitSpire/nostr-client": "workspace:*", "@scure/base": "^1.2.0", "nostr-tools": "^2.10.0" }, diff --git a/packages/clink/src/client.ts b/packages/clink/src/client.ts index afd6912..333461f 100644 --- a/packages/clink/src/client.ts +++ b/packages/clink/src/client.ts @@ -12,8 +12,8 @@ import type { Event, UnsignedEvent } from 'nostr-tools' import { finalizeEvent } from 'nostr-tools' -import type { MachineIdentity, NostrClient } from '@lamassu/nostr-client' -import { encryptContentV2, decryptContentV2 } from '@lamassu/nostr-client' +import type { MachineIdentity, NostrClient } from '@bitSpire/nostr-client' +import { encryptContentV2, decryptContentV2 } from '@bitSpire/nostr-client' /** CLINK protocol version tag (mandatory per CLINK spec) */ const CLINK_VERSION_TAG: [string, string] = ['clink_version', '1'] diff --git a/packages/clink/src/index.ts b/packages/clink/src/index.ts index 3d499d9..e76e413 100644 --- a/packages/clink/src/index.ts +++ b/packages/clink/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/clink + * @bitSpire/clink * * CLINK protocol implementation for Nostr-native Lightning payments. * @@ -14,7 +14,7 @@ * * @example * ```typescript - * import { CLINKClient, encodeNoffer, createOfferSuccess } from '@lamassu/clink' + * import { CLINKClient, encodeNoffer, createOfferSuccess } from '@bitSpire/clink' * * // Create a client * const clink = new CLINKClient({ diff --git a/packages/hal/package.json b/packages/hal/package.json index a60ac54..d4d8e9b 100644 --- a/packages/hal/package.json +++ b/packages/hal/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/hal", + "name": "@bitSpire/hal", "version": "0.1.0", "description": "Hardware Abstraction Layer for Lamassu ATM devices", "type": "module", diff --git a/packages/hal/src/index.ts b/packages/hal/src/index.ts index abc1bea..11db91c 100644 --- a/packages/hal/src/index.ts +++ b/packages/hal/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/hal - Hardware Abstraction Layer + * @bitSpire/hal - Hardware Abstraction Layer * * Provides drivers for Lamassu ATM hardware devices: * - Bill validators (JCM iVIZION via ID003 protocol) @@ -7,7 +7,7 @@ * * @example * ```typescript - * import { createValidator, createDispenser } from '@lamassu/hal' + * import { createValidator, createDispenser } from '@bitSpire/hal' * * // Create a bill validator * const validator = createValidator('id003', { diff --git a/packages/lightning/package.json b/packages/lightning/package.json index 7f22f37..ed4e7a4 100644 --- a/packages/lightning/package.json +++ b/packages/lightning/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/lightning", + "name": "@bitSpire/lightning", "version": "0.1.0", "description": "Lightning.Pub client for Nostr-native Lightning operations", "type": "module", @@ -20,8 +20,8 @@ "lint": "eslint src/" }, "dependencies": { - "@lamassu/nostr-client": "workspace:*", - "@lamassu/clink": "workspace:*", + "@bitSpire/nostr-client": "workspace:*", + "@bitSpire/clink": "workspace:*", "nostr-tools": "^2.10.0" }, "devDependencies": { diff --git a/packages/lightning/src/client.ts b/packages/lightning/src/client.ts index 3178f90..d19c0c8 100644 --- a/packages/lightning/src/client.ts +++ b/packages/lightning/src/client.ts @@ -11,13 +11,13 @@ * - CLINK protocol support (kinds 21001-21003) * * This client handles the RPC layer. For CLINK payments, - * use @lamassu/clink. + * use @bitSpire/clink. */ import type { Event, UnsignedEvent } from 'nostr-tools' import { finalizeEvent } from 'nostr-tools' -import type { MachineIdentity, NostrClient } from '@lamassu/nostr-client' -import { encryptContent, decryptJSON } from '@lamassu/nostr-client' +import type { MachineIdentity, NostrClient } from '@bitSpire/nostr-client' +import { encryptContent, decryptJSON } from '@bitSpire/nostr-client' import { LightningPubEventKind, type LightningPubConfig, diff --git a/packages/lightning/src/index.ts b/packages/lightning/src/index.ts index 1f56645..a253d8f 100644 --- a/packages/lightning/src/index.ts +++ b/packages/lightning/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/lightning + * @bitSpire/lightning * * Lightning.Pub client for Nostr-native Lightning operations. * @@ -11,11 +11,11 @@ * - Exchange rate fetching * * For CLINK payment operations (offers, debits, management), - * use @lamassu/clink instead. + * use @bitSpire/clink instead. * * @example * ```typescript - * import { LightningPubClient } from '@lamassu/lightning' + * import { LightningPubClient } from '@bitSpire/lightning' * * const client = new LightningPubClient({ * accountPubkey: 'hex-pubkey...', diff --git a/packages/nostr-client/package-lock.json b/packages/nostr-client/package-lock.json index a918fe1..bc58f56 100644 --- a/packages/nostr-client/package-lock.json +++ b/packages/nostr-client/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@lamassu/nostr-client", + "name": "@bitSpire/nostr-client", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@lamassu/nostr-client", + "name": "@bitSpire/nostr-client", "version": "0.1.0", "dependencies": { "@noble/curves": "^2.0.1", diff --git a/packages/nostr-client/package.json b/packages/nostr-client/package.json index 5dbde98..de362ce 100644 --- a/packages/nostr-client/package.json +++ b/packages/nostr-client/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/nostr-client", + "name": "@bitSpire/nostr-client", "version": "0.1.0", "description": "Nostr client library for Lamassu ATM", "type": "module", diff --git a/packages/nostr-client/src/index.ts b/packages/nostr-client/src/index.ts index dfd0e08..417f666 100644 --- a/packages/nostr-client/src/index.ts +++ b/packages/nostr-client/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/nostr-client + * @bitSpire/nostr-client * * Nostr client library for Lamassu ATM communication. * @@ -16,7 +16,7 @@ * NostrClient, * generateIdentity, * createMachineStatusEvent - * } from '@lamassu/nostr-client' + * } from '@bitSpire/nostr-client' * * // Create or load identity * const identity = generateIdentity() diff --git a/packages/state-machine/package.json b/packages/state-machine/package.json index 6a8e483..e6a2e3f 100644 --- a/packages/state-machine/package.json +++ b/packages/state-machine/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/state-machine", + "name": "@bitSpire/state-machine", "version": "0.1.0", "description": "XState v5 state machine for ATM transaction flows", "type": "module", diff --git a/packages/state-machine/src/index.ts b/packages/state-machine/src/index.ts index a90c163..a72e082 100644 --- a/packages/state-machine/src/index.ts +++ b/packages/state-machine/src/index.ts @@ -1,11 +1,11 @@ /** - * @lamassu/state-machine + * @bitSpire/state-machine * * XState v5 state machine for ATM transaction flows. * * @example * ```typescript - * import { createATMMachine, createActor } from '@lamassu/state-machine' + * import { createATMMachine, createActor } from '@bitSpire/state-machine' * import { createActor } from 'xstate' * * const machine = createATMMachine({ diff --git a/packages/ui-shared/package.json b/packages/ui-shared/package.json index 7122e98..c5acb10 100644 --- a/packages/ui-shared/package.json +++ b/packages/ui-shared/package.json @@ -1,5 +1,5 @@ { - "name": "@lamassu/ui-shared", + "name": "@bitSpire/ui-shared", "version": "0.1.0", "description": "Shared Vue 3 components for Lamassu ATM and dashboard", "type": "module", diff --git a/packages/ui-shared/src/__tests__/index.test.ts b/packages/ui-shared/src/__tests__/index.test.ts index 68abb49..6444759 100644 --- a/packages/ui-shared/src/__tests__/index.test.ts +++ b/packages/ui-shared/src/__tests__/index.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect } from 'vitest' import { version } from '../index.js' -describe('@lamassu/ui-shared', () => { +describe('@bitSpire/ui-shared', () => { describe('exports', () => { it('should export version', () => { expect(version).toBe('0.1.0') diff --git a/packages/ui-shared/src/index.ts b/packages/ui-shared/src/index.ts index e966234..ea441f0 100644 --- a/packages/ui-shared/src/index.ts +++ b/packages/ui-shared/src/index.ts @@ -1,5 +1,5 @@ /** - * @lamassu/ui-shared + * @bitSpire/ui-shared * * Shared Vue 3 components for Lamassu ATM and dashboard. * This package will contain common UI components like: diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb9c202..79f2308 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,19 +23,19 @@ importers: apps/machine: dependencies: - '@lamassu/clink': + '@bitSpire/clink': specifier: workspace:* version: link:../../packages/clink - '@lamassu/hal': + '@bitSpire/hal': specifier: workspace:* version: link:../../packages/hal - '@lamassu/lightning': + '@bitSpire/lightning': specifier: workspace:* version: link:../../packages/lightning - '@lamassu/nostr-client': + '@bitSpire/nostr-client': specifier: workspace:* version: link:../../packages/nostr-client - '@lamassu/state-machine': + '@bitSpire/state-machine': specifier: workspace:* version: link:../../packages/state-machine '@scure/base': @@ -142,7 +142,7 @@ importers: packages/clink: dependencies: - '@lamassu/nostr-client': + '@bitSpire/nostr-client': specifier: workspace:* version: link:../nostr-client '@scure/base': @@ -186,10 +186,10 @@ importers: packages/lightning: dependencies: - '@lamassu/clink': + '@bitSpire/clink': specifier: workspace:* version: link:../clink - '@lamassu/nostr-client': + '@bitSpire/nostr-client': specifier: workspace:* version: link:../nostr-client nostr-tools: diff --git a/tsconfig.json b/tsconfig.json index f0298f0..94775f3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"]