Files
ui/pkg/desk/package.json
zeekayandHanzo Dev 57f9435929 Keep every package in one directory
The workspace declared pkg/* and pkgs/* both, so one repo had two names
for one concept and a package's home was a coin toss. The shared build
tooling already lived in pkg/ui/scripts and pkgs reached back into it
two levels up; now it is a sibling. hanzo.yml gates on pkg/ui, so the
published library stays where CI already looks and the rest joins it.

The publish glob follows: one root, one pattern, nothing invisible to it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-08 23:50:28 -07:00

49 lines
1.2 KiB
JSON

{
"name": "@hanzo/desk",
"version": "0.1.0",
"type": "module",
"license": "Apache-2.0 OR MIT",
"description": "What a Hanzo surface must know without asking: what a model id means, what a lab is called and how its mark is drawn, and what a message may contain.",
"packageManager": "[email protected]",
"files": [
"dist"
],
"exports": {
"./package.json": "./package.json",
"./prose": {
"types": "./dist/prose.d.ts",
"default": "./dist/prose.js"
},
"./models": {
"types": "./dist/models/index.d.ts",
"default": "./dist/models/index.js"
}
},
"scripts": {
"prepublishOnly": "node ../../scripts/guard-publish.mjs",
"build": "tsc -p tsconfig.json",
"test": "vitest run",
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@hanzo/logo": "catalog:",
"marked": "18.0.11",
"simple-icons": "16.30.0"
},
"peerDependencies": {
"react": ">=19"
},
"devDependencies": {
"@types/react": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hanzoai/ui.git",
"directory": "pkg/desk"
}
}