Skip to content

docs: add deno transpile reference page (2.8)#3071

Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-deno-transpile
Open

docs: add deno transpile reference page (2.8)#3071
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-deno-transpile

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Adds a CLI reference page for the new deno transpile subcommand shipping in Deno 2.8 (denoland/deno#32691). The command emits JavaScript from TypeScript / JSX / TSX sources, with configurable output paths, source maps, and .d.ts generation.

  • New page at runtime/reference/cli/transpile.md — usage, the three output modes (stdout, -o, --outdir), the --source-map options table, and --declaration.
  • Notes that most users don't need this — deno run/deno test/deno serve already accept TS directly.
  • Sidebar entry in runtime/_data.ts, entry in the CLI index page.

Test plan

  • deno task serve — page renders, sidebar entry resolves.
  • If the upstream flag set changes (e.g. additional source-map modes), this page will need a refresh.

Adds the CLI reference page for the new `deno transpile` subcommand,
which emits JavaScript from TypeScript / JSX / TSX. Documents the three
output modes (stdout, -o, --outdir), the --source-map options, and
--declaration. Adds entries to the CLI index and sidebar.

Refs denoland/deno#32691
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