-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Expand file tree
/
Copy pathpackage.json
More file actions
268 lines (268 loc) Β· 12.4 KB
/
package.json
File metadata and controls
268 lines (268 loc) Β· 12.4 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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
{
"name": "universe",
"version": "0.0.0",
"devDependencies": {
"@actions/core": "1.10.1",
"@commitlint/cli": "17.5.0",
"@commitlint/config-conventional": "17.4.4",
"@crowdin/cli": "3.14.0",
"@ethersproject/keccak256": "5.7.0",
"@jambit/eslint-plugin-typed-redux-saga": "0.4.0",
"@manypkg/cli": "0.19.2",
"@nx/devkit": "22.5.4",
"@nx/jest": "22.5.4",
"@nx/js": "22.5.4",
"@nx/plugin": "22.5.4",
"@nx/workspace": "22.5.4",
"@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.11",
"@types/inquirer": "9.0.8",
"@types/node": "22.13.1",
"@typescript/native-preview": "7.0.0-dev.20260311.1",
"clipboardy": "4.0.0",
"danger": "11.2.6",
"depcheck": "1.4.7",
"dotenv-cli": "7.1.0",
"eslint-plugin-no-unsanitized": "4.1.5",
"eslint-plugin-security": "4.0.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.5.4",
"oxfmt": "0.41.0",
"oxlint": "1.56.0",
"oxlint-plugin-eslint": "1.57.0",
"oxlint-tsgolint": "0.17.1",
"playwright-slack-report": "1.1.109",
"syncpack": "8.5.14",
"tslib": "2.3.0",
"typescript": "5.8.3",
"wrangler": "4.65.0"
},
"engines": {
"node": "=22.13.1",
"bun": ">=1.3.11",
"npm": "please-use-bun"
},
"manypkg": {
"ignoredRules": [
"INTERNAL_MISMATCH",
"ROOT_HAS_DEV_DEPENDENCIES"
]
},
"private": true,
"trustedDependencies": [
"@datadog/mobile-react-native",
"@parcel/watcher",
"@reown/appkit",
"@swc/core",
"@tailwindcss/oxide",
"bufferutil",
"cpu-features",
"esbuild",
"keccak",
"lefthook",
"msw",
"nitrogen",
"nx",
"protobufjs",
"react-native-nitro-modules",
"sharp",
"ssh2",
"unrs-resolver",
"utf-8-validate",
"workerd"
],
"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",
"@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.",
"@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",
"webpack@5.90.0": "Pinned for Storybook compatibility β webpack 5.105.4 breaks Storybook module bundling. Webpack security CVEs (GHSA-4vvj-4cpr-p986, GHSA-8fgc-7cc6-rx7x, GHSA-38r7-794h-5758) are accepted risk for this dev-only build tool"
},
"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",
"@babel/runtime": "7.26.0",
"@coinbase/wallet-sdk": "4.3.2",
"@ethersproject/hash": "5.7.0",
"@react-native-community/cli": "18.0.1",
"@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",
"@uniswap/router-sdk": "2.7.1",
"@uniswap/sdk-core": "7.12.1",
"@uniswap/v2-sdk": "4.19.1",
"@wxt-dev/browser": "0.1.4",
"@xmldom/xmldom": "0.7.7",
"braces": "3.0.3",
"cheerio": "1.0.0-rc.12",
"cross-spawn": "7.0.6",
"elliptic": "6.6.1",
"@expo/uuid": "3.4.0",
"form-data": "4.0.5",
"graphql": "16.10.0",
"@hono/node-server": "1.19.11",
"hono": "4.12.8",
"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",
"kysely": "0.28.12",
"moti": "0.27.2",
"multicodec": "3.0.1",
"multihashes": "4.0.2",
"on-headers": "1.1.0",
"next": "16.1.7",
"node-fetch": "2.7.0",
"node-gyp": "10.0.1",
"phin": "3.7.1",
"qs": "6.14.2",
"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.6.1",
"sharp": "0.33.5",
"simple-git": "3.32.3",
"socket.io-parser": "4.2.6",
"typescript": "5.8.3",
"viem": "2.30.5",
"vite": "7.3.1",
"@vitejs/plugin-react": "4.7.0",
"xml2js": "0.5.0",
"yaml": "2.2.2",
"zod": "4.3.6",
"webpack": "5.90.0"
},
"scripts": {
"// ββ Setup Commands ββ": "First-time setup, install hooks, environment verification",
"preinstall": "./scripts/check-runtime-versions.sh",
"postinstall": "lefthook install && bun g:prepare && touch node_modules/.install-marker",
"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",
"g:prepare": "nx run-many -t prepare",
"// ββ Quality Checks ββ": "Build, format, lint, typecheck, test, and dependency checks across all packages",
"g:build": "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": "bun g:check:deps:sync && bun g:typecheck && nx affected -t format,lint,check:circular,check:deps:usage --output-style=stream && bun g:check:deps:mismatch",
"g:check:fast": "bun g:check:deps:sync && bun g:typecheck && nx affected -t format,lint:oxlint:fast --uncommitted",
"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:deps:sync": "./scripts/check-deps-sync.sh",
"g:check:circular": "nx run-many -t check:circular",
"g:format": "nx run-many -t format",
"g:format:deps": "syncpack format",
"g:lint": "nx run-many -t lint",
"g:lint:changed": "nx affected -t lint --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:lint:fix": "nx run-many -t lint:fix",
"g:typecheck": "test \"$DISABLE_TSGO\" = \"true\" && { nx run-many -t typecheck || exit $?; } || bun g:prepare && bun run g:typecheck:tsgo",
"g:typecheck:changed": "nx affected -t typecheck --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:typecheck:tsgo": "echo 'Running tsgo' && tsgo -b && echo 'Typecheck complete'",
"g:test": "nx run-many -t test",
"g:test:changed": "nx affected -t test --base=${NX_BASE:-main} --head=${NX_HEAD:-HEAD}",
"g:snapshots": "nx run-many -t snapshots",
"// ββ Cleanup & Troubleshooting ββ": "Remove artifacts to resolve common issues",
"clean": "bash ./scripts/clean.sh",
"clean:docs": "git submodule update --init apps/dev-portal/content/docs",
"clean:local-packages": "bash ./scripts/remove-local-packages.sh",
"clean:nodemodules": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' +",
"// ββ Tooling Maintenance ββ": "Package generation, dependency upgrades, cleanup",
"generate:package": "NX_PREFER_TS_NODE=true nx generate @universe/uniswap-nx:package",
"upgrade:tamagui": "bun update '*tamagui*' '@tamagui/*'",
"upgrade:tamagui:canary": "bun update '*tamagui*'@canary '@tamagui/*'@canary",
"// ββ Other Utilities ββ": "Various other utilities, including i18n, codegen, and release management",
"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",
"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",
"// ββ Package Shortcuts ββ": "bun <name> <script> aliases for each workspace package",
"analytics": "bun run --cwd packages/analytics",
"api": "bun run --cwd packages/api",
"cli": "bun run --cwd apps/cli",
"config": "bun run --cwd packages/config",
"dev-portal": "bun run --cwd apps/dev-portal",
"extension": "bun run --cwd apps/extension",
"gating": "bun run --cwd packages/gating",
"hashcash-native": "bun run --cwd packages/hashcash-native",
"logger": "bun run --cwd packages/logger",
"mission-control": "bun run --cwd apps/mission-control",
"mobile": "bun run --cwd apps/mobile",
"mycelium": "bun run --cwd packages/mycelium",
"notifications": "bun run --cwd packages/notifications",
"prices": "bun run --cwd packages/prices",
"privacy": "bun run --cwd packages/privacy",
"react-query": "bun run --cwd packages/react-query",
"sandbox": "bun run --cwd labs/sandbox",
"sessions": "bun run --cwd packages/sessions",
"transactional": "bun run --cwd packages/transactional",
"trpc": "bun run --cwd packages/trpc",
"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",
"websocket": "bun run --cwd packages/websocket"
},
"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-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",
"@manypkg/get-packages@1.1.3": "patches/@manypkg%2Fget-packages@1.1.3.patch"
}
}