Skip to content

Commit

Permalink
chore(bricks): flutter_bloc_feature v0.4.0 (#4291)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Nov 28, 2024
1 parent 8222cc0 commit 484b4af
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions bricks/flutter_bloc_feature/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions bricks/flutter_bloc_feature/brick.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
12 changes: 6 additions & 6 deletions bricks/flutter_bloc_feature/hooks/pre_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> run(HookContext context) async {
Expand Down
4 changes: 2 additions & 2 deletions bricks/flutter_bloc_feature/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 484b4af

Please sign in to comment.