From 484b4af9f6c02737be62453a62174b7198c00509 Mon Sep 17 00:00:00 2001 From: Felix Angelov Date: Wed, 27 Nov 2024 21:51:30 -0600 Subject: [PATCH] chore(bricks): flutter_bloc_feature v0.4.0 (#4291) --- bricks/flutter_bloc_feature/CHANGELOG.md | 5 +++++ bricks/flutter_bloc_feature/brick.yaml | 4 ++-- bricks/flutter_bloc_feature/hooks/pre_gen.dart | 12 ++++++------ bricks/flutter_bloc_feature/hooks/pubspec.yaml | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/bricks/flutter_bloc_feature/CHANGELOG.md b/bricks/flutter_bloc_feature/CHANGELOG.md index 2ac52df397c..cf786ba08f1 100644 --- a/bricks/flutter_bloc_feature/CHANGELOG.md +++ b/bricks/flutter_bloc_feature/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.4.0 + +- chore(deps): upgrade to `mason ^0.1.0` +- chore(deps): upgrade hooks to `dart ^3.5.4` + # 0.3.2 - deps: upgrade to mason v0.1.0-dev.57 diff --git a/bricks/flutter_bloc_feature/brick.yaml b/bricks/flutter_bloc_feature/brick.yaml index 01af0654986..60f8f9f18e9 100644 --- a/bricks/flutter_bloc_feature/brick.yaml +++ b/bricks/flutter_bloc_feature/brick.yaml @@ -1,10 +1,10 @@ name: flutter_bloc_feature description: Generate a new Flutter feature with bloc. Built for the bloc state management library. repository: https://github.com/felangel/bloc/tree/master/bricks/flutter_bloc_feature -version: 0.3.2 +version: 0.4.0 environment: - mason: ">=0.1.0-dev.57 <0.1.0" + mason: ^0.1.0 vars: name: diff --git a/bricks/flutter_bloc_feature/hooks/pre_gen.dart b/bricks/flutter_bloc_feature/hooks/pre_gen.dart index a820e09ef30..c39f35fbe13 100644 --- a/bricks/flutter_bloc_feature/hooks/pre_gen.dart +++ b/bricks/flutter_bloc_feature/hooks/pre_gen.dart @@ -15,12 +15,12 @@ enum BlocType { } final brickVersions = { - BlocType.bloc: '^0.3.0', - BlocType.cubit: '^0.2.0', - BlocType.hydrated_bloc: '^0.3.0', - BlocType.hydrated_cubit: '^0.2.0', - BlocType.replay_bloc: '^0.2.0', - BlocType.replay_cubit: '^0.2.0', + BlocType.bloc: '^0.4.0', + BlocType.cubit: '^0.3.0', + BlocType.hydrated_bloc: '^0.4.0', + BlocType.hydrated_cubit: '^0.3.0', + BlocType.replay_bloc: '^0.3.0', + BlocType.replay_cubit: '^0.3.0', }; Future run(HookContext context) async { diff --git a/bricks/flutter_bloc_feature/hooks/pubspec.yaml b/bricks/flutter_bloc_feature/hooks/pubspec.yaml index d11c02d8917..1bd1925afbc 100644 --- a/bricks/flutter_bloc_feature/hooks/pubspec.yaml +++ b/bricks/flutter_bloc_feature/hooks/pubspec.yaml @@ -1,8 +1,8 @@ name: flutter_bloc_feature_hooks environment: - sdk: ">=2.15.0 <3.0.0" + sdk: ^3.5.4 dependencies: - mason: ^0.1.0-dev.57 + mason: ^0.1.0 path: ^1.8.2