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
As of now, when trying to publish a package to a registry for the first time with melos publish, melos errors out when comparing the local version to the registry version of the package, even in dry-run mode. It makes sense that the comparison sort of fails because the package isn't in the registry yet.
melos publish does a great job at abstracting out individual package publication (the flutter/dart/pub publish commands), except in this particular case where we currently have to resort to manual publish commands. Would it be possible to add a boolean flag to allow melos to publish a package which is not yet in the registry? Something along the lines of --allow-first-publish for example
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
As of now, when trying to publish a package to a registry for the first time with
melos publish, melos errors out when comparing the local version to the registry version of the package, even in dry-run mode. It makes sense that the comparison sort of fails because the package isn't in the registry yet.melos publishdoes a great job at abstracting out individual package publication (theflutter/dart/pub publishcommands), except in this particular case where we currently have to resort to manual publish commands. Would it be possible to add a boolean flag to allow melos to publish a package which is not yet in the registry? Something along the lines of--allow-first-publishfor exampleBeta Was this translation helpful? Give feedback.
All reactions