Files
conti-retail-app/packages/core_storage/pubspec.yaml
T
2026-08-17 15:29:55 +08:00

28 lines
1002 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: core_storage
description: 本地持久化。当前只封装 SharedPreferencesKV),数据库层暂缓。
publish_to: none
version: 0.1.0
resolution: workspace
# 偏离 06 的说明:Drift 单库暂不落地。
# 骨架阶段还没有任何需要本地缓存的业务表,先建库只会留下一个没人用、
# 却要一直维护 schema 快照和迁移测试的空壳。06 §「所有业务缓存表必须带
# storeId」「登出/切店清理策略」「migration 必须被验证」这三条规则在真的
# 加第一张表时再一次性落地——那时才有东西可验证。
# 连带收益:去掉 drift_dev 后 melos 可以留在 8.xdrift_dev 2.34.0 依赖
# cli_util ^0.4.0,与 melos 8 的 ^0.5.0 互斥)。详见 SCAFFOLD-NOTES.md §A。
environment:
sdk: ^3.12.0
dependencies:
core_foundation: ^0.1.0
flutter:
sdk: flutter
flutter_riverpod: ^3.3.2
shared_preferences: ^2.5.5
dev_dependencies:
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter