TurborepoResource.WithPackageManagerLaunch
Method
type TurborepoResource interface { // ... omitted for brevity WithPackageManagerLaunch(options ...*WithPackageManagerLaunchOptions) TurborepoResource}Signature
method
WithPackageManagerLaunch builderConfigures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
WithPackageManagerLaunch(options ...*WithPackageManagerLaunchOptions) TurborepoResourceParameters
options...*WithPackageManagerLaunchOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithPackageManagerLaunchOptions argument.
PackageManager *stringThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.Returns
TurborepoResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: