Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question - what would be involved to also enable publishing this? #3

Open
gcloeval opened this issue Feb 25, 2019 · 1 comment
Open

Comments

@gcloeval
Copy link

Hi Jarred,
This started looks like it has exactly the stuff I need. It works excellent as a development workflow.

I see that you specifically mention nothing is ever published to the npm.

Eventually however I would like to publish the monorepo.

Would you still advise to continue with this starter, or perhaps look for something else and if so do you have any recommendation? Could you provide at least some higher level steps/links you would recommend to extend this to also enable publishing?

Its just so confusing between typescript, babel, webpack, rollup, lerna, workspaces..... And now thats its also split between multiple modules as in this repo (-common, -ui, -cra app) it gets even worse and my braing is hurting.... what to use where and when...

From my initial research, recommendation is to use rollup for libraries and webpack for apps, so in the case of this repo, I should try to incorporate rollup for publishing mono-common and mono-ui and webpack for the mono-cra app? Or is this not recommended and should I use same bundling and publishing tooling across the monorepo?

Anyways, if you could provide just some pointers in the readme about possible steps to get this to be publishable I think it would be useful for people.

Thanks

@alfonmga
Copy link

alfonmga commented Jul 30, 2019

Did you figure it out? I suppose in order to deploy this monorepo to production we would need to upload also the build dirs of the common packages.

I think it would be something like this: https://github.com/benawad/fullstack-graphql-airbnb-clone/blob/master/Dockerfile

@jaredpalmer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants