Gabriel Terwesten
Gabriel Terwesten
Just realized that `melos version` already supports this, but its hooks are a bit confusing: - `preversion`: correspondents to the hook that runs before a command and has the same...
The problem is dart `dart test` is incompatible with the default mechanism used by Melos to override local dependencies. There is a new mechanism that does not have this issue,...
Closing this since it's not an issue with Melos.
I think the requested behavior makes sense. The docs for the `--prerelease` flag say `Version any packages with changes as a prerelease.`. It would probably be a mistake to use...
We could add a filter flag (e.g. `--current`) that selects the package which contains the current working directory. That would enable this features for all commands that support filters.
That would certainly be a useful feature, but I'm not certain Melos is the right place to implement it. I think we want to keep Melos focused on general purpose...
I have created a [PR](https://github.com/dart-lang/pub/pull/3199) for `pub` to address this issue.
The `pub` team wants to solve this in a more general way, than my original PR did. This new [PR](https://github.com/dart-lang/pub/pull/3215) implements one of the solutions being discussed.
With the release of Dart `2.17.0` in the stable channel of the Dart and Flutter SDK, a new mechanism for overriding dependencies has become generally available that Melos can take...
Good catch! Thank you.