Skip to content

Commit 56cb094

Browse files
ci(release): publish latest release
1 parent cb814a5 commit 56cb094

File tree

2,578 files changed

+85141
-52708
lines changed

Some content is hidden

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

2,578 files changed

+85141
-52708
lines changed

.cursor/environment.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

.depcheckrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ignores: [
33
'@graphql-codegen/*',
44
'@commitlint/*',
55
'@uniswap/eslint-config',
6+
'@uniswap/biome-config',
67
'i18next',
78
'moti',
89
'wrangler',
@@ -14,6 +15,11 @@ ignores: [
1415
'semver',
1516
'typanion',
1617
'@biomejs/biome',
18+
"@nx/js",
19+
"@nx/workspace",
20+
"@swc/helpers",
1721
# needed for ci
1822
'dd-trace',
23+
# depcheck flags itself as unused
24+
'depcheck',
1925
]

.env.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ STATSIG_PROXY_URL_OVERRIDE=
3535
TRADING_API_URL_OVERRIDE=
3636
UNITAGS_API_URL_OVERRIDE=
3737
GH_TOKEN_RN_CLI=
38+
JUPITER_PROXY_URL=

.github/workflows/tag_and_release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ jobs:
88
deploy-to-prod:
99
runs-on: ubuntu-latest
1010
steps:
11+
- uses: bullfrogsec/bullfrog@dcde5841b19b7ef693224207a7fdec67fce604db # v0.8.3
12+
with:
13+
# List of IPs to allow outbound connections to.
14+
# By default, only localhost and IPs required for the essential operations of Github Actions are allowed.
15+
# allowed-ips:|
16+
17+
# List of domains to allow outbound connections to.
18+
# Wildcards are accepted. For example, if allowing `*.google.com`, this will allow `www.google.com`, `console.cloud.google.com` but not `google.com`.
19+
# By default, only domains required for essential operations of Github Actions and uploading job summaries are allowed.
20+
# Refer to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#communication-requirements-for-github-hosted-runners-and-github for additional domains that should be allowed for additional Github Actions features.
21+
#allowed-domains: |
22+
# The egress policy to enforce. Valid values are `audit` and `block`.
23+
# Default: audit
24+
egress-policy: audit
1125
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1226

1327
- name: 🧷️ Get version

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ coverage
1010

1111
# utility script output
1212
scripts/dist
13+
tools/uniswap-nx/dist
1314

1415
# next.js
1516
.next/
@@ -80,4 +81,4 @@ CLAUDE.local.md
8081
.nx/cache
8182
.nx/workspace-data
8283
.cursor/rules/nx-rules.mdc
83-
.github/instructions/nx.instructions.md
84+
.github/instructions/nx.instructions.md

.husky/post-checkout

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-checkout" "$@"

.mcp.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mcpServers": {
3+
"nx-mcp": {
4+
"type": "stdio",
5+
"command": "npx",
6+
"args": [
7+
"nx",
8+
"mcp"
9+
]
10+
}
11+
}
12+
}

.nxignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ apps/extension/build
1111
packages/*/dist
1212
packages/*/types
1313

14+
# Ignore Generator Templates
15+
tools/**/generators/**/files
16+
1417
# Ignore test coverage
1518
coverage
1619
.nyc_output
@@ -34,4 +37,4 @@ node_modules
3437

3538
# Ignore documentation
3639
docs
37-
*.md
40+
*.md

AGENTS.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ bun mobile e2e # Mobile E2E tests
5454
```bash
5555
bun g:lint:fix # Fix linting issues
5656
bun g:typecheck # Type check all packages
57-
bun g:format:fix # Fix formatting
58-
bun g:fix # Run both lint and format fix
57+
bun g:format # Fix formatting
58+
bun i18n:extract # Extract localized strings (run after changing translations)
5959
```
6060

6161
## Architecture Overview
@@ -114,6 +114,7 @@ bun g:fix # Run both lint and format fix
114114
- Always update existing unit tests related to changes made
115115
- Run tests before considering a task to be 'complete'
116116
- Also run linting and typecheck before considering a task to be 'complete'
117+
- Run `bun i18n:extract` after making changes to localized strings (e.g., using translation hooks like `useTranslation`)
117118

118119
## Critical Development Notes
119120

@@ -142,3 +143,19 @@ Core shared packages:
142143
## Other Considerations
143144

144145
Be cognizant of the app or package within which a given change is being made. Be sure to reference that app or package's respective `AGENTS.md` file and other local configuration files, including (but not limited to): `package.json`, `tsconfig.json`, etc.
146+
147+
148+
<!-- nx configuration start-->
149+
<!-- Leave the start & end comments to automatically receive updates. -->
150+
151+
# General Guidelines for working with Nx
152+
153+
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
154+
- You have access to the Nx MCP server and its tools, use them to help the user
155+
- When answering questions about the repository, use the `nx_workspace` tool first to gain an understanding of the workspace architecture where applicable.
156+
- When working in individual projects, use the `nx_project_details` mcp tool to analyze and understand the specific project structure and dependencies
157+
- For questions around nx configuration, best practices or if you're unsure, use the `nx_docs` tool to get relevant, up-to-date docs. Always use this instead of assuming things about nx configuration
158+
- If the user needs help with an Nx configuration or project graph error, use the `nx_workspace` tool to get any errors
159+
160+
161+
<!-- nx configuration end-->

CLAUDE.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ bun mobile e2e # Mobile E2E tests
5252
### Code Quality
5353

5454
```bash
55-
bun g:lint:fix # Fix linting issues
55+
bun g:lint:fix # Fix linting issues for both eslint and biome, slow
5656
bun g:typecheck # Type check all packages
57-
bun g:format:fix # Fix formatting
58-
bun g:fix # Run both lint and format fix
57+
bun g:format # Fix formatting using Biome, quick
58+
bun i18n:extract # Extract localized strings (run after changing translations)
5959
```
6060

6161
## Architecture Overview
@@ -114,6 +114,7 @@ bun g:fix # Run both lint and format fix
114114
- Always update existing unit tests related to changes made
115115
- Run tests before considering a task to be 'complete'
116116
- Also run linting and typecheck before considering a task to be 'complete'
117+
- Run `bun i18n:extract` after making changes to localized strings (e.g., using translation hooks like `useTranslation`)
117118

118119
## Critical Development Notes
119120

@@ -142,3 +143,19 @@ Core shared packages:
142143
## Other Considerations
143144

144145
Be cognizant of the app or package within which a given change is being made. Be sure to reference that app or package's respective `CLAUDE.md` file and other local configuration files, including (but not limited to): `package.json`, `tsconfig.json`, etc.
146+
147+
148+
<!-- nx configuration start-->
149+
<!-- Leave the start & end comments to automatically receive updates. -->
150+
151+
# General Guidelines for working with Nx
152+
153+
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
154+
- You have access to the Nx MCP server and its tools, use them to help the user
155+
- When answering questions about the repository, use the `nx_workspace` tool first to gain an understanding of the workspace architecture where applicable.
156+
- When working in individual projects, use the `nx_project_details` mcp tool to analyze and understand the specific project structure and dependencies
157+
- For questions around nx configuration, best practices or if you're unsure, use the `nx_docs` tool to get relevant, up-to-date docs. Always use this instead of assuming things about nx configuration
158+
- If the user needs help with an Nx configuration or project graph error, use the `nx_workspace` tool to get any errors
159+
160+
161+
<!-- nx configuration end-->

0 commit comments

Comments
 (0)