Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginGoTypesJenny ¶
func PluginGoTypesJenny(root string) codejen.OneToOne[*pfs.PluginDecl]
TODO this is duplicative of other Go type jennies. Remove it in favor of a better-abstracted version in thema itself
func PluginTSTypesJenny ¶
func PluginTSTypesJenny(root string) codejen.OneToMany[*pfs.PluginDecl]
Types ¶
type PackageJSON ¶
type PackageJSON struct {
Version string `json:"version"`
}
func OpenPackageJSON ¶
func OpenPackageJSON(dir string) (PackageJSON, error)
Opens the package.json file in the provided directory and returns a struct that represents its contents
type PluginRegistryJenny ¶
type PluginRegistryJenny struct { }
func (*PluginRegistryJenny) Generate ¶
func (jenny *PluginRegistryJenny) Generate(decls ...*pfs.PluginDecl) (*codejen.File, error)
func (*PluginRegistryJenny) JennyName ¶
func (jenny *PluginRegistryJenny) JennyName() string
Click to show internal directories.
Click to hide internal directories.