File remove-unnecessary-deps.patch of Package failed_bitwarden

--- clients-web-v2022.9.0/package.json.old	2022-09-06 22:59:02.000000000 +0200
+++ clients-web-v2022.9.0/package.json	2022-09-07 13:15:21.236397888 +0200
@@ -13,7 +13,6 @@
   },
   "homepage": "https://bitwarden.com",
   "scripts": {
-    "prepare": "husky install",
     "lint": "eslint . --cache --cache-strategy content && prettier --check .",
     "lint:fix": "eslint . --cache --cache-strategy content --fix",
     "lint:clear": "rimraf .eslintcache",
@@ -25,7 +24,7 @@
     "storybook": "ng run components:storybook",
     "build-storybook": "ng run components:build-storybook",
     "build-storybook:ci": "ng run components:build-storybook --webpack-stats-json",
-    "postinstall": "patch-package"
+    "postinstall": "true"
   },
   "workspaces": [
     "apps/*",
@@ -32,52 +31,18 @@
   ],
   "devDependencies": {
     "@angular-devkit/build-angular": "15.2.9",
-    "@angular-eslint/eslint-plugin": "15.2.1",
-    "@angular-eslint/eslint-plugin-template": "15.2.1",
-    "@angular-eslint/template-parser": "15.2.1",
-    "@angular/cli": "15.2.9",
     "@angular/compiler-cli": "15.2.9",
-    "@angular/elements": "15.2.9",
-    "@compodoc/compodoc": "1.1.21",
-    "@electron/notarize": "1.2.4",
-    "@electron/rebuild": "3.2.13",
     "@ngtools/webpack": "15.2.9",
-    "@storybook/addon-a11y": "7.3.0",
-    "@storybook/addon-actions": "7.3.0",
-    "@storybook/addon-designs": "7.0.4",
-    "@storybook/addon-essentials": "7.3.0",
-    "@storybook/addon-links": "7.3.0",
-    "@storybook/angular": "7.3.0",
-    "@types/argon2-browser": "1.18.1",
-    "@types/chrome": "0.0.243",
     "@types/duo_web_sdk": "2.7.1",
-    "@types/firefox-webext-browser": "111.0.1",
-    "@types/inquirer": "8.2.6",
     "@types/jest": "29.5.3",
-    "@types/jquery": "3.5.16",
-    "@types/jsdom": "21.1.1",
-    "@types/koa": "2.13.8",
-    "@types/koa__multer": "2.0.4",
-    "@types/koa__router": "12.0.0",
-    "@types/koa-bodyparser": "4.3.7",
-    "@types/koa-json": "2.0.20",
-    "@types/lowdb": "1.0.11",
     "@types/lunr": "2.3.4",
     "@types/node": "18.17.5",
-    "@types/node-fetch": "2.6.4",
     "@types/node-forge": "1.3.4",
     "@types/node-ipc": "9.2.0",
     "@types/papaparse": "5.3.7",
-    "@types/proper-lockfile": "4.1.2",
-    "@types/react": "16.14.45",
-    "@types/retry": "0.12.2",
     "@types/zxcvbn": "4.4.1",
-    "@typescript-eslint/eslint-plugin": "5.62.0",
-    "@typescript-eslint/parser": "5.62.0",
     "autoprefixer": "10.4.15",
-    "base64-loader": "1.0.0",
     "buffer": "6.0.3",
-    "chromatic": "6.22.0",
     "clean-webpack-plugin": "4.0.0",
     "concurrently": "8.2.0",
     "copy-webpack-plugin": "11.0.0",
@@ -83,63 +47,25 @@
     "css-loader": "6.8.1",
     "del": "6.1.1",
     "electron": "25.9.1",
-    "electron-builder": "23.6.0",
     "electron-log": "4.4.8",
-    "electron-reload": "2.0.0-alpha.1",
     "electron-store": "8.1.0",
     "electron-updater": "5.3.0",
-    "eslint": "8.47.0",
-    "eslint-config-prettier": "8.10.0",
-    "eslint-import-resolver-typescript": "3.6.0",
-    "eslint-plugin-import": "2.28.0",
-    "eslint-plugin-rxjs": "5.0.3",
-    "eslint-plugin-rxjs-angular": "2.0.1",
-    "eslint-plugin-storybook": "0.6.13",
-    "eslint-plugin-tailwindcss": "3.13.0",
-    "gulp": "4.0.2",
-    "gulp-filter": "7.0.0",
-    "gulp-if": "3.0.0",
-    "gulp-json-editor": "2.5.7",
-    "gulp-replace": "1.1.4",
-    "gulp-zip": "5.1.0",
     "html-loader": "4.2.0",
-    "html-webpack-injector": "1.1.4",
     "html-webpack-plugin": "5.5.3",
-    "husky": "8.0.3",
-    "jest-junit": "16.0.0",
     "jest-mock-extended": "3.0.5",
-    "jest-preset-angular": "13.1.1",
-    "lint-staged": "13.3.0",
     "mini-css-extract-plugin": "2.7.6",
     "node-ipc": "9.2.1",
-    "pkg": "5.8.1",
     "postcss": "8.4.31",
     "postcss-loader": "7.3.3",
-    "prettier": "2.8.8",
-    "prettier-plugin-tailwindcss": "0.3.0",
-    "process": "0.11.10",
-    "react": "18.2.0",
-    "react-dom": "18.2.0",
     "regedit": "^3.0.3",
-    "remark-gfm": "3.0.1",
     "rimraf": "5.0.1",
     "sass": "1.65.1",
     "sass-loader": "13.3.2",
-    "storybook": "7.3.0",
-    "style-loader": "3.3.3",
-    "tailwindcss": "3.3.3",
-    "ts-jest": "29.1.1",
     "ts-loader": "9.4.4",
     "tsconfig-paths-webpack-plugin": "4.1.0",
-    "type-fest": "2.19.0",
     "typescript": "4.9.5",
-    "url": "0.11.1",
-    "util": "0.12.5",
-    "wait-on": "7.0.1",
     "webpack": "5.88.2",
-    "webpack-cli": "5.1.4",
-    "webpack-dev-server": "4.15.1",
-    "webpack-node-externals": "3.0.0"
+    "webpack-cli": "5.1.4"
   },
   "dependencies": {
     "@angular/animations": "15.2.9",
@@ -148,53 +76,27 @@
     "@angular/platform-browser": "15.2.9",
     "@angular/platform-browser-dynamic": "15.2.9",
     "@angular/router": "15.2.9",
-    "@koa/multer": "3.0.2",
-    "@koa/router": "12.0.0",
     "@microsoft/signalr": "6.0.21",
     "@microsoft/signalr-protocol-msgpack": "6.0.21",
     "@ng-select/ng-select": "10.0.4",
     "argon2": "0.31.0",
-    "argon2-browser": "1.18.0",
     "big-integer": "1.6.51",
-    "bootstrap": "4.6.0",
-    "braintree-web-drop-in": "1.40.0",
-    "bufferutil": "4.0.7",
-    "chalk": "4.1.2",
     "commander": "7.2.0",
-    "core-js": "3.32.0",
     "duo_web_sdk": "github:duosecurity/duo_web_sdk",
-    "form-data": "4.0.0",
-    "https-proxy-agent": "5.0.1",
-    "inquirer": "8.2.6",
-    "jquery": "3.7.0",
-    "jsdom": "22.1.0",
     "jszip": "3.10.1",
-    "koa": "2.14.2",
-    "koa-bodyparser": "4.4.1",
-    "koa-json": "2.0.2",
-    "lowdb": "1.0.0",
     "lunr": "2.3.9",
-    "multer": "1.4.5-lts.1",
-    "ngx-infinite-scroll": "15.0.0",
     "ngx-toastr": "16.2.0",
     "node-fetch": "2.6.12",
     "node-forge": "1.3.1",
     "nord": "0.2.1",
     "oidc-client-ts": "2.3.0",
-    "open": "8.4.2",
     "papaparse": "5.4.1",
-    "patch-package": "6.5.1",
-    "popper.js": "1.16.1",
-    "proper-lockfile": "4.1.2",
-    "qrious": "4.0.2",
     "rxjs": "7.8.1",
     "tldts": "6.0.14",
-    "utf-8-validate": "5.0.10",
     "zone.js": "0.12.0",
     "zxcvbn": "4.4.2"
   },
   "overrides": {
-    "tailwindcss": "$tailwindcss",
     "@storybook/angular": {
       "zone.js": "0.12.0"
     },
--- a/apps/desktop/desktop_native/package.json
+++ b/apps/desktop/desktop_native/package.json
@@ -10,9 +10,6 @@
   },
   "author": "",
   "license": "GPL-3.0",
-  "devDependencies": {
-    "@napi-rs/cli": "2.16.2"
-  },
   "napi": {
     "name": "desktop_native",
     "triples": {
openSUSE Build Service is sponsored by