for the file: registry source, replace the call to yq with a vendored pure-lua yaml parser.
This reduces our dependencies on external programs, especially since yq is not easily available on every system. e.g. the default yq program in Arch is kislyuk/yq rather than mikefarah/yq as command seems to expect.
I confirmed by comparing the json output of the github:mason-org/mason-registry source against the json-encoded output of the file: source pointing at a local copy. Other than the order of some fields they are exactly the same
for the file: registry source, replace the call to
yq
with a vendored pure-lua yaml parser.This reduces our dependencies on external programs, especially since
yq
is not easily available on every system. e.g. the defaultyq
program in Arch is kislyuk/yq rather than mikefarah/yq as command seems to expect.I confirmed by comparing the json output of the
github:mason-org/mason-registry
source against the json-encoded output of the file: source pointing at a local copy. Other than the order of some fields they are exactly the same