deps: bump block/core to v0.12.4, update plugin registration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Dunmow 2026-06-08 20:49:12 +08:00
parent 313ebaf296
commit cf1de8cd43
4 changed files with 11 additions and 7 deletions

2
go.mod
View File

@ -3,7 +3,7 @@ module git.dev.alexdunmow.com/block/themes/cyberpunk
go 1.26.4
require (
git.dev.alexdunmow.com/block/core v0.11.1
git.dev.alexdunmow.com/block/core v0.12.4
github.com/a-h/templ v0.3.1020
)

2
go.sum
View File

@ -2,6 +2,8 @@ connectrpc.com/connect v1.20.0 h1:6TNDAB+WeNd2uolWNlYczB5E0KNNaVMNUEx8JEUsPmQ=
connectrpc.com/connect v1.20.0/go.mod h1:A2ygJrukXwWy32vkCAAHNVguZrqZ+jeZ9rGRnGR4dN4=
git.dev.alexdunmow.com/block/core v0.11.1 h1:5b3Ps9CLor2FGyxw/Qovt27AGZKR5Xi1JZGi/TfliTA=
git.dev.alexdunmow.com/block/core v0.11.1/go.mod h1:ZwzEOxRDLDfrhQGqo6hLw01/C1z/aS4Dm9ljQMl0Bg4=
git.dev.alexdunmow.com/block/core v0.12.4 h1:F/K4DkAuBlVQivcnWNECORfUQfct0E1JOfmg+61uLzw=
git.dev.alexdunmow.com/block/core v0.12.4/go.mod h1:ZwzEOxRDLDfrhQGqo6hLw01/C1z/aS4Dm9ljQMl0Bg4=
github.com/BurntSushi/toml v1.6.0 h1:dRaEfpa2VI55EwlIW72hMRHdWouJeRF7TPYhI+AUQjk=
github.com/BurntSushi/toml v1.6.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/a-h/templ v0.3.1020 h1:ypAT/L5ySWEnZ6Zft/5yfoWXYYkhFNvEFOeeqecg4tw=

View File

@ -7,6 +7,7 @@ description = "Neon-on-black BlockNinja theme with glitch motifs, monospace acce
kind = "theme"
categories = ["templates", "developer"]
tags = ["dark", "neon", "glitch", "monospace", "saas", "developer", "tech", "crypto", "fintech"]
required_icon_packs = ["lucide"]
[compatibility]
block_core = ">=0.11.0 <0.12.0"

View File

@ -16,10 +16,11 @@ var Registration = plugin.PluginRegistration{
Register: func(tr templates.TemplateRegistry, br blocks.BlockRegistry) error {
return Register(tr, br)
},
Assets: func() http.Handler { return AssetsHandler() },
Schemas: func() fs.FS { return Schemas() },
ThemePresets: func() []byte { return ThemePresets() },
BundledFonts: func() []byte { return BundledFonts() },
MasterPages: func() []plugin.MasterPageDefinition { return DefaultMasterPages() },
CSSManifest: func() *plugin.CSSManifest { return ThemeCSSManifest() },
Assets: func() http.Handler { return AssetsHandler() },
Schemas: func() fs.FS { return Schemas() },
ThemePresets: func() []byte { return ThemePresets() },
BundledFonts: func() []byte { return BundledFonts() },
MasterPages: func() []plugin.MasterPageDefinition { return DefaultMasterPages() },
CSSManifest: func() *plugin.CSSManifest { return ThemeCSSManifest() },
RequiredIconPacks: plugin.ParseRequiredIconPacks(pluginModBytes),
}