Hi all,
I've just released new versions of the three pub packages. The packages contain some important changes
1) The 'mojom' package is no longer a dependency and most developers won't need it. There is no need to run the mojom copy step as each individual package includes the mojom interfaces they provide.
2) Imports of .mojom.dart files should no longer reference the mojom package and instead reference the owning package. For example:
import 'package:mojom/mojo/host_resolver.mojom.dart';
becomes
import 'package:mojo_services/mojo/host_resolver.mojom.dart';
3) Any mojoms you wish to publish in Dart pacakges, you must added an annotation to the module. For example:
becomes
[DartPackage="mojo_services"]
module mojo;
4) Now that the mojom package is optional, dependencies on it should be dropped (unless you actually need it).
Thanks,
John