mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
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
29 lines
534 B
JSON
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"
|
|
}
|
|
} |