You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2021. It is now read-only.
When yarn.lock is present it doesn't require a full install to list deps. That's good!
However, yarn --list --json outputs jsonlines with the child constraint and not the fully resolved package version (e.g. ["babel-messages@6.23.0",[{"name":"babel-runtime@^6.22.0","color":"dim","shadow":true}]] from .data | .trees[] | [.name,.children] jq filter) . That's not so good! It complicates things for us.
We've taken the approach of storing fully resolved versions for edges between the package nodes, so we don't have to replicate how each language and package manager resolves dependencies (in code or the DB), and would like to continue doing so.
A few options:
replicate semver and other version matching in the DB or postprocessing code (if yarn uses a subset of full semver and it's fairly stable and not ambiguous that might not be too bad e.g. we can link