Skip to content

Commit

Permalink
[TRAH] Sergei / TRAH - 3006 / Trader's hub (appstore package) perform…
Browse files Browse the repository at this point in the history
…ance / Remove unused imports, remove unused classes, modify ExchangeRatesProvider (#14372)

* feat: intermediate result

* feat: remove unused imports part 2

* fix: get back toggle-account-type.scss

* fix: delete wallet test file

* fix: install types for package in @deriv/shared

* feat: add redirect to wallets

* feat: remove unused imports

* feat: check performance without modals

* feat: add lazy loading for ModalManager

* feat: delete lazy loading for now

* feat: delete more components

* fix: fully delete deriv/api

* fix: delet mock from the test

* feat: check class remove

* feat: keep purgecss only in appstore package

* feat: update webpack config

* feat: delete css webpack plugins and script from package.json

* feat: modify ExchangeRatesProvider

* fix: add useCallback to fix sonarCloud issue

* fix: mock useContext

* fix: add unsubscribe for exchange rates

* feat: add one more check for total asset loader

* feat: move helper function to helpers folder

---------

Co-authored-by: Sergei Baranovski <[email protected]>
Co-authored-by: Sergei Baranovski <[email protected]>
  • Loading branch information
3 people authored Mar 27, 2024
1 parent e2a4c95 commit c519895
Show file tree
Hide file tree
Showing 123 changed files with 221 additions and 6,185 deletions.
15 changes: 2 additions & 13 deletions packages/appstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,23 @@
"license": "Apache-2.0",
"dependencies": {
"@deriv-com/analytics": "1.4.13",
"@deriv/api": "^1.0.0",
"@deriv/account": "^1.0.0",
"@deriv/api-types": "^1.0.118",
"@deriv/cashier": "^1.0.0",
"@deriv/cfd": "^1.0.0",
"@deriv/components": "^1.0.0",
"@deriv/shared": "^1.0.0",
"@deriv/stores": "^1.0.0",
"@deriv/trader": "^3.8.0",
"@deriv/translations": "^1.0.0",
"@deriv/utils": "^1.0.0",
"@testing-library/jest-dom": "^5.12.0",
"@deriv/hooks": "^1.0.0",
"@deriv/wallets": "^1.0.0",
"classnames": "^2.2.6",
"formik": "^2.1.4",
"lodash.debounce": "^4.0.8",
"mobx": "^6.6.1",
"mobx-react-lite": "^3.4.0",
"object.fromentries": "^2.0.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-content-loader": "^6.2.0",
"react-joyride": "^2.5.3",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-transition-group": "4.4.2",
"embla-carousel-react": "8.0.0-rc12"
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
Expand All @@ -65,8 +54,8 @@
"@storybook/manager-webpack5": "^6.5.10",
"@storybook/react": "^6.5.10",
"@testing-library/react": "^12.0.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/user-event": "^13.5.0",
"@types/object.fromentries": "^2.0.0",
"@types/react": "^18.0.7",
"@types/react-dom": "^18.0.0",
"@types/react-router-dom": "^5.1.6",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c519895

Please sign in to comment.