redux-bundler icon indicating copy to clipboard operation
redux-bundler copied to clipboard

Thoughts on having a redux-bundler mono-repo

Open vujita opened this issue 4 years ago • 5 comments

@HenrikJoreteg I was wondering your thoughts of consolidating all the redux-bundle packages and bindings into one centralized repo possibly through something like lerna

Possibly even breaking out extras like this into separate packages

Also any thoughts about making all these belong to a group.

Like having "@redux-bundler/redux-bundler" "@redux-bundler/redux-bundler-preact" image

vujita avatar Mar 07 '20 23:03 vujita

It's something I've thought about, but obviously haven't done yet. Part of the reason I haven't is that Lerna specifically, feels a bit overwrought. I haven't really researched it. Are there other good options?

This looks kind of interesting... https://github.com/mateodelnorte/meta/blob/master/README.md

Keeps them separate, but let's you run commands across them.

Personally I don't want to have import { X } from '@redux-bundler/redux-bundler' everywhere. The name just bugs me. Especially when I already have the top level name. That said, a little more unity would be nice.

HenrikJoreteg avatar Mar 08 '20 14:03 HenrikJoreteg

Yarn workspaces offers a much lighter solution. It does have a few draw backs, need to switch to yarn and possible issues with publishing that is listed

vujita avatar Mar 08 '20 18:03 vujita

Alternatively I've heard good things about Microsoft RushJS, but haven't tried it out in a project yet

davemo avatar Aug 16 '20 18:08 davemo

PouchDB does monorepo in a no-tooling way after trying Lerna: Why we dropped Lerna from PouchDB.

They're still using their simple "Alle" monorepo method these years later: https://github.com/pouchdb/pouchdb (I don't have direct experience with it myself, just remembered I'd like to try monorepo this way :) ).

odinho avatar Mar 18 '21 11:03 odinho

Yeah, conceptually, I really like this idea. But I have yet to find a monorepo approach that doesn't feel belabored and frustrating. I'm open to trying it though. Just need to find the time :)

HenrikJoreteg avatar Mar 18 '21 16:03 HenrikJoreteg