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.");
339
var 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);
1106
var 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();
1151
if (!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);