Skip to content

Commit c9b2f03

Browse files
ci(release): publish latest release
1 parent c5e8f34 commit c9b2f03

File tree

1,347 files changed

+40768
-61898
lines changed

Some content is hidden

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

1,347 files changed

+40768
-61898
lines changed

.bun-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.2.21

.cursor/environment.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"snapshot": "Default",
3+
"install": "npm add --global nx && curl -fsSL https://bun.sh/install | bash && source ~/.bashrc && bun install",
4+
"terminals": [
5+
{
6+
"name": "Run mobile",
7+
"command": "bun mobile start"
8+
},
9+
{
10+
"name": "Run web",
11+
"command": "bun web start"
12+
},
13+
{
14+
"name": "Run extension",
15+
"command": "bun extension start"
16+
}
17+
]
18+
}

.depcheckrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ ignores: [
88
'wrangler',
99
'react-router',
1010
# Dependencies that depcheck thinks are missing but are actually present or never used
11-
'@yarnpkg/core',
12-
'@yarnpkg/cli',
1311
'clipanion',
14-
'@yarnpkg/fslib',
1512
'bufferutil',
1613
'utf-8-validate',
17-
'@yarnpkg/parsers',
18-
'@yarnpkg/plugin-git',
1914
'semver',
2015
'typanion',
21-
'turbo-ignore',
22-
'prettier',
23-
'prettier-plugin-organize-imports',
16+
'@biomejs/biome',
2417
# needed for ci
2518
'dd-trace',
2619
]

.env.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use this file for default/shared values
22
# These will be overriden in web by .env and overriden in mobile by .env.defaults.local
33
# And keep env vars in sync with env.d.ts
4-
# In order to run the app locally you need to run `yarn mobile env:local:download` or `yarn extension env:local:download`
4+
# In order to run the app locally you need to run `bun mobile env:local:download` or `bun extension env:local:download`
55
ALCHEMY_API_KEY=stored-in-.env.local
66
APPSFLYER_API_KEY=stored-in-.env.local
77
APPSFLYER_APP_ID=stored-in-.env.local

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ yarn-error.log*
3333
# turbo
3434
.turbo
3535

36+
# nx
37+
.nx/
38+
3639
# .yarn files
3740
.yarn/cache
3841
.yarn/versions
@@ -68,3 +71,13 @@ CLAUDE.local.md
6871
# cursor
6972
.cursor/mcp.json
7073
.cursor/rules/local-workflow.mdc
74+
75+
# lefthook
76+
.lefthook/
77+
78+
79+
80+
.nx/cache
81+
.nx/workspace-data
82+
.cursor/rules/nx-rules.mdc
83+
.github/instructions/nx.instructions.md

.husky/pre-commit

Lines changed: 65 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,69 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
1+
#!/bin/sh
32

4-
yarn g:run-fast-checks
5-
6-
if command -v git-secrets &> /dev/null
7-
then # only run if git-secrets is installed
8-
# Initialise git-secrets configuration
9-
git-secrets --register-aws > /dev/null
10-
11-
echo "Running git-secrets..."
12-
# Scans all files that are about to be committed.
13-
git-secrets --pre_commit_hook -- "$@"
3+
if [ "$LEFTHOOK_VERBOSE" = "1" -o "$LEFTHOOK_VERBOSE" = "true" ]; then
4+
set -x
145
fi
156

16-
if command -v trufflehog &> /dev/null
17-
then # only run if trufflehog is installed
18-
trufflehog git file://. --since-commit HEAD --only-verified --fail
7+
if [ "$LEFTHOOK" = "0" ]; then
8+
exit 0
199
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 "pre-commit" "$@"

.husky/prepare-commit-msg

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 "prepare-commit-msg" "$@"

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# used in tandem with package.json engines section to only use yarn
1+
# used in tandem with package.json engines section to only use bun
22
engine-strict=true

.nxignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Nx ignore file
2+
3+
# Ignore dev/build outputs
4+
apps/web/dist
5+
apps/web/build
6+
apps/web/.next
7+
apps/mobile/android/app/build
8+
apps/mobile/ios/build
9+
apps/extension/dev
10+
apps/extension/build
11+
packages/*/dist
12+
packages/*/types
13+
14+
# Ignore test coverage
15+
coverage
16+
.nyc_output
17+
18+
# Ignore node_modules
19+
node_modules
20+
.yarn
21+
22+
# Ignore cache directories
23+
.turbo
24+
.nx
25+
26+
# Ignore temporary files
27+
*.log
28+
*.tmp
29+
.DS_Store
30+
31+
# Ignore CI/CD artifacts
32+
.github
33+
.circleci
34+
35+
# Ignore documentation
36+
docs
37+
*.md

.prettierignore

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

0 commit comments

Comments
 (0)