-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Switch to using monorepo #4
Conversation
The files modules shared/ are already laid out well. Putting them in to the same place makes little sense to me.
c2ebf8d
to
68beb8a
Compare
I see all your decisions, here. Good paths and choices are taken imho. Please do not underestimate the "this also should work on browser" thing, specially for the next packages! Overall fine for me... I can actually merge it, so we can move on \o/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thank goodness!
Thanks! I'll also add support for browsers when the time comes, but it seems rather unnecessary to have unused scripts and files for browsers at this very moment, since we don't produce anything for browsers yet. I didn't mention (because I forgot :/), but you can bring the project up using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hehe. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't get this. What exactly does it do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like nothing special. Just related to monorepos.
After countless of hours of research, I think I found the best approach (for me) to implement monorepos using already-available tooling (pnpm in this case).
With this branch, we are now using a much stricter typescript with jest and workspaces support (used to implement the monorepo) along with shared dependencies of the same version (inspired by create-react-app).
I changed a few things that might be controversial. Please comment on them as well. ^^