- Shared entry point docs/ai/AI_GUIDE.md (type selection Web / SW / OrgChart / mixed, steps 1-7, package style separation, report format, examples A-D) and AGENTS_SNIPPET.md, copied into every package ai/ folder - New ai/ docs for @hm-design/ui and @hm-design/org-chart (+ org-chart-react pointer): AI_USAGE, COMPONENT_CATALOG, DESIGN_RULES, COMPOSITION_PATTERNS - SW ai/ linked to the shared guide; catalog lists every Props type explicitly - "ai" added to package files of ui, org-chart, org-chart-react - scripts/ai-docs.mjs: sync:ai-docs / check:ai-docs (copies, files, catalog <-> exports, links) - Maintenance guide and verification record under docs/ai
31 lines
910 B
JSON
31 lines
910 B
JSON
{
|
|
"name": "@hm-design/org-chart-react",
|
|
"version": "0.1.0",
|
|
"description": "React lifecycle adapter for the framework-independent HM OrgChart Core.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./hm-dialog": {
|
|
"types": "./dist/hm-dialog.d.ts",
|
|
"import": "./dist/hm-dialog.js",
|
|
"default": "./dist/hm-dialog.js"
|
|
}
|
|
},
|
|
"files": ["dist", "ai", "README.md"],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"build": "node build.mjs",
|
|
"prepack": "npm run build"
|
|
},
|
|
"dependencies": { "@hm-design/org-chart": "0.1.0" },
|
|
"peerDependencies": { "react": "^19.0.0", "@hm-design/ui": "0.1.0" },
|
|
"peerDependenciesMeta": { "@hm-design/ui": { "optional": true } }
|
|
}
|