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
name string appName string optional Returns
NxAppResource withBun(install?: boolean): NxResourceParameters
install boolean optional = False Returns
NxResource withNpm(install?: boolean): NxResourceParameters
install boolean optional = False Returns
NxResource Configures the Nx workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): NxResourceParameters
packageManager string optional Returns
NxResource withPnpm(install?: boolean): NxResourceParameters
install boolean optional = False Returns
NxResource withYarn(install?: boolean): NxResourceParameters
install boolean optional = False Returns
NxResource