Commit ea9c5bf9 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 18ca612c
Loading
Loading
Loading
Loading
+0 −56
Original line number Diff line number Diff line
diff --git a/package-lock.json b/package-lock.json
index 32d5abebb913..fea866c148c9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -231,51 +231,6 @@
         "bw": "build/bw.js"
       }
     },
-    "apps/cli/node_modules/define-lazy-prop": {
-      "version": "2.0.0",
-      "license": "MIT",
-      "engines": {
-        "node": ">=8"
-      }
-    },
-    "apps/cli/node_modules/is-docker": {
-      "version": "2.2.1",
-      "license": "MIT",
-      "bin": {
-        "is-docker": "cli.js"
-      },
-      "engines": {
-        "node": ">=8"
-      },
-      "funding": {
-        "url": "https://github.com/sponsors/sindresorhus"
-      }
-    },
-    "apps/cli/node_modules/is-wsl": {
-      "version": "2.2.0",
-      "license": "MIT",
-      "dependencies": {
-        "is-docker": "^2.0.0"
-      },
-      "engines": {
-        "node": ">=8"
-      }
-    },
-    "apps/cli/node_modules/open": {
-      "version": "8.4.2",
-      "license": "MIT",
-      "dependencies": {
-        "define-lazy-prop": "^2.0.0",
-        "is-docker": "^2.1.1",
-        "is-wsl": "^2.2.0"
-      },
-      "engines": {
-        "node": ">=12"
-      },
-      "funding": {
-        "url": "https://github.com/sponsors/sindresorhus"
-      }
-    },
     "apps/desktop": {
       "name": "@bitwarden/desktop",
       "version": "2025.12.1",
+3 −8
Original line number Diff line number Diff line
@@ -14,20 +14,15 @@

buildNpmPackage (finalAttrs: {
  pname = "bitwarden-cli";
  version = "2026.1.0";
  version = "2026.2.0";

  src = fetchFromGitHub {
    owner = "bitwarden";
    repo = "clients";
    tag = "cli-v${finalAttrs.version}";
    hash = "sha256-Z6YMAzn1J5n27qqx3PsaMmD9uIK7FTEl1/tEzePD+6Y=";
    hash = "sha256-BiL9ugimdDKIzIoehGqdBfJkTOjbOMl8XV+0g/aGS/k=";
  };

  patches = [
    # https://github.com/bitwarden/clients/pull/18308
    ./fix-lockfile.patch
  ];

  postPatch = ''
    # remove code under unfree license
    rm -r bitwarden_license
@@ -35,7 +30,7 @@ buildNpmPackage (finalAttrs: {

  nodejs = nodejs_22;

  npmDepsHash = "sha256-lXESe2FwwJIiFVFI5adAgJLhMsK2DTc8V8jELMr5E84=";
  npmDepsHash = "sha256-S34Lxr9dH9wjBmpDYA530z2/HiY4D4b/3rswWDqsrFU=";

  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
    perl