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
package1
andpackage2
needpackageForDevDep
as dev_dependency, so I set in the rootpubspec.yaml
When I use
melos version
all my packages need to update to 9.0.0, but, when it's done, I have this error onpub get
I noticed that in the root
pubspec.yaml
, the version forpackageForDevDep
is not changed aftermelos version
If I change it manually to "^9.0.0", all is good.
Is it normal ?
Beta Was this translation helpful? Give feedback.
All reactions