Skip to content

docs: document --prod and --skip-types flags for deno install#3021

Open
bartlomieju wants to merge 1 commit intomainfrom
docs/install-prod-flag
Open

docs: document --prod and --skip-types flags for deno install#3021
bartlomieju wants to merge 1 commit intomainfrom
docs/install-prod-flag

Conversation

@bartlomieju
Copy link
Copy Markdown
Member

Summary

  • Documents the new --prod flag for deno install that skips devDependencies from package.json
  • Documents the --skip-types flag (requires --prod) that excludes @types/* packages
  • Documents --prod + --entrypoint combination that builds a code-only module graph
  • Updates the "Development only dependencies" section in modules fundamentals to reference these new flags

Ref: denoland/deno#32863

Test plan

  • Verify the CLI reference page renders correctly with the new sections
  • Verify the modules fundamentals page reads well with the updated dev dependencies section
  • Check that the caution admonition for --skip-types renders properly

🤖 Generated with Claude Code

Adds documentation for the new --prod flag that skips devDependencies
from package.json, the --skip-types flag that excludes @types/* packages,
and the --prod + --entrypoint combination that excludes type-only
dependencies from the module graph.

Ref: denoland/deno#32863

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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