Files
ui/pkgs/shop/package.json
zeekayandGitHub 806fc0f0df decouple @hanzogui, standardize on 'pkgs/', etc (#228)
* refactor: decouple @hanzo/ui from hanzogui

  Make @hanzo/ui shadcn-only — no hanzogui/Tamagui coupling.

  - remove primitives/bases (gui/admin/svelte/vue) re-exports
  - drop @hanzogui peerDependencies + peerDependenciesMeta entries
  - add check-no-hanzogui guard, wired into build
  - fix latent NodeJS.Timeout types to keep the build green

* refactor: remove duplicate @hanzo/brand from the monorepo

  @hanzo/brand is owned by the standalone hanzoai/brand (the npm-canonical
  source); this monorepo's copy was unused and had drifted.

  - delete pkg/brand
  - add check-no-brand-pkg guard (wired into `check`) so it can't reappear

* refactor(ui): stop importing from the app; use own cn util

  pkg/ui pulled `cn` from @/lib/utils (../../app) — an inverted dependency on
  the consuming app. Point the animation components at pkg/ui's own cn and
  drop the @/app, @/registry, @/lib tsconfig path aliases.

* fix(ui): type errors; stop tracking the root lockfile

  - ModelCard: lucide-react dropped the Github icon → use Code
  - drawer: annotate DrawerTrigger/DrawerClose (radix type portability)
  - untrack root pnpm-lock.yaml; CI → --no-frozen-lockfile

* release: bump @hanzo/ui to 5.7.0

* refactor: rename pkg/ → pkgs/, merge packages/ into it

  standardize on 'pkgs/': move pkg/* and packages/* into pkgs/.
  Update workspace globs, CI, scripts, and config references accordingly.
2026-06-19 15:30:30 -10:00

50 lines
1.2 KiB
JSON

{
"name": "@hanzo/shop",
"version": "1.0.0",
"description": "Unified embeddable payment topup widget for Hanzo apps",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public",
"scope": "@hanzo"
},
"author": "Hanzo AI, Inc.",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/react-sdk.git",
"directory": "pkgs/shop"
},
"keywords": [
"topup",
"payments",
"commerce",
"square",
"crypto",
"ach",
"widget",
"hanzoai",
"hanzo"
],
"main": "index.ts",
"exports": {
".": "./index.ts",
"./topup": "./components/HanzoTopup.tsx"
},
"scripts": {
"lat": "npm show @hanzo/shop version",
"pub": "npm publish",
"tc": "tsc --noEmit",
"build": "tsc --outDir dist --declaration --emitDeclarationOnly false --module ESNext --esModuleInterop true --skipLibCheck true --sourceMap true"
},
"peerDependencies": {
"@hanzo/commerce": ">=7.6.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"typescript": "5.9.3"
}
}