88//------------------------------------------------------------------------------
99namespace Aspire . Hosting
1010{
11+ public sealed partial class JavaScriptPackageInstallerAnnotation : ApplicationModel . IResourceAnnotation
12+ {
13+ public JavaScriptPackageInstallerAnnotation ( ApplicationModel . ExecutableResource installerResource ) { }
14+
15+ public ApplicationModel . ExecutableResource Resource { get { throw null ; } }
16+ }
17+
18+ public sealed partial class JavaScriptPackageManagerAnnotation : ApplicationModel . IResourceAnnotation
19+ {
20+ public JavaScriptPackageManagerAnnotation ( string packageManager ) { }
21+
22+ public string PackageManager { get { throw null ; } }
23+ }
24+
1125 public static partial class NodeJSHostingExtensions
1226 {
27+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxAppResource > AddApp ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , string name , string ? appName = null , System . Func < ApplicationModel . IResourceBuilder < ApplicationModel . NxAppResource > , ApplicationModel . IResourceBuilder < ApplicationModel . NxAppResource > > ? configure = null ) { throw null ; }
28+
29+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoAppResource > AddApp ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , string name , string ? filter = null , System . Func < ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoAppResource > , ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoAppResource > > ? configure = null ) { throw null ; }
30+
31+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > AddNxApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null ) { throw null ; }
32+
1333 public static ApplicationModel . IResourceBuilder < NodeAppResource > AddPnpmApp ( this IDistributedApplicationBuilder builder , string name , string workingDirectory , string scriptName = "start" , string [ ] ? args = null ) { throw null ; }
1434
35+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > AddTurborepoApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null ) { throw null ; }
36+
1537 public static ApplicationModel . IResourceBuilder < NodeAppResource > AddViteApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null , string packageManager = "npm" , bool useHttps = false ) { throw null ; }
1638
1739 public static ApplicationModel . IResourceBuilder < NodeAppResource > AddYarnApp ( this IDistributedApplicationBuilder builder , string name , string workingDirectory , string scriptName = "start" , string [ ] ? args = null ) { throw null ; }
1840
41+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > RunWithPackageManager ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , string ? packageManager = null ) { throw null ; }
42+
43+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > RunWithPackageManager ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , string ? packageManager = null ) { throw null ; }
44+
45+ public static ApplicationModel . IResourceBuilder < TResource > WithMappedEndpointPort < TResource > ( this ApplicationModel . IResourceBuilder < TResource > builder , string ? endpointName = null )
46+ where TResource : NodeAppResource { throw null ; }
47+
1948 public static ApplicationModel . IResourceBuilder < NodeAppResource > WithNpmPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , bool useCI = false , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . NpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
2049
50+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithNpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > resource , bool useCI = false , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . NpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
51+
52+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithNpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > resource , bool useCI = false , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . NpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
53+
2154 public static ApplicationModel . IResourceBuilder < NodeAppResource > WithPnpmPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
2255
56+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithPnpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
57+
58+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithPnpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
59+
2360 public static ApplicationModel . IResourceBuilder < NodeAppResource > WithYarnPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
61+
62+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithYarnPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
63+
64+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithYarnPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
2465 }
2566}
2667
@@ -31,11 +72,39 @@ public partial class NpmInstallerResource : ExecutableResource
3172 public NpmInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
3273 }
3374
75+ public partial class NxAppResource : NodeAppResource
76+ {
77+ public NxAppResource ( string name , string workingDirectory , string appName , string command = "nx" ) : base ( default ! , default ! , default ! ) { }
78+
79+ public string AppName { get { throw null ; } }
80+ }
81+
82+ public partial class NxResource : Resource
83+ {
84+ public NxResource ( string name , string workingDirectory ) : base ( default ! ) { }
85+
86+ public string WorkingDirectory { get { throw null ; } }
87+ }
88+
3489 public partial class PnpmInstallerResource : ExecutableResource
3590 {
3691 public PnpmInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
3792 }
3893
94+ public partial class TurborepoAppResource : NodeAppResource
95+ {
96+ public TurborepoAppResource ( string name , string workingDirectory , string filter , string command = "turbo" ) : base ( default ! , default ! , default ! ) { }
97+
98+ public string Filter { get { throw null ; } }
99+ }
100+
101+ public partial class TurborepoResource : Resource
102+ {
103+ public TurborepoResource ( string name , string workingDirectory ) : base ( default ! ) { }
104+
105+ public string WorkingDirectory { get { throw null ; } }
106+ }
107+
39108 public partial class YarnInstallerResource : ExecutableResource
40109 {
41110 public YarnInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
0 commit comments