create-nx-workspace
Version:
10 lines (9 loc) • 370 B
TypeScript
/**
* This function is used to check if a preset is a third party preset.
* @param preset
* @returns
* - undefined if the preset is a known Nx preset or invalid.
* - packageName if the preset is a third party preset.
* - throws an error if the preset is invalid.
*/
export declare function getPackageNameFromThirdPartyPreset(preset?: string): string | undefined;