Skip to content

Add indentation for changes that are in sub-packages #18

@UniquePanda

Description

@UniquePanda

Currently changes in sub-packages are shown like that:

terser-webpack-plugin (webpack -> *terser-webpack-plugin*)
        * Was updated.
        * 5.3.6 => 5.3.7
@types/node (webpack -> terser-webpack-plugin -> jest-worker -> *@types/node*)
        * Was updated.
        * 18.14.0 => 18.15.3
@types/json-schema (webpack -> terser-webpack-plugin -> schema-utils -> *@types/json-schema*)
        * Was added.
        * Has 0 direct dependencies (not listed here).

It would be easier/nicer to read, if some indentation would be added.
Maybe like this:

terser-webpack-plugin (webpack -> *terser-webpack-plugin*)
        * Was updated.
        * 5.3.6 => 5.3.7
    @types/node (webpack -> terser-webpack-plugin -> jest-worker -> *@types/node*)
            * Was updated.
            * 18.14.0 => 18.15.3
    @types/json-schema (webpack -> terser-webpack-plugin -> schema-utils -> *@types/json-schema*)
            * Was added.
            * Has 0 direct dependencies (not listed here).

This would add indentation for every level of change, although the updated packages are bested deeper than their indentation.
Another possibility would be to add as many levels of indentation as there are levels of packages. However, this might look strange if not all parent packages have been updated as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions