request: Support Dart 3.9.0 Versions in Git dependencies
Is there an existing feature request for this?
- [x] I have searched the existing issues.
Command
No response
Description
With Dart 3.9.0 we can now use semantic versioning on Git dependencies:
dependencies:
foo:
git:
url: https://github.com/myFoo/foo
tag_pattern: my-tag-pattern-v{{version}}
version: ^1.0.0
Currently melos version is failing to upgrade internal dependencies in the mono-repo when one package has a new version. In this example if Foo is updated to 1.1.0, the implementing package will not be updated to version: ^1.1.0
Reasoning
It is really great for private mono-repos that Dart is now supporting versioning via Git as this gives a great alternative to hosting a private pub. Implementing this feature in melos would benefit all private monorepos that use this new versioning
Additional context and comments
No response
Other
- [ ] I'm interested in working on a PR for this.
Interesting, is this supported in pubspec_parse?
Interesting, is this supported in pubspec_parse?
@spydon: I am not sure if this question is adressed to me 😆 The feature has been implement in Dart in 3.9.0, see here
@FritzMatthaeus yeah, because it has to be supported in that package before we can use it, so we'll have to open an issue there first.
Created https://github.com/dart-lang/tools/issues/2155
It is really great for private mono-repos that Dart is now supporting versioning via Git as this gives a great alternative to hosting a private pub. Implementing this feature in melos would benefit all private monorepos that use this new versioning
@FritzMatthaeus but are we allowed to publish packages with a tagged git dependency?