ipfs-inactive / gx-workspace

[ARCHIVED] A gx tool for working with a big bunch of repositories/packages
MIT License
12 stars 3 forks source link

Some dependencies are not fetched #15

Open frrist opened 6 years ago

frrist commented 6 years ago

For example, the package github.com/libp2p/go-peerstream has 3 package.json files:

When running gx install only the packages in github.com/libp2p/go-peerstream/package.json are fetched, which can lead to missing dependencies if package.json muxtest/package.json and example/package.json are different.

frrist commented 6 years ago

This is likely a bug in gx or go-gx, but I hit the issue when running gw-workspace

whyrusleeping commented 6 years ago

Ah yeah, example and muxtest are separate packages...

frrist commented 6 years ago

Is there a way we can avoid testing them then?

whyrusleeping commented 6 years ago

uhm... not built into gx-workspace. What we could do though is add a 'testing command' override to the package.json. And if its set, gx test will run that.