mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-22 21:38:52 +00:00
- Remove build/ from .gitignore so types are visible in PR - Update vite config to use rollupTypes for bundled declarations - Update package.json types path to ./build/index.d.ts - Exclude packages/*/build/ from lint-staged - Include index.d.ts (37KB bundled types), index.js (2MB), index.js.map The bundled index.d.ts contains all public API types inline. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
42 lines
913 B
JSON
42 lines
913 B
JSON
{
|
|
"name": "@comfyorg/extension-api",
|
|
"version": "0.1.0",
|
|
"description": "Official TypeScript extension API for ComfyUI custom nodes",
|
|
"files": [
|
|
"build",
|
|
"README.md"
|
|
],
|
|
"type": "module",
|
|
"types": "./build/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./build/index.d.ts",
|
|
"import": "./build/index.js",
|
|
"default": "./build/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"typecheck": "vite build --logLevel warn",
|
|
"build": "vite build",
|
|
"docs:build": "tsx scripts/build-docs.ts",
|
|
"docs:watch": "tsx scripts/build-docs.ts --watch"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "catalog:",
|
|
"typedoc": "0.28.19",
|
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vite-plugin-dts": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "catalog:"
|
|
},
|
|
"nx": {
|
|
"tags": [
|
|
"scope:shared",
|
|
"type:api"
|
|
]
|
|
}
|
|
}
|