-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpubspec.yaml
More file actions
119 lines (103 loc) · 2.89 KB
/
pubspec.yaml
File metadata and controls
119 lines (103 loc) · 2.89 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
name: nekoton_repository
description: Nekoton repository package
version: 4.2.1-dev.2
repository: https://github.com/broxus/nekoton_repository
environment:
sdk: '>=3.11.0 <4.0.0'
flutter: '>=3.41.0'
dependencies:
async: ^2.11.0
collection: ^1.18.0
dio: ^5.9.0
encrypted_storage: ^0.1.3
equatable: ^2.0.7
fake_async: ^1.3.3
flutter:
sdk: flutter
flutter_nekoton_bridge: ^5.5.4-dev.1
freezed_annotation: ^3.1.0
get_it: ^9.0.5
injectable: ^2.5.0
json_annotation: ^4.9.0
json_serializable: ^6.9.0
logging: ^1.3.0
money2: ^6.0.0
mutex: ^3.1.0
quiver: ^3.2.2
rxdart: ^0.28.0
dev_dependencies:
broxus_flutter_analysis:
git:
url: https://github.com/broxus/flutter_templates.git
ref: main
build_runner: ^2.4.13
commitlint_cli: ^0.8.1
flutter_gen_runner: ^5.10.0
flutter_test:
sdk: flutter
freezed: ^3.1.0
husky: ^0.1.7
injectable_generator: ^2.6.2
melos: ^7.5.1
mocktail: ^1.0.4
very_good_analysis: ^5.1.0
flutter_gen:
output: lib/generated/
assets:
outputs:
package_parameter_enabled: true
flutter:
assets: [assets/abi/]
melos:
useRootAsPackage: true
scripts:
build_and_test:
description: GA main script
run: bash scripts/build_and_test.sh
codegen:
description: Generate code for all packages
exec: find . -type f -name "*.gen.dart" -delete && flutter packages pub run
build_runner build --delete-conflicting-outputs && dart format lib/generated/assets.gen.dart
lib/nekoton_repository.module.dart
failFast: true
packageFilters:
dependsOn: build_runner
analyze:
description: Analyze a specific package in this project.
exec: flutter analyze --no-pub .
failFast: true
check-format:
description: Check the format of a specific package in this project.
exec: dart format --set-exit-if-changed .
failFast: true
format:
exec: dart format .
description: Format a specific package in this project.
test:
description: Run Flutter tests for a specific package in this project.
exec: flutter test --no-pub test
failFast: true
packageFilters:
flutter: true
dirExists: test
test:integration:
run: melos exec -c 1 --fail-fast -- "flutter test --no-pub integration_test"
description: Run Flutter integration tests for a specific package in this project.
packageFilters:
flutter: true
dirExists: integration_test
check-all:
description: Prepare to commit by checking all things
run: melos check-format && melos analyze && melos test && melos test:integration
failFast: true
git-check:
run: bash scripts/git-check.sh
description: Check if some code changed during build
command:
clean:
hooks:
post: bash scripts/clean.sh
version:
hooks:
preCommit: melos bs && git add --all