88//------------------------------------------------------------------------------
99namespace Aspire . Hosting
1010{
11- public sealed partial class JavaScriptPackageInstallerAnnotation : ApplicationModel . IResourceAnnotation
11+ public sealed partial class JavaScriptPackageManagerConfiguredAnnotation : ApplicationModel . IResourceAnnotation
1212 {
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 ) { }
13+ public JavaScriptPackageManagerConfiguredAnnotation ( string packageManager ) { }
2114
2215 public string PackageManager { get { throw null ; } }
2316 }
@@ -30,48 +23,31 @@ public static partial class NodeJSHostingExtensions
3023
3124 public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > AddNxApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null ) { throw null ; }
3225
33- public static ApplicationModel . IResourceBuilder < NodeAppResource > AddPnpmApp ( this IDistributedApplicationBuilder builder , string name , string workingDirectory , string scriptName = "start" , string [ ] ? args = null ) { throw null ; }
34-
3526 public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > AddTurborepoApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null ) { throw null ; }
3627
37- public static ApplicationModel . IResourceBuilder < NodeAppResource > AddViteApp ( this IDistributedApplicationBuilder builder , string name , string ? workingDirectory = null , string packageManager = "npm" , bool useHttps = false ) { throw null ; }
38-
39- public static ApplicationModel . IResourceBuilder < NodeAppResource > AddYarnApp ( this IDistributedApplicationBuilder builder , string name , string workingDirectory , string scriptName = "start" , string [ ] ? args = null ) { throw null ; }
40-
4128 public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > RunWithPackageManager ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , string ? packageManager = null ) { throw null ; }
4229
4330 public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > RunWithPackageManager ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , string ? packageManager = null ) { throw null ; }
4431
4532 public static ApplicationModel . IResourceBuilder < TResource > WithMappedEndpointPort < TResource > ( this ApplicationModel . IResourceBuilder < TResource > builder , string ? endpointName = null )
4633 where TResource : NodeAppResource { throw null ; }
4734
48- public static ApplicationModel . IResourceBuilder < NodeAppResource > WithNpmPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , bool useCI = false , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . NpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
49-
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-
54- public static ApplicationModel . IResourceBuilder < NodeAppResource > WithPnpmPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
35+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithNpm ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
5536
56- public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithPnpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
37+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithNpm ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
5738
58- public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithPnpmPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . PnpmInstallerResource > > ? configureInstaller = null ) { throw null ; }
39+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithPnpm ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
5940
60- public static ApplicationModel . IResourceBuilder < NodeAppResource > WithYarnPackageInstallation ( this ApplicationModel . IResourceBuilder < NodeAppResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
41+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithPnpm ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
6142
62- public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithYarnPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
43+ public static ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > WithYarn ( this ApplicationModel . IResourceBuilder < ApplicationModel . NxResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
6344
64- public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithYarnPackageInstaller ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > resource , System . Action < ApplicationModel . IResourceBuilder < ApplicationModel . YarnInstallerResource > > ? configureInstaller = null ) { throw null ; }
45+ public static ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > WithYarn ( this ApplicationModel . IResourceBuilder < ApplicationModel . TurborepoResource > builder , bool install = false , System . Action < ApplicationModel . IResourceBuilder < NodeJs . JavaScriptInstallerResource > > ? configureInstaller = null ) { throw null ; }
6546 }
6647}
6748
6849namespace Aspire . Hosting . ApplicationModel
6950{
70- public partial class NpmInstallerResource : ExecutableResource
71- {
72- public NpmInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
73- }
74-
7551 public partial class NxAppResource : NodeAppResource
7652 {
7753 public NxAppResource ( string name , string workingDirectory , string appName , string command = "nx" ) : base ( default ! , default ! , default ! ) { }
@@ -86,11 +62,6 @@ public NxResource(string name, string workingDirectory) : base(default!) { }
8662 public string WorkingDirectory { get { throw null ; } }
8763 }
8864
89- public partial class PnpmInstallerResource : ExecutableResource
90- {
91- public PnpmInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
92- }
93-
9465 public partial class TurborepoAppResource : NodeAppResource
9566 {
9667 public TurborepoAppResource ( string name , string workingDirectory , string filter , string command = "turbo" ) : base ( default ! , default ! , default ! ) { }
@@ -104,9 +75,4 @@ public TurborepoResource(string name, string workingDirectory) : base(default!)
10475
10576 public string WorkingDirectory { get { throw null ; } }
10677 }
107-
108- public partial class YarnInstallerResource : ExecutableResource
109- {
110- public YarnInstallerResource ( string name , string workingDirectory ) : base ( default ! , default ! , default ! ) { }
111- }
11278}
0 commit comments