Templates And Catalog
Templates And Catalog
Section titled “Templates And Catalog”Templates create starter projects, while the catalog maps stable names to versioned packages.
Status: current Audience: template users, catalog curators, and agents Use when: you need to understand templates, catalogs, package provenance, or copy behavior.
Templates create starter projects. The catalog maps stable names to versioned packages.
Discover
Section titled “Discover”topogram template listtopogram copy --listtopogram catalog listtopogram catalog show hello-webCreate from a template
Section titled “Create from a template”topogram copy hello-web ./my-apptopogram copy todo ./todo-apptopogram copy @scope/template-package ./my-apptopogram copy ../local-template ./my-apptopogram copy copies template files, writes project metadata, and installs no
package lifecycle scripts. If a template includes executable implementation/
code, the generated project records trust metadata. Generation can be blocked
until that implementation is reviewed and trusted.
Template-created projects use template metadata, not pure Topogram source provenance. Use:
topogram template explaintopogram template statustopogram trust statusGenerated projects may contain .topogram-template-files.json as the reviewed
template baseline. They normally do not contain .topogram-source.json; that
file belongs to pure Topogram catalog copies.
Copy a pure Topogram
Section titled “Copy a pure Topogram”topogram copy hello ./hello-topogramcd ./hello-topogramtopogram source status --localtopogram checkPure Topogram packages contain source for editing. They do not contain
executable implementation/ code. catalog copy records .topogram-source.json
so topogram source status --local can compare the copied files against their
catalog package source.
Health
Section titled “Health”topogram doctortopogram catalog doctortopogram source status --localtopogram source status --remotePublic @topogram/* packages install from npmjs. Private package consumers use
their registry’s normal npm auth.