Repository navigation
Conversation
The arborist package description mentioned `yarn.lock` once, inside a usage code comment, and did not mention pnpm at all, so the level of support Arborist has for other package managers was unclear. Add a `SUPPORTED LOCKFILES` section to the arborist README summarizing the level of support, and a new `workspaces/arborist/docs/lockfiles.md` page with the details: `yarn.lock` is read and written but only as a metadata source, and `pnpm-lock.yaml` is not handled at all. Closes: npm#7765
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents Arborist's lockfile support: a "SUPPORTED LOCKFILES" section in
workspaces/arborist/README.mdand a newworkspaces/arborist/docs/lockfiles.md(package-lock.json is primary; yarn v1yarn.lockis read/written as a metadata source with caveats;pnpm-lock.yamlis not supported).Status / please decide: #7765 is still labeled Needs Triage. The description is based on reading
lib/shrinkwrap.js/lib/yarn-lock.jsand thetest/fixtures/pnpmfixture; please correct anything that does not match intended behavior. Fixes #7765 if accepted.No tests run (docs only).
AI assistance disclosure: this change was prepared with the help of an AI coding agent (Grok Bot). The account owner has not reviewed every line in detail; please treat it accordingly.