Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mobile] Remove Melos from Dart workspace

AmanRajSinghMouryabffe50a696fb
diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock
index d5f20b969f..19d85937e1 100644
--- a/mobile/pubspec.lock
+++ b/mobile/pubspec.lock
@@ -49,14 +49,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.0.4"
- ansi_styles:
- dependency: transitive
- description:
- name: ansi_styles
- sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a"
- url: "https://pub.dev"
- source: hosted
- version: "0.3.2+1"
ansicolor:
dependency: transitive
description:
@@ -371,14 +363,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.2.0"
- cli_launcher:
- dependency: transitive
- description:
- name: cli_launcher
- sha256: "35cf15a3ffaeb9c11849eaa0afba761bb76dceb42d050532bfd3e1299c9748cd"
- url: "https://pub.dev"
- source: hosted
- version: "0.3.3+1"
cli_util:
dependency: transitive
description:
@@ -460,14 +444,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.0"
- conventional_commit:
- dependency: transitive
- description:
- name: conventional_commit
- sha256: c40b1b449ce2a63fa2ce852f35e3890b1e182f5951819934c0e4a66254bc0dc3
- url: "https://pub.dev"
- source: hosted
- version: "0.6.1+1"
convert:
dependency: transitive
description:
@@ -1804,14 +1780,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.0"
- melos:
- dependency: "direct dev"
- description:
- name: melos
- sha256: b40731f34d3aacb199641a9b4955e52a866b0b0bc93ffc5c8ff21bffc6593134
- url: "https://pub.dev"
- source: hosted
- version: "7.8.1"
menu_base:
dependency: transitive
description:
@@ -1920,14 +1888,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.3.3+1"
- mustache_template:
- dependency: transitive
- description:
- name: mustache_template
- sha256: "544ff0b837836f5ad6b351e7a676ff7c2cad4fa412c465908aeb9358caddb6fc"
- url: "https://pub.dev"
- source: hosted
- version: "2.0.4"
mutex:
dependency: transitive
description:
@@ -2363,14 +2323,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.0"
- prompts:
- dependency: transitive
- description:
- name: prompts
- sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1"
- url: "https://pub.dev"
- source: hosted
- version: "2.0.0"
protobuf:
dependency: transitive
description:
@@ -2395,14 +2347,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.2.0"
- pub_updater:
- dependency: transitive
- description:
- name: pub_updater
- sha256: "739a0161d73a6974c0675b864fb0cf5147305f7b077b7f03a58fa7a9ab3e7e7d"
- url: "https://pub.dev"
- source: hosted
- version: "0.5.0"
pubspec_parse:
dependency: transitive
description:
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index a59b59e11e..1812623de9 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -45,8 +45,6 @@ workspace:
dev_dependencies:
flutter_lints: 6.0.0
- # Pinned: 7.8.2+ needs cli_util ^0.5.0, which conflicts with ffigen's ^0.4.x.
- melos: 7.8.1
dependency_overrides:
# Hosted 3.4.1 drops DB rows but fails to delete cache files; use the
@@ -67,54 +65,3 @@ dependency_overrides:
url: https://github.com/ente/packages.git
path: packages/video_player/video_player_avfoundation
ref: e6f7518a2ea4b31cf44e7bd6f44b35b1d66b2085
-
-melos:
- command:
- bootstrap:
- enforceLockfile: true
-
- scripts:
- codegen:rust:
- run: |
- (cd ../rust && cargo codegen frb)
- description: Generate Rust bindings for all packages using flutter_rust_bridge.
-
- clean:all:
- run: dart run melos exec -- "flutter clean"
- description: Run "flutter clean" in all projects.
-
- clean:photos:
- run: dart run melos exec --scope="photos" -- "flutter clean"
- description: Clean the 'photos' app.
-
- clean:auth:
- run: dart run melos exec --scope="auth" -- "flutter clean"
- description: Clean the 'auth' app.
-
- clean:locker:
- run: dart run melos exec --scope="locker" -- "flutter clean"
- description: Clean the 'locker' app.
-
- run:photos:apk:
- run: dart run melos exec --scope="photos" -- "flutter run --flavor independent"
- description: Run the 'photos' app in independent mode.
-
- run:auth:apk:
- run: dart run melos exec --scope="auth" -- "flutter run --flavor independent"
- description: Run the 'auth' app in independent mode.
-
- run:locker:apk:
- run: dart run melos exec --scope="locker" -- "flutter run --flavor independent"
- description: Run the 'locker' app in independent mode.
-
- build:photos:apk:
- run: dart run melos exec --scope="photos" -- "flutter build apk --release"
- description: Build a release APK for the 'photos' app.
-
- build:auth:appbundle:
- run: dart run melos exec --scope="auth" -- "flutter build appbundle --release"
- description: Build a release AppBundle for the 'auth' app.
-
- build:locker:ios:
- run: dart run melos exec --scope="locker" -- "flutter build ios --release"
- description: Build a release iOS archive for the 'locker' app.