@supernovaio/cli
Version:
Supernova.io Command Line Interface
18 lines • 1.53 kB
TypeScript
import { DiscoveredPackage, SetupContext, TemplateFramework } from "./flow/types.js";
export declare function splitCsv(input: string): string[];
export declare function validateDirectoryPath(directoryPath: string): string | null;
export declare function discoverPackagesUnderPath(scanSourcePath: string): DiscoveredPackage[];
export declare function listSnapshotRootsUnderPath(scanSourcePath: string): string[];
export declare function readPackageNameFromManifest(packageJsonPath: string): string | undefined;
export declare function deriveRepoPathFromSnapshotRoot(snapshotRoot: string): string;
export declare function detectSnapshotScannerType(snapshotRoot: string): "Components" | "Usage";
export declare function hasUploadableSnapshotContent(snapshotRoot: string): boolean;
export declare function uniqueStrings(values: string[]): string[];
export declare function createPrivateDependencyEntries(packageNames: string[]): string[];
export declare function resolveExactPrivatePackages(context: SetupContext): string[];
export declare function isPrivateDependencyScopePattern(entry: string): boolean;
export declare function deriveProjectName(promptText: string, contextName?: string): string;
export declare function portalBaseUrlForEnvironment(env: string): string;
export declare function containerRepositoryUrlForFramework(framework: TemplateFramework): string;
export declare function findNextAvailablePatchVersion(currentVersion: string, existingVersions: Set<string>): string | null;
//# sourceMappingURL=helpers.d.ts.map