Skip to content

Instantly share code, notes, and snippets.

@vasco3
Last active February 11, 2016 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasco3/7cf997e769cc8886d74c to your computer and use it in GitHub Desktop.
Save vasco3/7cf997e769cc8886d74c to your computer and use it in GitHub Desktop.

App Structure

Mono repository for all apps. Instead of having ConeZone in npm we would have it on the root of the repo.

Pros

  • Easier iteration
  • Less overhead
  • Easier Sass import (no symlinks)
  • Easier icons setup
  • Easier to PR

Cons

  • Might have heavier npm installs
conezone/
  - components/
    - Button/
     - v0.1/
      - index.js
      - package.json
     - v0.2/
      - index.js
      - package.json
     - README.md
     
 - kitchenSink/
   - index.js
   - README.md
   - package.json
- README.md

keystone/
- jsx/
  - app/
    - constants/
  - quotes/
    - actions/
    - components/
    - stores/
- source/
- build/
- package.json

external/
- jsx/
  - app/
    - constants/
  - goldengate/
    - actions/
    - components/
    - stores/
- source/
- build/
- package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment