chore: upgrade melos to 7.5.1 with pub workspaces and dep catalog

- Upgrade Melos to 7.5.1 using Dart pub workspaces (Melos 7 paradigm).
- Replace per-package pubspec_overrides.yaml with workspace-native resolution. Add dependencies.yaml as a centralized catalog for all external deps with sync_deps.dart tool to propagate and validate versions across the monorepo.
This commit is contained in:
2026-04-06 23:08:51 +02:00
parent 3d267aff37
commit 3c4159ae8c
102 changed files with 5685 additions and 15790 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,7 @@ 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
resolution: workspace
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
@@ -90,7 +91,7 @@ dependencies:
path: ../../packages/payments
#dependencies go here
cupertino_icons: ^1.0.8
flutter_svg: ^2.2.1
flutter_svg: ^2.2.2
go_router_builder: ^4.1.1
build_runner: ^2.7.1

View File

@@ -1,54 +0,0 @@
# melos_managed_dependency_overrides: account,activity,auth,control_panel,customer_service,dashboard_shell,design_system,device_management,flutter_treezor_entrust_sdk_bridge,fonts,home,legacy_auth,legacy_dashboard_shell,legacy_shared,location,navigation,notifications,payments,profile,sca_treezor,sf_infrastructure,sf_localizations,sf_shared,splash,utils
dependency_overrides:
settings:
path: ../../modules/legacy/modules/settings
account:
path: ../../modules/legacy/modules/account
activity:
path: ../../modules/payment/modules/activity
auth:
path: ../../modules/payment/modules/auth
control_panel:
path: ../../modules/legacy/modules/control_panel
customer_service:
path: ../../modules/legacy/modules/customer_service
dashboard_shell:
path: ../../modules/payment/modules/dashboard_shell
design_system:
path: ../../packages/design_system
device_management:
path: ../../modules/legacy/modules/device_management
flutter_treezor_entrust_sdk_bridge:
path: ../../packages/flutter_treezor_entrust_sdk_bridge
fonts:
path: ../../packages/fonts
home:
path: ../../modules/payment/modules/home
legacy_auth:
path: ../../modules/legacy/modules/legacy_auth
legacy_dashboard_shell:
path: ../../modules/legacy/modules/legacy_dashboard_shell
legacy_shared:
path: ../../modules/legacy/packages/legacy_shared
location:
path: ../../modules/legacy/modules/location
navigation:
path: ../../packages/navigation
notifications:
path: ../../modules/payment/modules/notifications
payments:
path: ../../packages/payments
profile:
path: ../../modules/payment/modules/profile
sca_treezor:
path: ../../packages/sca_treezor
sf_infrastructure:
path: ../../packages/sf_infrastructure
sf_localizations:
path: ../../packages/sf_localizations
sf_shared:
path: ../../packages/sf_shared
splash:
path: ../../modules/splash
utils:
path: ../../packages/utils