diff --git a/internal/server/dashboard.go b/internal/server/dashboard.go index 7c15048..b935628 100644 --- a/internal/server/dashboard.go +++ b/internal/server/dashboard.go @@ -114,22 +114,25 @@ type PackagesListPageData struct { } func supportedEcosystems() []string { + // this list should be kept sorted in lexicographic order so + // that the 'select' list in the UI will be in the expected + // order return []string{ - "npm", "cargo", + "composer", + "conan", + "conda", + "cran", + "deb", "gem", "golang", "hex", - "pub", - "pypi", "maven", + "npm", "nuget", - "composer", - "conan", - "conda", - "cran", "oci", - "deb", + "pub", + "pypi", "rpm", } }