Versions in this module Expand all Collapse all v0 v0.3.0 Oct 19, 2026 Changes in this version + var DefaultRegistry = Registry + var ErrContractNotPublished = errors.New("contract is not published on umono.dev") + var ErrExists = errors.New("already exists") + var ErrInvalidContractRef = errors.New("invalid contract reference") + var ErrNotThemeProject = errors.New("not a theme project: theme.toml is missing") + var ErrRegistryUnreachable = errors.New("umono.dev is unreachable") + func Create(dir string, m Manifest) (err error) + func EnsureContract(ctx context.Context, projectDir, ref string, r Registry) (string, error) + func Render(m Manifest) []byte + func RenderBuilt(m themecore.Manifest, version int, at time.Time) []byte + type BuildResult struct + Path string + PreservedComment bool + Report themecore.BuildReport + func Build(ctx context.Context, dir string, r Registry, now time.Time) (BuildResult, error) + type Manifest struct + AuthorName string + AuthorURL string + Contract string + Description string + Homepage string + ID string + License string + Name string + Repository string + Version string + func (m Manifest) Validate() error + type Registry struct + BaseURL string + Client *http.Client