-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub: need "dependency overrides" for development #8566
Comments
Issue #8553 has been merged into this issue. |
I'd like this too. Set owner to @munificent. |
Marking as "later" to just mean "haven't bucketed in a milestone yet" not "definitely after M6". Added this to the Later milestone. |
Issue #12395 has been merged into this issue. cc @sethladd. |
Issue #12250 has been merged into this issue. |
1 similar comment
Issue #12250 has been merged into this issue. |
Added C4 label. |
Added Started label. |
Are dependencies overridden through a command line option, or specifying which ones in the pubspec? |
I still need to write docs for this, but there is a separate section in your pubspec: name: myapp The contents of that look just like a regular dependencies section, except that these ones will completely override any other constraint on a dependency with the same name. |
Ok, thank you. Can't wait to use this! |
This comment was originally written by @danschultz Is this in DartEditor 30798? It's not working for me. |
Yes, it should be. It was checked in r30376. What does your pubspec look like? |
This comment was originally written by @danschultz name: taco_client |
That seems to work fine for me. What output are you getting and what are you expecting to get? |
This comment was originally written by @danschultz When I run pub get, I expect my lock file to be updated to use the path dependency. But no joy. |
I'm still not able to repro this. Can you run pub get --verbose and include the output here? Also, the contents of your lockfile may help. |
Zip is attached with the yaml file and pub get output. You can find the generated lock content in the output. Attachment: |
This issue has been moved to dart-lang/pub#448. |
If I want to hack on a library package that is used by a few other packages in my dependency graph, I need to clone all of them locally, edit their pubspecs and use path dependencies.
It would be great if I could instruct Pub to use my version of the library package for all transitive dependencies.
The text was updated successfully, but these errors were encountered: