-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
44 lines (44 loc) · 1.2 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
targets:
$default:
builders:
source_gen|combining_builder:
options:
ignore_for_file:
- duplicate_ignore
- type=lint
- implicit_dynamic_parameter
- implicit_dynamic_type
- implicit_dynamic_method
- strict_raw_type
freezed:
generate_for:
include:
- lib/**/entities/*.dart
- lib/**/models/**/*.dart
- lib/**/*_input.dart
go_router_builder:
generate_for:
include:
- lib/**/app_routes.dart
json_serializable:
generate_for:
include:
- lib/**/entities/*.dart
- lib/**/models/**/*.dart
options:
# Throw CheckedFromJsonException on exception
checked: true
# Generate toJson/fromJson methods for nested lists
explicit_to_json: true
field_rename: snake
riverpod_generator:
generate_for:
include:
- lib/**/provider/*.dart
- lib/**/*provider.dart
options:
provider_name_suffix: "Provider" # (default)
global_options:
freezed:
runs_before:
- json_serializable