examples icon indicating copy to clipboard operation
examples copied to clipboard

RFC: Structure of Examples

Open amilajack opened this issue 7 years ago • 1 comments

There's a number of ways that we can organize these examples. The current planned method is to structure the examples as a monorepo using lerna. After thinking through this more I think using git submodules might be a better solution. I expect that most users would only want to install the dependencies for the example they want to run. So if they use lerna and bootstrap all the lerna packages they'd be installing a lot of modules they don't need. Git submodules removes this issue by letting the user cd into the example they want to run and then installing the dependencies for that project.

Thoughts on this?

amilajack avatar Oct 29 '18 05:10 amilajack

This makes more sense to me, but I've often heard bad things about submodules. I say let's try it out and see how it goes.

vikr01 avatar Nov 30 '18 07:11 vikr01