<@U06V253M4> how does one go about registering or ...
# box-products
p
@bdw429s how does one go about registering or requesting a new type in ForgeBox. I've built some CFWheels templates (skeletons) and would like to change their type from "mvc" to "CFWheels Templates" or "CFWheels Skeletons". Is this possible?
b
@Peter Amiri Some package types have semantic meaning that changes how they install. In fact, custom CommandBox modules can intercept installation of certain package types to override how they work such as enforcing conventions like where they install to.
Other than that, the package type names are just window dressing
We use the generic
mvc
type for our ColdBox templates since the type doesn't matter much there, but I see we did adda "Preside Skeletons" category for the Pixl8 team
So I don't see why we couldn't one for CFWheels templates
There isn't an official process outside of you telling me what you want it being called, and I put it into our DB šŸ™‚
A type has two parts • slug (no spaces, etc) • name (human readable) And you just match the slug in the
type
property of your
box.json
And historically, we've used the plural form of the word. i.e module*s*, demo*s*, engine*s*, etc
p
LOL, lets use cfwheels-templates as the slug and CFWheels Templates as the name.
b
It's funny-- preside used "skeltons". In ColdBox, we used "templates" in the repo names, but the
coldbox create app
command uses
skeleton
as the param name
Nothing beats consistency, huh? šŸ˜†
As soon as you publish your first one, it should show up there
p
thanks