Skip to content

Instantly share code, notes, and snippets.

@ChakshuGautam
Last active May 21, 2024 08:20
Show Gist options
  • Save ChakshuGautam/c76b88ba34971d91e42d5b2cddb85848 to your computer and use it in GitHub Desktop.
Save ChakshuGautam/c76b88ba34971d91e42d5b2cddb85848 to your computer and use it in GitHub Desktop.
Stencil Repo Structure

Monorepo

readme.md
/docs
/packages (npm)
      /chat-ui
      /molecules
           /chat-ui (x)
           index.ts 
           package.json
      /pages
           package.json
      /providers
           /lang
                en.json
                i18nProvider.ts
                i18nHook.ts
                readme.md
      /hooks
      /configManager (Dhruv)
      /configAdmin (prtk)
      /cli
/examples
     /allMoleculesApp => deployed as GitHub Pages (importing through npm => linked packages)
          package.json //devEnv
     /botApp
     ...
package.json (turborepo/lerna)

Publishing -> import from npm

  • /samagrax-molecule/molecules/ui/<all-molucules>
  • /samagrax-molecule/molecules/chat-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment