mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-24 06:35:10 +00:00
Adds the isolated vitest config, CI workflow, and all 41×3 compat-floor stub triples so the blast_radius≥2.0 gate passes from day one. - vitest.extension-api.config.mts — targets src/extension-api-v2/__tests__/ - .github/workflows/ci-tests-extension-api.yaml — two jobs: vitest run + python3 scripts/check-compat-floor.py (exits 1 on missing stubs) - package.json — test:extension-api / :watch / :coverage scripts - src/extension-api/ — public declaration files (NodeHandle, WidgetHandle, defineNodeExtension, typed events, lifecycle hooks) - src/extension-api-v2/__tests__/v1|v2|migration — 123 stub files covering BC.01–BC.41 (all 34 compat-floor categories × 3 stub types) - packages/extension-api/ — typedoc wrapper package compat-floor gate: OK — 102 stub files present (34 categories × 3 types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
674 B
JSON
29 lines
674 B
JSON
{
|
|
"name": "@comfyorg/extension-api",
|
|
"version": "0.1.0",
|
|
"description": "Official TypeScript extension API for ComfyUI custom nodes",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./build/index.js"
|
|
},
|
|
"types": "./build/index.d.ts",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc --emitDeclarationOnly --outDir 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:"
|
|
},
|
|
"nx": {
|
|
"tags": [
|
|
"scope:shared",
|
|
"type:api"
|
|
]
|
|
}
|
|
}
|