Skip to content

Commit 36b49c6

Browse files
committed
Document the berry not-rewritable refusal
A berry package installed only under other dependency names is now refused as vendor_lock_entry_not_rewritable; say so beside the other renamed-copy behavior. Assisted-by: Claude Code:claude-opus-5-5
1 parent 382bc1a commit 36b49c6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docs/ecosystems.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ Each Legacy format has an upgrade path and an undo path. Both work in v5:
289289
registry entry and names the copy (`redirect_copy_unpatched`, unless a yarn classic
290290
skip warning already names it); vendored mode still wires the registry entry and names
291291
it (`vendor_copy_unpatched` for berry; the yarn classic codes below for classic); and
292-
`vex` never attests the package from that lock while the copy is there.
292+
`vex` never attests the package from that lock while the copy is there. When the
293+
package is installed only through such copies, vendoring refuses with
294+
`vendor_lock_entry_not_rewritable` naming them, since `yarn install` can't help.
293295
- **yarn classic and yarn 2+** — installing with yarn 2+ (berry) migrates a classic (v1)
294296
`yarn.lock` and re-resolves every entry from the registry, dropping hosted pins and
295297
vendored wiring alike, so the packages install unpatched. A run that leaves such a pin

0 commit comments

Comments
 (0)