Skip to content

Demo: node --import tsx, getting started guide, fix docs OpenAPI#268

Merged
tonyxiao merged 3 commits into
v2from
fix-demo
Apr 10, 2026
Merged

Demo: node --import tsx, getting started guide, fix docs OpenAPI#268
tonyxiao merged 3 commits into
v2from
fix-demo

Conversation

@tonyxiao
Copy link
Copy Markdown
Collaborator

@tonyxiao tonyxiao commented Apr 10, 2026

Summary

  • Replace bun and scripts/ts-run with node --import tsx as the default TypeScript runner in all demo scripts
  • Add demo/README.md — step-by-step getting started guide from git clone to running demos
  • Fix stripe-sync.dev/engine.html — copy committed OpenAPI specs into docs/openapi/ before Vercel build (they were gitignored and missing in CI)

Test plan

  • Verified node --import tsx apps/engine/src/cli/index.ts --help works
  • Local SKIP_STRIPE_SPECS=1 node docs/build.mjs produces out/openapi/engine.json
  • Verify stripe-sync.dev/engine.html loads after merge

🤖 Generated with Claude Code

tonyxiao and others added 3 commits April 10, 2026 07:44
Replace bun and scripts/ts-run with node --import tsx as the default
TypeScript runner in all demo scripts. This removes the bun dependency
for running demos and avoids the npm: protocol error that --conditions
bun triggers via supabase's Deno imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
Step-by-step instructions from git clone through running demo scripts,
building progressively: read → write → pipe → engine.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@tonyxiao tonyxiao changed the title Demo scripts: use node --import tsx instead of bun Demo scripts: use node --import tsx, add getting started guide Apr 10, 2026
@tonyxiao tonyxiao marked this pull request as ready for review April 10, 2026 15:06
@tonyxiao tonyxiao merged commit 220b601 into v2 Apr 10, 2026
9 checks passed
@tonyxiao tonyxiao deleted the fix-demo branch April 10, 2026 15:06
@tonyxiao tonyxiao changed the title Demo scripts: use node --import tsx, add getting started guide Demo: node --import tsx, getting started guide, fix docs OpenAPI Apr 10, 2026
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