[Feedhenry-raincatcher] Lerna-js based monorepo, lets try to migrate now before this dies again!

Damien Murphy damurphy at redhat.com
Fri Mar 31 08:24:01 UTC 2017


Looks really good, should eliminate a lot of pain

On Fri, Mar 31, 2017 at 12:53 AM, Paolo Haji <phaji at redhat.com> wrote:

> Goood neeews, everyone! <https://www.youtube.com/watch?v=0oRlVKdOzmU>
>
> I went ahead and setup a lerna.js <https://lernajs.io/>-based monorepo
> for raincatcher.
> This was mostly from me being exceedingly annoyed at having to bump
> everything that used the mediator after Ger fixed a memory leak
> <https://github.com/feedhenry-raincatcher/raincatcher-mediator/pull/24>
>
> I've captured all current repos in the feedhenry-raincatcher org through this
> tool <https://github.com/unravelin/tomono> and did some small
> adjustments. Mostly enforcing the "fh-wfm-" prefix and bumping versions to
> latest.
>
> The repo is currently available here: https://github.com/paolobueno/
> raincatcher-mono (didn't want to overwrite Peter's previous attempt).
> Lerna seems to have everything we need in terms of extra basic scripts,
> such as symlinking everything, coordinating version bumps and publishes
> (even with independent versioning), publishing alpha versions, running npm
> scripts and arbitrary commands in multiple subrepos, etc.
>
> Apart from some weirdness with the browserifying in demo-portal and
> demo-mobile that I haven't been able to fix yet, it seems very promising.
>
> I think on top of that we'd need to setup CI to run all tests (and
> potentally improve it to run only on repos that have changed through lerna
> updated), DRY some dev-dependencies to the root and maybe add some
> scripts to deploy all demo apps at once to a cluster.
>
> In the linked repo the package versions all suffered a minor bump, along
> with a test publishing through lerna publish --canary --exact, you should
> be able to see 'canary' npm dist-tags on all modules as an example.
>
> I urge everyone to take a look and see if we can make the leap.
>
> _______________________________________________
> Feedhenry-raincatcher mailing list
> Feedhenry-raincatcher at redhat.com
> https://www.redhat.com/mailman/listinfo/feedhenry-raincatcher
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-raincatcher/attachments/20170331/58fe41db/attachment.htm>


More information about the Feedhenry-raincatcher mailing list