-
Notifications
You must be signed in to change notification settings - Fork 241
Description
Is there an existing feature request for this?
- I have searched the existing issues.
Command
melos publish --skip-validation
Description
Enable the use of the --skip-validation argument in melos publish.
Reasoning
- For the same reason of official dart pub publish command.
- And for private packages that don't want to follow the same level of demand as pub.dev.
Additional context and comments
Today we have more than 50 modules within our project and more than 6 apps. All of them are managed by melos (we are grateful for that). We recently acquired a OnePub plan to help us manage the internal versions of these modules. However, since all our control was done via git, we have a policy of locking the exact version of the packages we use (we do not use ^). The problem is: the OnePub publishing command considers the use of ^ a warning, unlike melos/dart which considers it an error. Therefore, we cannot use the melos publish command due to this restriction, which would be easily circumvented if melos exposed the --skip-validation and --force commands.
Other
- I'm interested in working on a PR for this.