-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve readability of dependency tree
- Loading branch information
1 parent
a3a1613
commit 8a52948
Showing
6 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{{!-- careful: preserve the double space characters at the end of the content lines to make sure that new lines are generated--}} | ||
{{#indent nestingLevel}}{{/indent}}{{emojifyChangeType changeType}} {{#baseComponent}}{{ name }}: {{>componentVersion}}{{/baseComponent}} => {{#comparingComponent}}{{>componentVersion}}{{/comparingComponent}} | ||
{{#indent nestingLevel lastItemInList}}{{/indent}}{{emojifyChangeType changeType}} {{#baseComponent}}{{ name }}: {{>componentVersion}}{{/baseComponent}} => {{#comparingComponent}}{{>componentVersion}}{{/comparingComponent}} | ||
{{#if (shouldRenderComponentDiff this)}} | ||
{{#each changedDependencies}} | ||
{{>componentDiff nestingLevel=(increment ../nestingLevel)}} | ||
{{>componentDiff nestingLevel=(increment ../nestingLevel) lastItemInList=@last}} | ||
{{/each}} | ||
{{#each addedDependencies}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) changeType='Added'}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) lastItemInList=@last changeType='Added'}} | ||
{{/each}} | ||
{{#each removedDependencies}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) changeType='Removed'}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) lastItemInList=@last changeType='Removed'}} | ||
{{/each}} | ||
{{else if (hasChanges this)}}{{#indent (increment nestingLevel)}}{{/indent}}(Repeating subtree omitted) | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{{#indent nestingLevel}}{{/indent}}{{emojifyChangeType changeType}} {{ name }}:{{>componentVersion}} | ||
{{#indent nestingLevel lastItemInList}}{{/indent}}{{emojifyChangeType changeType}} {{ name }}:{{>componentVersion}} | ||
{{#if (shouldRenderComponentTree this)}} | ||
{{#each dependencies}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) changeType=../changeType}} | ||
{{>componentTree nestingLevel=(increment ../nestingLevel) lastItemInList=@last changeType=../changeType}} | ||
{{/each}} | ||
{{else if (hasDependencies this)}}{{#indent (increment nestingLevel)}}{{/indent}}(Repeating subtree omitted) | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{#if thirdParty~}} | ||
[{{ version }}](#{{ renderId }}-{{ urlEncode name }}{{ urlEncode ':' }}{{ urlEncode version }}) {{#if allLicensesGo}}{{emojifyLicense 'Go'}}{{/if}}{{#each carefulLicenseTypes}}{{#if used}}{{emojifyLicense type}}{{/if}}{{/each}}{{#if hasMultipleLicenses}}‼{{/if}} | ||
<a href="#{{ renderId }}-{{ urlEncode name }}{{ urlEncode ':' }}{{ urlEncode version }}">{{ version }}</a> {{#if allLicensesGo}}{{emojifyLicense 'Go'}}{{/if}}{{#each carefulLicenseTypes}}{{#if used}}{{emojifyLicense type}}{{/if}}{{/each}}{{#if hasMultipleLicenses}}‼{{/if}} | ||
{{~else~}} | ||
{{version}} | ||
{{~/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters