Description
#673 and #675 exposed a potential usage problem of the optimizer hook: even dev dependencies declared on the hooks pubspec.yaml have to respect the CLIs dev dependency constraints.
That happens because the Mason generator runs dart pub get on the hooks before the tests are run.
E2E workflow description
Run an e2e test that runs the very_good test in the minimal dart SDK version and validate a successful result.