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
I was just debugging a library and vendored it into my app to test the changes I made. For that I downloaded the library's source code and referenced it in my elm.json's src-directories. But I had to manually figure out which dependencies I needed to add to my app's elm.json.
With that use case in mind, I would propose an elm-json merge command which takes two elm.json and figures out which dependencies of the first need to be installed in the second. Usage could look like elm-json merge --from ../library/elm.json --into ./elm.json.
Is this a feature that would fit this utility?
The text was updated successfully, but these errors were encountered:
I just noticed that it's enough to get a list of the package names and feed that into elm-json install. It will install everything just fine.
So the only tedious part is getting the list of package names to feed into that, for which I currently use regexr.com with the regex "(.+?)": and then its list tool with the pattern $1 to output them.
I was just debugging a library and vendored it into my app to test the changes I made. For that I downloaded the library's source code and referenced it in my
elm.json
'ssrc-directories
. But I had to manually figure out which dependencies I needed to add to my app'selm.json
.With that use case in mind, I would propose an
elm-json merge
command which takes twoelm.json
and figures out which dependencies of the first need to be installed in the second. Usage could look likeelm-json merge --from ../library/elm.json --into ./elm.json
.Is this a feature that would fit this utility?
The text was updated successfully, but these errors were encountered: