UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

18 lines (17 loc) 908 B
export declare function chunkify(target: string[], maxChunkLength?: number, /** * How long each entry will be once it reaches the command line. Callers that * quote or escape afterwards pass that transformation's length here, so the * chunk is sized against what is actually spawned rather than the raw string. */ measure?: (item: string) => number): string[][]; /** * Get the maximum length of a command-line argument string based on current platform * * https://serverfault.com/questions/69430/what-is-the-maximum-length-of-a-command-line-in-mac-os-x * https://support.microsoft.com/en-us/help/830473/command-prompt-cmd-exe-command-line-string-limitation * https://unix.stackexchange.com/a/120652 * * Taken from: https://github.com/lint-staged/lint-staged/blob/adf50b00669f6aac2eeca25dd28ff86a9a3c2a48/lib/index.js#L21-L37 */ export declare function getMaxArgLength(): 8191 | 131072 | 262144;