Skip to content

Conversation

@torresmateo
Copy link
Collaborator

@torresmateo torresmateo commented Dec 16, 2025

Note

Switches quickstart from JavaScript/npm to TypeScript/Bun with updated code samples, commands, and outputs.

  • Docs (app/en/home/quickstart/page.mdx):
    • Language/runtime migration:
      • Replace JavaScript with TypeScript across tabs, filenames (.mjs -> .ts), and code fences (javascript -> typescript).
      • Swap npm/Node commands for Bun (bun install, bun run example.ts).
      • Update prerequisites to require bun for TypeScript.
    • Code sample updates:
      • Adjust TS typings and formatting (e.g., use semicolons; annotate types).
      • Use client.auth.waitForCompletion(...) in TS example.
    • Output and run sections:
      • Split run commands and sample outputs into separate code blocks.
      • Refresh printed/output examples to match new TS/Bun flow.

Written by Cursor Bugbot for commit a1533ff. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Dec 16, 2025

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 18, 2025 1:41pm

Copy link
Contributor

@nearestnabors nearestnabors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And don't forget to separate out the final terminal command from the results at the end of the tutorial!


<Tabs.Tab>

Create a new script called `example.mjs`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This says mjs, but the file below is .ts. Which is it?

@torresmateo torresmateo merged commit fa9e294 into main Dec 19, 2025
5 of 6 checks passed
@torresmateo torresmateo deleted the mateo/dev-162-js-ts-on-main-quickstart branch December 19, 2025 16:45
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.

3 participants