( ctx: CommandContext, pattern: string | undefined, )
| 99 | } |
| 100 | |
| 101 | export async function handleInstall( |
| 102 | ctx: CommandContext, |
| 103 | pattern: string | undefined, |
| 104 | ): Promise<CommandResult> { |
| 105 | const { fs } = ctx; |
| 106 | return installAll(ctx, pattern, { |
| 107 | cwd: process.cwd(), |
| 108 | expandPatterns: (patterns, cwd) => |
| 109 | defaultExpandPatterns(patterns, cwd ?? process.cwd(), undefined, fs), |
| 110 | peekFlowMeta: makePeekFlowMeta(fs), |
| 111 | resolveDepsRoot: (files) => resolveDepsRoot({ files, fs }), |
| 112 | installBrowsers: handleInstallBrowsers, |
| 113 | installAndroid: handleInstallAndroid, |
| 114 | }); |
| 115 | } |
no test coverage detected