Skip to content

docs: document deno install --prod (2.8)#3073

Open
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-install-prod
Open

docs: document deno install --prod (2.8)#3073
lunadogbot wants to merge 1 commit intodenoland:2.8from
lunadogbot:docs/2.8-install-prod

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents the new --prod and --skip-types flags on deno install, shipping in Deno 2.8 (denoland/deno#33248).

  • New "deno install --prod" subsection in runtime/reference/cli/install.md covering the flag, the --skip-types companion, the --entrypoint interaction (code-only graph), and the conflict rules vs --global/--dev.
  • Calls out the @types/ prefix-only match as a footgun.

Test plan

  • deno task serve — section renders, ToC anchor #deno-install-prod resolves.

Adds a section to the install reference page covering the new --prod
flag, which skips devDependencies, and the related --skip-types flag,
which additionally skips @types/* packages. Notes the conflict with
--global / --dev, the code-only graph behavior with --entrypoint, and
the prefix-only match for @types/.

Refs denoland/deno#33248
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:46
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