- 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.
34 lines
965 B
YAML
34 lines
965 B
YAML
name: feature_home
|
||
description: 工作台(首页)。
|
||
publish_to: none
|
||
version: 0.1.0
|
||
resolution: workspace
|
||
|
||
# feature_* 的 pubspec 是包边界的**执行现场**:
|
||
# - 这里不出现 feature_auth(feature 间禁止互相依赖,见 01)——工作台看起来
|
||
# "需要" 登录信息,但它拿的是 core_auth 的会话状态,不是 feature_auth 的页面
|
||
# - 这里不直接出现 go_router(路由类型由 core_router re-export,见 04)
|
||
environment:
|
||
sdk: ^3.11.0
|
||
|
||
dependencies:
|
||
core_analytics: ^0.1.0
|
||
core_auth: ^0.1.0
|
||
core_foundation: ^0.1.0
|
||
core_network: ^0.1.0
|
||
core_router: ^0.1.0
|
||
core_ui: ^0.1.0
|
||
flutter:
|
||
sdk: flutter
|
||
flutter_riverpod: 3.2.1
|
||
# 与 riverpod_generator 4.0.3 配套,兼容 Harmony Flutter 固定的 meta 1.17.0。
|
||
riverpod_annotation: 4.0.2
|
||
|
||
dev_dependencies:
|
||
build_runner: ^2.4.13
|
||
flutter_lints: ^6.0.0
|
||
flutter_test:
|
||
sdk: flutter
|
||
mocktail: ^1.0.5
|
||
riverpod_generator: 4.0.3
|