1- import type { Config } from '@react-native-community/cli-types' ;
21import type { Configuration } from '@rspack/core' ;
32import packageJson from '../../../package.json' ;
43import {
87 composeReporters ,
98 makeLogEntryFromFastifyLog ,
109} from '../../logging/index.js' ;
10+ import { CLIError } from '../common/cliError.js' ;
1111import { makeCompilerConfig } from '../common/config/makeCompilerConfig.js' ;
12- import { CLIError } from '../common/error.js' ;
1312import {
1413 getMimeType ,
1514 parseFileUrl ,
@@ -18,24 +17,21 @@ import {
1817import { runAdbReverse } from '../common/index.js' ;
1918import logo from '../common/logo.js' ;
2019import { setupEnvironment } from '../common/setupEnvironment.js' ;
21- import type { StartArguments } from '../types.js' ;
20+ import type { CliConfig , StartArguments } from '../types.js' ;
2221import { Compiler } from './Compiler.js' ;
2322
2423/**
25- * Start command for React Native Community CLI .
26- * It runs `@callstack/repack-dev-server` to provide Development Server functionality to React Native apps
24+ * Start command that runs a development server .
25+ * It runs `@callstack/repack-dev-server` to provide Development Server functionality
2726 * in development mode.
2827 *
2928 * @param _ Original, non-parsed arguments that were provided when running this command.
30- * @param config React Native Community CLI configuration object .
29+ * @param cliConfig Configuration object containing platform and project settings .
3130 * @param args Parsed command line arguments.
32- *
33- * @internal
34- * @category CLI command
3531 */
3632export async function start (
3733 _ : string [ ] ,
38- cliConfig : Config ,
34+ cliConfig : CliConfig ,
3935 args : StartArguments
4036) {
4137 const detectedPlatforms = Object . keys ( cliConfig . platforms ) ;
0 commit comments