Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
250 lines (241 loc) · 7.15 KB
/
Copy pathpubspec.yaml
File metadata and controls
250 lines (241 loc) · 7.15 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
name: ardrive
description: Secure, permanent storage
publish_to: 'none'
version: 3.0.0
environment:
sdk: '>=3.2.0 <4.0.0'
flutter: 3.19.6
# https://pub.dev/packages/script_runner
script_runner:
shell:
default: /bin/sh
windows: cmd.exe
macos: /bin/sh
linux: /bin/sh
line_length: 80
scripts:
- setup: flutter clean && flutter pub get && cd packages/ario_sdk && flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && cd ../../ && flutter pub run build_runner build --delete-conflicting-outputs && bash tool/build_db_worker.sh
- test: scripts/run_tests.sh
- check-db: lefthook/database_checker.sh
- check-flutter: lefthook/version_checker.sh
- deploy-to-arweave: cd deploy && yarn install --frozen-lockfile --ignore-engines && yarn deploy
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# For `setUrlStrategy`/`PathUrlStrategy` - see lib/utils/app_url_strategy.dart.
# Ships with the SDK and stubs itself out off the web, so it is safe to import
# unconditionally.
flutter_web_plugins:
sdk: flutter
ardrive_http:
git:
url: https://github.com/ardriveapp/ardrive_http.git
ref: v1.3.2
ardrive_io:
path: ./packages/ardrive_io
ardrive_ui:
path: ./packages/ardrive_ui
ardrive_utils:
path: ./packages/ardrive_utils
ardrive_uploader:
path: ./packages/ardrive_uploader
arconnect:
path: ./packages/arconnect
ardrive_crypto:
path: ./packages/ardrive_crypto
ardrive_logger:
path: ./packages/ardrive_logger
artemis: ^7.0.0-beta.13
# Imported directly by `GraphQLRetry`, which reads the HTTP status off the
# exception artemis's transport throws rather than out of its toString.
# Already resolved as a transitive dependency of artemis; declared because
# it is used.
gql: ^0.14.0
gql_dedupe_link: ^2.0.3
gql_exec: ^0.4.3
gql_http_link: ^0.4.5
gql_link: ^0.5.1
pst:
path: ./packages/pst
arweave:
git:
url: https://github.com/ardriveapp/arweave-dart.git
ref: v4.1.0
ario_sdk:
path: ./packages/ario_sdk
cryptography: ^2.0.5
flutter_bloc: ^8.1.1
intersperse: ^2.0.0
intl: ^0.18.0
json_annotation: ^4.8.0
mime: ^1.0.0
drift: ^2.12.1
# The web database runs sqlite3 compiled to WebAssembly, and the artifact
# code reaches its VirtualFileSystem directly to read an attached database
# back out. web/sqlite3.wasm must match this version — see tool/check_wasm_version.sh.
sqlite3: ^2.4.2
# drift's remote protocol between the page and the web database worker
# (lib/models/database/web_worker/). Already resolved through drift.
stream_channel: ^2.1.2
path_provider: ^2.0.2
reactive_forms: ^14.1.0
rxdart: ^0.27.1
timeago: ^3.1.0
url_launcher: ^6.0.6
uuid: ^4.4.0
flutter_dropzone:
git:
url: https://github.com/ardriveapp/flutter_dropzone
ref: master
path: flutter_dropzone
responsive_builder: ^0.7.0
package_info_plus: ^4.1.0
js: ^0.6.3
collection: ^1.15.0-nullsafety.4
# `clock.now()` rather than `DateTime.now()` where a widget test has to
# control the time - see lib/sync/presentation/sync_summary.dart.
clock: ^1.1.1
csv: ^6.0.0
stash_memory: ^5.1.0
percent_indicator: ^4.0.0
flutter_lints: ^3.0.2
retry: ^3.1.0
shared_preferences: ^2.0.15
flutter_launcher_icons: ^0.13.1
equatable: ^2.0.5
http: ^1.1.0
# Streams response bodies in the browser, which http 1.2's BrowserClient
# (XMLHttpRequest) cannot. Pinned by the override below.
fetch_client:
git:
url: https://github.com/ardriveapp/fetch_client.git
ref: master
stash: ^5.1.0
path: ^1.8.1
# Publications: encodes the page's JPEGs (lib/publication/domain/publication_images.dart).
image: ^4.2.0
flutter_svg: ^2.0.10+1
sqlite3_flutter_libs: ^0.5.39
app_settings: ^6.1.1
firebase_crashlytics: ^3.0.4
firebase_core: ^2.1.1
bloc_concurrency: ^0.2.0
universal_html: ^2.0.8
local_auth: ^2.1.2
flutter_secure_storage: ^9.0.0
async: ^2.9.0
animations: ^2.0.7
connectivity_plus: ^6.0.2
archive: ^3.3.0
video_player: ^2.7.1
lottie: ^3.1.0
visibility_detector: ^0.4.0+2
bip39: ^1.0.6
flutter_stripe:
git:
url: https://github.com/ardriveapp/flutter_stripe/
path: packages/stripe
ref: main
flutter_stripe_web:
git:
url: https://github.com/ardriveapp/flutter_stripe/
path: packages/stripe_web
ref: main
stash_shared_preferences: ^5.1.0
flutter_portal: ^1.1.3
flutter_hooks: ^0.20.5
flutter_multi_formatter: ^2.11.1
credit_card_validator: ^2.1.0
tuple: ^2.0.2
share_plus: ^7.0.1
flutter_email_sender: ^6.0.1
chunked_uploader: ^1.1.0
dio: ^5.3.2
provider: ^6.0.5
just_audio: ^0.9.34
loading_animation_widget: ^1.2.0+4
synchronized: ^3.1.0
confetti: ^0.7.0
flutter_sharing_intent:
git:
url: https://github.com/bhagat-techind/flutter_sharing_intent
ref: 5f4f2e66c02580105ba89b3fec5a7be907d5466f
webthree: ^2.5.7+2
carousel_slider: ^4.2.1
dots_indicator: ^3.0.0
markdown_editor_plus: ^0.2.15
flutter_markdown: ^0.7.3+1
markdown: ^7.1.1
pub_semver: ^2.1.4
# Renders PDF pages to images for the in-app viewer. Pinned exactly, for two
# reasons: 2.6.0 is the newest release that resolves under the Flutter 3.19.6
# this project pins (2.7.0+ want `meta ^1.15.0` against the SDK's pinned
# `meta 1.11.0`, and 2.9.x additionally want Flutter >=3.24.0), and the pdf.js
# build vendored in `web/js/pdfjs/` is the exact one this version expects
# (2.12.313) - the two move together or not at all.
pdfx: 2.6.0
dependency_overrides:
stripe_js:
git:
url: https://github.com/ardriveapp/flutter_stripe/
path: packages/stripe_js
ref: main
stripe_platform_interface:
git:
url: https://github.com/ardriveapp/flutter_stripe/
path: packages/stripe_platform_interface
ref: main
# Pinned to the branch that forwards response headers again; master
# (bb61a9c) drops every one of them. See ardriveapp/fetch_client
# forward-response-headers.
fetch_client:
git:
url: https://github.com/ardriveapp/fetch_client.git
ref: eb659b9e443344f80dcaa60e99a22ae7111bbab9
fetch_api:
git:
url: https://github.com/ardriveapp/fetch_api.git
ref: master
http: ^1.1.0
arweave:
git:
url: https://github.com/ardriveapp/arweave-dart.git
ref: v4.1.0
ardrive_io:
path: ./packages/ardrive_io
ardrive_ui:
path: ./packages/ardrive_ui
dev_dependencies:
# Used by tests that drive a Timer without waiting for real time.
fake_async: ^1.3.1
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_driver:
sdk: flutter
bloc_test: ^9.1.0
build_runner: ^2.0.4
test: ^1.21.4
drift_dev:
mocktail: ^1.0.2
json_serializable:
flutter:
uses-material-design: true
generate: true
assets:
- assets/config/
- assets/fonts/
- assets/fonts/fingerprint-emoji/
- assets/images/
- assets/images/brand/
- assets/images/login/
- assets/images/login/bento_box/
- assets/wordlists/eff_large_wordlist.txt
- assets/wordlists/LICENSES.md
- assets/images/icons/
- assets/images/crypto/
- assets/images/wallets/
- assets/animations/