- Introduced buildinfo.json5 to enable impeller feature. - Added Chinese localization strings in string.json for module description and entry ability. - Created Ability.test.ets for unit testing of ability functionalities. - Implemented List.test.ets to run the ability tests. - Developed TestAbility.ets to manage test execution and lifecycle events. - Created Index.ets as a testability page with UI components. - Added OpenHarmonyTestRunner.ts for managing test execution in OpenHarmony. - Defined module.json5 for entry_test module configuration. - Established color.json and string.json for base resources. - Included icon.png for the test module. - Created test_pages.json to define testability page sources. - Configured hvigor and oh-package.json5 for project setup. - Updated pubspec.yaml and related files to downgrade Dart SDK to 3.11.0 and adjust dependencies. - Added PowerShell script to enable OpenHarmony Flutter toolchain. - Updated multiple package pubspec.yaml files to align with Dart SDK version 3.11.0 and adjust dependencies accordingly.
28 lines
1001 B
YAML
28 lines
1001 B
YAML
name: core_storage
|
||
description: 本地持久化。当前只封装 SharedPreferences(KV),数据库层暂缓。
|
||
publish_to: none
|
||
version: 0.1.0
|
||
resolution: workspace
|
||
|
||
# 偏离 06 的说明:Drift 单库暂不落地。
|
||
# 骨架阶段还没有任何需要本地缓存的业务表,先建库只会留下一个没人用、
|
||
# 却要一直维护 schema 快照和迁移测试的空壳。06 §「所有业务缓存表必须带
|
||
# storeId」「登出/切店清理策略」「migration 必须被验证」这三条规则在真的
|
||
# 加第一张表时再一次性落地——那时才有东西可验证。
|
||
# 连带收益:去掉 drift_dev 后 melos 可以留在 8.x(drift_dev 2.34.0 依赖
|
||
# cli_util ^0.4.0,与 melos 8 的 ^0.5.0 互斥)。详见 SCAFFOLD-NOTES.md §A。
|
||
environment:
|
||
sdk: ^3.11.0
|
||
|
||
dependencies:
|
||
core_foundation: ^0.1.0
|
||
flutter:
|
||
sdk: flutter
|
||
flutter_riverpod: 3.2.1
|
||
shared_preferences: ^2.5.5
|
||
|
||
dev_dependencies:
|
||
flutter_lints: ^6.0.0
|
||
flutter_test:
|
||
sdk: flutter
|