title: How to setup lerna with git-only
body: <p>I have a React app using submodules to share code and I want to swap it with lerna. But instead of publishing to NPM, I just want to use <em>git-only</em> where the code will be published back to git using commitish. Basically the folder is structured something like this</p>
  
  <pre><code>app/
    src/
      components/
      shared/
        ui/
        utilities/
      index.js
    .gitmodules
    package.json
  </code></pre>
  
  <p>All submodules go to under shared. My question is how can I setup lerna so that "app" will have dependency on "ui" and "utilities" using <em>git-only</em>?</p>
  
  <p>Is the structure will be like this</p>
  
  <pre><code>lerna-app/
    packages/
      app/
      ui/
      utilities/
  </code></pre>
  
  <p>or like this?</p>
  
  <pre><code>app/
    packages/
      ui/
      utilities
  </code></pre>