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

Tom Jackman tjackman at redhat.com
Fri Mar 31 07:29:31 UTC 2017


Great Work Paulo, looks very promising.

On Fri, Mar 31, 2017 at 8:16 AM, Austin Cunningham <aucunnin at redhat.com>
wrote:

> Looks great Paolo , so Good news everyone.
>
> On 31 March 2017 at 00:53, 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
>>
>>
>
>
> --
> Austin Cunningham
> Rapid Mobile Application Development Team
> <https://docs.jboss.org/pages/viewpage.action?pageId=9470209> (RMAD)
> <https://docs.jboss.org/pages/viewpage.action?pageId=9470209>
> Email:aucunnin at redhat.com
>
> Red Hat Mobile,
> Communications House
> Cork Road
> Waterford
> X91NY33
>
>
>
>
> _______________________________________________
> Feedhenry-raincatcher mailing list
> Feedhenry-raincatcher at redhat.com
> https://www.redhat.com/mailman/listinfo/feedhenry-raincatcher
>
>


-- 

[image: Red Hat] <http://www.redhat.com/>

Tom Jackman / Associate Software Engineer
tjackman at redhat.com / 0894751360

*Slack* - @tjackman #rhmap #rhmap-rmad

Red Hat
Waterford, Ireland.
www.redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-raincatcher/attachments/20170331/111cdd05/attachment.htm>


More information about the Feedhenry-raincatcher mailing list