-
Notifications
You must be signed in to change notification settings - Fork 9
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
The mgit command(s) should ignore main package. #96
Comments
ps.: now it's |
The second option seems logically correct. If you run |
I guess the problem is in the script that creates the From the Mgit perspective, it's nonsense to add a package which is a root to its packages. I mean:
|
Thanks for the tip. I'll check that. |
I was wrong. You are right guys. Mgit shouldn't install the root package as its package. |
It looks like the fix is quite simple. Just ignore the packages that name equals to main package name in |
Fix: The master repository package should not be loaded to packages dir. Closes #96.
After debugging https://github.com/ckeditor/ckeditor5-paragraph/issues/39 and talks with @Reinmar we came to conclusion that we had a bug which npm+lerna somehow hidden from us.
The problem is when package being tested requires another package that requires the main package (it might be by a
devDependencies
).In this case it was
ckeditor5-paragraph
that requiresckeditor5-heading
in integration tests. TheHeadingEditing
requiresParagraph
package. It should be sufficient to omitckeidtor5-paragraph
when runningmgit bootstrap
.Right now I can see that we can:
--ignore
switch to simply ignore some package - it has one drawback that this has bug/feature that it only ignores immediate packages and does not ignore packages from--ignore
if not ignored package require itpackages
and we only want to prevent current package to be imported intopackages/*
if required by other plugins.cc @Reinmar, @pomek
The text was updated successfully, but these errors were encountered: