Skip to content

Commit 5dc3260

Browse files
ci(release): publish latest release
1 parent 4abdc2f commit 5dc3260

1,031 files changed

Lines changed: 24940 additions & 19878 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.agents/skills/docs-writerβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../.claude/skills/docs-writer

β€Ž.depcheckrcβ€Ž

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ ignores: [
22
# Dependencies that depcheck thinks are unused but are actually used
33
'@graphql-codegen/*',
44
'@commitlint/*',
5-
'@uniswap/eslint-config',
6-
'@uniswap/biome-config',
75
'i18next',
86
'moti',
97
'wrangler',
@@ -14,9 +12,9 @@ ignores: [
1412
'utf-8-validate',
1513
'semver',
1614
'typanion',
17-
"@nx/js",
18-
"@nx/workspace",
19-
"@swc/helpers",
15+
'@nx/js',
16+
'@nx/workspace',
17+
'@swc/helpers',
2018
# needed for ci
2119
'dd-trace',
2220
# depcheck flags itself as unused

β€Ž.env.defaultsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ TRADING_API_KEY=stored-in-.env.local
2424
FIREBASE_APP_CHECK_DEBUG_TOKEN=stored-in-.env.local
2525
INCLUDE_PROTOTYPE_FEATURES=stored-in-.env.local
2626
GH_TOKEN_RN_CLI=
27-
NPM_READ_ONLY_TOKEN=stored-in-.env.local
2827
PRIVY_APP_ID=stored-in-.env.local
2928
IS_E2E_TEST=false
3029
ENABLE_SESSION_SERVICE=false

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ yarn-error.log*
4242

4343
# nx
4444
.nx/
45+
graph.json
4546

4647
# .yarn files
4748
.yarn/cache

β€Ž.husky/post-mergeβ€Ž

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#!/bin/sh
2+
3+
if [ "$LEFTHOOK_VERBOSE" = "1" -o "$LEFTHOOK_VERBOSE" = "true" ]; then
4+
set -x
5+
fi
6+
7+
if [ "$LEFTHOOK" = "0" ]; then
8+
exit 0
9+
fi
10+
11+
call_lefthook()
12+
{
13+
if test -n "$LEFTHOOK_BIN"
14+
then
15+
"$LEFTHOOK_BIN" "$@"
16+
elif lefthook -h >/dev/null 2>&1
17+
then
18+
lefthook "$@"
19+
else
20+
dir="$(git rev-parse --show-toplevel)"
21+
osArch=$(uname | tr '[:upper:]' '[:lower:]')
22+
cpuArch=$(uname -m | sed 's/aarch64/arm64/;s/x86_64/x64/')
23+
if test -f "$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook"
24+
then
25+
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook" "$@"
26+
elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook"
27+
then
28+
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook" "$@"
29+
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook"
30+
then
31+
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook" "$@"
32+
elif test -f "$dir/node_modules/lefthook/bin/index.js"
33+
then
34+
"$dir/node_modules/lefthook/bin/index.js" "$@"
35+
36+
elif go tool lefthook -h >/dev/null 2>&1
37+
then
38+
go tool lefthook "$@"
39+
elif bundle exec lefthook -h >/dev/null 2>&1
40+
then
41+
bundle exec lefthook "$@"
42+
elif yarn lefthook -h >/dev/null 2>&1
43+
then
44+
yarn lefthook "$@"
45+
elif pnpm lefthook -h >/dev/null 2>&1
46+
then
47+
pnpm lefthook "$@"
48+
elif swift package lefthook >/dev/null 2>&1
49+
then
50+
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
51+
elif command -v mint >/dev/null 2>&1
52+
then
53+
mint run csjones/lefthook-plugin "$@"
54+
elif uv run lefthook -h >/dev/null 2>&1
55+
then
56+
uv run lefthook "$@"
57+
elif mise exec -- lefthook -h >/dev/null 2>&1
58+
then
59+
mise exec -- lefthook "$@"
60+
elif devbox run lefthook -h >/dev/null 2>&1
61+
then
62+
devbox run lefthook "$@"
63+
else
64+
echo "Can't find lefthook in PATH"
65+
fi
66+
fi
67+
}
68+
69+
call_lefthook run "post-merge" "$@"

β€Ž.husky/post-rewriteβ€Ž

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
#!/bin/sh
2+
3+
if [ "$LEFTHOOK_VERBOSE" = "1" -o "$LEFTHOOK_VERBOSE" = "true" ]; then
4+
set -x
5+
fi
6+
7+
if [ "$LEFTHOOK" = "0" ]; then
8+
exit 0
9+
fi
10+
11+
call_lefthook()
12+
{
13+
if test -n "$LEFTHOOK_BIN"
14+
then
15+
"$LEFTHOOK_BIN" "$@"
16+
elif lefthook -h >/dev/null 2>&1
17+
then
18+
lefthook "$@"
19+
else
20+
dir="$(git rev-parse --show-toplevel)"
21+
osArch=$(uname | tr '[:upper:]' '[:lower:]')
22+
cpuArch=$(uname -m | sed 's/aarch64/arm64/;s/x86_64/x64/')
23+
if test -f "$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook"
24+
then
25+
"$dir/node_modules/lefthook-${osArch}-${cpuArch}/bin/lefthook" "$@"
26+
elif test -f "$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook"
27+
then
28+
"$dir/node_modules/@evilmartians/lefthook/bin/lefthook-${osArch}-${cpuArch}/lefthook" "$@"
29+
elif test -f "$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook"
30+
then
31+
"$dir/node_modules/@evilmartians/lefthook-installer/bin/lefthook" "$@"
32+
elif test -f "$dir/node_modules/lefthook/bin/index.js"
33+
then
34+
"$dir/node_modules/lefthook/bin/index.js" "$@"
35+
36+
elif go tool lefthook -h >/dev/null 2>&1
37+
then
38+
go tool lefthook "$@"
39+
elif bundle exec lefthook -h >/dev/null 2>&1
40+
then
41+
bundle exec lefthook "$@"
42+
elif yarn lefthook -h >/dev/null 2>&1
43+
then
44+
yarn lefthook "$@"
45+
elif pnpm lefthook -h >/dev/null 2>&1
46+
then
47+
pnpm lefthook "$@"
48+
elif swift package lefthook >/dev/null 2>&1
49+
then
50+
swift package --build-path .build/lefthook --disable-sandbox lefthook "$@"
51+
elif command -v mint >/dev/null 2>&1
52+
then
53+
mint run csjones/lefthook-plugin "$@"
54+
elif uv run lefthook -h >/dev/null 2>&1
55+
then
56+
uv run lefthook "$@"
57+
elif mise exec -- lefthook -h >/dev/null 2>&1
58+
then
59+
mise exec -- lefthook "$@"
60+
elif devbox run lefthook -h >/dev/null 2>&1
61+
then
62+
devbox run lefthook "$@"
63+
else
64+
echo "Can't find lefthook in PATH"
65+
fi
66+
fi
67+
}
68+
69+
call_lefthook run "post-rewrite" "$@"

β€Ž.npmrcβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# used in tandem with package.json engines section to only use bun
22
engine-strict=true
33

4-
# Private @uniswap packages registry configuration
5-
//registry.npmjs.org/:_authToken=${NPM_READ_ONLY_TOKEN}

β€Ž.oxfmtrc.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"**/.react-router/**",
6060
"**/.source/**",
6161
"**/.storybook/storybook.requires.ts",
62+
"packages/api/src/clients/graphql/generated.ts",
6263
"packages/api/src/clients/trading/api.json",
6364
"tools/**/files/**",
6465
"**/*.md",

β€Ž.oxlintrc.fast.jsonβ€Ž

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"jsPlugins": [],
3+
"rules": {
4+
// ── Disable all jsPlugin rules ──────────────────────────────────
5+
// universe-custom (root config)
6+
"universe-custom/no-unwrapped-t": "off",
7+
"universe-custom/custom-map-sort": "off",
8+
"universe-custom/no-hex-string-casting": "off",
9+
"universe-custom/no-transform-percentage-strings": "off",
10+
"universe-custom/enforce-query-options-result": "off",
11+
"universe-custom/no-redux-modals": "off",
12+
// universe-custom (per-project overrides)
13+
"universe-custom/no-relative-import-paths": "off",
14+
"universe-custom/no-nested-component-definitions": "off",
15+
"universe-custom/jsx-prop-order": "off",
16+
"universe-custom/enum-member-naming": "off",
17+
// typed-redux-saga
18+
"@jambit/typed-redux-saga/use-typed-effects": "off",
19+
"@jambit/typed-redux-saga/delegate-effects": "off",
20+
// eslint-plugin-security
21+
"security/detect-unsafe-regex": "off",
22+
"security/detect-buffer-noassert": "off",
23+
"security/detect-child-process": "off",
24+
"security/detect-disable-mustache-escape": "off",
25+
"security/detect-non-literal-regexp": "off",
26+
"security/detect-pseudoRandomBytes": "off",
27+
// eslint-plugin-no-unsanitized
28+
"no-unsanitized/method": "off",
29+
"no-unsanitized/property": "off",
30+
// oxlint-plugin-eslint
31+
"eslint-js/object-shorthand": "off"
32+
}
33+
}

β€Ž.oxlintrc.jsonβ€Ž

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"$schema": "./node_modules/oxlint/configuration_schema.json",
3-
"plugins": ["react", "typescript", "import", "jest", "vitest"],
3+
"plugins": ["react", "typescript", "import", "jest", "vitest", "unicorn"],
44
"jsPlugins": [
55
"./config/oxlint-plugins/universe-custom.js",
6-
"eslint-plugin-check-file",
76
"@jambit/eslint-plugin-typed-redux-saga",
87
"eslint-plugin-security",
9-
"eslint-plugin-no-unsanitized"
8+
"eslint-plugin-no-unsanitized",
9+
// TODO: Remove oxlint-plugin-eslint after oxlint ships native object-shorthand
10+
// (https://github.com/oxc-project/oxc/pull/17688)
11+
"oxlint-plugin-eslint"
1012
],
1113
"env": {
1214
"browser": true,
@@ -34,6 +36,8 @@
3436
"**/vitest.config*",
3537
"**/vitest-setup*",
3638
"**/vitest-package-mocks*",
39+
"**/jest-setup*",
40+
"**/jest-package-mocks*",
3741
"**/.wxt/**",
3842
"**/wxt.config.*",
3943
],
@@ -103,14 +107,17 @@
103107
"security/detect-buffer-noassert": "error",
104108
"security/detect-child-process": "error",
105109
"security/detect-disable-mustache-escape": "error",
106-
"security/detect-eval-with-expression": "error",
107110
"security/detect-non-literal-regexp": "error",
108111
"security/detect-pseudoRandomBytes": "error",
109-
"security/detect-new-buffer": "error",
112+
"unicorn/no-new-buffer": "error",
113+
"unicorn/no-new-array": "off",
110114
"no-unsanitized/method": "error",
111115
"no-unsanitized/property": "error",
112116

113117
// ── style ──────────────────────────────────────────────────────────
118+
// TODO: Replace with native object-shorthand after next oxlint update
119+
// (https://github.com/oxc-project/oxc/pull/17688)
120+
"eslint-js/object-shorthand": ["error", "always"],
114121
"jest/no-conditional-expect": "off",
115122
"jest/require-to-throw-message": "off",
116123
"jest/no-done-callback": "error",
@@ -298,8 +305,9 @@
298305
],
299306
"universe-custom/no-redux-modals": "error",
300307

301-
// ── check-file ─────────────────────────────────────────────────────
302-
"check-file/no-index": "off",
308+
// ── typed-redux-saga ──────────────────────────────────────────────
309+
"@jambit/typed-redux-saga/use-typed-effects": "error",
310+
"@jambit/typed-redux-saga/delegate-effects": "error",
303311

304312
// ── additional eslint rules not in biome ───────────────────────────
305313
"guard-for-in": "error",
@@ -319,6 +327,10 @@
319327
"typescript/no-floating-promises": "error",
320328
"typescript/no-unsafe-return": "error",
321329
"typescript/no-unnecessary-condition": ["error", { "allowConstantLoopConditions": true }],
330+
"typescript/no-redundant-type-constituents": "off",
331+
"typescript/unbound-method": "off",
332+
"typescript/restrict-template-expressions": "off",
333+
"typescript/no-base-to-string": "off",
322334

323335
// ── suspicious ─────────────────────────────────────────────────────
324336
"no-alert": "warn",
@@ -357,10 +369,11 @@
357369
"overrides": [
358370
// ── Migration + vitest setup files: relax type rules ───────────────
359371
{
360-
"files": ["**/*migration*", "**/*Migration*", "**/vitest-setup*", "**/vitest-package-mocks*"],
372+
"files": ["**/*migration*", "**/*Migration*", "**/migrations/**/*.ts"],
361373
"rules": {
362374
"typescript/no-explicit-any": "off",
363-
"typescript/no-non-null-assertion": "off"
375+
"typescript/no-non-null-assertion": "off",
376+
"typescript/no-unsafe-return": "off"
364377
}
365378
},
366379
// ── Logger, scripts, devtools: allow console ───────────────────────
@@ -428,6 +441,9 @@
428441
"universe-custom/custom-map-sort": "off",
429442
"universe-custom/no-hex-string-casting": "off",
430443
"typescript/triple-slash-reference": "off",
444+
"typescript/await-thenable": "off",
445+
"typescript/no-unsafe-return": "off",
446+
"typescript/no-misused-spread": "off",
431447
"security/detect-non-literal-regexp": "off",
432448
"prefer-const": "off",
433449
"no-shadow": "off",

0 commit comments

Comments
Β (0)