TurborepoResource
Handle
interface TurborepoResource extends IResource { addApp( name: string, filter?: string): TurborepoAppResource; withBun(install?: boolean): TurborepoResource; withNpm(install?: boolean): TurborepoResource; withPackageManagerLaunch(packageManager?: string): TurborepoResource; withPnpm(install?: boolean): TurborepoResource; withYarn(install?: boolean): TurborepoResource;}6 members
Methods
addApp( name: string, filter?: string): TurborepoAppResourceParameters
namestringfilterstringoptionalReturns
TurborepoAppResource withBun(install?: boolean): TurborepoResourceParameters
installbooleanoptional= FalseReturns
TurborepoResource withNpm(install?: boolean): TurborepoResourceParameters
installbooleanoptional= FalseReturns
TurborepoResource Configures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): TurborepoResourceParameters
packageManager stringoptionalThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.Returns
TurborepoResource withPnpm(install?: boolean): TurborepoResourceParameters
installbooleanoptional= FalseReturns
TurborepoResource withYarn(install?: boolean): TurborepoResourceParameters
installbooleanoptional= FalseReturns
TurborepoResource