Closed arnaud-secondlayer closed 1 month ago
\cc @sigurdm
Since taking over webdev
, I'm not aware of any work that's been done related to workspaces in the tool. @sigurdm, I'm assuming we'll need to make some changes to support this?
Yeah - I haven't looked deeply yet. But I guess we have to remove assumptions about the location of .dart_tool/package_config.json and pubspec.lock somewhere.
With workspaces we cannot assume that they are located next to pubspec.yaml, but we have to keep looking up the file hierarchy until we find it.
I hope to get to look into this later this week.
Thanks for the fix @sigurdm! This feature is going out with the next stable, right? I'll make a point to publish this soon.
It is already available (though not announced) in 3.5, but yeah - we plan to announce it with 3.6
I've started to use dartlang workspace feature in our repo ( https://github.com/dart-lang/sdk/issues/53875 ). When I run
webdev
on a repo withresolution: workspace
, I get the error message: