refactor(core): normalize core service naming

Standardize core service module and export names to reduce naming ambiguity and make imports predictable across runtime, tests, scripts, and docs.
This commit is contained in:
2026-02-17 01:18:10 -08:00
parent 02034e6dc7
commit a359e91b14
80 changed files with 793 additions and 771 deletions

View File

@@ -1,7 +1,7 @@
import { CliArgs, CliCommandSource } from "../cli/args";
import { createAppLifecycleDepsRuntimeService } from "../core/services";
import { startAppLifecycleService } from "../core/services/app-lifecycle-service";
import type { AppLifecycleDepsRuntimeOptions } from "../core/services/app-lifecycle-service";
import { createAppLifecycleDepsRuntime } from "../core/services";
import { startAppLifecycle } from "../core/services/app-lifecycle";
import type { AppLifecycleDepsRuntimeOptions } from "../core/services/app-lifecycle";
import { createAppLifecycleRuntimeDeps } from "./app-lifecycle";
export interface AppLifecycleRuntimeRunnerParams {
@@ -22,9 +22,9 @@ export function createAppLifecycleRuntimeRunner(
params: AppLifecycleRuntimeRunnerParams,
): (args: CliArgs) => void {
return (args: CliArgs): void => {
startAppLifecycleService(
startAppLifecycle(
args,
createAppLifecycleDepsRuntimeService(
createAppLifecycleDepsRuntime(
createAppLifecycleRuntimeDeps({
app: params.app,
platform: params.platform,