diff --git a/electron/core/plugins/inference-plugin/package-lock.json b/electron/core/plugins/inference-plugin/package-lock.json index 6d32ca3b1..dc20857a5 100644 --- a/electron/core/plugins/inference-plugin/package-lock.json +++ b/electron/core/plugins/inference-plugin/package-lock.json @@ -11,6 +11,7 @@ "electron-is-dev", "node-llama-cpp" ], + "hasInstallScript": true, "license": "MIT", "dependencies": { "electron-is-dev": "^2.0.0" diff --git a/electron/core/plugins/model-management-plugin/package-lock.json b/electron/core/plugins/model-management-plugin/package-lock.json index 8187e0c9b..583bbd6ac 100644 --- a/electron/core/plugins/model-management-plugin/package-lock.json +++ b/electron/core/plugins/model-management-plugin/package-lock.json @@ -7,7 +7,14 @@ "": { "name": "model-management-plugin", "version": "1.0.0", + "bundleDependencies": [ + "@huggingface/hub" + ], + "hasInstallScript": true, "license": "MIT", + "dependencies": { + "@huggingface/hub": "^0.8.5" + }, "devDependencies": { "cpx": "^1.5.0", "rimraf": "^3.0.2", @@ -24,6 +31,18 @@ "node": ">=10.0.0" } }, + "node_modules/@huggingface/hub": { + "version": "0.8.6", + "resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.8.6.tgz", + "integrity": "sha512-V2f1+BiBd3PIRYkEjvjrqJuCWqZQniaHMYcNvwB+PcubvEECkmgBt3tvXMpNUK4M27YK1RjflQbCVXSZMuQeow==", + "inBundle": true, + "dependencies": { + "hash-wasm": "^4.9.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -1366,6 +1385,12 @@ "node": ">=0.10.0" } }, + "node_modules/hash-wasm": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.9.0.tgz", + "integrity": "sha512-7SW7ejyfnRxuOc7ptQHSf4LDoZaWOivfzqw+5rpcQku0nHfmicPKE51ra9BiRLAmT8+gGLestr1XroUkqdjL6w==", + "inBundle": true + }, "node_modules/import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", diff --git a/electron/core/plugins/monitoring-plugin/package-lock.json b/electron/core/plugins/monitoring-plugin/package-lock.json index 8c48c0d15..723b831d0 100644 --- a/electron/core/plugins/monitoring-plugin/package-lock.json +++ b/electron/core/plugins/monitoring-plugin/package-lock.json @@ -10,6 +10,7 @@ "bundleDependencies": [ "systeminformation" ], + "hasInstallScript": true, "license": "MIT", "dependencies": { "systeminformation": "^5.21.8" diff --git a/yarn.lock b/yarn.lock index 317673c30..bf18ae09c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,7 +56,7 @@ optionalDependencies: global-agent "^3.0.0" -"@electron/notarize@2.1.0": +"@electron/notarize@2.1.0", "@electron/notarize@^2.1.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@electron/notarize/-/notarize-2.1.0.tgz#76aaec10c8687225e8d0a427cc9df67611c46ff3" integrity sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA==