mono repo dev_dependencies package version in pubspec is not updated #905
Tristan-gu
started this conversation in
General
Replies: 1 comment
-
|
The root pubspec should not have any dependencies that are within the monorepo. Inter-repository dependencies are automatically updated if you just add them to the corresponding pubspec files when you run version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using mono repo in Dart, and have something like this:
-MonoRepo
package1andpackage2needpackageForDevDepas dev_dependency, so I set in the rootpubspec.yamlWhen I use
melos versionall my packages need to update to 9.0.0, but, when it's done, I have this error onpub getI noticed that in the root
pubspec.yaml, the version forpackageForDevDepis not changed aftermelos versionIf I change it manually to "^9.0.0", all is good.
Is it normal ?
Beta Was this translation helpful? Give feedback.
All reactions