From 64bb3536d32e109a4da9585235d0f5efe4a6264e Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Mon, 21 Dec 2020 13:20:25 -0500 Subject: [PATCH] chore: Fix missing lookpath npm issue when packaging desktop --- package.json | 5 +---- ui/desktop/electron-app/package.json | 3 ++- ui/desktop/electron-app/yarn.lock | 5 +++++ ui/desktop/package.json | 1 - yarn.lock | 5 ----- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index cf840d72c..1e76e0b54 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,7 @@ "ui/*" ], "nohoist": [ - "**/electron", - "**/electron/**", - "**/electron*/**", - "**/electron*" + "**/electron**" ] }, "scripts": { diff --git a/ui/desktop/electron-app/package.json b/ui/desktop/electron-app/package.json index 36188ac63..0b2588d8f 100644 --- a/ui/desktop/electron-app/package.json +++ b/ui/desktop/electron-app/package.json @@ -50,7 +50,8 @@ "dependencies": { "electron-devtools-installer": "^3.1.1", "electron-is-dev": "^1.2.0", - "electron-squirrel-startup": "^1.0.0" + "electron-squirrel-startup": "^1.0.0", + "lookpath": "^1.1.0" }, "devDependencies": { "@electron-forge/cli": "6.0.0-beta.53", diff --git a/ui/desktop/electron-app/yarn.lock b/ui/desktop/electron-app/yarn.lock index 3423316cc..a9d1c1e6a 100644 --- a/ui/desktop/electron-app/yarn.lock +++ b/ui/desktop/electron-app/yarn.lock @@ -1934,6 +1934,11 @@ log-symbols@^4.0.0: dependencies: chalk "^4.0.0" +lookpath@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/lookpath/-/lookpath-1.1.0.tgz#932d68371a2f0b4a5644f03d6a2b4728edba96d2" + integrity sha512-B9NM7XpVfkyWqfOBI/UW0kVhGw7pJztsduch+1wkbYDi90mYK6/InFul3lG0hYko/VEcVMARVBJ5daFRc5aKCw== + loud-rejection@^1.0.0: version "1.6.0" resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" diff --git a/ui/desktop/package.json b/ui/desktop/package.json index de834c7a4..68fe7e495 100644 --- a/ui/desktop/package.json +++ b/ui/desktop/package.json @@ -68,7 +68,6 @@ "eslint-plugin-node": "^11.1.0", "faker": "^5.1.0", "loader.js": "^4.7.0", - "lookpath": "^1.1.0", "npm-run-all": "^4.1.5", "prettier": "^2.1.2", "qunit-dom": "^1.2.0", diff --git a/yarn.lock b/yarn.lock index aa54e6222..b75da818b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14088,11 +14088,6 @@ longest@^2.0.1: resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= -lookpath@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/lookpath/-/lookpath-1.1.0.tgz#932d68371a2f0b4a5644f03d6a2b4728edba96d2" - integrity sha512-B9NM7XpVfkyWqfOBI/UW0kVhGw7pJztsduch+1wkbYDi90mYK6/InFul3lG0hYko/VEcVMARVBJ5daFRc5aKCw== - loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"