Skip to content

feat: Excel input, OG share image, git-deployable build - #7

Merged
chrisschouk merged 2 commits into
mainfrom
feat/web-xlsx-og-autodeploy
Jun 12, 2026
Merged

feat: Excel input, OG share image, git-deployable build#7
chrisschouk merged 2 commits into
mainfrom
feat/web-xlsx-og-autodeploy

Conversation

@chrisschouk

Copy link
Copy Markdown
Owner

Three follow-up polish items. xlsx + OG are already live on datasink.dev (deployed via the prebuilt CLI path); the build-command change here is what makes repo-linked auto-deploys possible.

Changes

  • Excel input — web accepts .xlsx/.xls. SheetJS 0.20.3 from the SheetJS CDN (not the CVE-affected npm xlsx@0.18.5) parses the first sheet to CSV. Code-split, so it only loads when an Excel file is dropped.
  • OG share image — branded 1200×630 web/public/og.png + og:image/twitter:image meta (summary_large_image), so datasink.dev links unfurl nicely.
  • Git-deployable buildvercel.json buildCommand now builds datasink/core before the web app, so Vercel can build from a Git clone (not just local prebuilt).

⚠️ Before this enables auto-deploys

The Vercel project's Root Directory must be set to web (Settings → Build & Deployment → Root Directory). Without it, git builds run from the repo root, build the root datasink package, and fail with "No Output Directory named public". Once Root Directory = web, merging this auto-deploys cleanly.

Verification

  • Root tests 101/101; web build clean (xlsx is a separate 161 KB-gzip chunk).
  • SheetJS xlsx→CSV round-trip verified.
  • Live on datasink.dev: og.png (200), summary_large_image, new bundle.

🤖 Generated with Claude Code

- Web accepts .xlsx/.xls — SheetJS (patched 0.20.3 from the SheetJS CDN, not
  the CVE-affected npm build) parses the first sheet to CSV, code-split so it
  only loads when an Excel file is dropped.
- Add a branded 1200x630 OG/Twitter share image (web/public/og.png) and the
  social meta tags, so datasink.dev links unfurl nicely.
- vercel.json buildCommand now builds datasink/core before the web app, so the
  project can build from a Git clone (not just local prebuilt) — enabling
  repo-linked auto-deploys.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sink-web Error Error Jun 12, 2026 7:39am

The body gradient bottomed out at near-white (#ecfeff), leaving the footer on
a washed-out white band that clashed with the dark cards. End it in soft cyan
(#a5f3fc) and pin it with background-attachment: fixed so it doesn't stretch on
long (results-open) pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chrisschouk
chrisschouk merged commit 3cf7c0a into main Jun 12, 2026
4 of 5 checks passed
@chrisschouk
chrisschouk deleted the feat/web-xlsx-og-autodeploy branch June 12, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant