Build comfyui-frontend-types library (#1725)

* Install vite-plugin-dts

* Explicitly type workflowStore

* Working rollup

* Hide diff type

* Inline primevue toast mesage types

* Add prepare-types script to generate package.json for type package

* Add global declaration

* Add publish types Github action

* Update litegraph

* Add @comfyorg to package name
This commit is contained in:
Chenlei Hu
2024-11-28 08:21:19 -08:00
committed by GitHub
parent 5191e11650
commit 05fab91bda
11 changed files with 733 additions and 10 deletions

22
tsconfig.types.json Normal file
View File

@@ -0,0 +1,22 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"noEmit": false,
"paths": {
"@/*": ["./src/*"]
}
},
"include": [
"src/**/*.ts",
"global.d.ts"
],
"exclude": [
"node_modules",
"dist",
"**/*.vue",
"**/*.spec.ts",
"**/*.test.ts",
"src/components/**/*"
]
}