From 4f6e29a72ef4ce2d593e5b448e596d09d035bcc9 Mon Sep 17 00:00:00 2001 From: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Date: Tue, 2 Jun 2026 19:55:24 +0200 Subject: [PATCH] chore: add .vercelignore to filter desktop artifacts from CLI deploys vercel --prod from CLI ignores .gitignore for paths it doesn't know about, so the 1.1GB desktop/ tree (AppImage + .deb + unpacked Electron) was being uploaded and hitting Vercel's 100MB file-size limit. Excludes desktop/, .local-toolchain/, .python-vendor/, backups/, and the usual build/cache dirs. .git/ + node_modules/ + .next/ are listed explicitly so CLI deploys behave identically to git-triggered ones. Co-Authored-By: Claude Opus 4.7 (1M context) --- .vercelignore | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .vercelignore diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 000000000..9c8b24cb5 --- /dev/null +++ b/.vercelignore @@ -0,0 +1,27 @@ +# Vercel uploads everything NOT excluded here when using `vercel --prod` +# from CLI. .gitignore is only partially honored, so this is the +# authoritative list of "things Vercel doesn't need to build the web app." + +# Desktop app — entirely separate runtime, not built or served by Vercel +desktop/ + +# Local-only toolchains and vendor dirs +.local-toolchain/ +.python-vendor/ + +# Build artifacts (also gitignored but listed here so vercel CLI honors) +.next/ +node_modules/ +*.tsbuildinfo + +# Local backups + dev caches +backups/ +.claude/ +.playwright-mcp/ + +# Local env / vercel link state +.env* +.vercel/ + +# Git internals +.git/