Merge pull request 'Update:主項目分離SDK' (#13) from josh/dev/melos/evn/seperate_app_and_sdk into dev
Reviewed-on: https://gitea.winwayinfo.com/CUS-IM/customer-im-client/pulls/13
This commit is contained in:
@@ -3,8 +3,6 @@ description: "Customer IM Client"
|
|||||||
publish_to: none
|
publish_to: none
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
|
|
||||||
resolution: workspace
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.11.0
|
sdk: ^3.11.0
|
||||||
|
|
||||||
@@ -12,14 +10,60 @@ dependencies:
|
|||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
# Workspace SDK packages
|
# Workspace SDK packages - 使用 git dependency 控制版本
|
||||||
networks_sdk:
|
networks_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: networks_sdk/v0.0.1
|
||||||
|
path: packages/networks_sdk
|
||||||
|
|
||||||
storage_sdk:
|
storage_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: storage_sdk/v0.0.1
|
||||||
|
path: packages/storage_sdk
|
||||||
|
|
||||||
media_sdk:
|
media_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: media_sdk/v0.0.1
|
||||||
|
path: packages/media_sdk
|
||||||
|
|
||||||
rtc_sdk:
|
rtc_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: rtc_sdk/v0.0.1
|
||||||
|
path: packages/rtc_sdk
|
||||||
|
|
||||||
notification_sdk:
|
notification_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: notification_sdk/v0.0.1
|
||||||
|
path: packages/notification_sdk
|
||||||
|
|
||||||
protocol_sdk:
|
protocol_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: protocol_sdk/v0.0.1
|
||||||
|
path: packages/protocol_sdk
|
||||||
|
|
||||||
l10n_sdk:
|
l10n_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: l10n_sdk/v0.0.1
|
||||||
|
path: packages/l10n_sdk
|
||||||
|
|
||||||
|
cipher_guard_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: cipher_guard_sdk/v0.0.1
|
||||||
|
path: packages/cipher_guard_sdk
|
||||||
|
|
||||||
|
im_log_sdk:
|
||||||
|
git:
|
||||||
|
url: https://gitea.winwayinfo.com/CUS-IM/customer-im-client.git
|
||||||
|
ref: im_log_sdk/v0.0.1
|
||||||
|
path: packages/im_log_sdk
|
||||||
|
|
||||||
# 状态管理 - Riverpod
|
# 状态管理 - Riverpod
|
||||||
flutter_riverpod: ^3.0.0
|
flutter_riverpod: ^3.0.0
|
||||||
@@ -38,7 +82,7 @@ dependencies:
|
|||||||
connectivity_plus: ^6.1.0
|
connectivity_plus: ^6.1.0
|
||||||
|
|
||||||
# JWT 解析(token 过期检测、主动刷新)
|
# JWT 解析(token 过期检测、主动刷新)
|
||||||
dart_jsonwebtoken: ^3.3.2
|
dart_jsonwebtoken: ^3.1.0
|
||||||
|
|
||||||
# 数据库(schema 定义在 im_app,连接/CRUD 封装在 storage_sdk)
|
# 数据库(schema 定义在 im_app,连接/CRUD 封装在 storage_sdk)
|
||||||
drift: ^2.22.0
|
drift: ^2.22.0
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ environment:
|
|||||||
sdk: ^3.11.0
|
sdk: ^3.11.0
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
- apps/im_app
|
|
||||||
- packages/cipher_guard_sdk
|
- packages/cipher_guard_sdk
|
||||||
- packages/l10n_sdk
|
- packages/l10n_sdk
|
||||||
- packages/media_sdk
|
- packages/media_sdk
|
||||||
|
|||||||
Reference in New Issue
Block a user