//! Upstream source: `../nest-cli/lib/utils/formatting.ts`.
/// Normalizes input to the path/file naming style supported by Nest schematics.
///
/// This mirrors upstream `normalizeToKebabOrSnakeCase`: decamelize ASCII
/// camelCase boundaries, lowercase the result, replace whitespace with `-`,
/// and preserve existing underscores.