Open pkieltyka opened 6 years ago
For the aside, check out this issue: https://github.com/whyrusleeping/gx/issues/141
We had some discussions several years ago about trying to make it that a singlepackage.json
could serve both gx
and npm
/yarn
/ied
: ensuring that same-name fields expressed the same thing and the same shape, which was a little bit complicated by json marshalling/unmarshalling in go.
having a universal package.json file that support many package managers across ecosystems sounds too ambitious of a project that will lead to complexity and in the end will stall mid-progress, just my 2 cents. Keep the intentions/goals clear, direct and simple - thereby the design will be so as well, and so will understanding of the system.
having a universal package.json file that support many package managers across ecosystems
the idea wasnt to have a package.json that supports everything, but for the gx package.json to not interfere with node. This may no longer be the case, but at one point I made it so that any shared fields had the same types, and any fields unique to gx were kept separate, and gx wouldnt touch any node fields. That doesnt seem too ambitious to me, and keeping a lot of copied state in two different package files seems like the more complex solution.
Hello,
Nice project - but would you reconsider renaming the
package.json
file to something likedeps.json
? this conflicts with node's package managementAlso, an asdie: for go package management, have you considered augmenting https://github.com/golang/dep to add support for IPFS to make it content-routing aware? I presume gx started before golang/dep