Brigad/monorepo-example

Add typescript & storybook to mix

Opened this issue · 1 comments

would love to see a branch with typescript and/or storybook.

its always confusing to me how to add storybook in monorepos, should it setup at root ? or as separate package ?
bthanks great article btwn

This is what i'm currently working on, and seems to be ok if you any.

In my case, i've setup the storybook as a ./package (because i don't like mixing-up dependencies and stuff from storybook and such tools with the actual Apps)
typescript seems to go ok as well, i think is a question of only leaving running with --watch mode, and in the end will be just like .js.

to help to orchestrate running the multiple commands i have to run in each package folder, i added up to the mix the Lerna that plays perfectly with yarn workspaces.