operations_defaults.ts view source
BuildOperations import {default_build_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; Production implementations of operations interfaces.
Provides real git, npm, fs, build, and repos operations for production use.
For interface definitions and dependency injection pattern, see operations.ts.
12 declarations
operations_defaults.ts view source
BuildOperations import {default_build_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
ChangesetOperations import {default_changeset_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
FsOperations import {default_fs_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
GitOperations import {default_git_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
GitopsOperations import {default_gitops_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; Combined default operations for all gitops functionality.
operations_defaults.ts view source
NpmOperations import {default_npm_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
PreflightOperations import {default_preflight_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
ProcessOperations import {default_process_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
ReposOperations import {default_repos_operations} from '@fuzdev/fuz_repos/operations_defaults.js'; operations_defaults.ts view source
(text: string, max_lines?: number, max_chars?: number): string import {output_tail} from '@fuzdev/fuz_repos/operations_defaults.js'; The end of a process's output, for a failure message: its last lines, then its last characters, with terminal escape sequences stripped and trailing whitespace trimmed.
textthe output, or as much of its end as was kept
stringmax_linesthe most lines to keep
numberOUTPUT_TAIL_MAX_LINESmax_charsthe most characters to keep, applied after max_lines
numberOUTPUT_TAIL_MAX_CHARSstring operations_defaults.ts view source
4096 import {OUTPUT_TAIL_MAX_CHARS} from '@fuzdev/fuz_repos/operations_defaults.js'; The most characters of a child's stderr a failure carries.
operations_defaults.ts view source
20 import {OUTPUT_TAIL_MAX_LINES} from '@fuzdev/fuz_repos/operations_defaults.js'; The most lines of a child's stderr a failure carries.