From 1bb35220e97938f3b3a7e3e4ec5fd52807227b31 Mon Sep 17 00:00:00 2001 From: Padreug Date: Wed, 13 May 2026 12:29:08 +0200 Subject: [PATCH] =?UTF-8?q?refactor(rename):=20root=20+=20flake=20output?= =?UTF-8?q?=20names=20=E2=86=92=20bitSpire/bitspire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three root-level identifier renames: - Root package.json `name`: lamassu-next → bitSpire - flake.nix nixosConfigurations.lamassu-live-*: kept (legacy aliases) and ADDED bitSpire-live-* alongside. Both work. Drop the lamassu-* aliases at the final cutover once nothing references them. - nix/mkAtmApp.nix `pname`: lamassu-atm-app → bitspire-atm-app (lowercase to match nix package naming conventions; the Electron app's externally-facing names get their own commit). What's NOT renamed here (per the plan): - Hardware-named outputs (douro, tejo, sintra, batm3) — those are physical product names. - nixosConfigurations.{douro,tejo,sintra,batm3} ergonomic aliases — same reason. - nixosModules.lamassu-atm + its imported file — that's the systemd service, deferred to 2d. - apps/machine/package.json appId/productName — Electron identity, deferred to 2c. Verified: pnpm typecheck clean (12/12 cached) nix eval .#nixosConfigurations.bitSpire-live-sintra ✓ nix eval .#packages.x86_64-linux.atm-app-sintra.pname ✓ → "bitspire-atm-app" Co-Authored-By: Claude Opus 4.7 (1M context) --- flake.nix | 9 ++++++++- nix/mkAtmApp.nix | 2 +- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 371185f..54cac78 100644 --- a/flake.nix +++ b/flake.nix @@ -261,7 +261,14 @@ sintra = mkLiveConfig "sintra"; batm3 = mkLiveConfig "batm3"; - # Backwards compat + # Backwards-compat aliases. Renamed lamassu-live-* → bitSpire-live-* + # for the brand transition; both styles available until callers + # (CI / scripts / docs) catch up. Drop the lamassu-* names once + # nothing references them. + bitSpire-live-douro = mkLiveConfig "douro"; + bitSpire-live-tejo = mkLiveConfig "tejo"; + bitSpire-live-sintra = mkLiveConfig "sintra"; + bitSpire-live = mkLiveConfig "douro"; lamassu-live-douro = mkLiveConfig "douro"; lamassu-live-tejo = mkLiveConfig "tejo"; lamassu-live-sintra = mkLiveConfig "sintra"; diff --git a/nix/mkAtmApp.nix b/nix/mkAtmApp.nix index 49b54a0..4efb848 100644 --- a/nix/mkAtmApp.nix +++ b/nix/mkAtmApp.nix @@ -24,7 +24,7 @@ let }; in pkgs.stdenv.mkDerivation (finalAttrs: { - pname = "lamassu-atm-app"; + pname = "bitspire-atm-app"; version = "0.1.0"; inherit src; diff --git a/package.json b/package.json index f90bb9e..1cf98b1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "lamassu-next", + "name": "bitSpire", "version": "0.1.0", "private": true, "description": "Nostr-native Lightning ATM - KYC-free, open-source",