Skip to content

Source-backed platform rule

Deno pack dirty Git-tree refusal

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

What is the rule?

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`.

Scope
Deno runtime, module, dependency-integrity, and pack rules
Human verified
August 14, 2026
Source checked
September 3, 2026

Published evidence

Rule details

Dirty-tree pack refusal

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`.

Applicability

Service: Deno. Rule group: release-reproducibility. Scope is limited to this exact topic and its source-stated qualifiers.

Evidence trail

Official sources

Attribution and license

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

Before you act

  1. Confirm that the scope matches your case.
  2. Keep recommendations, enforced limits, exceptions, and unstated details distinct.
  3. Open the official source before relying on the rule for a consequential decision.

Record dates

Published
August 15, 2026
Human verified
August 14, 2026
Source checked
September 3, 2026
Review due
September 4, 2026

Challenge this record

If the source or summary appears wrong, submit precise evidence for human review.

Submit a correction