You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] lerna bootstrap --skip-npm could skip npm i #495
After pulling changes to your repository you may only want to ensure that all the symlinks are done. Currently, running lerna bootstrap may take awful lot of time due to npm i. Adding support for --skip-npm would speed this process up.
Actually, it's only slow on the first run. I don't know how Lerna did this but it works super fast on subsequent runs (even though npm i is always slow). So this isn't an issue.
We're getting close to the final release, so we've been re-thinking some of the infrastructure decisions, asking again the important questions and wishing for final answers :).
One of them was "Whether to multi-repo or not". We know the cost of having to maintain multi-repo project, but the benefits are important for us as well. So we decided to stick to that.
configure Webpack (or other bundlers) to source packages from directories where we cloned them,
or use Lerna to symlink them and hope that bundlers will be able to source the files correctly (which Rollup can't, for instance)
We liked the 2nd option more as Lerna is getting more and more popular, so we'll be using a de facto standard for multi-package projects. This should make CKEditor 5 more familiar to some developers and, by contributing back to Lerna, we'll avoid deepening the fragmentation of JS world.
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Activity
Reinmar commentedon Jan 12, 2017
Actually, it's only slow on the first run. I don't know how Lerna did this but it works super fast on subsequent runs (even though
npm iis always slow). So this isn't an issue.hzoo commentedon Jan 12, 2017
Oh nice! Hows ckeditor 5 coming along?
Reinmar commentedon Jan 12, 2017
Hi Henry, thanks for asking! :)
We're getting close to the final release, so we've been re-thinking some of the infrastructure decisions, asking again the important questions and wishing for final answers :).
One of them was "Whether to multi-repo or not". We know the cost of having to maintain multi-repo project, but the benefits are important for us as well. So we decided to stick to that.
However, we realised that we'll need to work on our current toolset anyway, because we're planning to switch to scoped packages and versioned deps (so far we're using GH urls in
package.json). We're using Lerna in our dev tools already and are happy with it. So we came up with a plan to still use a multi-repo for the main project (https://github.com/ckeditor/ckeditor5), but then to use Lerna to digest that for npm. Actually, we have two options (described in https://github.com/ckeditor/ckeditor5-dev/issues/6#issuecomment-270349148):We liked the 2nd option more as Lerna is getting more and more popular, so we'll be using a de facto standard for multi-package projects. This should make CKEditor 5 more familiar to some developers and, by contributing back to Lerna, we'll avoid deepening the fragmentation of JS world.
But one piece was missing still – a tool for managing a multi-repo. We've just finished a proof-of-concept of such a tool – https://github.com/cksource/mgit2 and I'm now working on porting CKEditor 5 main repository to that setup. Hence, this issue :D. It's an early stage still, but looks really promising.
lock commentedon Dec 28, 2018
This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.