Before you act
- Confirm that the scope matches your case.
- Keep recommendations, enforced limits, exceptions, and unstated details distinct.
- Open the official source before relying on the rule for a consequential decision.
Source-backed platform rule
Deno pack refuses uncommitted Git changes by default so releases are reproducible from a commit hash and exposes allow-dirty as the explicit opt-out.
RuleRoster is independent and is not affiliated with or endorsed by Deno.
Direct answer
By default, `deno pack` refuses to pack when the Git working tree has uncommitted changes so releases are reproducible from the commit hash. `--allow-dirty` is the explicit opt-out; this rule applies only to `deno pack`.
Published evidence
By default, `deno pack` refuses a Git working tree with uncommitted changes so releases remain reproducible from the commit hash. `--allow-dirty` is the explicit opt-out. This rule applies only to `deno pack`.
Service: Deno. Rule group: release-reproducibility. Scope is limited to this exact topic and its source-stated qualifiers.
Evidence trail
Deno · verified August 14, 2026
Deno documentation by the Deno authors, Copyright (c) 2018-2024 the Deno authors. Source: https://github.com/denoland/docs/tree/aa772cfbe4455e2a3ef86e9f4df584d41523c0f9. Licensed under the MIT License: https://github.com/denoland/docs/blob/aa772cfbe4455e2a3ef86e9f4df584d41523c0f9/LICENSE. Modified by RuleRoster: RuleRoster extracted and restructured facts into typed rule fields and concise answers. Verified 2026-08-14. No endorsement by Deno or the Deno authors is implied. Project names and marks remain descriptive source identifiers only.
Interpretation and accountability
If the source or summary appears wrong, submit precise evidence for human review.