File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
- using CommunityToolkit . Aspire . Hosting . NodeJS . Extensions ;
2
-
3
1
var builder = DistributedApplication . CreateBuilder ( args ) ;
4
2
5
3
builder . AddViteApp ( "vite-demo" )
Original file line number Diff line number Diff line change 1
- using Aspire . Hosting ;
2
- using Aspire . Hosting . ApplicationModel ;
1
+ using Aspire . Hosting . ApplicationModel ;
3
2
using Aspire . Hosting . Lifecycle ;
3
+ using Aspire . Hosting . Utils ;
4
+ using CommunityToolkit . Aspire . Hosting . NodeJS . Extensions ;
4
5
using Microsoft . Extensions . Hosting ;
5
6
6
- namespace CommunityToolkit . Aspire . Hosting . NodeJS . Extensions ;
7
+ namespace Aspire . Hosting ;
7
8
8
9
public static class NodeJSHostingExtensions
9
10
{
Original file line number Diff line number Diff line change 5
5
6
6
namespace CommunityToolkit . Aspire . Hosting . NodeJS . Extensions ;
7
7
8
-
9
8
/// <summary>
10
9
/// Represents a Node package installer.
11
10
/// </summary>
12
11
/// <param name="packageManager">The package manager to use.</param>
13
12
/// <param name="loggerService">The logger service to use.</param>
14
13
/// <param name="notificationService">The notification service to use.</param>
15
- class NodePackageInstaller ( string packageManager , ResourceLoggerService loggerService , ResourceNotificationService notificationService )
14
+ internal class NodePackageInstaller ( string packageManager , ResourceLoggerService loggerService , ResourceNotificationService notificationService )
16
15
{
17
16
/// <summary>
18
17
/// Finds the Node.js resources using the specified package manager and installs the packages.
Original file line number Diff line number Diff line change 1
- namespace CommunityToolkit . Aspire . Hosting . NodeJS . Extensions ;
1
+ namespace Aspire . Hosting . Utils ;
2
2
3
3
// Copied from https://github.com/dotnet/aspire/blob/50ca9fa670af5c70782dc75d2961956b06f1a403/src/Shared/PathNormalizer.cs
4
4
internal static class PathNormalizer
You can’t perform that action at this time.
0 commit comments