-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
208 lines (186 loc) · 7.29 KB
/
Copy pathpubspec.yaml
File metadata and controls
208 lines (186 loc) · 7.29 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
name: dayz
description: "A new Flutter project."
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.0+1
environment:
sdk: ^3.12.0
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: any
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
appflowy_editor: ^6.2.0
image_picker: ^1.1.2
path_provider: ^2.1.2
flutter_secure_storage: ^10.3.1
sqlcipher_flutter_libs: ^0.7.0+eol
# Argon2id/HKDF KDF 后端(自研 argon2id_ffi:RustCrypto + 手写 dart:ffi,已替换 dargon2)。
argon2id_ffi:
path: packages/argon2id_ffi
shared_preferences: ^2.5.5
logging: ^1.3.0
path: ^1.9.0
drift: ^2.33.0
drift_flutter: ^0.3.0
uuid: ^4.5.3
timezone: ^0.11.0
flutter_svg: ^2.0.10+1
photo_view: ^0.15.0
sqlite3: ^3.3.2
cryptography: ^2.9.0
image: ^4.1.7
go_router: ^14.2.0
tar: ^2.0.0
wechat_assets_picker: ^10.1.2
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
csslib: ^1.0.0
build_runner: ^2.15.0
flutter_gen_runner: ^5.14.1
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^6.0.0
drift_dev: ^2.33.0
patrol: ^4.6.1
dependency_overrides:
appflowy_editor:
path: packages/appflowy-editor
hooks:
user_defines:
sqlite3:
# 离线可复现构建:读取 third_party/sqlite3mc/ 下提交的 SQLite3MultipleCiphers
# 预编译库,而非每次构建从 GitHub release 下载(上游 hook 的 GitHub 下载在
# 部分网络/CI 上不稳,且缓存目录名走 Object.hash 随机种子、跨进程恒不命中而
# 反复重下——详见该目录 README)。`test-sqlite3mc` 是 sqlite3 hook 里从本地
# `directory` 读取(仍校验官方 sha256)的 source。刷新/换平台见 README。
source: test-sqlite3mc
directory: third_party/sqlite3mc/
# Patrol E2E 测试配置(原生自动化用,仅 dev/测试期生效)
patrol:
app_name: DayZ
android:
package_name: com.dayz
ios:
bundle_id: com.dayz
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
flutter_gen:
output: lib/gen/
# The following section is specific to Flutter packages.
flutter:
generate: true
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
assets:
- assets/editor/demo_image.png
- assets/images/
- assets/icons/
- assets/fonts/
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/to/asset-from-package
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/to/font-from-package
fonts:
- family: Hanken Grotesk
fonts:
- asset: assets/fonts/HankenGrotesk-Regular.ttf
weight: 400
- asset: assets/fonts/HankenGrotesk-Medium.ttf
weight: 500
- asset: assets/fonts/HankenGrotesk-SemiBold.ttf
weight: 600
- asset: assets/fonts/HankenGrotesk-Bold.ttf
weight: 700
- family: Newsreader
fonts:
- asset: assets/fonts/Newsreader-Regular.ttf
weight: 400
- asset: assets/fonts/Newsreader-Medium.ttf
weight: 500
- asset: assets/fonts/Newsreader-SemiBold.ttf
weight: 600
- asset: assets/fonts/Newsreader-Bold.ttf
weight: 700
- asset: assets/fonts/Newsreader-Italic.ttf
style: italic
weight: 400
- asset: assets/fonts/Newsreader-MediumItalic.ttf
style: italic
weight: 500
# 思源宋体 / 思源黑体——打包进 app 的简体中文设计字体(全简体覆盖 ~8200 字,
# OFL-1.1)。作为 CJK 主力,使中文在各平台一致渲染,不再依赖系统 Songti/PingFang。
- family: Noto Serif SC
fonts:
- asset: assets/fonts/NotoSerifSC-Regular.ttf
weight: 400
- asset: assets/fonts/NotoSerifSC-Medium.ttf
weight: 500
- asset: assets/fonts/NotoSerifSC-SemiBold.ttf
weight: 600
- asset: assets/fonts/NotoSerifSC-Bold.ttf
weight: 700
- family: Noto Sans SC
fonts:
- asset: assets/fonts/NotoSansSC-Regular.ttf
weight: 400
- asset: assets/fonts/NotoSansSC-Medium.ttf
weight: 500
- asset: assets/fonts/NotoSansSC-SemiBold.ttf
weight: 600
- asset: assets/fonts/NotoSansSC-Bold.ttf
weight: 700