From 9c75d029806fa3bbc16d51939dbec58a243b5616 Mon Sep 17 00:00:00 2001 From: Banst Date: Fri, 13 Dec 2024 20:02:29 +0100 Subject: [PATCH] feat: add flux, golangci-lint and protoc plugins (#674) --- package/src/api-types.ts | 2 ++ registry/data/third-party.json | 39 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/package/src/api-types.ts b/package/src/api-types.ts index d782bc7d..05d8ef97 100644 --- a/package/src/api-types.ts +++ b/package/src/api-types.ts @@ -120,6 +120,8 @@ export interface ToolMetadataOutput { name: string; /** Version of the plugin. */ pluginVersion?: string | null; + /** Other plugins that this plugin requires. */ + requires?: string[]; /** * Names of commands that will self-upgrade the tool, * and should be blocked from happening. diff --git a/registry/data/third-party.json b/registry/data/third-party.json index 99074e16..92f8f6e6 100644 --- a/registry/data/third-party.json +++ b/registry/data/third-party.json @@ -269,6 +269,19 @@ "earthly" ] }, + { + "id": "flux", + "locator": "https://raw.githubusercontent.com/b4nst/proto-plugins/refs/heads/main/toml/flux.toml", + "format": "toml", + "name": "flux", + "description": "Flux is a set of continuous and progressive delivery solutions for Kubernetes that are open and extensible.", + "author": "b4nst", + "homepageUrl": "https://fluxcd.io/", + "repositoryUrl": "https://github.com/b4nst/proto-plugins/blob/main/toml/flux.toml", + "bins": [ + "flux" + ] + }, { "id": "fly", "locator": "https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/flyctl/plugin.toml", @@ -348,6 +361,19 @@ "gojq" ] }, + { + "id": "golangci-lint", + "locator": "https://raw.githubusercontent.com/b4nst/proto-plugins/refs/heads/main/toml/golangci-lint.toml", + "format": "toml", + "name": "golangci-lint", + "description": "Fast linters runner for Go.", + "author": "b4nst", + "homepageUrl": "https://golangci-lint.run/", + "repositoryUrl": "https://github.com/b4nst/proto-plugins/blob/main/toml/golangci-lint.toml", + "bins": [ + "golangci-lint" + ] + }, { "id": "gum", "locator": "https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/gum/plugin.toml", @@ -748,6 +774,19 @@ "pkl" ] }, + { + "id": "protoc", + "locator": "https://raw.githubusercontent.com/b4nst/proto-plugins/refs/heads/main/toml/protoc.toml", + "format": "toml", + "name": "protoc", + "description": "Protocol Buffers - Google's data interchange format.", + "author": "b4nst", + "homepageUrl": "https://github.com/protocolbuffers/protobuf", + "repositoryUrl": "https://github.com/b4nst/proto-plugins/blob/main/toml/protoc.toml", + "bins": [ + "protoc" + ] + }, { "id": "rattler-build", "locator": "https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/rattler-build/plugin.toml",