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
The map and permissions setting are alternatives under a documented condition, not interchangeable instructions for every pnpm version. This record describes the pinned unversioned documentation, not a claim that older pnpm versions support permissions.
RuleRoster is independent and is not affiliated with or endorsed by pnpm.
Direct answer
The pinned pnpm documentation says approve-builds writes approved dependencies as true and unapproved dependencies as false in allowBuilds in pnpm-workspace.yaml. Since v12.11.0, if that file already has permissions, it writes the decisions there as the build capability instead.
Published evidence
The map and permissions setting are alternatives under a documented condition, not interchangeable instructions for every pnpm version. This record describes the pinned unversioned documentation, not a claim that older pnpm versions support permissions.
Check the installed pnpm version and the version selector in the official documentation before applying this rule. An archive and the unversioned page describe different configurations; do not copy one into the other without checking support.
Approval lets a dependency run scripts during installation. Review the package and the required build operation before approving it. This reference does not approve any dependencies or recommend blanket approval.
The exact docs/cli/approve-builds.md document is pinned at 4a89ca5d576167ea6120f7030c895465ec186d8c. The extractor requires its exact bytes and scoped statement; source changes require a new reviewed revision.
pnpm documentation by Zoltan Kochan and other contributors. Copyright (c) 2016-2022 Zoltan Kochan and other contributors. MIT License: https://github.com/pnpm/pnpm.io/blob/4a89ca5d576167ea6120f7030c895465ec186d8c/LICENSE. RuleRoster extracted and paraphrased the scoped configuration. No endorsement is implied.
Evidence trail
pnpm · verified October 14, 2026
Interpretation and accountability
If the source or summary appears wrong, submit precise evidence for human review.