mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 00:09:32 +00:00
[chore] Update comfyui-electron-types (#1625)
* Remove electron external dep * [chore] Update comfyui-electron-types
This commit is contained in:
9
package-lock.json
generated
9
package-lock.json
generated
@@ -9,7 +9,7 @@
|
|||||||
"version": "1.4.6",
|
"version": "1.4.6",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||||
"@comfyorg/comfyui-electron-types": "^0.3.1",
|
"@comfyorg/comfyui-electron-types": "^0.3.6",
|
||||||
"@comfyorg/litegraph": "^0.8.31",
|
"@comfyorg/litegraph": "^0.8.31",
|
||||||
"@primevue/themes": "^4.0.5",
|
"@primevue/themes": "^4.0.5",
|
||||||
"@vueuse/core": "^11.0.0",
|
"@vueuse/core": "^11.0.0",
|
||||||
@@ -1917,9 +1917,10 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@comfyorg/comfyui-electron-types": {
|
"node_modules/@comfyorg/comfyui-electron-types": {
|
||||||
"version": "0.3.2",
|
"version": "0.3.6",
|
||||||
"resolved": "https://registry.npmjs.org/@comfyorg/comfyui-electron-types/-/comfyui-electron-types-0.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/@comfyorg/comfyui-electron-types/-/comfyui-electron-types-0.3.6.tgz",
|
||||||
"integrity": "sha512-3vpAAZq4rNd6oUFvX5s1kor2U7xN3Br8gftdO40IvhLLikttK2cZhPra6YlnzuYIU1gK+PBGEJClvjFnQyIYlA=="
|
"integrity": "sha512-wgMgESnCcRzvVkk8CwWiTAUJxC4LBvw5uTENxzaWkEL0qrnmiGrVLore00yX3cYz04hJaTA6PqasLqgVLDOenw==",
|
||||||
|
"license": "GPL-3.0-only"
|
||||||
},
|
},
|
||||||
"node_modules/@comfyorg/litegraph": {
|
"node_modules/@comfyorg/litegraph": {
|
||||||
"version": "0.8.31",
|
"version": "0.8.31",
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||||
"@comfyorg/comfyui-electron-types": "^0.3.1",
|
"@comfyorg/comfyui-electron-types": "^0.3.6",
|
||||||
"@comfyorg/litegraph": "^0.8.31",
|
"@comfyorg/litegraph": "^0.8.31",
|
||||||
"@primevue/themes": "^4.0.5",
|
"@primevue/themes": "^4.0.5",
|
||||||
"@vueuse/core": "^11.0.0",
|
"@vueuse/core": "^11.0.0",
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
import { isElectron, electronAPI } from '@/utils/envUtil'
|
import { isElectron, electronAPI } from '@/utils/envUtil'
|
||||||
import { DownloadState, DownloadStatus } from '@comfyorg/comfyui-electron-types'
|
import type {
|
||||||
|
DownloadState,
|
||||||
|
DownloadStatus
|
||||||
|
} from '@comfyorg/comfyui-electron-types'
|
||||||
|
|
||||||
export interface ElectronDownload
|
export interface ElectronDownload
|
||||||
extends Pick<DownloadState, 'url' | 'filename'> {
|
extends Pick<DownloadState, 'url' | 'filename'> {
|
||||||
|
|||||||
@@ -150,10 +150,7 @@ export default defineConfig({
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
// Disabling tree-shaking
|
// Disabling tree-shaking
|
||||||
// Prevent vite remove unused exports
|
// Prevent vite remove unused exports
|
||||||
treeshake: false,
|
treeshake: false
|
||||||
external: [
|
|
||||||
'electron'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user