NxResource
Handle
interface NxResource extends IResource { addApp( name: string, appName?: string): NxAppResource; withBun(install?: boolean): NxResource; withNpm(install?: boolean): NxResource; withPackageManagerLaunch(packageManager?: string): NxResource; withPnpm(install?: boolean): NxResource; withYarn(install?: boolean): NxResource;}6 members
Methods
addApp( name: string, appName?: string): NxAppResourceParameters
namestringappName stringoptionalReturns
NxAppResource withBun(install?: boolean): NxResourceParameters
installbooleanoptional= FalseReturns
NxResource withNpm(install?: boolean): NxResourceParameters
installbooleanoptional= FalseReturns
NxResource Configures the Nx workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): NxResourceParameters
packageManager stringoptionalThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.Returns
NxResource withPnpm(install?: boolean): NxResourceParameters
installbooleanoptional= FalseReturns
NxResource withYarn(install?: boolean): NxResourceParameters
installbooleanoptional= FalseReturns
NxResource