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
This commit is contained in:
Jakub Zych
2026-10-29 19:27:56 +01:00
parent 6bf219f50a
commit b27c29aacc
3 changed files with 24 additions and 1 deletions

2
go.mod
View File

@@ -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

13
manifest_test.go Normal file
View File

@@ -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, ".")
}

10
plugin.yaml Normal file
View File

@@ -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