Skip to content

armgit / ente

Public Imported from GitHub
0

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

refactor: update package paths to use git source and remove pubspec_overrides.yaml

AmanRajSinghMourya8dc78b7ce65c
diff --git a/mobile/apps/auth/pubspec.lock b/mobile/apps/auth/pubspec.lock
index b9ca09c4fb..32147b260c 100644
--- a/mobile/apps/auth/pubspec.lock
+++ b/mobile/apps/auth/pubspec.lock
@@ -364,9 +364,11 @@ packages:
dir_utils:
dependency: "direct main"
description:
- path: "../../packages/dir_utils"
- relative: true
- source: path
+ path: "mobile/packages/dir_utils"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
dots_indicator:
dependency: "direct main"
@@ -403,23 +405,29 @@ packages:
ente_accounts:
dependency: "direct main"
description:
- path: "../../packages/accounts"
- relative: true
- source: path
+ path: "mobile/packages/accounts"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_base:
dependency: "direct main"
description:
- path: "../../packages/base"
- relative: true
- source: path
+ path: "mobile/packages/base"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_configuration:
dependency: "direct main"
description:
- path: "../../packages/configuration"
- relative: true
- source: path
+ path: "mobile/packages/configuration"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_crypto_dart:
dependency: "direct main"
@@ -433,30 +441,38 @@ packages:
ente_events:
dependency: "direct main"
description:
- path: "../../packages/events"
- relative: true
- source: path
+ path: "mobile/packages/events"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_lock_screen:
dependency: "direct main"
description:
- path: "../../packages/lock_screen"
- relative: true
- source: path
+ path: "mobile/packages/lock_screen"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_logging:
dependency: "direct main"
description:
- path: "../../packages/logging"
- relative: true
- source: path
+ path: "mobile/packages/logging"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_network:
dependency: "direct main"
description:
- path: "../../packages/network"
- relative: true
- source: path
+ path: "mobile/packages/network"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_qr:
dependency: "direct main"
@@ -468,23 +484,29 @@ packages:
ente_strings:
dependency: "direct main"
description:
- path: "../../packages/strings"
- relative: true
- source: path
+ path: "mobile/packages/strings"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_ui:
dependency: "direct main"
description:
- path: "../../packages/ui"
- relative: true
- source: path
+ path: "mobile/packages/ui"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
ente_utils:
- dependency: "direct overridden"
+ dependency: transitive
description:
- path: "../../packages/utils"
- relative: true
- source: path
+ path: "mobile/packages/utils"
+ ref: "7371617af788ded7ecd66686db0272937c76c624"
+ resolved-ref: "7371617af788ded7ecd66686db0272937c76c624"
+ url: "../../.."
+ source: git
version: "1.0.0"
event_bus:
dependency: "direct main"
diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yaml
index 581da9ee49..587c58bda2 100644
--- a/mobile/apps/auth/pubspec.yaml
+++ b/mobile/apps/auth/pubspec.yaml
@@ -22,7 +22,7 @@ dependencies:
dio: ^5.8.0+1
dir_utils:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/dir_utils
dots_indicator: ^3.0.0
@@ -31,17 +31,17 @@ dependencies:
email_validator: ^3.0.0
ente_accounts:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/accounts
ente_base:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/base
ente_configuration:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/configuration
ente_crypto_dart:
@@ -49,34 +49,34 @@ dependencies:
url: https://github.com/ente-io/ente_crypto_dart.git
ente_events:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/events
ente_lock_screen:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/lock_screen
ente_logging:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/logging
ente_network:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/network
ente_qr:
path: plugins/qr
ente_strings:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/strings
ente_ui:
git:
- url: https://github.com/ente-io/ente.git
+ url: ../../../
ref: 7371617af788ded7ecd66686db0272937c76c624
path: mobile/packages/ui
event_bus: ^2.0.0
diff --git a/mobile/apps/auth/pubspec_overrides.yaml b/mobile/apps/auth/pubspec_overrides.yaml
deleted file mode 100644
index bf3e0b7f5d..0000000000
--- a/mobile/apps/auth/pubspec_overrides.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-# melos_managed_dependency_overrides: ente_accounts,ente_base,ente_configuration,ente_events,ente_lock_screen,ente_logging,ente_network,ente_strings,ente_ui,ente_utils,dir_utils
-dependency_overrides:
- dir_utils:
- path: ../../packages/dir_utils
- ente_accounts:
- path: ../../packages/accounts
- ente_base:
- path: ../../packages/base
- ente_configuration:
- path: ../../packages/configuration
- ente_events:
- path: ../../packages/events
- ente_lock_screen:
- path: ../../packages/lock_screen
- ente_logging:
- path: ../../packages/logging
- ente_network:
- path: ../../packages/network
- ente_strings:
- path: ../../packages/strings
- ente_ui:
- path: ../../packages/ui
- ente_utils:
- path: ../../packages/utils
diff --git a/mobile/melos.yaml b/mobile/melos.yaml
index 5ad76075a4..89b7bac7b9 100644
--- a/mobile/melos.yaml
+++ b/mobile/melos.yaml
@@ -8,6 +8,10 @@ packages:
- packages/*
- apps/photos/plugins/*
+# Exclude auth app to unblock UI work
+ignore:
+ - apps/auth
+
# Scripts that can be run with `melos run <script_name>`
scripts:
# The very first command you should run. It links all your local packages