Files
zeekayandHanzo Dev ead0c768eb Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
tsup's dts build cannot read it. It comes in aliased as tsgo and does the
typechecking; typescript stays on the 6 line for the tools.

The native compiler does not sweep in every installed @types, so the node
globals generate-palettes.ts uses need declaring: types: ["node"]. Neutral
on 6. 20 diagnostics before and after, on both compilers.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 00:21:23 -07:00

57 lines
1.9 KiB
JSON

{
"name": "@hanzo/theming",
"version": "7.3.1",
"description": "Theme engine, palette generation, and themed components for Hanzo-powered apps",
"exports": {
"./hanzogui-config": {
"types": "./hanzogui/create-config.d.ts",
"import": "./hanzogui/create-config.js"
},
"./themed-components": {
"types": "./hanzogui/components/index.d.ts",
"import": "./hanzogui/components/index.js"
},
"./hanzogui-config-defaults": {
"types": "./hanzogui/defaults/index.d.ts",
"import": "./hanzogui/defaults/index.js"
},
"./shadcn-semantic-tw-colors.css": "./hanzo-ui/shadcn-semantic-colors.css"
},
"bin": {
"generate-palettes": "./hanzo-ui/generate-palettes.js"
},
"files": [
"dist"
],
"scripts": {
"tc": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
"build": "rm -rf dist && tsc && tsup src/hanzo-ui/generate-palettes.ts --format cjs,esm --dts --outDir dist/hanzo-ui && cp src/hanzo-ui/shadcn-semantic-colors.css dist/hanzo-ui/ && node scripts/prepare-dist.mjs",
"pub": "./scripts/publish.sh"
},
"peerDependencies": {
"@hanzogui/animations-react-native": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"@hanzogui/config-default": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"@hanzogui/shorthands": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"@hanzogui/theme-builder": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"@hanzogui/web": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"hanzogui": ">=102.0.0-rc.41-hanzoai.1 <103.0.0",
"react": ">=18"
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/react": "^19.2.4",
"tsup": "^8.0.0",
"tsgo": "npm:[email protected]",
"typescript": "6.0.3"
},
"author": "Hanzo AI",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/theming"
},
"publishConfig": {
"access": "public"
}
}