-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Expand file tree
/
Copy pathpackage.json
More file actions
233 lines (233 loc) · 12.9 KB
/
package.json
File metadata and controls
233 lines (233 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
"name": "universe",
"version": "0.0.0",
"devDependencies": {
"@actions/core": "1.10.1",
"@biomejs/biome": "2.2.0",
"@commitlint/cli": "17.5.0",
"@commitlint/config-conventional": "17.4.4",
"@crowdin/cli": "3.14.0",
"@ethersproject/keccak256": "5.7.0",
"@manypkg/cli": "0.19.2",
"@nx/devkit": "22.2.0",
"@nx/jest": "22.2.0",
"@nx/js": "22.2.0",
"@nx/plugin": "22.2.0",
"@nx/workspace": "22.2.0",
"@slack/types": "2.15.0",
"@swc-node/register": "1.9.1",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.11",
"@types/bun": "1.3.1",
"@types/inquirer": "9.0.8",
"@types/node": "22.13.1",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"@typescript/native-preview": "7.0.0-dev.20260108.1",
"clipboardy": "4.0.0",
"danger": "11.2.6",
"depcheck": "1.4.7",
"dotenv-cli": "7.1.0",
"i18next": "23.10.0",
"i18next-parser": "8.6.0",
"inquirer": "8.2.6",
"js-yaml": "4.1.0",
"knip": "5.50.5",
"lefthook": "1.12.2",
"moti": "0.29.0",
"nx": "22.2.0",
"playwright-slack-report": "1.1.99",
"syncpack": "8.5.14",
"tslib": "2.3.0",
"typescript": "5.8.3",
"wrangler": "4.65.0"
},
"engines": {
"node": "=22.13.1",
"bun": ">=1.3.1",
"npm": "please-use-bun"
},
"manypkg": {
"ignoredRules": ["INTERNAL_MISMATCH", "ROOT_HAS_DEV_DEPENDENCIES"]
},
"private": true,
"patchedDependenciesComments": {
"immer": "this fixes typecheck in mobile app, see https://github.com/reduxjs/redux-toolkit/issues/1806",
"react-native-wagmi-charts@2.5.1": "this fixes really bad performance issue when the pulse dot is enabled",
"@typescript-eslint/eslint-plugin": "Fixes a conflict between our eslint configs and the configs of external packages, like '@react-native-community/eslint-config'.",
"@typescript-eslint/parser": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-react": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-react-hooks": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-jest": "Fixes a conflict between our eslint configs and the configs of external packages.",
"@gorhom/bottom-sheet@4.6.4": "Fixes bottom sheet dynamic snap point backdrop flickering.",
"react-native-sortables@1.7.1": "Fixes issue with showing grid cells in the favorite tokens grid. Should be removed after migrating to the new architecture.",
"react-native-tab-view@3.5.2": "Fixes warning on profile screens with spreading key from props. Fixed in react-native-tab-view <4.0.0-alpha.7",
"@react-native-community/cli-server-api": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"@react-native/dev-middleware": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"@tamagui/portal@1.136.1": "Fixes issue with not rendering content in sheets on mweb (e.g. Selecting a token on swap flow) on web production builds.",
"@tamagui/static@1.136.1": "Fixes applying styles (e.g. with hoverStyle) for buttons on web production builds.",
"webpack@5.90.0": "Fixes issues with incompatible webpack typings in storybook",
"@expo/config-plugins@10.1.1": "Allows overriding Xcode build configuration via EXPO_BUILD_CONFIGURATION env var for 'expo start' interactive mode. Fixes bundle ID resolution when using variable substitution ($(BUNDLE_ID_SUFFIX)) in Xcode project.",
"@expo/cli@0.24.21": "Fixes issue with not launching the correct activity on android, so we pass EXPO_ANDROID_LAUNCH_ACTIVITY env var.",
"zod@4.3.6": "Enables jitless mode by default to avoid CSP unsafe-eval violations in browser extension content scripts. See https://github.com/colinhacks/zod/issues/4461"
},
"resolutions": {
"react": "19.0.3",
"react-dom": "19.0.3",
"@tanstack/query-core": "5.90.20",
"@expo/config-plugins": "10.1.1",
"@apollo/client": "3.11.10",
"@babel/preset-env": "7.26.0",
"@coinbase/wallet-sdk": "4.3.2",
"@ethersproject/hash": "5.7.0",
"@react-native-community/cli-server-api": "15.0.1",
"@react-native/dev-middleware": "0.79.5",
"@sideway/formula": "3.0.1",
"@swc-node/register": "1.9.1",
"@swc/core": "1.5.7",
"@swc/helpers": "0.5.11",
"@types/react": "19.0.10",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"@uniswap/router-sdk": "2.3.2",
"@uniswap/sdk-core": "7.11.0",
"@uniswap/v2-sdk": "4.17.0",
"@wxt-dev/browser": "0.1.4",
"@xmldom/xmldom": "0.7.7",
"cheerio": "1.0.0-rc.12",
"elliptic": "6.5.7",
"eslint-plugin-ft-flow": "2.0.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.2",
"@expo/uuid": "3.4.0",
"immer": "9.0.21",
"is-core-module": "2.13.0",
"jest": "29.7.0",
"json5": "2.2.2",
"metro": "0.82.0",
"metro-config": "0.82.0",
"metro-core": "0.82.0",
"metro-resolver": "0.82.0",
"moti": "0.27.2",
"multicodec": "3.0.1",
"multihashes": "4.0.2",
"node-gyp": "10.0.1",
"qs": "6.11.0",
"react-native": "0.79.5",
"react-native-svg": "15.13.0",
"react-native-web": "0.19.13",
"react-refresh": "0.14.0",
"rehackt": "0.1.0",
"resolve": "1.22.4",
"semver": "7.5.2",
"sharp": "0.33.5",
"typescript": "5.8.3",
"viem": "2.30.5",
"vite": "7.3.1",
"@vitejs/plugin-react": "4.7.0",
"webpack": "5.90.0",
"xml2js": "0.5.0",
"yaml": "2.2.2",
"zod": "4.3.6"
},
"scripts": {
"api": "bun run --cwd packages/api",
"biome-config": "bun run --cwd packages/biome-config",
"config": "bun run --cwd packages/config",
"eslint-config": "bun run --cwd packages/eslint-config",
"extension": "bun run --cwd apps/extension",
"hashcash-native": "bun run --cwd packages/hashcash-native",
"mobile": "bun run --cwd apps/mobile",
"sessions": "bun run --cwd packages/sessions",
"ui": "bun run --cwd packages/ui",
"uniswap": "bun run --cwd packages/uniswap",
"utilities": "bun run --cwd packages/utilities",
"wallet": "bun run --cwd packages/wallet",
"web": "bun run --cwd apps/web",
"clean": "bash ./scripts/clean.sh",
"lfg": "bun run g:prepare && bun run mobile env:local:download && bun run extension env:local:download && bun run g:build && bun run mobile pod && bun run mobile ios",
"local:check": "./scripts/local-version-check.sh",
"preinstall": "./scripts/check-runtime-versions.sh",
"postinstall": "lefthook install && bun g:prepare && touch node_modules/.install-marker",
"g:build": "./scripts/check-deps-sync.sh; NODE_OPTIONS=--max_old_space_size=8192 nx run-many -t build --parallel",
"g:build:storybook": "nx run-many -t storybook:build --skip-nx-cache --parallel",
"g:check:deps:usage": "./scripts/check-deps-with-vue-fix.sh && nx run-many -t check:deps:usage",
"g:check:deps:mismatch": "manypkg check",
"g:check:circular": "nx run-many -t check:circular",
"g:format:deps": "syncpack format",
"g:format": "nx run-many -t lint:biome:fix",
"g:format:changed": "nx affected -t lint:biome:fix --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:lint:changed": "./scripts/check-deps-sync.sh; nx affected -t lint --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:lint": "./scripts/check-deps-sync.sh; nx run-many -t lint",
"g:lint:fix": "nx run-many -t lint:fix",
"g:pre-commit-checks": "./scripts/check-deps-sync.sh; nx affected -t typecheck,lint:biome --uncommitted --output-style=stream",
"g:prepare": "nx run-many -t prepare --output-style=stream",
"g:rm:local-packages": "bash ./scripts/remove-local-packages.sh",
"g:rm:nodemodules": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' +",
"g:run-all-checks": "./scripts/check-deps-sync.sh; nx run-many -t typecheck,lint,test,build,check:circular",
"g:run-fast-checks": "./scripts/check-deps-sync.sh; nx affected -t typecheck,lint,build --base=${NX_BASE:-HEAD~1} --head=${NX_HEAD:-HEAD}",
"g:snapshots": "nx run-many -t snapshots",
"g:test:storybook:standalone": "nx run-many -t storybook:test:standalone --skip-nx-cache --parallel",
"g:test": "./scripts/check-deps-sync.sh; nx run-many -t test",
"g:test:coverage": "nx run-many -t test -- --collectCoverage=true",
"g:test:coverage:rest": "nx run-many -t test --projects @uniswap/eslint-config -- --collectCoverage=true",
"g:test:coverage:vitest": "nx run-many -t test:coverage --projects @universe/api,@universe/notifications,@universe/sessions,@universe/websocket,@universe/prices,utilities,ui,uniswap,mission-control",
"g:test:coverage:web": "nx test @universe/web -- --coverage",
"g:test:coverage:web:set1": "nx test:set1 @universe/web -- --coverage",
"g:test:coverage:web:set2": "nx test:set2 @universe/web -- --coverage",
"g:test:coverage:web:set3": "nx test:set3 @universe/web -- --coverage",
"g:test:coverage:web:set4": "nx test:set4 @universe/web -- --coverage",
"g:test:coverage:extension": "nx test @uniswap/extension -- --collectCoverage=true",
"g:test:coverage:mobile": "nx test @uniswap/mobile -- --collectCoverage=true",
"g:test:coverage:wallet": "nx test wallet -- --collectCoverage=true",
"g:typecheck": "./scripts/check-deps-sync.sh; test \"$ENABLE_TSGO\" = \"true\" && { bun run g:typecheck:tsgo || exit $?; } || nx run-many -t typecheck",
"g:typecheck:changed": "./scripts/check-deps-sync.sh; test \"$ENABLE_TSGO\" = \"true\" && { bun run g:typecheck:tsgo:changed || exit $?; } || nx affected -t typecheck --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:typecheck:tsgo": "echo 'Preparing packages' && bun g:prepare && echo 'Running tsgo' && tsgo -b && echo 'Typecheck complete'",
"g:typecheck:tsgo:changed": "nx affected -t typecheck:tsgo --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"generate:package": "NX_PREFER_TS_NODE=true nx generate @universe/uniswap-nx:package",
"i18n:extract": "i18next",
"i18n:_upload": "crowdin upload",
"i18n:upload": "dotenv -e .env.defaults -c -- bun run i18n:_upload",
"i18n:_download": "crowdin download",
"i18n:download": "dotenv -e .env.defaults -c -- bun run i18n:_download",
"tradingapi:schema": "nx run-many -t tradingapi:schema",
"tradingapi:generate": "nx run-many -t tradingapi:generate",
"upgrade:tamagui": "bun update '*tamagui*' '@tamagui/*'",
"upgrade:tamagui:canary": "bun update '*tamagui*'@canary '@tamagui/*'@canary",
"wallet:release:setup-cherry-pick-branches": "bunx tsx ./scripts/wallet-releases/generate-cherry-pick-branches-for-release.ts",
"wallet:release:generate-cherry-pick-commit-command": "bunx tsx ./scripts/wallet-releases/generate-cherry-pick-commit-command.ts",
"gating": "bun run --cwd packages/gating",
"notifications": "bun run --cwd packages/notifications",
"cli": "bun run --cwd apps/cli",
"dev-portal": "bun run --cwd apps/dev-portal",
"mission-control": "bun run --cwd apps/mission-control",
"transactional": "bun run --cwd packages/transactional",
"mycelium": "bun run --cwd packages/mycelium",
"sandbox": "bun run --cwd labs/sandbox",
"websocket": "bun run --cwd packages/websocket",
"prices": "bun run --cwd packages/prices"
},
"workspaces": ["apps/*", "packages/*", "config/*", "tools/uniswap-nx", "labs/*"],
"patchedDependencies": {
"multiformats@9.9.0": "patches/multiformats@9.9.0.patch",
"react-native-context-menu-view@1.15.0": "patches/react-native-context-menu-view@1.15.0.patch",
"react-native-fast-image@8.6.3": "patches/react-native-fast-image@8.6.3.patch",
"react-native-reanimated@3.19.3": "patches/react-native-reanimated@3.19.3.patch",
"react-native-sortables@1.7.1": "patches/react-native-sortables@1.7.1.patch",
"react-native-tab-view@3.5.2": "patches/react-native-tab-view@3.5.2.patch",
"@react-native/gradle-plugin@0.79.5": "patches/@react-native%2Fgradle-plugin@0.79.5.patch",
"@shopify/react-native-performance@4.1.2": "patches/@shopify%2Freact-native-performance@4.1.2.patch",
"@vercel/og@0.5.8": "patches/@vercel%2Fog@0.5.8.patch",
"@tamagui/portal@1.136.1": "patches/@tamagui%2Fportal@1.136.1.patch",
"@tamagui/static@1.136.1": "patches/@tamagui%2Fstatic@1.136.1.patch",
"@expo/config-plugins@10.1.1": "patches/@expo%2Fconfig-plugins@10.1.1.patch",
"@expo/cli@0.24.21": "patches/@expo%2Fcli@0.24.21.patch",
"react-native@0.79.5": "patches/react-native@0.79.5.patch",
"fumadocs-core@16.5.0": "patches/fumadocs-core@16.5.0.patch",
"fumadocs-ui@16.5.0": "patches/fumadocs-ui@16.5.0.patch",
"@fumadocs/ui@16.5.0": "patches/@fumadocs%2Fui@16.5.0.patch",
"zod@4.3.6": "patches/zod@4.3.6.patch"
}
}