diff --git a/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart b/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart index 7a3de3b6..d3ec0faf 100644 --- a/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart +++ b/examples/mirai_gallery/lib/app/example/example_screen.freezed.dart @@ -62,22 +62,22 @@ class _$ExampleScreenCopyWithImpl<$Res, $Val extends ExampleScreen> } /// @nodoc -abstract class _$$_ExampleScreenCopyWith<$Res> +abstract class _$$ExampleScreenImplCopyWith<$Res> implements $ExampleScreenCopyWith<$Res> { - factory _$$_ExampleScreenCopyWith( - _$_ExampleScreen value, $Res Function(_$_ExampleScreen) then) = - __$$_ExampleScreenCopyWithImpl<$Res>; + factory _$$ExampleScreenImplCopyWith( + _$ExampleScreenImpl value, $Res Function(_$ExampleScreenImpl) then) = + __$$ExampleScreenImplCopyWithImpl<$Res>; @override @useResult $Res call({String assetPath}); } /// @nodoc -class __$$_ExampleScreenCopyWithImpl<$Res> - extends _$ExampleScreenCopyWithImpl<$Res, _$_ExampleScreen> - implements _$$_ExampleScreenCopyWith<$Res> { - __$$_ExampleScreenCopyWithImpl( - _$_ExampleScreen _value, $Res Function(_$_ExampleScreen) _then) +class __$$ExampleScreenImplCopyWithImpl<$Res> + extends _$ExampleScreenCopyWithImpl<$Res, _$ExampleScreenImpl> + implements _$$ExampleScreenImplCopyWith<$Res> { + __$$ExampleScreenImplCopyWithImpl( + _$ExampleScreenImpl _value, $Res Function(_$ExampleScreenImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -85,7 +85,7 @@ class __$$_ExampleScreenCopyWithImpl<$Res> $Res call({ Object? assetPath = null, }) { - return _then(_$_ExampleScreen( + return _then(_$ExampleScreenImpl( assetPath: null == assetPath ? _value.assetPath : assetPath // ignore: cast_nullable_to_non_nullable @@ -96,11 +96,11 @@ class __$$_ExampleScreenCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_ExampleScreen implements _ExampleScreen { - const _$_ExampleScreen({required this.assetPath}); +class _$ExampleScreenImpl implements _ExampleScreen { + const _$ExampleScreenImpl({required this.assetPath}); - factory _$_ExampleScreen.fromJson(Map json) => - _$$_ExampleScreenFromJson(json); + factory _$ExampleScreenImpl.fromJson(Map json) => + _$$ExampleScreenImplFromJson(json); @override final String assetPath; @@ -114,7 +114,7 @@ class _$_ExampleScreen implements _ExampleScreen { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_ExampleScreen && + other is _$ExampleScreenImpl && (identical(other.assetPath, assetPath) || other.assetPath == assetPath)); } @@ -126,12 +126,12 @@ class _$_ExampleScreen implements _ExampleScreen { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith => - __$$_ExampleScreenCopyWithImpl<_$_ExampleScreen>(this, _$identity); + _$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith => + __$$ExampleScreenImplCopyWithImpl<_$ExampleScreenImpl>(this, _$identity); @override Map toJson() { - return _$$_ExampleScreenToJson( + return _$$ExampleScreenImplToJson( this, ); } @@ -139,15 +139,15 @@ class _$_ExampleScreen implements _ExampleScreen { abstract class _ExampleScreen implements ExampleScreen { const factory _ExampleScreen({required final String assetPath}) = - _$_ExampleScreen; + _$ExampleScreenImpl; factory _ExampleScreen.fromJson(Map json) = - _$_ExampleScreen.fromJson; + _$ExampleScreenImpl.fromJson; @override String get assetPath; @override @JsonKey(ignore: true) - _$$_ExampleScreenCopyWith<_$_ExampleScreen> get copyWith => + _$$ExampleScreenImplCopyWith<_$ExampleScreenImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/examples/mirai_gallery/lib/app/example/example_screen.g.dart b/examples/mirai_gallery/lib/app/example/example_screen.g.dart index e05d6bc5..49fa1de9 100644 --- a/examples/mirai_gallery/lib/app/example/example_screen.g.dart +++ b/examples/mirai_gallery/lib/app/example/example_screen.g.dart @@ -6,12 +6,12 @@ part of 'example_screen.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_ExampleScreen _$$_ExampleScreenFromJson(Map json) => - _$_ExampleScreen( +_$ExampleScreenImpl _$$ExampleScreenImplFromJson(Map json) => + _$ExampleScreenImpl( assetPath: json['assetPath'] as String, ); -Map _$$_ExampleScreenToJson(_$_ExampleScreen instance) => +Map _$$ExampleScreenImplToJson(_$ExampleScreenImpl instance) => { 'assetPath': instance.assetPath, }; diff --git a/examples/mirai_gallery/pubspec.lock b/examples/mirai_gallery/pubspec.lock index 7546ae9b..560c5802 100644 --- a/examples/mirai_gallery/pubspec.lock +++ b/examples/mirai_gallery/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: build_resolvers - sha256: d912852cce27c9e80a93603db721c267716894462e7033165178b91138587972 + sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" build_runner: dependency: "direct dev" description: @@ -93,10 +93,10 @@ packages: dependency: transitive description: name: build_runner_core - sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41" + sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 url: "https://pub.dev" source: hosted - version: "7.2.10" + version: "7.2.11" built_collection: dependency: transitive description: @@ -109,10 +109,10 @@ packages: dependency: transitive description: name: built_value - sha256: ff627b645b28fb8bdb69e645f910c2458fd6b65f6585c3a53e0626024897dedf + sha256: a8de5955205b4d1dbbbc267daddf2178bd737e4bab8987c04a500478c9651e74 url: "https://pub.dev" source: hosted - version: "8.6.2" + version: "8.6.3" characters: dependency: transitive description: @@ -141,10 +141,10 @@ packages: dependency: transitive description: name: code_builder - sha256: "315a598c7fbe77f22de1c9da7cfd6fd21816312f16ffa124453b4fc679e540f1" + sha256: "1be9be30396d7e4c0db42c35ea6ccd7cc6a1e19916b5dc64d6ac216b5544d677" url: "https://pub.dev" source: hosted - version: "4.6.0" + version: "4.7.0" collection: dependency: transitive description: @@ -181,18 +181,18 @@ packages: dependency: transitive description: name: dart_style - sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55" + sha256: abd7625e16f51f554ea244d090292945ec4d4be7bfbaf2ec8cccea568919d334 url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.3.3" dio: dependency: "direct main" description: name: dio - sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197 + sha256: "417e2a6f9d83ab396ec38ff4ea5da6c254da71e4db765ad737a42af6930140b7" url: "https://pub.dev" source: hosted - version: "5.3.2" + version: "5.3.3" fake_async: dependency: transitive description: @@ -247,10 +247,10 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "83462cfc33dc9680533a7f3a4a6ab60aa94f287db5f4ee6511248c22833c497f" + sha256: "21bf2825311de65501d22e563e3d7605dff57fb5e6da982db785ae5372ff018a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.5" freezed_annotation: dependency: "direct main" description: @@ -390,26 +390,23 @@ packages: mirai: dependency: "direct main" description: - name: mirai - sha256: "7c14ce9731f2779f517735402127c03631e7243427e672ea620101ae8e0f1fb4" - url: "https://pub.dev" - source: hosted + path: "../../packages/mirai" + relative: true + source: path version: "0.5.1" mirai_framework: - dependency: transitive + dependency: "direct overridden" description: - name: mirai_framework - sha256: a8fcd5cb782bb054587d7cddcbc688f5f9392017ac0a43f8df6a11872bee98db - url: "https://pub.dev" - source: hosted + path: "../../packages/mirai_framework" + relative: true + source: path version: "0.0.2" mirai_webview: dependency: "direct main" description: - name: mirai_webview - sha256: baf0048263357e1b69e2caa19d43823c96946628443b4f41ae6f5737452cb7dc - url: "https://pub.dev" - source: hosted + path: "../../packages/mirai_webview" + relative: true + source: path version: "0.0.2" nested: dependency: transitive @@ -620,18 +617,18 @@ packages: dependency: transitive description: name: webview_flutter - sha256: "82f6787d5df55907aa01e49bd9644f4ed1cc82af7a8257dd9947815959d2e755" + sha256: c1ab9b81090705c6069197d9fdc1625e587b52b8d70cdde2339d177ad0dbb98e url: "https://pub.dev" source: hosted - version: "4.2.4" + version: "4.4.1" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: "9427774649fd3c8b7ff53523051395d13aed2ca355822b822e6493d79f5fc05a" + sha256: b0cd33dd7d3dd8e5f664e11a19e17ba12c352647269921a3b568406b001f1dff url: "https://pub.dev" source: hosted - version: "3.10.0" + version: "3.12.0" webview_flutter_platform_interface: dependency: transitive description: @@ -644,10 +641,10 @@ packages: dependency: transitive description: name: webview_flutter_wkwebview - sha256: d2f7241849582da80b79acb03bb936422412ce5c0c79fb5f6a1de5421a5aecc4 + sha256: b4b42295b3aa91ed22ba6d3dd7de56efbb8f3ab3d6e41d8b1615d13537c7801d url: "https://pub.dev" source: hosted - version: "3.7.4" + version: "3.9.2" yaml: dependency: transitive description: @@ -657,5 +654,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.1.0 <4.0.0" + dart: ">=3.1.0-185.0.dev <4.0.0" flutter: ">=3.7.0" diff --git a/examples/mirai_gallery/pubspec_overrides.yaml b/examples/mirai_gallery/pubspec_overrides.yaml new file mode 100644 index 00000000..c1d7530b --- /dev/null +++ b/examples/mirai_gallery/pubspec_overrides.yaml @@ -0,0 +1,8 @@ +# melos_managed_dependency_overrides: mirai,mirai_framework,mirai_webview +dependency_overrides: + mirai: + path: ../../packages/mirai + mirai_framework: + path: ../../packages/mirai_framework + mirai_webview: + path: ../../packages/mirai_webview diff --git a/packages/mirai/pubspec_overrides.yaml b/packages/mirai/pubspec_overrides.yaml new file mode 100644 index 00000000..9c1a1d25 --- /dev/null +++ b/packages/mirai/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: mirai_framework +dependency_overrides: + mirai_framework: + path: ../mirai_framework diff --git a/packages/mirai_webview/pubspec_overrides.yaml b/packages/mirai_webview/pubspec_overrides.yaml new file mode 100644 index 00000000..9c1a1d25 --- /dev/null +++ b/packages/mirai_webview/pubspec_overrides.yaml @@ -0,0 +1,4 @@ +# melos_managed_dependency_overrides: mirai_framework +dependency_overrides: + mirai_framework: + path: ../mirai_framework