diff --git a/packages/blockchain-link/package.json b/packages/blockchain-link/package.json index 3efbf880cb..3483fed0cc 100644 --- a/packages/blockchain-link/package.json +++ b/packages/blockchain-link/package.json @@ -86,7 +86,6 @@ "@trezor/utxo-lib": "workspace:*", "@trezor/websocket-client": "workspace:*", "@types/web": "^0.0.197", - "events": "^3.3.0", "socks-proxy-agent": "8.0.5", "xrpl": "^4.4.0" }, diff --git a/packages/components/package.json b/packages/components/package.json index 03340976a8..6a7547ba1d 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -20,17 +20,11 @@ }, "dependencies": { "@floating-ui/react": "^0.27.12", - "@storybook/addon-docs": "^9.0.16", "@suite-common/icons": "workspace:*", "@suite-common/suite-constants": "workspace:*", - "@suite-common/validators": "workspace:*", "@testing-library/jest-dom": "^6.6.4", "@trezor/asset-utils": "workspace:*", "@trezor/device-utils": "workspace:*", - "@trezor/dom-utils": "workspace:*", - "@trezor/env-utils": "workspace:*", - "@trezor/react-utils": "workspace:*", - "@trezor/styles": "workspace:*", "@trezor/theme": "workspace:*", "@trezor/type-utils": "workspace:*", "@trezor/utils": "workspace:*", @@ -51,19 +45,14 @@ }, "devDependencies": { "@babel/preset-react": "^7.27.1", - "@storybook/addon-links": "^9.0.16", "@storybook/react": "^9.0.16", - "@storybook/react-webpack5": "^9.0.16", "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@trezor/eslint": "workspace:*", "@types/react": "^19.0.0", "@types/react-date-range": "^1.4.10", - "postcss-styled-syntax": "^0.7.1", "storybook": "^9.0.16", - "stylelint": "^16.14.1", - "stylelint-config-standard": "^38.0.0", - "typescript-styled-plugin": "^0.18.3" + "stylelint": "^16.14.1" } } diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index a10bf9f7b0..d8887084e9 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -17,15 +17,8 @@ { "path": "../../suite-common/suite-constants" }, - { - "path": "../../suite-common/validators" - }, { "path": "../asset-utils" }, { "path": "../device-utils" }, - { "path": "../dom-utils" }, - { "path": "../env-utils" }, - { "path": "../react-utils" }, - { "path": "../styles" }, { "path": "../theme" }, { "path": "../type-utils" }, { "path": "../utils" }, diff --git a/packages/connect-examples/mobile-expo/.depcheckrc.json b/packages/connect-examples/mobile-expo/.depcheckrc.json new file mode 100644 index 0000000000..b19fb6ca84 --- /dev/null +++ b/packages/connect-examples/mobile-expo/.depcheckrc.json @@ -0,0 +1,7 @@ +{ + "ignores": [ + "typescript", + "@babel/core" + ], + "skip-missing": true +} diff --git a/packages/connect-explorer-theme/.depcheckrc.json b/packages/connect-explorer-theme/.depcheckrc.json new file mode 100644 index 0000000000..0dbfb903ad --- /dev/null +++ b/packages/connect-explorer-theme/.depcheckrc.json @@ -0,0 +1,7 @@ +{ + "ignores": [ + "postcss-import", + "postcss-lightningcss" + ], + "skip-missing": true +} diff --git a/packages/connect-explorer-theme/package.json b/packages/connect-explorer-theme/package.json index e9f9bec4c9..f8385849a6 100644 --- a/packages/connect-explorer-theme/package.json +++ b/packages/connect-explorer-theme/package.json @@ -43,12 +43,9 @@ "zod": "^3.24.2" }, "devDependencies": { - "@testing-library/dom": "^10.4.1", - "@testing-library/react": "^16.3.0", "@types/flexsearch": "^0.7.3", "@types/git-url-parse": "^9.0.3", "@types/react": "^19.0.0", - "@types/react-dom": "^19.0.0", "concurrently": "^8.0.0", "next": "^15.2.4", "nextra": "^2.13.4", diff --git a/packages/connect-explorer/package.json b/packages/connect-explorer/package.json index 5e7ef78e23..c84805ddb0 100644 --- a/packages/connect-explorer/package.json +++ b/packages/connect-explorer/package.json @@ -16,7 +16,6 @@ "@hbsnow/rehype-sectionize": "^1.0.7", "@sinclair/typebox": "^0.33.12", "@trezor/components": "workspace:^", - "@trezor/connect": "workspace:^", "@trezor/connect-explorer-theme": "workspace:^", "@trezor/connect-mobile": "workspace:^", "@trezor/connect-web": "workspace:^", @@ -24,7 +23,6 @@ "@trezor/protobuf": "workspace:^", "@trezor/schema-utils": "workspace:^", "@trezor/theme": "workspace:^", - "@trezor/utils": "workspace:^", "@uiw/react-codemirror": "^4.23.0", "codemirror-json-schema": "^0.7.8", "codemirror-json5": "^1.0.3", @@ -32,7 +30,6 @@ "next": "^15.2.4", "next-themes": "^0.3.0", "nextra": "^2.13.4", - "nextra-theme-docs": "^2.13.4", "react": "19.0.0", "react-dom": "19.0.0", "react-inspector": "^6.0.2", @@ -43,9 +40,7 @@ "redux-logger": "^3.0.6", "redux-thunk": "^3.1.0", "remark-gemoji": "^8.0.0", - "remark-gfm": "^4.0.1", - "styled-components": "^6.1.19", - "swr": "^2.3.3" + "styled-components": "^6.1.19" }, "devDependencies": { "@trezor/eslint": "workspace:*", @@ -56,7 +51,6 @@ "eslint-plugin-mdx": "^3.6.2", "html-webpack-plugin": "^5.6.3", "rimraf": "^6.0.1", - "tsx": "^4.20.3", "webpack": "5.100.0", "webpack-cli": "^6.0.1" } diff --git a/packages/connect-explorer/tsconfig.json b/packages/connect-explorer/tsconfig.json index ce360c089b..11540596a3 100644 --- a/packages/connect-explorer/tsconfig.json +++ b/packages/connect-explorer/tsconfig.json @@ -16,7 +16,6 @@ ], "references": [ { "path": "../components" }, - { "path": "../connect" }, { "path": "../connect-explorer-theme" }, { "path": "../connect-mobile" }, { "path": "../connect-web" }, @@ -24,7 +23,6 @@ { "path": "../protobuf" }, { "path": "../schema-utils" }, { "path": "../theme" }, - { "path": "../utils" }, { "path": "../eslint" } ] } diff --git a/packages/connect-iframe/.depcheckrc.json b/packages/connect-iframe/.depcheckrc.json new file mode 100644 index 0000000000..be3aea7383 --- /dev/null +++ b/packages/connect-iframe/.depcheckrc.json @@ -0,0 +1,6 @@ +{ + "ignores": [ + "es6-promise" + ], + "skip-missing": true +} diff --git a/packages/connect-iframe/package.json b/packages/connect-iframe/package.json index 6d4790dddf..5306c6a611 100644 --- a/packages/connect-iframe/package.json +++ b/packages/connect-iframe/package.json @@ -21,7 +21,6 @@ "devDependencies": { "@babel/preset-typescript": "^7.27.1", "@trezor/bundler-security": "workspace:*", - "@trezor/env-utils": "workspace:*", "@trezor/eslint": "workspace:*", "babel-loader": "^10.0.0", "copy-webpack-plugin": "^13.0.1", diff --git a/packages/connect-iframe/tsconfig.json b/packages/connect-iframe/tsconfig.json index 2c7782968b..18b977caa2 100644 --- a/packages/connect-iframe/tsconfig.json +++ b/packages/connect-iframe/tsconfig.json @@ -10,7 +10,6 @@ { "path": "../connect-analytics" }, { "path": "../connect-common" }, { "path": "../bundler-security" }, - { "path": "../env-utils" }, { "path": "../eslint" } ] } diff --git a/packages/product-components/package.json b/packages/product-components/package.json index c91aeb090e..5bd31dac08 100644 --- a/packages/product-components/package.json +++ b/packages/product-components/package.json @@ -17,7 +17,6 @@ "storybook-build": "storybook build -c .storybook -o .build-storybook" }, "dependencies": { - "@suite-common/suite-utils": "workspace:*", "@suite-common/validators": "workspace:*", "@suite-common/wallet-config": "workspace:*", "@suite-common/wallet-utils": "workspace:*", @@ -40,14 +39,11 @@ }, "devDependencies": { "@babel/preset-react": "^7.27.1", - "@storybook/addon-links": "^9.0.16", "@storybook/react": "^9.0.16", - "@storybook/react-webpack5": "^9.0.16", "@trezor/eslint": "workspace:*", "@types/react": "^19.0.0", "@types/zxcvbn": "4.4.5", "storybook": "^9.0.16", - "stylelint": "^16.14.1", - "typescript-styled-plugin": "^0.18.3" + "stylelint": "^16.14.1" } } diff --git a/packages/product-components/tsconfig.json b/packages/product-components/tsconfig.json index dfc4cda796..a123bdaa15 100644 --- a/packages/product-components/tsconfig.json +++ b/packages/product-components/tsconfig.json @@ -13,9 +13,6 @@ }, "include": [".", "**/*.json"], "references": [ - { - "path": "../../suite-common/suite-utils" - }, { "path": "../../suite-common/validators" }, diff --git a/packages/suite-build/.depcheckrc.json b/packages/suite-build/.depcheckrc.json new file mode 100644 index 0000000000..5b5456cf80 --- /dev/null +++ b/packages/suite-build/.depcheckrc.json @@ -0,0 +1,6 @@ +{ + "ignores": [ + "raw-loader" + ], + "skip-missing": true +} diff --git a/packages/suite-build/package.json b/packages/suite-build/package.json index 75eada5575..470b545b46 100644 --- a/packages/suite-build/package.json +++ b/packages/suite-build/package.json @@ -27,18 +27,14 @@ "@suite-common/suite-config": "workspace:*", "@trezor/bundler-security": "workspace:*", "@trezor/env-utils": "workspace:*", - "@trezor/suite": "workspace:*", "babel-loader": "^10.0.0", "babel-plugin-styled-components": "^2.1.4", "copy-webpack-plugin": "^13.0.1", "crypto-browserify": "3.12.0", - "css-loader": "^6.10.0", "css-minimizer-webpack-plugin": "^7.0.2", "html-webpack-plugin": "^5.6.3", - "node-loader": "^2.1.0", "raw-loader": "^4.0.2", "stream-browserify": "^3.0.0", - "style-loader": "^4.0.0", "terser-webpack-plugin": "^5.3.14", "vm-browserify": "^1.1.2", "webpack": "5.100.0", @@ -52,7 +48,6 @@ "@pmmmwh/react-refresh-webpack-plugin": "^0.6.1", "@sentry/webpack-plugin": "^2.22.7", "@trezor/eslint": "workspace:*", - "@types/node-fetch": "^2.6.12", "@types/webpack-bundle-analyzer": "^4.7.0", "@types/webpack-plugin-serve": "^1.4.6", "@vitejs/plugin-react": "^4.7.0", diff --git a/packages/suite-build/tsconfig.json b/packages/suite-build/tsconfig.json index cff37d58a7..eb18424b7a 100644 --- a/packages/suite-build/tsconfig.json +++ b/packages/suite-build/tsconfig.json @@ -8,7 +8,6 @@ }, { "path": "../bundler-security" }, { "path": "../env-utils" }, - { "path": "../suite" }, { "path": "../eslint" } ] } diff --git a/packages/suite-data/package.json b/packages/suite-data/package.json index 005c8fc38e..fcfdf58df4 100644 --- a/packages/suite-data/package.json +++ b/packages/suite-data/package.json @@ -20,10 +20,7 @@ "dependencies": { "@suite-common/suite-types": "workspace:*", "@suite-common/suite-utils": "workspace:*", - "@trezor/connect": "workspace:*", "@trezor/env-utils": "workspace:*", - "@trezor/urls": "workspace:*", - "@trezor/utils": "workspace:*", "semver": "^7.7.1" }, "devDependencies": { @@ -32,11 +29,8 @@ "@types/fs-extra": "^11.0.4", "autoprefixer": "^10.4.21", "babel-loader": "^10.0.0", - "css-loader": "^6.10.0", "fs-extra": "^11.3.1", - "postcss-loader": "^8.1.1", "simple-git": "^3.28.0", - "style-loader": "^4.0.0", "tsx": "^4.20.3", "webpack": "5.100.0", "webpack-cli": "^6.0.1" diff --git a/packages/suite-data/tsconfig.json b/packages/suite-data/tsconfig.json index d982af2f37..609aaf5213 100644 --- a/packages/suite-data/tsconfig.json +++ b/packages/suite-data/tsconfig.json @@ -12,10 +12,7 @@ { "path": "../../suite-common/suite-utils" }, - { "path": "../connect" }, { "path": "../env-utils" }, - { "path": "../urls" }, - { "path": "../utils" }, { "path": "../eslint" } ] } diff --git a/packages/suite-desktop-core/.depcheckrc.json b/packages/suite-desktop-core/.depcheckrc.json new file mode 100644 index 0000000000..4662f5132e --- /dev/null +++ b/packages/suite-desktop-core/.depcheckrc.json @@ -0,0 +1,6 @@ +{ + "ignores": [ + "node-loader" + ], + "skip-missing": true +} diff --git a/packages/suite-desktop-core/package.json b/packages/suite-desktop-core/package.json index fa73687a50..cd320f5c4d 100644 --- a/packages/suite-desktop-core/package.json +++ b/packages/suite-desktop-core/package.json @@ -31,7 +31,6 @@ "@suite-common/wallet-config": "workspace:*", "@trezor/coinjoin": "workspace:*", "@trezor/connect": "workspace:*", - "@trezor/connect-common": "workspace:*", "@trezor/connect-web": "workspace:*", "@trezor/env-utils": "workspace:*", "@trezor/eslint": "workspace:*", @@ -51,6 +50,7 @@ "electron-localshortcut": "^3.2.1", "electron-store": "8.2.0", "electron-updater": "6.6.4", + "node-loader": "^2.1.0", "openpgp": "^6.2.2", "ws": "^8.18.0" }, @@ -58,7 +58,6 @@ "@currents/playwright": "^1.13.4", "@electron/fuses": "^2.0.0", "@electron/notarize": "3.1.0", - "@octokit/rest": "^21.1.1", "@playwright/browser-chromium": "^1.55.0", "@playwright/browser-firefox": "^1.55.0", "@playwright/browser-webkit": "^1.55.0", diff --git a/packages/suite-desktop-core/tsconfig.json b/packages/suite-desktop-core/tsconfig.json index 14a8733795..2e9075fbd3 100644 --- a/packages/suite-desktop-core/tsconfig.json +++ b/packages/suite-desktop-core/tsconfig.json @@ -25,7 +25,6 @@ }, { "path": "../coinjoin" }, { "path": "../connect" }, - { "path": "../connect-common" }, { "path": "../connect-web" }, { "path": "../env-utils" }, { "path": "../eslint" }, diff --git a/packages/suite-desktop-native/package.json b/packages/suite-desktop-native/package.json index 611ce19a69..a004b599bd 100644 --- a/packages/suite-desktop-native/package.json +++ b/packages/suite-desktop-native/package.json @@ -11,9 +11,6 @@ "clean": "node scripts/clean.js", "copy-binary": "node scripts/copy-binary.js" }, - "dependencies": { - "node-addon-api": "^5.0.0" - }, "devDependencies": { "@types/node": "^18.19.26", "node-gyp": "^9.3.1" diff --git a/packages/suite-desktop-ui/package.json b/packages/suite-desktop-ui/package.json index 09de99848f..db2c77d36b 100644 --- a/packages/suite-desktop-ui/package.json +++ b/packages/suite-desktop-ui/package.json @@ -19,7 +19,6 @@ "@trezor/components": "workspace:*", "@trezor/connect": "workspace:*", "@trezor/ipc-proxy": "workspace:*", - "@trezor/suite": "workspace:*", "@trezor/suite-analytics": "workspace:*", "@trezor/suite-desktop-api": "workspace:*", "@trezor/theme": "workspace:*", @@ -35,8 +34,6 @@ "devDependencies": { "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "stylelint": "^16.14.1", - "stylelint-config-standard": "^38.0.0", - "typescript-styled-plugin": "^0.18.3" + "stylelint": "^16.14.1" } } diff --git a/packages/suite-desktop-ui/tsconfig.json b/packages/suite-desktop-ui/tsconfig.json index d7766d23c5..bf9e1bac40 100644 --- a/packages/suite-desktop-ui/tsconfig.json +++ b/packages/suite-desktop-ui/tsconfig.json @@ -19,7 +19,6 @@ { "path": "../components" }, { "path": "../connect" }, { "path": "../ipc-proxy" }, - { "path": "../suite" }, { "path": "../suite-analytics" }, { "path": "../suite-desktop-api" }, { "path": "../theme" }, diff --git a/packages/suite-desktop/package.json b/packages/suite-desktop/package.json index 8f464e0f69..f6351ef075 100644 --- a/packages/suite-desktop/package.json +++ b/packages/suite-desktop/package.json @@ -25,7 +25,6 @@ }, "dependencies": { "blake-hash": "^2.0.0", - "openpgp": "^6.2.2", "usb": "^2.15.0" }, "devDependencies": { diff --git a/packages/suite-web/.depcheckrc.json b/packages/suite-web/.depcheckrc.json new file mode 100644 index 0000000000..a8d7026826 --- /dev/null +++ b/packages/suite-web/.depcheckrc.json @@ -0,0 +1,6 @@ +{ + "ignores": [ + "tsx" + ], + "skip-missing": true +} diff --git a/packages/suite-web/package.json b/packages/suite-web/package.json index 43f7a75ec1..a39fb6fee5 100644 --- a/packages/suite-web/package.json +++ b/packages/suite-web/package.json @@ -18,8 +18,6 @@ "@suite-common/sentry": "workspace:*", "@suite-common/suite-types": "workspace:*", "@trezor/connect": "workspace:*", - "@trezor/device-utils": "workspace:*", - "@trezor/suite": "workspace:*", "react": "19.0.0", "react-dom": "19.0.0", "react-helmet-async": "^2.0.5", @@ -27,17 +25,8 @@ "react-router": "^7.8.2" }, "devDependencies": { - "@suite-common/test-utils": "workspace:*", - "@suite-common/wallet-config": "workspace:*", "@trezor/connect": "workspace:*", - "@trezor/e2e-utils": "workspace:*", - "@trezor/env-utils": "workspace:*", "@trezor/eslint": "workspace:*", - "@trezor/protobuf": "workspace:*", - "@trezor/suite-analytics": "workspace:*", - "@trezor/transport": "workspace:*", - "@trezor/trezor-user-env-link": "workspace:*", - "@trezor/utils": "workspace:*", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "rimraf": "^6.0.1", diff --git a/packages/suite-web/tsconfig.json b/packages/suite-web/tsconfig.json index b0713b02bc..b6fecde4aa 100644 --- a/packages/suite-web/tsconfig.json +++ b/packages/suite-web/tsconfig.json @@ -14,21 +14,6 @@ "path": "../../suite-common/suite-types" }, { "path": "../connect" }, - { "path": "../device-utils" }, - { "path": "../suite" }, - { - "path": "../../suite-common/test-utils" - }, - { - "path": "../../suite-common/wallet-config" - }, - { "path": "../e2e-utils" }, - { "path": "../env-utils" }, - { "path": "../eslint" }, - { "path": "../protobuf" }, - { "path": "../suite-analytics" }, - { "path": "../transport" }, - { "path": "../trezor-user-env-link" }, - { "path": "../utils" } + { "path": "../eslint" } ] } diff --git a/packages/suite/package.json b/packages/suite/package.json index f068b2d387..e7e35693b7 100644 --- a/packages/suite/package.json +++ b/packages/suite/package.json @@ -20,7 +20,6 @@ "test-unit:watch": "yarn g:jest -o --watch" }, "dependencies": { - "@everstake/wallet-sdk-ethereum": "1.0.3", "@floating-ui/react": "^0.27.12", "@formatjs/intl": "3.1.6", "@hookform/resolvers": "^5.2.1", @@ -40,7 +39,6 @@ "@suite-common/firmware-authenticity": "workspace:*", "@suite-common/formatters": "workspace:*", "@suite-common/geolocation": "workspace:*", - "@suite-common/icons": "workspace:*", "@suite-common/intl-types": "workspace:*", "@suite-common/logger": "workspace:*", "@suite-common/message-system": "workspace:*", @@ -116,7 +114,6 @@ "react-redux": "9.2.0", "react-router": "^7.8.2", "react-select": "^5.10.2", - "react-svg": "16.3.0", "react-toastify": "^10.0.4", "react-use": "^17.6.0", "react-zxing": "^2.1.0", @@ -126,7 +123,6 @@ "redux-thunk": "^3.1.0", "semver": "^7.7.1", "styled-components": "^6.1.19", - "uuid": "^11.1.0", "web3-utils": "^4.3.1" }, "devDependencies": { @@ -137,7 +133,6 @@ "@trezor/eslint": "workspace:*", "@types/file-saver": "^2.0.6", "@types/invity-api": "^1.1.9", - "@types/jws": "^3.2.10", "@types/pako": "^2.0.3", "@types/pdfmake": "^0.2.11", "@types/react": "^19.0.0", @@ -148,8 +143,6 @@ "jest-canvas-mock": "^2.5.2", "jest-watch-typeahead": "2.2.2", "redux-mock-store": "^1.5.5", - "stylelint": "^16.14.1", - "stylelint-config-standard": "^38.0.0", - "typescript-styled-plugin": "^0.18.3" + "stylelint": "^16.14.1" } } diff --git a/packages/suite/tsconfig.json b/packages/suite/tsconfig.json index a79b5aedad..4eb25d3a38 100644 --- a/packages/suite/tsconfig.json +++ b/packages/suite/tsconfig.json @@ -42,7 +42,6 @@ { "path": "../../suite-common/geolocation" }, - { "path": "../../suite-common/icons" }, { "path": "../../suite-common/intl-types" }, diff --git a/packages/transport-bluetooth/package.json b/packages/transport-bluetooth/package.json index dccb66cb47..8d0ddcaf2a 100644 --- a/packages/transport-bluetooth/package.json +++ b/packages/transport-bluetooth/package.json @@ -38,7 +38,6 @@ }, "dependencies": { "@trezor/ipc-proxy": "workspace:*", - "@trezor/protocol": "workspace:*", "@trezor/transport": "workspace:*", "@trezor/utils": "workspace:*", "@trezor/websocket-client": "workspace:*" diff --git a/packages/transport-bluetooth/tsconfig.json b/packages/transport-bluetooth/tsconfig.json index 43863dcd9c..bd8c03186d 100644 --- a/packages/transport-bluetooth/tsconfig.json +++ b/packages/transport-bluetooth/tsconfig.json @@ -6,7 +6,6 @@ }, "references": [ { "path": "../ipc-proxy" }, - { "path": "../protocol" }, { "path": "../transport" }, { "path": "../utils" }, { "path": "../websocket-client" } diff --git a/packages/transport/package.json b/packages/transport/package.json index 3ecb9e6db5..afb84edc3b 100644 --- a/packages/transport/package.json +++ b/packages/transport/package.json @@ -56,13 +56,8 @@ "@babel/preset-env": "^7.28.0", "@babel/preset-typescript": "^7.27.1", "@trezor/eslint": "workspace:*", - "@trezor/trezor-user-env-link": "workspace:*", - "@types/bytebuffer": "^5.0.49", - "@types/sharedworker": "^0.0.143", "@types/w3c-web-usb": "^1.0.10", "jest": "29.7.0", - "jest-environment-node": "^29.7.0", - "ts-node": "^10.9.2", "tsx": "^4.20.3" }, "dependencies": { diff --git a/packages/transport/tsconfig.json b/packages/transport/tsconfig.json index c43f1dc484..92fb72207e 100644 --- a/packages/transport/tsconfig.json +++ b/packages/transport/tsconfig.json @@ -9,7 +9,6 @@ { "path": "../protocol" }, { "path": "../type-utils" }, { "path": "../utils" }, - { "path": "../eslint" }, - { "path": "../trezor-user-env-link" } + { "path": "../eslint" } ] } diff --git a/packages/transport/tsconfig.lib.json b/packages/transport/tsconfig.lib.json index b965c539c6..096286c288 100644 --- a/packages/transport/tsconfig.lib.json +++ b/packages/transport/tsconfig.lib.json @@ -20,9 +20,6 @@ }, { "path": "../eslint" - }, - { - "path": "../trezor-user-env-link" } ] } diff --git a/packages/utxo-lib/package.json b/packages/utxo-lib/package.json index 9a03521461..2f3b547b52 100644 --- a/packages/utxo-lib/package.json +++ b/packages/utxo-lib/package.json @@ -61,7 +61,6 @@ "@trezor/eslint": "workspace:*", "@types/bn.js": "^5.2.0", "@types/create-hmac": "^1.1.3", - "@types/events": "^3.0.3", "minimaldata": "^1.0.2", "tsx": "^4.20.3" }, diff --git a/suite-common/connect-init/package.json b/suite-common/connect-init/package.json index 0b683bd1bc..0998828c67 100644 --- a/suite-common/connect-init/package.json +++ b/suite-common/connect-init/package.json @@ -22,9 +22,5 @@ "@trezor/env-utils": "workspace:^", "@trezor/urls": "workspace:*", "@trezor/utils": "workspace:*" - }, - "devDependencies": { - "redux-mock-store": "^1.5.5", - "redux-thunk": "^3.1.0" } } diff --git a/suite-common/connect-popup/package.json b/suite-common/connect-popup/package.json index 6e4a7a95de..5a3f2db2e6 100644 --- a/suite-common/connect-popup/package.json +++ b/suite-common/connect-popup/package.json @@ -13,18 +13,10 @@ "@reduxjs/toolkit": "2.8.2", "@suite-common/analytics": "workspace:*", "@suite-common/redux-utils": "workspace:*", - "@suite-common/suite-types": "workspace:*", - "@suite-common/test-utils": "workspace:*", "@suite-common/wallet-core": "workspace:*", "@trezor/connect": "workspace:*", - "@trezor/env-utils": "workspace:^", - "@trezor/urls": "workspace:*", "@trezor/utils": "workspace:*" }, - "devDependencies": { - "redux-mock-store": "^1.5.5", - "redux-thunk": "^3.1.0" - }, "peerDependencies": { "@trezor/suite-desktop-api": "workspace:*" }, diff --git a/suite-common/connect-popup/tsconfig.json b/suite-common/connect-popup/tsconfig.json index 20da245f7c..c1b81db64c 100644 --- a/suite-common/connect-popup/tsconfig.json +++ b/suite-common/connect-popup/tsconfig.json @@ -4,12 +4,8 @@ "references": [ { "path": "../analytics" }, { "path": "../redux-utils" }, - { "path": "../suite-types" }, - { "path": "../test-utils" }, { "path": "../wallet-core" }, { "path": "../../packages/connect" }, - { "path": "../../packages/env-utils" }, - { "path": "../../packages/urls" }, { "path": "../../packages/utils" } ] } diff --git a/suite-native/app/package.json b/suite-native/app/package.json index fd20dcdc8b..0f3f64d00d 100644 --- a/suite-native/app/package.json +++ b/suite-native/app/package.json @@ -27,18 +27,12 @@ "@exodus/patch-broken-hermes-typed-arrays": "^1.0.0-alpha.1", "@expo/config-plugins": "10.1.2", "@gorhom/bottom-sheet": "5.1.5", - "@mobily/ts-belt": "^3.13.1", - "@react-native-async-storage/async-storage": "2.2.0", - "@react-native-community/netinfo": "^11.4.1", "@react-native/metro-config": "^0.79.2", "@react-navigation/bottom-tabs": "7.4.6", - "@react-navigation/native": "7.1.17", "@react-navigation/native-stack": "7.3.25", "@reduxjs/toolkit": "2.8.2", - "@sentry/react-native": "6.20.0", "@shopify/flash-list": "1.7.6", "@shopify/react-native-skia": "2.2.3", - "@suite-common/analytics": "workspace:*", "@suite-common/connect-init": "workspace:*", "@suite-common/formatters": "workspace:*", "@suite-common/message-system": "workspace:*", @@ -48,7 +42,6 @@ "@suite-common/wallet-core": "workspace:*", "@suite-common/wallet-types": "workspace:*", "@suite-common/walletconnect": "workspace:*", - "@suite-native/accounts": "workspace:*", "@suite-native/alerts": "workspace:*", "@suite-native/analytics": "workspace:*", "@suite-native/atoms": "workspace:*", @@ -58,7 +51,6 @@ "@suite-native/connection-status": "workspace:*", "@suite-native/device": "workspace:*", "@suite-native/device-authorization": "workspace:*", - "@suite-native/discovery": "workspace:*", "@suite-native/icons": "workspace:*", "@suite-native/intl": "workspace:*", "@suite-native/local-first-storage": "workspace:*", @@ -78,92 +70,50 @@ "@suite-native/module-settings": "workspace:*", "@suite-native/module-staking-management": "workspace:*", "@suite-native/module-trading": "workspace:*", - "@suite-native/navigation": "workspace:*", - "@suite-native/notifications": "workspace:*", "@suite-native/receive": "workspace:*", "@suite-native/sentry": "workspace:*", "@suite-native/settings": "workspace:*", "@suite-native/state": "workspace:*", - "@suite-native/storage": "workspace:*", "@suite-native/theme": "workspace:*", "@suite-native/toasts": "workspace:*", "@suite-native/transactions": "workspace:*", "@trezor/bundler-security": "workspace:*", "@trezor/connect": "workspace:*", - "@trezor/react-native-usb": "workspace:*", "@trezor/styles": "workspace:*", "@trezor/theme": "workspace:*", "@trezor/trezor-user-env-link": "workspace:*", - "@trezor/utils": "workspace:*", - "@walletconnect/react-native-compat": "^2.20.3", "@whatwg-node/events": "0.1.2", "abortcontroller-polyfill": "1.7.8", "buffer": "^6.0.3", "event-target-shim": "6.0.2", "expo": "^53.0.22", - "expo-build-properties": "0.14.8", - "expo-camera": "16.1.11", - "expo-clipboard": "7.1.5", - "expo-dev-client": "~5.2.4", - "expo-haptics": "~14.1.4", - "expo-image": "2.4.0", - "expo-image-picker": "~16.1.4", - "expo-keep-awake": "14.1.4", - "expo-linear-gradient": "~14.1.5", - "expo-linking": "7.1.7", - "expo-localization": "16.1.6", - "expo-secure-store": "~14.2.3", "expo-splash-screen": "0.30.10", - "expo-status-bar": "~2.2.3", - "expo-system-ui": "5.0.10", - "expo-updates": "0.28.17", - "expo-video": "2.2.2", - "fast-text-encoding": "^1.0.6", "jotai": "2.13.1", - "lottie-react-native": "7.3.2", "node-libs-browser": "^2.2.1", "react": "19.0.0", - "react-intl": "^7.1.11", "react-native": "0.79.3", - "react-native-ble-plx": "3.5.0", - "react-native-edge-to-edge": "1.6.2", - "react-native-gesture-handler": "2.28.0", "react-native-keyboard-controller": "1.18.5", - "react-native-launch-arguments": "^4.1.0", - "react-native-mmkv": "2.12.2", - "react-native-permissions": "5.4.2", "react-native-quick-crypto": "0.7.17", "react-native-reanimated": "^3.18.0", - "react-native-restart": "0.0.27", "react-native-safe-area-context": "5.6.1", - "react-native-screens": "4.14.1", - "react-native-svg": "15.12.1", "react-native-webview": "13.15.0", - "react-redux": "9.2.0", - "redux-persist": "6.0.0" + "react-redux": "9.2.0" }, "devDependencies": { "@babel/core": "^7.28.0", "@babel/plugin-transform-export-namespace-from": "^7.25.9", - "@config-plugins/detox": "^11.0.0", - "@currents/cmd": "^1.6.9", "@jest/globals": "^29.7.0", - "@react-native-community/cli": "^15.1.2", "@react-native/babel-preset": "0.81.0", "@suite-common/test-utils": "workspace:^", "@trezor/connect-mobile": "workspace:^", - "@types/fast-text-encoding": "^1", - "@types/jest": "^29.5.12", "@types/node": "22.13.10", "babel-jest": "29.7.0", "babel-plugin-transform-inline-environment-variables": "^0.4.4", "babel-plugin-transform-remove-console": "^6.9.4", "detox": "^20.40.2", "dotenv": "^17.2.1", - "expo-atlas": "0.4.3", "jest": "29.7.0", "jest-junit": "^16.0.0", - "metro": "^0.82.0", "ts-jest": "29.4.1", "ts-node": "^10.9.2", "typescript": "5.8.3" diff --git a/suite-native/app/tsconfig.json b/suite-native/app/tsconfig.json index b4ececd567..b1eb765499 100644 --- a/suite-native/app/tsconfig.json +++ b/suite-native/app/tsconfig.json @@ -2,9 +2,6 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "outDir": "./libDev" }, "references": [ - { - "path": "../../suite-common/analytics" - }, { "path": "../../suite-common/connect-init" }, @@ -32,7 +29,6 @@ { "path": "../../suite-common/walletconnect" }, - { "path": "../accounts" }, { "path": "../alerts" }, { "path": "../analytics" }, { "path": "../atoms" }, @@ -42,7 +38,6 @@ { "path": "../connection-status" }, { "path": "../device" }, { "path": "../device-authorization" }, - { "path": "../discovery" }, { "path": "../icons" }, { "path": "../intl" }, { "path": "../local-first-storage" }, @@ -68,13 +63,10 @@ "path": "../module-staking-management" }, { "path": "../module-trading" }, - { "path": "../navigation" }, - { "path": "../notifications" }, { "path": "../receive" }, { "path": "../sentry" }, { "path": "../settings" }, { "path": "../state" }, - { "path": "../storage" }, { "path": "../theme" }, { "path": "../toasts" }, { "path": "../transactions" }, @@ -82,15 +74,11 @@ "path": "../../packages/bundler-security" }, { "path": "../../packages/connect" }, - { - "path": "../../packages/react-native-usb" - }, { "path": "../../packages/styles" }, { "path": "../../packages/theme" }, { "path": "../../packages/trezor-user-env-link" }, - { "path": "../../packages/utils" }, { "path": "../../suite-common/test-utils" },