Skip to content

Commit 040cc82

Browse files
authored
Merge pull request #1758 from yamcodes/dev
Sync `dev` → `main`
2 parents 5589c4e + 13fd397 commit 040cc82

25 files changed

Lines changed: 847 additions & 1141 deletions

File tree

.github/actions/size-limit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@types/bun": "^1.3.5",
1111
"@types/node": "26.x"
1212
},
13-
"packageManager": "bun@1.2.22",
13+
"packageManager": "bun@1.4.0",
1414
"dependencies": {
1515
"arkregex": "0.0.8",
1616
"glob": "^13.0.0",

.github/workflows/deploy-www-manual.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
exit 1
5858
;;
5959
esac
60-
echo "short_msg=$(git log -1 --format=%s "$DEPLOY_SHA" | head -n1)" >> "$GITHUB_OUTPUT"
60+
echo "short_msg=$(git log -1 --format=%s "$DEPLOY_SHA")" >> "$GITHUB_OUTPUT"
6161
echo "author_name=$(git log -1 --format=%an "$DEPLOY_SHA")" >> "$GITHUB_OUTPUT"
6262
- uses: pnpm/action-setup@v6
6363
- uses: actions/setup-node@v7
@@ -110,7 +110,11 @@ jobs:
110110
node scripts/vercel-wrapper.cjs deploy --prebuilt --prod --archive=tgz --token="$VERCEL_TOKEN" "${META_ARGS[@]}"
111111
echo "Deployed $GIT_SHA to production (arkenv.js.org)."
112112
else
113-
DEPLOYMENT_URL=$(node scripts/vercel-wrapper.cjs deploy --prebuilt --archive=tgz --token="$VERCEL_TOKEN" "${META_ARGS[@]}" | tail -n 1)
113+
deploy_log="$(mktemp)"
114+
trap 'rm -f "$deploy_log"' EXIT
115+
node scripts/vercel-wrapper.cjs deploy --prebuilt --archive=tgz --token="$VERCEL_TOKEN" "${META_ARGS[@]}" \
116+
| tee "$deploy_log"
117+
DEPLOYMENT_URL="$(tail -n 1 "$deploy_log")"
114118
echo "Deployment URL: $DEPLOYMENT_URL"
115119
echo "Aliasing $DEPLOYMENT_URL -> $TARGET"
116120
node scripts/vercel-wrapper.cjs alias set "$DEPLOYMENT_URL" "$TARGET" --token="$VERCEL_TOKEN"

.github/workflows/deploy-www.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
GIT_COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name || github.actor }}
6060
run: |
6161
set -o pipefail
62-
SHORT_MSG="$(printf '%s\n' "$GIT_COMMIT_MESSAGE" | head -n1)"
62+
SHORT_MSG="${GIT_COMMIT_MESSAGE%%$'\n'*}"
6363
# --prod already assigns production domains (arkenv.js.org / arkenv.vercel.app).
6464
# Git meta keeps the deployment linked to main in the Vercel dashboard.
6565
node scripts/vercel-wrapper.cjs deploy --prebuilt --prod --archive=tgz --token="$VERCEL_TOKEN" \

.github/workflows/preview-www-reusable.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@ jobs:
102102
GIT_COMMIT_AUTHOR_NAME: ${{ github.event.head_commit.author.name || github.actor }}
103103
run: |
104104
set -o pipefail
105-
SHORT_MSG="$(printf '%s\n' "$GIT_COMMIT_MESSAGE" | head -n1)"
106-
DEPLOYMENT_URL=$(node scripts/vercel-wrapper.cjs deploy --prebuilt --archive=tgz --token="$VERCEL_TOKEN" \
105+
# First line only. printf|head SIGPIPEs under pipefail on multiline merge messages.
106+
SHORT_MSG="${GIT_COMMIT_MESSAGE%%$'\n'*}"
107+
deploy_log="$(mktemp)"
108+
trap 'rm -f "$deploy_log"' EXIT
109+
node scripts/vercel-wrapper.cjs deploy --prebuilt --archive=tgz --token="$VERCEL_TOKEN" \
107110
-m githubDeployment=1 \
108111
-m githubOrg="$GIT_ORG" \
109112
-m githubRepo="$GIT_REPO" \
@@ -114,7 +117,8 @@ jobs:
114117
-m githubCommitMessage="$SHORT_MSG" \
115118
-m githubCommitAuthorName="$GIT_COMMIT_AUTHOR_NAME" \
116119
-m githubCommitAuthorLogin="$GIT_ACTOR" \
117-
| tail -n 1)
120+
| tee "$deploy_log"
121+
DEPLOYMENT_URL="$(tail -n 1 "$deploy_log")"
118122
echo "DEPLOYMENT_URL=$DEPLOYMENT_URL" >> "$GITHUB_OUTPUT"
119123
# Explicit alias so branch domains stay current without native Vercel Git builds (#1460).
120124
# Only on push to dev/v1 — labeled PR previews keep ephemeral URLs and must not steal these.

apps/playgrounds/arkenv-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"@types/node": "25.9.5",
2727
"@types/react": "19.2.18",
2828
"@types/react-dom": "19.2.5",
29-
"@vitejs/plugin-react": "6.1.0",
29+
"@vitejs/plugin-react": "6.1.1",
3030
"babel-plugin-react-compiler": "1.0.0",
31-
"eslint": "10.9.0",
31+
"eslint": "10.9.1",
3232
"eslint-plugin-react-hooks": "7.1.1",
3333
"eslint-plugin-react-refresh": "0.5.5",
3434
"globals": "17.11.0",
3535
"typescript": "6.0.3",
36-
"typescript-eslint": "8.67.0",
36+
"typescript-eslint": "8.68.0",
3737
"vite": "8.2.2"
3838
}
3939
}

apps/playgrounds/vite-legacy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@types/node": "catalog:",
2020
"@types/react": "19.2.18",
2121
"@types/react-dom": "19.2.5",
22-
"@vitejs/plugin-react": "6.1.0",
22+
"@vitejs/plugin-react": "6.1.1",
2323
"globals": "17.11.0",
2424
"typescript": "catalog:",
2525
"vite": "8.2.2"

apps/www/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,26 @@
3232
"@radix-ui/react-slot": "1.3.3",
3333
"@radix-ui/react-toast": "1.2.23",
3434
"@radix-ui/react-tooltip": "1.2.16",
35-
"@sentry/nextjs": "10.70.0",
35+
"@sentry/nextjs": "10.71.0",
3636
"@vercel/analytics": "2.0.1",
3737
"@vercel/speed-insights": "2.0.0",
3838
"arkdark": "5.4.2",
3939
"arkenv": "workspace:*",
4040
"arktype": "2.2.3",
4141
"class-variance-authority": "0.7.1",
4242
"clsx": "2.1.1",
43-
"fumadocs-core": "16.15.0",
43+
"fumadocs-core": "16.15.4",
4444
"fumadocs-mdx": "14.3.2",
4545
"fumadocs-twoslash": "3.3.0",
4646
"fumadocs-typescript": "5.3.0",
47-
"fumadocs-ui": "16.15.0",
47+
"fumadocs-ui": "16.15.4",
4848
"hast-util-to-jsx-runtime": "2.3.6",
4949
"import-in-the-middle": "2.0.6",
50-
"lucide-react": "1.33.0",
50+
"lucide-react": "1.34.0",
5151
"next": "catalog:",
5252
"next-themes": "0.4.6",
53-
"posthog-js": "1.418.10",
54-
"posthog-node": "5.50.0",
53+
"posthog-js": "1.422.5",
54+
"posthog-node": "5.51.6",
5555
"react": "19.2.8",
5656
"react-dom": "19.2.8",
5757
"remark": "15.0.1",
@@ -75,7 +75,7 @@
7575
"@tailwindcss/postcss": "4.3.3",
7676
"@testing-library/dom": "10.4.1",
7777
"@testing-library/jest-dom": "7.0.1",
78-
"@testing-library/react": "16.3.2",
78+
"@testing-library/react": "16.3.3",
7979
"@testing-library/user-event": "14.6.6",
8080
"@types/hast": "3.0.5",
8181
"@types/mdast": "4.0.4",
@@ -84,7 +84,7 @@
8484
"@types/react": "catalog:",
8585
"@types/react-dom": "catalog:",
8686
"@vitejs/plugin-react": "catalog:",
87-
"jsdom": "29.1.1",
87+
"jsdom": "30.0.1",
8888
"mdast-util-mdx-jsx": "3.2.0",
8989
"next-video": "2.8.1",
9090
"postcss": "8.5.26",

examples/basic/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"devDependencies": {
1616
"@types/node": "^24.13.3",
1717
"rimraf": "^6.1.3",
18-
"tsx": "^4.23.12",
18+
"tsx": "^4.23.13",
1919
"typescript": "^6.0.3"
2020
},
2121
"engines": {

examples/with-nextjs-strict/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@arkenv/nextjs": "^0.1.5",
1212
"arkenv": "^0.12.3",
1313
"arktype": "^2.2.3",
14-
"next": "^16.3.2",
14+
"next": "^16.3.4",
1515
"react": "^19.2.8",
1616
"react-dom": "^19.2.8"
1717
},

0 commit comments

Comments
 (0)