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
Bug : Lerna is publishing private packages when they have a dependency #303
changed the title [-]Bug? Lerna is publishing private packages when they have a dependency[/-][+]Bug : Lerna is publishing private packages when they have a dependency[/+]on Aug 9, 2016
Hi @yvele, #321 landed in [email protected]. That should get publish with private modules working correctly. Please reopen (or start a new ticket) if you still run into trouble after upgrading.
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
[-]Bug? Lerna is publishing private packages when they have a dependency[/-][+]Bug : Lerna is publishing private packages when they have a dependency[/+]ianwremmel commentedon Aug 9, 2016
Same root cause as #286 and #287?
gigabo commentedon Aug 10, 2016
Just ran into this. :(
Maybe related to #286? I was not using
--canary.gigabo commentedon Aug 10, 2016
Just realized that previously all of our private packages were using relative dependencies, like:
This was to work around #11. But we recently eliminated deep requires, so we have normal dependencies that Lerna can link now.
I guess this has been an issue with private packages for a while. 😬
gigabo commentedon Aug 10, 2016
So, I think the right behavior here would be to update the dependency versions in private packages, but not try to actually publish them.
What about
lerna updated? Private packages would be be modified bylerna publish, so they'd get updated. Maybe output with a(private)tag?Don't try to publish private modules
Don't try to publish private modules (#321)
gigabo commentedon Sep 9, 2016
Hi @yvele, #321 landed in
[email protected]. That should get publish with private modules working correctly. Please reopen (or start a new ticket) if you still run into trouble after upgrading.Don't try to publish private modules (lerna#321)
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.