Skip to content

Commit

Permalink
Fix: Pass Builder Options
Browse files Browse the repository at this point in the history
- Pass `BuilderOptions` to `PartBuilder`
  • Loading branch information
callius authored Sep 11, 2023
1 parent dcd9669 commit 29efe2b
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 8 deletions.
6 changes: 6 additions & 0 deletions packages/target/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1

Fixes:

- Pass `BuilderOptions` to `PartBuilder`.

## 0.4.0

Features:
Expand Down
2 changes: 1 addition & 1 deletion packages/target/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: target
description: Functional domain modeling in Dart.
version: 0.4.0
version: 0.4.1
repository: https://github.com/callius/target-dart/tree/main/packages/target
issue_tracker: https://github.com/callius/target-dart/issues
homepage: https://github.com/callius/target-dart
Expand Down
6 changes: 6 additions & 0 deletions packages/target_annotation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1

Fixes:

- Pass `BuilderOptions` to `PartBuilder`.

## 0.4.0

Features:
Expand Down
2 changes: 1 addition & 1 deletion packages/target_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: target_annotation
description: Functional domain modeling in Dart.
version: 0.4.0
version: 0.4.1
repository: https://github.com/callius/target-dart/tree/main/packages/target_annotation
issue_tracker: https://github.com/callius/target-dart/issues
homepage: https://github.com/callius/target-dart
Expand Down
6 changes: 6 additions & 0 deletions packages/target_annotation_processor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1

Fixes:

- Pass `BuilderOptions` to `PartBuilder`.

## 0.4.0

Features:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import 'package:source_gen/source_gen.dart';
import 'package:target_annotation_processor/src/model_generator.dart';

Builder modelBuilder(BuilderOptions options) {
return PartBuilder([ModelGenerator()], '.core.dart');
return PartBuilder([ModelGenerator()], '.core.dart', options: options);
}
8 changes: 4 additions & 4 deletions packages/target_annotation_processor/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: target_annotation_processor
description: Functional domain modeling in Dart.
version: 0.4.0
version: 0.4.1
repository: https://github.com/callius/target-dart/tree/main/packages/target_annotation_processor
issue_tracker: https://github.com/callius/target-dart/issues
homepage: https://github.com/callius/target-dart
Expand All @@ -21,17 +21,17 @@ dependencies:
git:
url: https://github.com/callius/target-dart
path: packages/target
ref: v0.4.0
ref: v0.4.1
target_annotation:
git:
url: https://github.com/callius/target-dart
path: packages/target_annotation
ref: v0.4.0
ref: v0.4.1
target_extension:
git:
url: https://github.com/callius/target-dart
path: packages/target_extension
ref: v0.4.0
ref: v0.4.1

dev_dependencies:
build_runner: null
Expand Down
6 changes: 6 additions & 0 deletions packages/target_extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.1

Fixes:

- Pass `BuilderOptions` to `PartBuilder`.

## 0.4.0

Features:
Expand Down
2 changes: 1 addition & 1 deletion packages/target_extension/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: target_extension
description: Extensions for functional domain modeling in Dart.
version: 0.4.0
version: 0.4.1
repository: https://github.com/callius/target-dart/tree/main/packages/target_extension
issue_tracker: https://github.com/callius/target-dart/issues
homepage: https://github.com/callius/target-dart
Expand Down

0 comments on commit 29efe2b

Please sign in to comment.