[native_assets_cli] Remove re-exporting #2237
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes all
exports
that were not exporting asrc/
class. Classes are now only exported once in thelib/xxx.dart
.This cleans up ambiguity with imports:
xx_builder.dart
imports changed toxx.dart
imports because the builder facilities are not used).As a side effect, now multiple imports might be needed for hooks:
import 'package:native_assets_cli/data_assets.dart'; + import 'package:native_assets_cli/native_assets_cli.dart';
In a follow up PR I'll take a look at reducing the number of libraries (maybe we can merge the test/builder libraries with the other ones).
Bug:
Before we can address #999, we need to have an idea what the import structure should look like.