Files
zeekayandHanzo Dev 34fb55c995 Depend on the modules gui.d.ts augments
gui.d.ts declares module @hanzogui/web and @hanzogui/core to flow the
Hanzo Gui config into every component's style props. Neither was a
dependency, so TypeScript read both blocks as ambient declarations of
modules that do not exist: the augmentation bound to nothing, the whole
shorthand vocabulary stayed untyped, and 29 assignments of bg, p, px,
items and justify were rejected as unknown props. Silent, because a
declaration for an unresolvable module is legal.

Declaring them is what makes the augmentation an augmentation, and it is
what the sibling @hanzo/canvas already does. tsc --noEmit goes from 29
errors to none, so prepublishOnly can build.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-04 09:20:48 -07:00

72 lines
1.8 KiB
JSON

{
"name": "@hanzo/finance-ui",
"version": "0.2.3",
"description": "Shared finance data-layer + UI for Hanzo Finance surfaces (finance.hanzo.ai + Hanzo Cloud console + admin). ONE FinanceClient, ONE component set \u2014 rebuilt on the canonical @hanzo/ui (dashboard) \u2192 @hanzo/gui (Tamagui primitives) stack. Monochrome, theme-aware, USD cents.",
"license": "BSD-3-Clause",
"author": "Hanzo AI <[email protected]>",
"type": "module",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./data": {
"types": "./dist/data.d.ts",
"default": "./dist/data.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"@hanzo/gui": ">=8.3.0",
"@hanzo/ui": ">=8.27.0",
"react": ">=19.2.8",
"react-dom": ">=19.2.8"
},
"devDependencies": {
"@hanzo/data": "catalog:",
"@hanzo/gui": "catalog:",
"@hanzo/ui": "catalog:",
"@hanzogui/config": "catalog:",
"@hanzogui/core": "catalog:",
"@hanzogui/web": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"keywords": [
"hanzo",
"finance",
"ledger",
"billing",
"fintech",
"react",
"tamagui"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/finance.git",
"directory": "packages/finance-ui"
},
"publishConfig": {
"access": "public"
}
}