UNPKG

@nxworker/workspace

Version:

Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports

11 lines (10 loc) 424 B
/** * Splits a comma-separated string into patterns, respecting brace expansions. * Commas inside braces are not treated as separators. * * For example: "file1.ts,file.{ts,js}" => ["file1.ts", "file.{ts,js}"] * * @param input - Comma-separated string that may contain brace expansions * @returns Array of individual patterns with whitespace trimmed */ export declare function splitPatterns(input: string): string[];