alby-hub/frontend/package.json

83 lines
3 KiB
JSON
Raw Normal View History

2023-12-14 17:22:47 +05:30
{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev:http": "yarn prepare:http && vite --force",
"dev:wails": "yarn prepare:wails && vite",
2024-01-21 13:08:16 +01:00
"build:http": "yarn prepare:http && tsc && vite build",
"build:wails": "yarn prepare:wails && tsc && vite build",
"prepare:wails": "shx cp ./platform_specific/wails/src/utils/*.ts src/utils/",
"prepare:http": "shx cp ./platform_specific/http/src/utils/*.ts src/utils/",
"lint": "yarn lint:js && yarn tsc:compile && yarn format:fix --report-unused-disable-directives --max-warnings 0",
"lint:js": "eslint src --max-warnings 0",
"lint:js:fix": "eslint src --fix",
"tsc:compile": "tsc --noEmit",
2024-06-06 14:03:43 +05:30
"format": "prettier --check '**/*.(md|json)' 'src/**/*.(js|ts|tsx)' '!src/assets/**/*.json' 'platform_specific/**/*.ts'",
"format:fix": "prettier --loglevel silent --write '**/*.(md|json)' 'src/**/*.(js|ts|tsx)' '!src/assets/**/*.json' 'platform_specific/**/*.ts'",
"preview": "vite preview",
"prepare": "cd .. && husky frontend/.husky"
2023-12-14 17:22:47 +05:30
},
"dependencies": {
"@base-ui/react": "^1.5.0",
"@fontsource-variable/figtree": "^5.3.0",
"@fontsource-variable/inter": "^5.3.0",
"@getalby/lightning-tools": "^8.1.0",
"@getalby/sdk": "^8.0.3",
"@scure/bip39": "^2.2.0",
"@stepperize/react": "^6.1.0",
feat: add swap out and onchain withdraw to send flow (#1582) * chore: remove balance card and fix layout * chore: change send screen styling * feat: add onchain send * feat: send exact amount in swap outs * chore: address feedback * chore: change swap transaction title and add to address * chore: refactor zero amount screen and remove confirmation * chore: add x icon to recipient in lnurl pay * chore: split onchain send page into separate components * fix: set headers and remove send layout * chore: show warning if balance is low * chore: change name to PendingPaymentAlert * chore: add increase balance warning on exceeding amount * chore: minor changes * chore: remove you'll be notified message * chore: add on-chain transactions alert on wallet page * chore: align sending and payment pending alerts * chore: make sure amount doesn't reset * fix: small onchain amount alert copy * chore: rename isSending to useExactReceiveAmount * chore: add mempool and anchor reserves alert to onchain send screen * chore: use spending alert consistently and remove red text * chore: add option to edit fee rate * fix: styling after tailwind upgrade * feat: add swap in and onchain deposit to receive flow (#1585) * chore: remove receive layout * feat: add onchain address to receive flow * feat: add receive screen to swap in and deposit bitcoin * chore: rename import to MIN_SWAP_AMOUNT * chore: add onchain button when alby account is disconnected * fix: link * chore: add OnchainAddressDisplay and use useSearchParams hook * fix: use actual swap limits from boltz api (#1598) * fix: create another invoice button * chore: use fee rate instead of network fee * fix: styling after tailwind upgrade * chore: rename swap fees to swap info * chore: use lottie loading component * chore: add mempool alert * chore: make swaps the default option for send/receive onchain --------- Co-authored-by: Roland Bewick <roland.bewick@gmail.com> * chore: consistently show fee rate in sat/vByte * chore: minor copy changes --------- Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-08-15 16:58:00 +05:30
"bitcoin-address-validation": "^3.0.0",
"class-variance-authority": "^0.7.1",
feat: upgrade to tailwind 4 (#1483) * feat: upgrade to tw4 * fix: migrate to tw-animate-css * fix: size utility * fix: format postcss config * fix: update dependencies * fix: upgrade shadcn components + radix * fix: vite plugin, upgrade components, style migration * fix: alert & alert usage * fix: themes, cleanup * fix: separate button sub-components * fix: button usage * fix: icon usage * fix: import * fix: remove default colors from html * fix: sidebar hint card * fix: default theme * fix: lint * fix: button usage * fix: card usage * fix: input with adornment * fix: low receiving capacity alert * fix: loading button * fix: sidebar hint layout * fix: alby connection card layout * fix: animations, cleanup * fix: circle progress * fix: cleanup * fix: update carousel component * fix: carousel docs * fix: touch tooltips * fix: button nesting * fix: package lock file * fix: alert dialog with button * fix: cleanup theme files * fix: react path * fix: alert layouts * fix: cleanup, fast reload * fix: update @getalby tool imports * feat: matrix theme + pro themes * fix: spacing * fix: new themes + pro * fix: format * fix: remove custom fonts * fix: add pointer cursor to buttons * fix: decrease card padding * fix: capitalize theme name in css * fix: alerts with buttons * fix: add touch provider * fix: remove obsolete margins + size defs * fix: add key to list item * fix: spacing on lightning message board widget * fix: dropdowns * fix: form layouts * fix: improved matrix theme * fix: use avatar colors from theme * fix: use cursor pointer on menu items * fix: isolated app drawdown import and form spacing * fix: sign message form spacing --------- Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-08-14 08:23:35 +02:00
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"compare-versions": "^6.1.1",
chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) * chore(frontend): upgrade shadcn/ui components for Tailwind v4 - Refresh vendored UI primitives from shadcn registry (radix-ui, lucide, etc.) - Fix components.json tailwind.config for Tailwind v4 CLI - Preserve Hub splits: buttonVariants, badgeVariants, hybrid tooltip + TouchProvider - Keep custom alert/badge variants; sonner uses document dark class - Remove duplicate use-mobile.ts (use use-mobile.tsx only) - Card keeps shadow-sm to match pre-change product default Made-with: Cursor * feat(frontend): alby theme polish and theme-aware hub logo - Alby: lighter primary gradient, 1px stroke, stacked focus ring - Alby: neutral gray palette; dark primary button label matches light - Hub logo: default/alby light & dark fills; mono for other themes - Figtree for alby; map tailwind font-sans via --app-font-sans - Link buttons: data-slot/data-variant for themed primary styles Made-with: Cursor * ci: fix fork pr macos builds in http and wails workflows Select Xcode.app for CGO on macOS so Wails WebKit compiles. Skip Apple signing/notarize/DMG when the PR head is a fork (no secrets); upload an unsigned zip for Wails fork PRs. Set fail-fast false on the HTTP build matrix so Linux jobs finish if macOS fails. Made-with: Cursor * ci: gate macos signing on workflow_call build-release input For workflow_call runs, require inputs.build-release for macOS signing. Fork PR logic unchanged. Made-with: Cursor * ci: revert macos workflow signing fixes Revert workflow_call gating and fork unsigned logic. Remove Xcode selection step added for CGO builds. Made-with: Cursor * fix: fallback font * fix: theme detection for sonner * fix: accent color for alby theme * fix: cleanup alby hub logo implementation * fix: revert external link change * fix: unify font loading * fix: hub logo coloring / inversion * fix: disable card shadows * fix: remove old radix deps * fix: stepper asChild * fix: not selector * fix: restore max-h-full on sheet to ensure full viewport height The shadcn upgrade dropped max-h-full from the right/left sheet variants, causing the sheet to not cover the full viewport height. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: René Aaron <rene@twentyuno.net> Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:05:54 +02:00
"date-fns": "^4.1.0",
"dayjs": "^1.11.20",
feat: upgrade to tailwind 4 (#1483) * feat: upgrade to tw4 * fix: migrate to tw-animate-css * fix: size utility * fix: format postcss config * fix: update dependencies * fix: upgrade shadcn components + radix * fix: vite plugin, upgrade components, style migration * fix: alert & alert usage * fix: themes, cleanup * fix: separate button sub-components * fix: button usage * fix: icon usage * fix: import * fix: remove default colors from html * fix: sidebar hint card * fix: default theme * fix: lint * fix: button usage * fix: card usage * fix: input with adornment * fix: low receiving capacity alert * fix: loading button * fix: sidebar hint layout * fix: alby connection card layout * fix: animations, cleanup * fix: circle progress * fix: cleanup * fix: update carousel component * fix: carousel docs * fix: touch tooltips * fix: button nesting * fix: package lock file * fix: alert dialog with button * fix: cleanup theme files * fix: react path * fix: alert layouts * fix: cleanup, fast reload * fix: update @getalby tool imports * feat: matrix theme + pro themes * fix: spacing * fix: new themes + pro * fix: format * fix: remove custom fonts * fix: add pointer cursor to buttons * fix: decrease card padding * fix: capitalize theme name in css * fix: alerts with buttons * fix: add touch provider * fix: remove obsolete margins + size defs * fix: add key to list item * fix: spacing on lightning message board widget * fix: dropdowns * fix: form layouts * fix: improved matrix theme * fix: use avatar colors from theme * fix: use cursor pointer on menu items * fix: isolated app drawdown import and form spacing * fix: sign message form spacing --------- Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-08-14 08:23:35 +02:00
"embla-carousel-react": "^8.6.0",
"lottie-react": "^2.4.1",
"lucide-react": "^1.28.0",
"qr-code-styling": "^1.9.2",
chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) * chore(frontend): upgrade shadcn/ui components for Tailwind v4 - Refresh vendored UI primitives from shadcn registry (radix-ui, lucide, etc.) - Fix components.json tailwind.config for Tailwind v4 CLI - Preserve Hub splits: buttonVariants, badgeVariants, hybrid tooltip + TouchProvider - Keep custom alert/badge variants; sonner uses document dark class - Remove duplicate use-mobile.ts (use use-mobile.tsx only) - Card keeps shadow-sm to match pre-change product default Made-with: Cursor * feat(frontend): alby theme polish and theme-aware hub logo - Alby: lighter primary gradient, 1px stroke, stacked focus ring - Alby: neutral gray palette; dark primary button label matches light - Hub logo: default/alby light & dark fills; mono for other themes - Figtree for alby; map tailwind font-sans via --app-font-sans - Link buttons: data-slot/data-variant for themed primary styles Made-with: Cursor * ci: fix fork pr macos builds in http and wails workflows Select Xcode.app for CGO on macOS so Wails WebKit compiles. Skip Apple signing/notarize/DMG when the PR head is a fork (no secrets); upload an unsigned zip for Wails fork PRs. Set fail-fast false on the HTTP build matrix so Linux jobs finish if macOS fails. Made-with: Cursor * ci: gate macos signing on workflow_call build-release input For workflow_call runs, require inputs.build-release for macOS signing. Fork PR logic unchanged. Made-with: Cursor * ci: revert macos workflow signing fixes Revert workflow_call gating and fork unsigned logic. Remove Xcode selection step added for CGO builds. Made-with: Cursor * fix: fallback font * fix: theme detection for sonner * fix: accent color for alby theme * fix: cleanup alby hub logo implementation * fix: revert external link change * fix: unify font loading * fix: hub logo coloring / inversion * fix: disable card shadows * fix: remove old radix deps * fix: stepper asChild * fix: not selector * fix: restore max-h-full on sheet to ensure full viewport height The shadcn upgrade dropped max-h-full from the right/left sheet variants, causing the sheet to not cover the full viewport height. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: René Aaron <rene@twentyuno.net> Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:05:54 +02:00
"radix-ui": "^1.4.3",
"react": "^19.2.6",
chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) * chore(frontend): upgrade shadcn/ui components for Tailwind v4 - Refresh vendored UI primitives from shadcn registry (radix-ui, lucide, etc.) - Fix components.json tailwind.config for Tailwind v4 CLI - Preserve Hub splits: buttonVariants, badgeVariants, hybrid tooltip + TouchProvider - Keep custom alert/badge variants; sonner uses document dark class - Remove duplicate use-mobile.ts (use use-mobile.tsx only) - Card keeps shadow-sm to match pre-change product default Made-with: Cursor * feat(frontend): alby theme polish and theme-aware hub logo - Alby: lighter primary gradient, 1px stroke, stacked focus ring - Alby: neutral gray palette; dark primary button label matches light - Hub logo: default/alby light & dark fills; mono for other themes - Figtree for alby; map tailwind font-sans via --app-font-sans - Link buttons: data-slot/data-variant for themed primary styles Made-with: Cursor * ci: fix fork pr macos builds in http and wails workflows Select Xcode.app for CGO on macOS so Wails WebKit compiles. Skip Apple signing/notarize/DMG when the PR head is a fork (no secrets); upload an unsigned zip for Wails fork PRs. Set fail-fast false on the HTTP build matrix so Linux jobs finish if macOS fails. Made-with: Cursor * ci: gate macos signing on workflow_call build-release input For workflow_call runs, require inputs.build-release for macOS signing. Fork PR logic unchanged. Made-with: Cursor * ci: revert macos workflow signing fixes Revert workflow_call gating and fork unsigned logic. Remove Xcode selection step added for CGO builds. Made-with: Cursor * fix: fallback font * fix: theme detection for sonner * fix: accent color for alby theme * fix: cleanup alby hub logo implementation * fix: revert external link change * fix: unify font loading * fix: hub logo coloring / inversion * fix: disable card shadows * fix: remove old radix deps * fix: stepper asChild * fix: not selector * fix: restore max-h-full on sheet to ensure full viewport height The shadcn upgrade dropped max-h-full from the right/left sheet variants, causing the sheet to not cover the full viewport height. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: René Aaron <rene@twentyuno.net> Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:05:54 +02:00
"react-day-picker": "^9.14.0",
"react-dom": "^19.2.6",
"react-router": "^7.18.2",
"sonner": "^2.0.7",
"swr": "^2.4.1",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
feat: upgrade to tailwind 4 (#1483) * feat: upgrade to tw4 * fix: migrate to tw-animate-css * fix: size utility * fix: format postcss config * fix: update dependencies * fix: upgrade shadcn components + radix * fix: vite plugin, upgrade components, style migration * fix: alert & alert usage * fix: themes, cleanup * fix: separate button sub-components * fix: button usage * fix: icon usage * fix: import * fix: remove default colors from html * fix: sidebar hint card * fix: default theme * fix: lint * fix: button usage * fix: card usage * fix: input with adornment * fix: low receiving capacity alert * fix: loading button * fix: sidebar hint layout * fix: alby connection card layout * fix: animations, cleanup * fix: circle progress * fix: cleanup * fix: update carousel component * fix: carousel docs * fix: touch tooltips * fix: button nesting * fix: package lock file * fix: alert dialog with button * fix: cleanup theme files * fix: react path * fix: alert layouts * fix: cleanup, fast reload * fix: update @getalby tool imports * feat: matrix theme + pro themes * fix: spacing * fix: new themes + pro * fix: format * fix: remove custom fonts * fix: add pointer cursor to buttons * fix: decrease card padding * fix: capitalize theme name in css * fix: alerts with buttons * fix: add touch provider * fix: remove obsolete margins + size defs * fix: add key to list item * fix: spacing on lightning message board widget * fix: dropdowns * fix: form layouts * fix: improved matrix theme * fix: use avatar colors from theme * fix: use cursor pointer on menu items * fix: isolated app drawdown import and form spacing * fix: sign message form spacing --------- Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-08-14 08:23:35 +02:00
"vaul": "^1.1.2",
"zustand": "^5.0.12"
2023-12-14 17:22:47 +05:30
},
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^21.2.0",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
2023-12-20 14:38:24 +05:30
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.4",
"@types/node": "^25.9.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react-swc": "^4.3.1",
"eslint": "^10.4.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"husky": "^9.0.11",
"lint-staged": "^16.4.0",
"prettier": "3.8.3",
"shx": "^0.4.0",
"tailwindcss": "^4.3.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.61.0",
"vite": "^8.2.1",
"vite-plugin-pwa": "^1.3.0"
chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) * chore(frontend): upgrade shadcn/ui components for Tailwind v4 - Refresh vendored UI primitives from shadcn registry (radix-ui, lucide, etc.) - Fix components.json tailwind.config for Tailwind v4 CLI - Preserve Hub splits: buttonVariants, badgeVariants, hybrid tooltip + TouchProvider - Keep custom alert/badge variants; sonner uses document dark class - Remove duplicate use-mobile.ts (use use-mobile.tsx only) - Card keeps shadow-sm to match pre-change product default Made-with: Cursor * feat(frontend): alby theme polish and theme-aware hub logo - Alby: lighter primary gradient, 1px stroke, stacked focus ring - Alby: neutral gray palette; dark primary button label matches light - Hub logo: default/alby light & dark fills; mono for other themes - Figtree for alby; map tailwind font-sans via --app-font-sans - Link buttons: data-slot/data-variant for themed primary styles Made-with: Cursor * ci: fix fork pr macos builds in http and wails workflows Select Xcode.app for CGO on macOS so Wails WebKit compiles. Skip Apple signing/notarize/DMG when the PR head is a fork (no secrets); upload an unsigned zip for Wails fork PRs. Set fail-fast false on the HTTP build matrix so Linux jobs finish if macOS fails. Made-with: Cursor * ci: gate macos signing on workflow_call build-release input For workflow_call runs, require inputs.build-release for macOS signing. Fork PR logic unchanged. Made-with: Cursor * ci: revert macos workflow signing fixes Revert workflow_call gating and fork unsigned logic. Remove Xcode selection step added for CGO builds. Made-with: Cursor * fix: fallback font * fix: theme detection for sonner * fix: accent color for alby theme * fix: cleanup alby hub logo implementation * fix: revert external link change * fix: unify font loading * fix: hub logo coloring / inversion * fix: disable card shadows * fix: remove old radix deps * fix: stepper asChild * fix: not selector * fix: restore max-h-full on sheet to ensure full viewport height The shadcn upgrade dropped max-h-full from the right/left sheet variants, causing the sheet to not cover the full viewport height. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: René Aaron <rene@twentyuno.net> Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:05:54 +02:00
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}