log_helpers.ts

view source

Declarations
#

7 declarations

format_dev_cycles
#

log_helpers.ts view source

(analysis: DependencyAnalysis): string[] import {format_dev_cycles} from '@fuzdev/fuz_repos/log_helpers.js';

Formats dev circular dependencies as styled strings. Returns array of lines for inclusion in output.

analysis

returns

string[]

format_production_cycles
#

log_helpers.ts view source

(analysis: DependencyAnalysis): string[] import {format_production_cycles} from '@fuzdev/fuz_repos/log_helpers.js';

Formats production/peer circular dependencies as styled strings. Returns array of lines for inclusion in output.

analysis

returns

string[]

format_wildcard_dependencies
#

log_helpers.ts view source

(analysis: DependencyAnalysis): string[] import {format_wildcard_dependencies} from '@fuzdev/fuz_repos/log_helpers.js';

Formats wildcard dependencies as styled strings. Returns array of lines for inclusion in output.

analysis

returns

string[]

log_dependency_analysis
#

log_helpers.ts view source

(analysis: DependencyAnalysis, log: Logger, indent?: string): void import {log_dependency_analysis} from '@fuzdev/fuz_repos/log_helpers.js';

Logs all dependency analysis results (wildcards, production cycles, dev cycles). Convenience function that calls all three logging functions in order.

analysis

log

type Logger

indent

type string
default ''

returns

void

log_dev_cycles
#

log_helpers.ts view source

(analysis: DependencyAnalysis, log: Logger, indent?: string): void import {log_dev_cycles} from '@fuzdev/fuz_repos/log_helpers.js';

Logs dev circular dependencies as info. Dev cycles are normal and non-blocking, so they're informational, not warnings.

analysis

log

type Logger

indent

type string
default ''

returns

void

log_production_cycles
#

log_helpers.ts view source

(analysis: DependencyAnalysis, log: Logger, indent?: string): void import {log_production_cycles} from '@fuzdev/fuz_repos/log_helpers.js';

Logs production/peer circular dependencies as errors. Production cycles block publishing and must be resolved.

analysis

log

type Logger

indent

type string
default ''

returns

void

log_wildcard_dependencies
#

log_helpers.ts view source

(analysis: DependencyAnalysis, log: Logger, indent?: string): void import {log_wildcard_dependencies} from '@fuzdev/fuz_repos/log_helpers.js';

Logs wildcard dependencies as warnings. Wildcard dependencies require attention and should be reviewed.

analysis

log

type Logger

indent

type string
default ''

returns

void

Depends on
#

Imported by
#