From 97f83cc2cf7b6159b672a3a84812230a55cc8acf Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Thu, 29 Oct 2026 19:27:56 +0100 Subject: [PATCH] feat: plugin.yaml manifest for the SummerCMS marketplace - plugin.yaml generated by summer plugin:manifest (name override: User) - TestPluginManifest guards it with kiosk.CheckT - require SummerCMS v0.6.0, the framework minimum in plugin.yaml --- go.mod | 2 +- manifest_test.go | 13 +++++++++++++ plugin.yaml | 10 ++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 manifest_test.go create mode 100644 plugin.yaml diff --git a/go.mod b/go.mod index 4c57aac..c7f5104 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.golem15.com/golem15/sm-user-plugin go 1.27.0 require ( - git.golem15.com/golem15/summercms v0.5.2 + git.golem15.com/golem15/summercms v0.6.0 github.com/go-gormigrate/gormigrate/v2 v2.1.7 github.com/golang-jwt/jwt/v5 v5.3.1 github.com/jackc/pgx/v5 v5.10.0 diff --git a/manifest_test.go b/manifest_test.go new file mode 100644 index 0000000..364e99e --- /dev/null +++ b/manifest_test.go @@ -0,0 +1,13 @@ +package user + +import ( + "testing" + + "git.golem15.com/golem15/summercms/modules/kiosk" +) + +// TestPluginManifest fails when plugin.yaml is missing or no longer matches +// what `summer plugin:manifest` derives from this repository. +func TestPluginManifest(t *testing.T) { + kiosk.CheckT(t, ".") +} diff --git a/plugin.yaml b/plugin.yaml new file mode 100644 index 0000000..c1debc0 --- /dev/null +++ b/plugin.yaml @@ -0,0 +1,10 @@ +# Generated by summer plugin:manifest. Do not edit; rerun the command. +schema: 1 +id: golem15.user +module: git.golem15.com/golem15/sm-user-plugin +package: git.golem15.com/golem15/sm-user-plugin +name: User +description: "The shared front-end user plugin for SummerCMS applications: registration, login with JWT sessions, activation and password reset, profile and avatar endpoints." +framework: v0.6.0 +overrides: + name: User