1 write to _interactionService
aspire (1)
Projects\TypeScriptAppHostProject.cs (1)
56_interactionService = interactionService;
33 references to _interactionService
aspire (33)
Projects\TypeScriptAppHostProject.cs (33)
66_runningInstanceManager = new RunningInstanceManager(_logger, _interactionService, _timeProvider); 234_interactionService.DisplayError("Failed to install npm dependencies."); 247_interactionService.DisplayLines(buildOutput.GetLines()); 248_interactionService.DisplayError("Failed to build AppHost server."); 339var buildResult = await _interactionService.ShowStatusAsync( 415_interactionService.DisplayLines(appHostServerOutputCollector.GetLines()); 416_interactionService.DisplayError("App host exited unexpectedly."); 451_interactionService.DisplayLines(typeScriptOutput.GetLines()); 495_interactionService.DisplayCancellationMessage(); 503_interactionService.DisplayError($"Failed to run TypeScript AppHost: {ex.Message}"); 619_interactionService.DisplayError("npm not found. Please install Node.js and ensure npm is in your PATH."); 678_interactionService.DisplayError("node not found. Please install Node.js and ensure it is in your PATH."); 689_interactionService.DisplayError($"Compiled JavaScript file not found: {targetFile}"); 690_interactionService.DisplayMessage("info", "Try running 'npx tsc' to compile your TypeScript first."); 756_interactionService.DisplayError("npx not found. Please install Node.js and ensure npm is in your PATH."); 765_interactionService.DisplayError("nodemon is not installed. Please run 'npm install nodemon --save-dev' to enable hot reload."); 855_interactionService.DisplayError("Failed to install npm dependencies."); 917_interactionService.DisplayLines(appHostServerOutputCollector.GetLines()); 918_interactionService.DisplayError("App host exited unexpectedly."); 937_interactionService.DisplayLines(typeScriptOutput.GetLines()); 978_interactionService.DisplayCancellationMessage(); 984_interactionService.DisplayError($"Failed to publish TypeScript AppHost: {ex.Message}"); 1101_interactionService.DisplayMessage("check_mark", UpdateCommandStrings.ProjectUpToDateMessage); 1106var updates = await _interactionService.ShowStatusAsync( 1138_interactionService.DisplayMessage("check_mark", UpdateCommandStrings.ProjectUpToDateMessage); 1143_interactionService.DisplayEmptyLine(); 1146_interactionService.DisplayMessage("package", $"[bold yellow]{packageId}[/] [bold green]{currentVersion}[/] to [bold green]{newVersion}[/]"); 1148_interactionService.DisplayEmptyLine(); 1151if (!await _interactionService.ConfirmAsync(UpdateCommandStrings.PerformUpdatesPrompt, true, cancellationToken)) 1164_interactionService.DisplayEmptyLine(); 1165_interactionService.DisplaySubtleMessage("Regenerating TypeScript SDK with updated packages..."); 1168_interactionService.DisplayEmptyLine(); 1169_interactionService.DisplaySuccess(UpdateCommandStrings.UpdateSuccessfulMessage);