diff --git a/FrontEnd/styles/package.scss b/FrontEnd/styles/package.scss index 2f2984a3c..a175efec9 100644 --- a/FrontEnd/styles/package.scss +++ b/FrontEnd/styles/package.scss @@ -96,7 +96,9 @@ } li.dependencies { + display: flex; grid-column-start: span 2; + flex-direction: column; background-image: var(--image-dependencies); } diff --git a/Sources/App/Views/PackageController/GetRoute.Model+ext.swift b/Sources/App/Views/PackageController/GetRoute.Model+ext.swift index 0c251667c..c97bb2450 100644 --- a/Sources/App/Views/PackageController/GetRoute.Model+ext.swift +++ b/Sources/App/Views/PackageController/GetRoute.Model+ext.swift @@ -319,7 +319,12 @@ extension API.PackageController.GetRoute.Model { return .li( .class("dependencies"), - .text(dependenciesPhrase) + .div( + .text(dependenciesPhrase) + ), + .small( + .text("Including all transitive and test dependencies.") + ) ) } diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html index 166893c3a..bf70ff537 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html @@ -161,7 +161,10 @@

When working with a Swift Package Manager manifest:

27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_app_store_incompatible_license.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_app_store_incompatible_license.1.html index 876abc336..97653a6a2 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_app_store_incompatible_license.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_app_store_incompatible_license.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • GPL 3.0 licensed Why might the GPL 3.0 be problematic? diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_binary_targets.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_binary_targets.1.html index 152ac1f0d..d7cdcff36 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_binary_targets.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_binary_targets.1.html @@ -165,7 +165,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago.
  • -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_canonicalURL_noImageSnapshots.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_canonicalURL_noImageSnapshots.1.html index 92887c83f..ec1314dc3 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_canonicalURL_noImageSnapshots.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_canonicalURL_noImageSnapshots.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_customCollection.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_customCollection.1.html index 74d1c725a..d44ac30b3 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_customCollection.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_customCollection.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • Member of the Custom Collection collection.
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_emoji_summary.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_emoji_summary.1.html index b4c0dbf91..6fb10358f 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_emoji_summary.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_emoji_summary.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_few_keywords.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_few_keywords.1.html index 45a0bd9c3..f44d40a0d 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_few_keywords.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_few_keywords.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_many_keywords.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_many_keywords.1.html index 3c37f48d2..39fde57a8 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_many_keywords.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_many_keywords.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_authors_activity.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_authors_activity.1.html index ef25771ac..0c9cfe2e3 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_authors_activity.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_authors_activity.1.html @@ -156,7 +156,10 @@

    When working with a Swift Package Manager manifest:

    1,433 commits and 79 releases. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_builds.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_builds.1.html index 7971ffb1d..95df166e8 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_builds.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_builds.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_license.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_license.1.html index 5b3932168..f40836e29 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_license.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_no_license.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • No license Why should you not use unlicensed code? diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_open_source_license.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_open_source_license.1.html index 184ea63fa..eb66326e1 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_open_source_license.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_open_source_license.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago.
  • -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • MIT licensed
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_other_license.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_other_license.1.html index bcdd95423..a6b86a618 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_other_license.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_other_license.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • Unknown license Why is this package's license unknown? diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_single_row_tables.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_single_row_tables.1.html index baebaffab..dc18b6219 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_single_row_tables.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_single_row_tables.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago.
  • -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_withPackageFundingLinks.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_withPackageFundingLinks.1.html index 38f4286b0..a50431371 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_withPackageFundingLinks.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_withPackageFundingLinks.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries
  • diff --git a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_with_documentation_link.1.html b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_with_documentation_link.1.html index 8be1f5378..58243b1a9 100644 --- a/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_with_documentation_link.1.html +++ b/Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView_with_documentation_link.1.html @@ -161,7 +161,10 @@

    When working with a Swift Package Manager manifest:

    27 open issues and 5 open pull requests. The last issue was closed 5 days ago and the last pull request was merged/closed 6 days ago. -
  • This package depends on 2 other packages.
  • +
  • +
    This package depends on 2 other packages.
    + Including all transitive and test dependencies. +
  • licensed
  • 17 stars
  • 3 libraries