diff --git a/CODEOWNERS b/CODEOWNERS index 423a7df44622..bffeff9b4a39 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -2,7 +2,13 @@ /docker @vdovhanych @mroz22 -/scripts @MiroslavProchazka +/scripts/list-outdated-dependencies/connect-dependencies.txt @mroz22 +/scripts/list-outdated-dependencies/engagement-dependencies.txt @jvaclavik +/scripts/list-outdated-dependencies/foundation-dependencies.txt @komret +/scripts/list-outdated-dependencies/mobile-dependencies.txt @matejkriz +/scripts/list-outdated-dependencies/qa-dependencies.txt @HajekOndrej +/scripts/list-outdated-dependencies/trends-dependencies.txt @tomasklim +/scripts @karliatto /packages/analytics @tomasklim @@ -72,9 +78,7 @@ /packages/transport-test @mroz22 -/packages/transport-native @trezor/suite-mobile @MiroslavProchazka - -/packages/theme @MiroslavProchazka @trezor/suite-engagement +/packages/theme @trezor/suite-engagement /packages/urls @marekrjpolak @@ -84,11 +88,11 @@ /packages/utxo-lib @szymonlesisz -/packages/styles @MiroslavProchazka @trezor/suite-engagement +/packages/styles @trezor/suite-engagement /packages/suite/src/support/messages.ts @MiroslavProchazka -/suite-common/graph @trezor/suite-mobile @MiroslavProchazka +/suite-common/graph @trezor/suite-mobile /packages/connect/src/data/deviceAuthenticityConfig.ts @tsusanka diff --git a/packages/suite-web/package.json b/packages/suite-web/package.json index e6d8bdd5f2bc..ab39143f7c26 100644 --- a/packages/suite-web/package.json +++ b/packages/suite-web/package.json @@ -49,7 +49,6 @@ "stylelint-config-standard": "^36.0.0", "tsx": "^4.19.3", "webpack": "^5.97.1", - "ws": "^8.18.0", - "yargs": "17.7.2" + "ws": "^8.18.0" } } diff --git a/scripts/ci/list-missing-dependencies.sh b/scripts/ci/list-missing-dependencies.sh index 7da5d8db7a73..7ae15b717ec8 100755 --- a/scripts/ci/list-missing-dependencies.sh +++ b/scripts/ci/list-missing-dependencies.sh @@ -1,7 +1,7 @@ #!/bin/bash # List dependencies missing from the domain lists. -domains=("common" "connect" "foundation" "mobile" "qa" "trends" "engagement") +domains=("connect" "foundation" "mobile" "qa" "trends" "engagement") dependencies_in_lists=() dependencies_missing_from_lists=() diff --git a/scripts/list-outdated-dependencies/common-dependencies.txt b/scripts/list-outdated-dependencies/common-dependencies.txt deleted file mode 100644 index c04905a96000..000000000000 --- a/scripts/list-outdated-dependencies/common-dependencies.txt +++ /dev/null @@ -1,95 +0,0 @@ -@babel/cli -@babel/core -@babel/node -@babel/plugin-proposal-class-properties -@babel/plugin-proposal-decorators -@babel/plugin-transform-runtime -@babel/preset-env -@babel/preset-react -@babel/preset-typescript -@babel/runtime -@mobily/ts-belt -@pmmmwh/react-refresh-webpack-plugin -@reduxjs/toolkit -@testing-library/react -@testing-library/jest-dom -@testing-library/user-event -@types/copy-webpack-plugin -@types/file-saver -@types/fs-extra -@types/node-fetch -@types/prettier -@types/react -@types/react-dom -@types/react-router -@types/react-router-dom -@types/react-test-renderer -@types/redux-logger -@types/redux-mock-store -@types/tar -@types/webpack-bundle-analyzer -@types/webpack-plugin-serve -babel-jest -babel-loader -bignumber.js -bn.js -chalk -concurrently -copy-webpack-plugin -cross-fetch -depcheck -escape-string-regexp -fake-indexeddb -file-saver -fs-extra -glob -globals -history -html-webpack-plugin -immer -jest -jest-canvas-mock -jest-watch-typeahead -jsdom -minimatch -node-fetch -node-gyp -nx -patch-package -prettier -raw-loader -react -react-dom -react-fela -react-inspector -react-redux -react-refresh -react-router -react-router-dom -react-test-renderer -react-toastify -react-use -redux -redux-devtools-extension -redux-logger -redux-mock-store -redux-thunk -rimraf -reselect -sort-package-json -tar -ts-mixer -ts-node -tslib -tsx -typeforce -typescript -webpack -webpack-bundle-analyzer -webpack-cli -webpack-dev-server -webpack-merge -webpack-nano -webpack-plugin-serve -worker-loader -yargs diff --git a/scripts/list-outdated-dependencies/connect-dependencies.txt b/scripts/list-outdated-dependencies/connect-dependencies.txt index f8e816d0fa03..f6f97dfd1fd0 100644 --- a/scripts/list-outdated-dependencies/connect-dependencies.txt +++ b/scripts/list-outdated-dependencies/connect-dependencies.txt @@ -1,28 +1,62 @@ -next -next-seo -next-themes -nextra -nextra-theme-docs -tailwindcss -postcss -postcss-cli -postcss-import -postcss-lightningcss -@tailwindcss/nesting @codemirror/state +@hbsnow/rehype-sectionize +@jest/globals +@jest/types +@noble/hashes +@reown/walletkit +@scure/bip39 @sentry/browser @sentry/core @sentry/electron @sentry/webpack-plugin @sinclair/typebox @sinclair/typebox-codegen -@hbsnow/rehype-sectionize +@tailwindcss/nesting @types/bytebuffer @types/chrome +@types/events +@types/flexsearch +@types/git-url-parse +@types/json-stable-stringify +@types/karma +@types/lodash +@types/node-fetch +@types/semver +@types/sharedworker +@types/w3c-web-usb +@types/web +@types/ws +@uiw/react-codemirror @vitejs/plugin-react +@walletconnect/core +@walletconnect/react-native-compat +@walletconnect/utils +base-x +browserify-bignum +cbor-js +clsx +codemirror-json-schema +codemirror-json5 +concurrently +crc +cross-fetch +crypto-browserify +es6-promise +esbuild +escape-string-regexp eth-phishing-detect -pushdata-bitcoin -@types/karma +events +flexsearch +focus-visible +git-url-parse +groestl-hash-js +html-inline-script-webpack-plugin +intersection-observer +jest-environment-node +jest-extended +json-stable-stringify +json5 +jssha karma karma-babel-preprocessor karma-chrome-launcher @@ -30,68 +64,39 @@ karma-jasmine karma-jasmine-async karma-sourcemap-loader karma-webpack -@types/lodash lodash -@types/git-url-parse -git-url-parse -clsx -protobufjs -protobufjs-cli -es6-promise -focus-visible -base-x -@uiw/react-codemirror -browserify-bignum +long match-sorter -zod -esbuild -xvfb-maybe -scroll-into-view-if-needed -codemirror-json-schema -json-stable-stringify -@types/json-stable-stringify -intersection-observer -@types/semver -semver +next +next-seo +next-themes +nextra +nextra-theme-docs +node-fetch node-libs-browser -json-stable-stringify -usb -tiny-worker -terser-webpack-plugin +postcss +postcss-cli +postcss-import +postcss-lightningcss +protobufjs +protobufjs-cli +pushdata-bitcoin +react-inspector remark-gemoji remark-gfm -socks-proxy-agent +scroll-into-view-if-needed selfsigned -swr -long -json5 -groestl-hash-js -@types/flexsearch -flexsearch -codemirror-json5 -@types/w3c-web-usb -@types/sharedworker -crc -cbor-js -ws -@types/ws -crypto-browserify +semver +socks-proxy-agent stream-browserify -events -@types/web -jssha -@jest/types -@jest/globals -jest-extended -jest-environment-node -scroll-into-view-if-needed -@types/bn.js -@types/events -@noble/hashes -@scure/bip39 -@reown/walletkit -@walletconnect/core -@walletconnect/utils -@walletconnect/react-native-compat -html-inline-script-webpack-plugin +swr +tailwindcss +terser-webpack-plugin +tiny-worker +ts-mixer +ts-node +usb version-bump-prompt +ws +xvfb-maybe +zod diff --git a/scripts/list-outdated-dependencies/engagement-dependencies.txt b/scripts/list-outdated-dependencies/engagement-dependencies.txt index 58df09805bea..38107bc00443 100644 --- a/scripts/list-outdated-dependencies/engagement-dependencies.txt +++ b/scripts/list-outdated-dependencies/engagement-dependencies.txt @@ -1,36 +1,54 @@ @crowdin/cli @floating-ui/react +@formatjs/cli +@formatjs/intl @headlessui/react +@originjs/vite-plugin-commonjs @storybook/addon-actions @storybook/addon-controls +@storybook/addon-docs @storybook/addon-links @storybook/addon-viewport @storybook/addons -@storybook/addon-docs @storybook/client-api @storybook/react @storybook/react-webpack5 @storybook/test @storybook/theming +@types/pako +@types/pdfmake +@types/prettier +@types/react @types/react-date-range +@types/react-dom @types/react-qr-reader +@types/react-router +@types/react-router-dom @types/ua-parser-js +@types/zxcvbn autoprefixer -postcss-loader -postcss-modules-extract-imports -postcss-modules-local-by-default -postcss-modules-scope -postcss-modules-values -postcss-styled-syntax babel-plugin-styled-components css-in-js-utils css-loader css-minimizer-webpack-plugin csstype +date-fns framer-motion lottie-react +pako +pdfmake +polished +postcss-loader +postcss-modules-extract-imports +postcss-modules-local-by-default +postcss-modules-scope +postcss-modules-values +postcss-styled-syntax qrcode.react +react react-date-range +react-dom +react-focus-lock react-helmet-async react-intl react-markdown @@ -38,6 +56,7 @@ react-medium-image-zoom react-qr-reader react-select react-svg +react-toastify recharts simple-git storybook @@ -45,21 +64,13 @@ style-loader styled-components stylelint stylelint-config-standard +svgo +tslib +tsx +typescript typescript-styled-plugin ua-parser-js -zxcvbn -date-fns -@types/zxcvbn -react-focus-lock -@formatjs/cli -@formatjs/intl -@types/pako -pako -polished -svgo -@types/pdfmake -pdfmake -@originjs/vite-plugin-commonjs -vite-plugin-wasm vite +vite-plugin-wasm vm-browserify +zxcvbn diff --git a/scripts/list-outdated-dependencies/foundation-dependencies.txt b/scripts/list-outdated-dependencies/foundation-dependencies.txt index 60960c7b57e8..f7cc9107d01b 100644 --- a/scripts/list-outdated-dependencies/foundation-dependencies.txt +++ b/scripts/list-outdated-dependencies/foundation-dependencies.txt @@ -1,62 +1,75 @@ -# CRYPTOGRAPHY -golomb +@braintree/sanitize-url +@electron/fuses +@electron/notarize +@eslint/js +@hookform/resolvers +@types/bn.js @types/bs58 -bs58 @types/bs58check -bs58check +@types/cors @types/create-hmac -create-hmac +@types/electron-localshortcut +@types/file-saver +@types/fs-extra +@types/prettier +@types/tar +@types/wif bech32 +bignumber.js bip66 bitcoin-ops blake-hash blakejs -varuint-bitcoin -int64-buffer -minimaldata -n64 -@types/wif -wif -tiny-secp256k1 -uuid - -# DESKTOP -@electron/notarize +bn.js +bs58 +bs58check +chalk +cors +create-hmac +depcheck +dropbox electron electron-builder -@electron/fuses electron-localshortcut electron-store electron-updater -@types/electron-localshortcut -electron-localshortcut -openpgp -systeminformation -@braintree/sanitize-url - -# FORMS -@hookform/resolvers -react-hook-form - -# LABELING -@types/cors -cors -dropbox -express - -# STORAGE -idb - -# ESLINT -@eslint/js eslint -typescript-eslint eslint-plugin-chai-friendly eslint-plugin-import eslint-plugin-jest eslint-plugin-jsx-a11y eslint-plugin-local-rules eslint-plugin-mdx -eslint-plugin-react-hooks eslint-plugin-react +eslint-plugin-react-hooks +express +fake-indexeddb +file-saver +fs-extra +glob +globals +golomb +history husky +idb +int64-buffer +minimaldata +minimatch +n64 +nx +openpgp +prettier +react-hook-form +react-router +react-router-dom +rimraf +sort-package-json +systeminformation +tar +tiny-secp256k1 +typeforce +typescript-eslint +uuid +varuint-bitcoin +wif +yargs diff --git a/scripts/list-outdated-dependencies/list-outdated-dependencies.sh b/scripts/list-outdated-dependencies/list-outdated-dependencies.sh index a888ebdc773f..a759e1c2154b 100755 --- a/scripts/list-outdated-dependencies/list-outdated-dependencies.sh +++ b/scripts/list-outdated-dependencies/list-outdated-dependencies.sh @@ -2,7 +2,7 @@ script_directory="$(dirname "${BASH_SOURCE[0]}")" -domains=("common" "connect" "foundation" "mobile" "qa" "trends" "engagement") +domains=("connect" "foundation" "mobile" "qa" "trends" "engagement") valid_arguments_hint="Valid values are: ${domains[*]}." # Check if an argument was provided diff --git a/scripts/list-outdated-dependencies/mobile-dependencies.txt b/scripts/list-outdated-dependencies/mobile-dependencies.txt index e210bb7d3fdf..01b9e7c929ad 100644 --- a/scripts/list-outdated-dependencies/mobile-dependencies.txt +++ b/scripts/list-outdated-dependencies/mobile-dependencies.txt @@ -1,82 +1,84 @@ -react-native -expo -expo-linking -expo-localization -react-fela -fela -fela-enforce-longhands -fela-native -fela-plugin-embedded -fela-plugin-extend -fela-plugin-multiple-selectors -fela-plugin-placeholder-prefixer -fela-plugin-unit -fela-sort-media-query-mobile-first -@react-native/babel-preset -detox @babel/plugin-transform-export-namespace-from @config-plugins/detox -@react-native/metro-config +@gorhom/bottom-sheet +@mobily/ts-belt +@react-native-async-storage/async-storage +@react-native-community/cli @react-native-community/netinfo +@react-native/babel-preset +@react-native/metro-config @react-navigation/bottom-tabs @react-navigation/core @react-navigation/native @react-navigation/native-stack -@react-native-community/cli @sentry/react-native @shopify/flash-list +@shopify/react-native-skia @testing-library/react-native +@types/fast-text-encoding @types/jest @types/node +@whatwg-node/events +abortcontroller-polyfill babel-plugin-transform-inline-environment-variables babel-plugin-transform-remove-console buffer +detox +event-target-shim +expo expo-atlas -expo-video -expo-camera -expo-image-picker expo-build-properties +expo-camera expo-clipboard expo-crypto expo-dev-client expo-device expo-haptics expo-image +expo-image-picker expo-linear-gradient +expo-linking expo-local-authentication +expo-localization expo-navigation-bar expo-secure-store expo-splash-screen expo-status-bar expo-system-ui expo-updates +expo-video +fantasticon +fast-text-encoding +fela +fela-enforce-longhands +fela-native +fela-plugin-embedded +fela-plugin-extend +fela-plugin-multiple-selectors +fela-plugin-placeholder-prefixer +fela-plugin-unit +fela-sort-media-query-mobile-first +intl-pluralrules +jest-expo jotai lottie-react-native +metro +node-gyp +react-fela +react-native +react-native-edge-to-edge react-native-gesture-handler react-native-keyboard-controller react-native-mmkv react-native-quick-crypto +react-native-reanimated react-native-restart react-native-safe-area-context react-native-screens react-native-svg -react-native-edge-to-edge react-native-webview react-qr-code redux-devtools-expo-dev-plugin redux-persist ts-jest -@shopify/react-native-skia -react-native-reanimated yup -metro -jest-expo -intl-pluralrules -@gorhom/bottom-sheet -fantasticon -@whatwg-node/events -abortcontroller-polyfill -event-target-shim -@react-native-async-storage/async-storage -@types/fast-text-encoding -fast-text-encoding \ No newline at end of file diff --git a/scripts/list-outdated-dependencies/qa-dependencies.txt b/scripts/list-outdated-dependencies/qa-dependencies.txt index 9f72529d417a..0e31eed51f27 100644 --- a/scripts/list-outdated-dependencies/qa-dependencies.txt +++ b/scripts/list-outdated-dependencies/qa-dependencies.txt @@ -1,9 +1,9 @@ +@currents/cmd +@currents/playwright @playwright/browser-chromium @playwright/browser-firefox @playwright/browser-webkit @playwright/test -@currents/playwright -@currents/cmd dotenv -jest-junit jest-diff +jest-junit \ No newline at end of file diff --git a/scripts/list-outdated-dependencies/trends-dependencies.txt b/scripts/list-outdated-dependencies/trends-dependencies.txt index 59b867ff05e4..0f0b8b193951 100644 --- a/scripts/list-outdated-dependencies/trends-dependencies.txt +++ b/scripts/list-outdated-dependencies/trends-dependencies.txt @@ -1,27 +1,77 @@ +@babel/cli +@babel/core +@babel/node +@babel/plugin-proposal-class-properties +@babel/plugin-proposal-decorators +@babel/plugin-transform-runtime +@babel/preset-env +@babel/preset-react +@babel/preset-typescript +@babel/runtime @ethereumjs/common @ethereumjs/tx @everstake/wallet-sdk @fivebinaries/coin-selection -@solana/buffer-layout -@solana/kit +@metamask/eth-sig-util +@pmmmwh/react-refresh-webpack-plugin +@reduxjs/toolkit @solana-program/compute-budget +@solana-program/stake @solana-program/system @solana-program/token @solana-program/token-2022 @solana/addresses +@solana/buffer-layout @solana/keys +@solana/kit @solana/rpc-api @solana/rpc-types -@solana-program/stake -web3-utils -jws -@metamask/eth-sig-util @stellar/stellar-sdk -eth-phishing-detect +@testing-library/jest-dom +@testing-library/react +@testing-library/user-event +@types/bchaddrjs +@types/copy-webpack-plugin @types/invity-api -ajv @types/jws -json-schema-to-typescript -@types/bchaddrjs +@types/react-test-renderer +@types/redux-logger +@types/redux-mock-store +@types/webpack-bundle-analyzer +@types/webpack-plugin-serve +ajv +babel-jest +babel-loader bchaddrjs -xrpl \ No newline at end of file +copy-webpack-plugin +eth-phishing-detect +html-webpack-plugin +immer +jest +jest-canvas-mock +jest-watch-typeahead +jsdom +json-schema-to-typescript +jws +patch-package +raw-loader +react-redux +react-refresh +react-test-renderer +react-use +redux +redux-devtools-extension +redux-logger +redux-mock-store +redux-thunk +reselect +web3-utils +webpack +webpack-bundle-analyzer +webpack-cli +webpack-dev-server +webpack-merge +webpack-nano +webpack-plugin-serve +worker-loader +xrpl diff --git a/yarn.lock b/yarn.lock index 2ac1957950fc..e5fd28110853 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12103,7 +12103,6 @@ __metadata: webpack: "npm:^5.97.1" worker-loader: "npm:^3.0.8" ws: "npm:^8.18.0" - yargs: "npm:17.7.2" languageName: unknown linkType: soft