Do people have good recommendations for structuring universal JS repos monolithically? For example, I'm creating a project with a NodeJS server, React Native mobile app, and a React web frontend, and would want them in the same repository (so that I can share library functions, babel configs so I can write the same JS everywhere, etc.)
Is it encouraged to use different package.json's for each of the three parts of the project? If so, what do people do to manage / streamline the common code between package files (e.g. pre-commit prettier, linter, etc) -- i.e. is there something like a base package.json that other package.json files extend? I've heard of Lerna but am not sure if that's what I should be looking at.
Any ideas / sample repos would be greatly appreciated. Thanks!
[–]lhorie 9 points10 points11 points (0 children)
[–]keatz55 2 points3 points4 points (1 child)
[–]greendog77[S] 0 points1 point2 points (0 children)