Skip to content

Commit

Permalink
style: 🚨 fix lint errors
Browse files Browse the repository at this point in the history
feat: fix invert tag for certain raydium markets (dydxprotocol#709)

Co-authored-by: jaredvu <jaredvu@gmail.com>

chore(default-page): change default page to /markets (dydxprotocol#713)

chore(staking): remove last faq question (dydxprotocol#712)

feat: add tracking to staking (dydxprotocol#710)

fix: polishes for staking (dydxprotocol#716)

fix: nonzero rewards (dydxprotocol#653)

chore: fully type dialogs, fix some more any types, redo analytics (dydxprotocol#671)

fix: fix validator url icon (dydxprotocol#720)

chore(new-market): update header copy (dydxprotocol#718)

feat(mobile-download): Add mobile app store download links (dydxprotocol#717)

feat: preload metadata for all markets in otherMarketData.json (dydxprotocol#646)

Co-authored-by: jaredvu <jaredvu@gmail.com>

fix: isolated positions bug fixes + auto-open (dydxprotocol#721)

feat: orderbook refresh + updates (dydxprotocol#647)

chore: install-local-l10n command (dydxprotocol#697)

chore: use FormMaxInputToggleButton in transfer/deposit/withdraw forms (dydxprotocol#715)

fix: fix updated terms of use link (dydxprotocol#724)

fix: orderbook bugs (dydxprotocol#725)

style(nits): update exchange billboards and stats, assetIcons (dydxprotocol#726)

feat: update zk logo and zro zk logo data (dydxprotocol#727)

feat: skip track/status endpoints [OTE-354] (dydxprotocol#719)

fix(disconnect-cleanup): set localWallet and hdKey to undefined when disconnecting (dydxprotocol#728)

fix: analytics property names (dydxprotocol#730)

style(tables): update table header styling (dydxprotocol#729)
  • Loading branch information
DavideSegullo committed Jun 28, 2024
1 parent 173eeb3 commit 9713a8f
Show file tree
Hide file tree
Showing 693 changed files with 12,695 additions and 9,091 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,37 @@ Then run `pnpm install`

**Remember to revert to remote abacus before making a PR.**

# Local Localization (l10n) Development

## Directory structure

Our tooling assumes that the [v4-localization repo](https://github.com/dydxprotocol/v4-localization) is checked out alongside v4-web:

```
--- parent folder
|___ v4-web
|___ v4-localization
```

## Using your local v4-localization repo

When you want to begin developing in v4-localization:
**kill your dev server first** then use the following command:

```
pnpm run install-local-l10n
```

## Reverting to remote localization

You'll need to unlink your local localization package with the following command:

```
pnpm run remove-local-l10n
```

Unlike with abacus, you will need to **restart your dev server** to see the revert take effect.

# Deployments

## Deploying with Vercel
Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"clean-install": "rm -rf node_modules/ && pnpm i",
"preview": "vite preview",
"install-local-abacus": "node scripts/install-local-abacus",
"install-local-l10n": "pnpm link ../v4-localization && echo Linking... please remember to restart your dev server",
"remove-local-l10n": "pnpm unlink ../v4-localization && echo Unlinking... please remember to restart your dev server",
"ladle": "ladle serve",
"ladle-b": "ladle build",
"ladle-p": "ladle preview",
Expand All @@ -47,9 +49,9 @@
"@cosmjs/proto-signing": "^0.32.1",
"@cosmjs/stargate": "^0.32.1",
"@cosmjs/tendermint-rpc": "^0.32.1",
"@dydxprotocol/v4-abacus": "1.7.90",
"@dydxprotocol/v4-client-js": "^1.1.23",
"@dydxprotocol/v4-localization": "^1.1.134",
"@dydxprotocol/v4-abacus": "1.8.6",
"@dydxprotocol/v4-client-js": "^1.1.24",
"@dydxprotocol/v4-localization": "^1.1.138",
"@ethersproject/providers": "^5.7.2",
"@hugocxl/react-to-image": "^0.0.9",
"@js-joda/core": "^5.5.3",
Expand Down Expand Up @@ -84,6 +86,7 @@
"@reduxjs/toolkit": "^2.2.5",
"@scure/bip32": "^1.3.0",
"@scure/bip39": "^1.2.0",
"@skip-router/core": "^5.1.0",
"@tanstack/react-query": "^5.37.1",
"@types/lodash": "^4.14.195",
"@types/styled-components": "^5.1.26",
Expand All @@ -110,6 +113,7 @@
"ethers": "^6.6.1",
"export-to-csv": "^1.2.3",
"graz": "^0.0.43",
"jsdom": "^24.1.0",
"lodash": "^4.17.21",
"long": "^5.2.3",
"luxon": "^3.3.0",
Expand All @@ -125,6 +129,7 @@
"react-stately": "^3.23.0",
"reselect": "^5.1.0",
"styled-components": "^5.3.11",
"unionize": "^3.1.0",
"use-latest": "^1.2.1",
"viem": "^1.20.0",
"wagmi": "^1.4.12"
Expand Down
Loading

0 comments on commit 9713a8f

Please sign in to comment.