You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will be somewhat mitigated if/when we have staged publishing. You would be able to test out the package before fully publishing.
That said, I also think something like this would be really cool.
It would improve the workflow of mono-repos.
One issue is that we probably want to put this in a file somewhere. Flags are too ephemeral, eg. pub run will first check if the pubspec.lock is up-to-date, and without the flag it would not be able to confirm this.
See more discussions in this direction in: #2161 . Here we consider a separate override file. But I think the point of not overriding the solver completely, but rather treating the package as published in the solver is an important missing piece.
kevmoo
changed the title
Add a --treat-as-published [path_to_package1,path_to_package2...] flag
Add a way to simulate one or more packages is published
Jul 22, 2021
kevmoo
changed the title
Add a way to simulate one or more packages is published
Add a way to run pub and simulate 1+ packages are already published.
Feb 15, 2023
I'm hacking on package
abc
. I'm about ready to publish it.I depend on
abc
fromxyz
.I can put
abc
in thedependency_overrides
section ofxyz
as a path dependency, but that misses things.Did I mess up an SDK constraint? Another package constraint? etc etc
It'd be AWESOME if I could have the pub client simulate that a set of things I have locally are already published and then do it's thing.
cc @jakemac53 @natebosch
The text was updated successfully, but these errors were encountered: