Build & deploy for Android, Linux, Web and Windows / Build and release Linux app (x86_64) (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Build and release Linux app (aarch64) (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Build and release Android app (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Build and release Web app (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Build and release Windows app (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Build and release Docker image (push) Canceled after 0s
Build & deploy for Android, Linux, Web and Windows / Create GitHub Release (push) Canceled after 0s
115 lines
3.0 KiB
YAML
115 lines
3.0 KiB
YAML
name: converterpro
|
|
description: Unit and currencies converter
|
|
publish_to: none
|
|
|
|
version: 4.5.0+51
|
|
|
|
environment:
|
|
sdk: ">=3.6.0 <4.0.0"
|
|
flutter: ">=3.35.1 <4.0.0"
|
|
|
|
workspace:
|
|
- packages/calculator_widget
|
|
- packages/translations
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
# Various collection utilities
|
|
collection: ^1.19.1
|
|
# App dynamic color theme
|
|
dynamic_color: ^1.8.1
|
|
# State management
|
|
flutter_riverpod: ^3.0.3
|
|
# For svg icons
|
|
flutter_svg: ^2.2.3
|
|
# Navigation
|
|
go_router: ^17.0.0
|
|
# Downloading the exchange rates
|
|
http: ^1.6.0
|
|
# Translations
|
|
intl: ^0.20.2
|
|
# Android app shortcuts
|
|
quick_actions: ^1.1.0
|
|
# Store the customizations and the latest currencies conversions
|
|
shared_preferences: ^2.5.3
|
|
# Unit conversion
|
|
units_converter: ^3.0.4
|
|
# Open external pages such as GitHub repo, Play Store, etc
|
|
url_launcher: ^6.3.2
|
|
# Load optimized svg icons
|
|
vector_graphics: ^1.1.19
|
|
# Resize window during testing
|
|
window_size:
|
|
git:
|
|
url: https://github.com/google/flutter-desktop-embedding
|
|
ref: eb3964990cf19629c89ff8cb4a37640c7b3d5601
|
|
path: plugins/window_size
|
|
|
|
# Sub packages ---------------------------------------------------------------
|
|
# Calculator widget and logic
|
|
calculator_widget:
|
|
path: packages/calculator_widget
|
|
# App translations
|
|
translations:
|
|
path: packages/translations
|
|
|
|
dev_dependencies:
|
|
flutter_lints: ^6.0.0
|
|
flutter_test:
|
|
sdk: flutter
|
|
integration_test:
|
|
sdk: flutter
|
|
melos: ^7.3.0
|
|
msix: ^3.16.12
|
|
test: ^1.26.2
|
|
|
|
melos:
|
|
command:
|
|
bootstrap:
|
|
hooks:
|
|
post: melos run generate_translations && melos run compile_icons
|
|
scripts:
|
|
analyze:
|
|
run: melos exec -- "flutter analyze"
|
|
description: Run `flutter analyze` in all packages
|
|
format:
|
|
run: melos exec -- "flutter format . --set-exit-if-changed"
|
|
description: Run `flutter format .` in all packages
|
|
compile_icons:
|
|
steps:
|
|
- dart run vector_graphics_compiler --input-dir assets/app_icons --out-dir assets/app_icons_opti
|
|
- dart run vector_graphics_compiler --input-dir assets/property_icons --out-dir assets/property_icons_opti
|
|
description: Optimizes the svg icons.
|
|
generate_translations:
|
|
run: cd packages/translations && flutter gen-l10n
|
|
description: Generates translation files.
|
|
test:
|
|
run: melos exec --dir-exists=test -- "flutter test"
|
|
description: Run `flutter test` in all packages
|
|
|
|
msix_config:
|
|
display_name: Converter NOW
|
|
publisher_display_name: Damiano Ferrari
|
|
identity_name: 39826DamianoFerrari.ConverterNOW
|
|
logo_path: assets\logo.png
|
|
output_name: converternow-windows
|
|
publisher: CN=E8FE6044-F04C-422E-AC68-EDA83F6AAFB2
|
|
capabilities: internetClient
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
generate: true
|
|
fonts:
|
|
- family: JosefinSans
|
|
fonts:
|
|
- asset: assets/fonts/JosefinSans-Light.ttf
|
|
weight: 300
|
|
assets:
|
|
- assets/fonts/OFL.txt
|
|
- assets/logo.png
|
|
- assets/app_icons_opti/
|
|
- assets/property_icons_opti/
|