diff --git a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart b/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart index 5cc53869b2..c58ee27460 100644 --- a/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart +++ b/catalyst_voices/packages/catalyst_voices_assets/lib/generated/assets.gen.dart @@ -7,10 +7,10 @@ // ignore_for_file: type=lint // ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use -import 'package:flutter/widgets.dart'; import 'package:flutter/services.dart'; -import 'package:flutter_svg/flutter_svg.dart'; -import 'package:vector_graphics/vector_graphics.dart'; +import 'package:flutter/widgets.dart'; +import 'package:flutter_svg/flutter_svg.dart' as _svg; +import 'package:vector_graphics/vector_graphics.dart' as _vg; class $AssetsIconsGen { const $AssetsIconsGen(); @@ -1362,7 +1362,7 @@ class SvgGenImage { final Set flavors; final bool _isVecFormat; - SvgPicture svg({ + _svg.SvgPicture svg({ Key? key, bool matchTextDirection = false, AssetBundle? bundle, @@ -1375,29 +1375,29 @@ class SvgGenImage { WidgetBuilder? placeholderBuilder, String? semanticsLabel, bool excludeFromSemantics = false, - SvgTheme? theme, + _svg.SvgTheme? theme, ColorFilter? colorFilter, Clip clipBehavior = Clip.hardEdge, @deprecated Color? color, @deprecated BlendMode colorBlendMode = BlendMode.srcIn, @deprecated bool cacheColorFilter = false, }) { - final BytesLoader loader; + final _svg.BytesLoader loader; if (_isVecFormat) { - loader = AssetBytesLoader( + loader = _vg.AssetBytesLoader( _assetName, assetBundle: bundle, packageName: package, ); } else { - loader = SvgAssetLoader( + loader = _svg.SvgAssetLoader( _assetName, assetBundle: bundle, packageName: package, theme: theme, ); } - return SvgPicture( + return _svg.SvgPicture( loader, key: key, matchTextDirection: matchTextDirection, diff --git a/melos.yaml b/melos.yaml index e8d7e36277..2af9769978 100644 --- a/melos.yaml +++ b/melos.yaml @@ -9,14 +9,14 @@ packages: - utilities/** permittedLicenses: -- MIT -- Apache-2.0 -- Unicode-DFS-2016 -- BSD-3-Clause -- BSD-2-Clause -- BlueOak-1.0.0 -- Apache-2.0 WITH LLVM-exception -- CC0-1.0 + - MIT + - Apache-2.0 + - Unicode-DFS-2016 + - BSD-3-Clause + - BSD-2-Clause + - BlueOak-1.0.0 + - Apache-2.0 WITH LLVM-exception + - CC0-1.0 packageLicenseOverride: fuchsia_remote_debug_protocol: BSD-3-Clause @@ -115,6 +115,23 @@ command: mocktail: ^1.0.1 scripts: + l10n: + run: | + melos exec -c 1 --scope="catalyst_voices_localization" -- flutter gen-l10n + description: | + Run `flutter gen-l10n` in catalyst_voices_localization package to generate l10n bindings. + + build_runner: + run: | + melos exec -c 1 \ + --depends-on="build_runner" \ + --ignore="catalyst_voices_services" -- \ + dart run build_runner build --delete-conflicting-outputs + description: | + Run `build_runner` in every package which contains the build_runner dependency. + The catalyst_voices_services is skipped because to run a build_runner there you + must generate first swagger docs (see related Earthfile). + metrics: run: | melos exec -c 1 -- \