[material_ui and cupertino_ui] Remove workspaces and fix CI - #12351
[material_ui and cupertino_ui] Remove workspaces and fix CI#12351justinmc wants to merge 10 commits into
Conversation
This was breaking CI as it's not yet supported by the dependency pathification script.
There was a problem hiding this comment.
Code Review
This pull request removes the workspace configurations and resolution settings from the pubspec.yaml files of both the cupertino_ui and material_ui packages and their respective examples. No review comments were provided, and there is no additional feedback.
|
Does this need pending changelogs? |
|
No, this doesn't affect clients so doesn't need a changelog entry. |
|
Moving this to a draft as I rethink the dependencies. I'm going to try to remove cross imports from cupertino_ui_examples. |
There was a problem hiding this comment.
Code Review
This pull request removes workspace configurations and replaces Material UI dependencies, imports, widgets, icons, and colors with Cupertino equivalents across the cupertino_ui example and test files. The feedback identifies unused imports of package:cupertino_ui/cupertino_ui.dart in two context menu test files.
| // found in the LICENSE file. | ||
|
|
||
| import 'package:material_ui/material_ui.dart'; | ||
| import 'package:cupertino_ui/cupertino_ui.dart'; |
There was a problem hiding this comment.
It's used to import FlutterLogo. I've changed it to import widgets instead.
| // found in the LICENSE file. | ||
|
|
||
| import 'package:material_ui/material_ui.dart'; | ||
| import 'package:cupertino_ui/cupertino_ui.dart'; |
| flutter_lints: ^6.0.0 | ||
|
|
||
| flutter: | ||
| uses-material-design: true |
Piinks
left a comment
There was a problem hiding this comment.
For the updated cupertino samples, does the API documentation surrounding each sample need to be updated? For example, the list tile one looks fine:
|
Since the cupertino samples changes are user facing, cupertino_ui will need a pending changelog file for this PR now. |
|
A test started failing after removing material_ui, I'm looking into it. |
It was discovered in the latest cupertino_ui batch release that CI is not set up to handle workspaces yet, causing CI failures. This PR attempts to solve the problem by:
See also flutter/flutter#190453