mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
500 lines
11 KiB
YAML
500 lines
11 KiB
YAML
name: tmail_ui_user
|
|
description: A new Flutter project.
|
|
|
|
# The following line prevents the package from being accidentally published to
|
|
# pub.dev using `pub publish`. This is preferred for private packages.
|
|
publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
|
|
|
workspace:
|
|
- core
|
|
- model
|
|
- contact
|
|
- forward
|
|
- rule_filter
|
|
- fcm
|
|
- email_recovery
|
|
- server_settings
|
|
- scribe
|
|
- labels
|
|
- cozy
|
|
- workplace
|
|
|
|
# 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 used as CFBundleVersion.
|
|
# Read more about iOS versioning at
|
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
|
version: 0.39.1
|
|
|
|
environment:
|
|
sdk: ">=3.9.0 <4.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
|
|
core:
|
|
path: core
|
|
|
|
model:
|
|
path: model
|
|
|
|
contact:
|
|
path: contact
|
|
|
|
rule_filter:
|
|
path: rule_filter
|
|
|
|
forward:
|
|
path: forward
|
|
|
|
fcm:
|
|
path: fcm
|
|
|
|
email_recovery:
|
|
path: email_recovery
|
|
|
|
server_settings:
|
|
path: server_settings
|
|
|
|
cozy:
|
|
path: cozy
|
|
|
|
scribe:
|
|
path: scribe
|
|
|
|
labels:
|
|
path: labels
|
|
|
|
workplace:
|
|
path: workplace
|
|
|
|
### Dependencies from git ###
|
|
rich_text_composer:
|
|
git:
|
|
url: https://github.com/linagora/rich-text-composer.git
|
|
ref: main
|
|
|
|
html_editor_enhanced:
|
|
git:
|
|
url: https://github.com/linagora/html-editor-enhanced.git
|
|
ref: main
|
|
|
|
jmap_dart_client:
|
|
|
|
contacts_service:
|
|
git:
|
|
url: https://github.com/linagora/flutter_contacts.git
|
|
ref: master
|
|
|
|
receive_sharing_intent:
|
|
git:
|
|
url: https://github.com/linagora/receive_sharing_intent.git
|
|
ref: main
|
|
|
|
flutter_appauth_web:
|
|
git:
|
|
url: https://github.com/linagora/flutter_appauth_web.git
|
|
ref: upgrade-flutter-appauth
|
|
|
|
flutter_date_range_picker:
|
|
git:
|
|
url: https://github.com/linagora/flutter-date-range-picker.git
|
|
ref: main
|
|
|
|
linagora_design_flutter:
|
|
|
|
intl_generator:
|
|
|
|
### Dependencies from pub.dev ###
|
|
super_tag_editor: 1.1.0
|
|
|
|
super_dns_client: 0.3.8
|
|
|
|
external_app_launcher: 4.0.3
|
|
|
|
cupertino_icons: 1.0.6
|
|
|
|
get: 4.6.6
|
|
|
|
flutter_svg: 2.1.0
|
|
|
|
dio: 5.2.0
|
|
|
|
equatable: 2.0.5
|
|
|
|
shared_preferences: 2.5.3
|
|
|
|
dartz: 0.10.1
|
|
|
|
flutter_dotenv: 5.0.2
|
|
|
|
built_collection: 5.1.1
|
|
|
|
textfield_tags: 2.0.2
|
|
|
|
http_parser: 4.0.2
|
|
|
|
collection: 1.19.1
|
|
|
|
filesize: 2.0.1
|
|
|
|
uuid: 3.0.7
|
|
|
|
external_path: 2.2.0
|
|
|
|
path_provider: 2.1.5
|
|
|
|
device_info_plus: 9.0.1
|
|
|
|
permission_handler: 12.0.1
|
|
|
|
share_plus: 7.2.1
|
|
|
|
hive_ce: 2.16.0
|
|
|
|
pointer_interceptor: 0.10.1+2
|
|
|
|
rxdart: 0.27.7
|
|
|
|
connectivity_plus: 4.0.0
|
|
|
|
dropdown_button2: 2.0.0
|
|
|
|
flutter_staggered_grid_view: 0.6.2
|
|
|
|
flutter_portal: 1.1.3
|
|
|
|
timeago: 3.7.1
|
|
|
|
open_file: 3.5.11
|
|
|
|
flutter_appauth: 9.0.1
|
|
|
|
percent_indicator: 4.2.2
|
|
|
|
worker_manager: 7.2.9
|
|
|
|
async: 2.13.0
|
|
|
|
html: 0.15.3
|
|
|
|
custom_pop_up_menu: 1.2.4
|
|
|
|
byte_converter: 1.3.0
|
|
|
|
json_annotation: ^4.9.0
|
|
|
|
url_launcher: 6.3.1
|
|
|
|
firebase_core: 4.8.0
|
|
|
|
firebase_messaging: 16.2.1
|
|
|
|
flutter_local_notifications: 17.2.2
|
|
|
|
fading_edge_scrollview: 4.1.1
|
|
|
|
focused_menu_custom: 1.2.0
|
|
|
|
focus_detector_v2: 3.1.0+1
|
|
|
|
universal_html: 2.2.4
|
|
|
|
debounce_throttle: 2.0.0
|
|
|
|
flutter_appauth_platform_interface: 9.0.0
|
|
|
|
intl: 0.20.2
|
|
|
|
flutter_typeahead: 5.0.2
|
|
|
|
flutter_keyboard_visibility: 6.0.0
|
|
|
|
date_format: 2.0.7
|
|
|
|
flutter_linkify: 6.0.0
|
|
|
|
flutter_slidable: 3.1.2
|
|
|
|
url_strategy: 0.2.0
|
|
|
|
dotted_border: 2.1.0
|
|
|
|
internet_connection_checker: 1.0.0+1
|
|
|
|
flutter_image_compress: 2.1.0
|
|
|
|
back_button_interceptor: 7.0.0
|
|
|
|
flutter_secure_storage: 8.0.0
|
|
|
|
mime: 1.0.4
|
|
|
|
desktop_drop: 0.4.4
|
|
|
|
future_loading_dialog: 0.3.0
|
|
|
|
file_picker: 10.2.0
|
|
|
|
app_settings: 5.1.1
|
|
|
|
web_socket_channel: 3.0.3
|
|
|
|
flutter_web_auth_2: 4.1.0
|
|
|
|
app_links: 6.3.2
|
|
|
|
duration: 4.0.3
|
|
|
|
flutter_smart_dialog: 4.9.8+5
|
|
|
|
uri: 1.0.0
|
|
|
|
flutter_file_dialog: 3.0.2
|
|
|
|
twake_previewer_flutter:
|
|
git:
|
|
url: https://github.com/linagora/twake-previewer-flutter.git
|
|
ref: main
|
|
|
|
lottie_native: 0.1.2
|
|
|
|
flutter_custom_tab_bar: 1.2.1
|
|
|
|
sentry_flutter: 9.8.0
|
|
|
|
sentry_dio: 9.8.0
|
|
|
|
flutter_riverpod: ^3.3.1
|
|
|
|
riverpod_annotation: ^4.0.2
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
build_runner: ^2.15.0
|
|
|
|
riverpod_generator: 4.0.4-dev.3
|
|
|
|
riverpod_lint: ^3.1.3
|
|
|
|
mockito: 5.6.4
|
|
|
|
hive_ce_generator: 1.11.2
|
|
|
|
flutter_lints: 2.0.1
|
|
|
|
flutter_native_splash: 2.2.18
|
|
|
|
flutter_launcher_icons: 0.12.0
|
|
|
|
xml: 6.3.0
|
|
|
|
json_serializable: ^6.11.3
|
|
|
|
http_mock_adapter: 0.4.2
|
|
|
|
patrol: 4.5.0
|
|
|
|
patrol_log: 0.8.0
|
|
|
|
marionette_flutter: 0.6.0
|
|
|
|
web: ^1.1.0
|
|
|
|
patrol_finders: 3.2.0
|
|
|
|
plugin_platform_interface: 2.1.8
|
|
|
|
sentry_dart_plugin: ^3.2.1
|
|
|
|
dependency_overrides:
|
|
# Canonical git sources — declared once here, propagate to all workspace members.
|
|
# Sub-packages simply write the package name with no git spec.
|
|
jmap_dart_client:
|
|
git:
|
|
url: https://github.com/linagora/jmap-dart-client.git
|
|
ref: main
|
|
|
|
linagora_design_flutter:
|
|
git:
|
|
url: https://github.com/linagora/linagora-design-flutter.git
|
|
ref: master
|
|
|
|
### Original dependency is abandoned, so we use fork
|
|
intl_generator:
|
|
git:
|
|
url: https://github.com/linagora/intl_generator.git
|
|
ref: master
|
|
|
|
# jmap_dart_client incorrectly declares build_runner and json_serializable
|
|
# as regular dependencies. Override here so the workspace can resolve.
|
|
build_runner: ^2.15.0
|
|
json_serializable: ^6.11.3
|
|
json_annotation: ^4.9.0
|
|
|
|
# json_serializable 6.10+ generates null-aware-elements (Dart 3.8 feature).
|
|
# dart_style 3.1.8 can format them but needs analyzer ^12.0.0.
|
|
# analyzer >=10.0.2 needs meta ^1.18.0, but the Flutter SDK pins meta 1.17.0.
|
|
# Override meta so the analyzer can be upgraded. meta is annotation-only —
|
|
# no behavioral difference between 1.17 and 1.18, so this is safe.
|
|
meta: ^1.18.0
|
|
dart_style: 3.1.8
|
|
analyzer: ">=12.0.0 <13.0.0"
|
|
# Also declared in dependencies for direct import (@riverpod annotation).
|
|
# Overridden here to ensure the version compatible with riverpod_generator
|
|
# 4.0.4-dev.3 is resolved across all workspace members.
|
|
riverpod_annotation: ^4.0.2
|
|
# riverpod_generator 4.0.4-dev.3 requires freezed_annotation ^3.0.0,
|
|
# but super_dns_client 0.3.8 pins ^2.4.4. freezed_annotation is annotation-only
|
|
# (no behavioral difference between 2.x and 3.x) so overriding is safe.
|
|
freezed_annotation: ^3.0.0
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
# The following section is specific to Flutter.
|
|
flutter:
|
|
# 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
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
|
# assets:
|
|
# - images/a_dot_burr.jpeg
|
|
# - images/a_dot_ham.jpeg
|
|
assets:
|
|
- assets/images/
|
|
- assets/icons/
|
|
- assets/animations/
|
|
- env.file
|
|
- configurations/
|
|
- configurations/icons/
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
# https://flutter.dev/assets-and-images/#resolution-aware.
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
# https://flutter.dev/assets-and-images/#from-packages
|
|
|
|
# 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/custom-fonts/#from-packages
|
|
fonts:
|
|
### The app font comes from linagora_design_flutter (TwakeInter).
|
|
### The families below only back ConstantsUI.webFontFamilyFallback.
|
|
- family: Roboto
|
|
fonts:
|
|
- asset: assets/fonts/fallback/Roboto-Regular.ttf
|
|
|
|
- family: NotoSans
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSans-Regular.ttf
|
|
|
|
- family: NotoSansArabic
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansArabic-Regular.ttf
|
|
|
|
- family: NotoSansTamil
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansTamil-Regular.ttf
|
|
|
|
- family: NotoSansThai
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansThai-Regular.ttf
|
|
|
|
- family: NotoSansKR
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansKR-Regular.ttf
|
|
|
|
- family: NotoSansSC
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansSC-Regular.ttf
|
|
|
|
- family: NotoSansMath
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansMath-Regular.ttf
|
|
|
|
- family: NotoSansEgyptianHieroglyphs
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansEgyptianHieroglyphs-Regular.ttf
|
|
|
|
- family: NotoEmoji
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoEmoji-Regular.ttf
|
|
|
|
- family: NotoSansSymbols
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansSymbols-Regular.ttf
|
|
|
|
- family: NotoSansSymbols2
|
|
fonts:
|
|
- asset: assets/fonts/fallback/NotoSansSymbols2-Regular.ttf
|
|
|
|
flutter_icons:
|
|
android: true
|
|
ios: false
|
|
remove_alpha_ios: true
|
|
image_path: "assets/icons/icon_launcher.png"
|
|
adaptive_icon_background: "#000000"
|
|
adaptive_icon_foreground: "assets/icons/icon_launcher.png"
|
|
|
|
flutter_native_splash:
|
|
color: "#ffffff"
|
|
image_ios: "assets/icons/icon_logo_ios.png"
|
|
image_android: "assets/icons/icon_android.png"
|
|
branding: "assets/icons/icon_twp.png"
|
|
android_12:
|
|
image: "assets/icons/icon_android.png"
|
|
branding: "assets/icons/icon_twp_android12.png"
|
|
|
|
cider:
|
|
link_template:
|
|
tag: https://github.com/linagora/tmail-flutter/releases/tag/v%tag% # initial release link template
|
|
|
|
patrol:
|
|
test_directory: integration_test
|
|
app_name: Twake Mail
|
|
android:
|
|
package_name: com.linagora.android.teammail
|
|
|
|
sentry:
|
|
upload_debug_symbols: false
|
|
upload_source_maps: true
|
|
upload_sources: true
|
|
wait_for_processing: true
|
|
log_level: debug
|
|
ignore_missing: true
|
|
url_prefix:
|
|
release:
|
|
dist:
|
|
project:
|
|
org:
|