Skip to content

docs: publish the Next.js example as a live demo - #40

Merged
pipe1os merged 1 commit into
mainfrom
claude/next-demo-pages
Oct 22, 2026
Merged

pipe1os merged 1 commit into
mainfrom
claude/next-demo-pages

Conversation

@pipe1os

@pipe1os pipe1os commented Oct 22, 2026

Copy link
Copy Markdown
Owner

What and why

Gives the Next.js example a live URL so it can be linked from the docs and shared. The example becomes a static export (output: 'export', basePath and the feed URL taken from BASE_PATH), and the docs workflow builds it with BASE_PATH=/shipdot/demo/next and copies out/ into the Pages artifact. It will be served at https://pipe1os.github.io/shipdot/demo/next/.

Without BASE_PATH the example behaves as before (src="/shipdot.json"). The start script is removed because next start does not work with a static export.

Checked locally: built with the base path, served under /shipdot/demo/next/, the widget loads shipdot.json (200), shows the badge and the hotspot on "Export CSV", no console errors.

shipdot

skip

Checklist

  • pnpm lint passes (typecheck and unit tests do not cover the example)
  • pnpm test:e2e passes (if the widget changed): widget unchanged
  • Added a changeset with pnpm changeset (if a published package changed): no package changed
  • Updated the docs (README, docs site, AGENTS.md) if behavior or commands changed

@pipe1os
pipe1os merged commit e5f736a into main Oct 22, 2026
10 checks passed
@pipe1os
pipe1os deleted the claude/next-demo-pages branch October 22, 2026 06:14
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