Files
ComfyUI_frontend/packages/keybinding/package.json
bymyself a476be3933 [refactor] Extract keybinding functionality into @comfyorg/keybinding package
Create framework-agnostic keybinding package following domain-driven design patterns.
Move pure business logic to package while keeping Vue integration in workbench layer.

Changes:
- Add @comfyorg/keybinding package with KeyComboImpl and KeybindingImpl classes
- Move core keybindings and reserved key constants to package
- Update workbench layer to import from package with backward compatibility
- Update all imports across codebase to use package exports
- Maintain existing API surface for consumers
2025-10-12 20:51:31 -07:00

29 lines
534 B
JSON

{
"name": "@comfyorg/keybinding",
"version": "1.0.0",
"type": "module",
"description": "Framework-agnostic keybinding system for ComfyUI",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"import": "./src/index.ts",
"types": "./src/index.ts"
}
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"nx": {
"tags": [
"scope:shared",
"type:lib"
]
},
"dependencies": {
"zod": "^3.22.4"
},
"devDependencies": {
"typescript": "^5.4.5"
}
}