Skip to content

bertdeblock/generate-template-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6cdaf17 · Oct 21, 2024

History

39 Commits
Feb 27, 2024
Mar 1, 2024
Oct 21, 2024
Oct 21, 2024
Feb 27, 2024
Feb 27, 2024
Feb 29, 2024
Oct 21, 2024
Feb 27, 2024
Mar 6, 2024
Oct 21, 2024
Oct 21, 2024
Oct 21, 2024
Feb 27, 2024
Feb 27, 2024

Repository files navigation

@bertdeblock/generate-template-registry

CI NPM Version

Generate a template registry for Glint.

Usage

cd your/app-or-addon/path

and

npx @bertdeblock/generate-template-registry@latest

or

pnpx @bertdeblock/generate-template-registry@latest

or

bunx @bertdeblock/generate-template-registry@latest

Options

--path

Generate a template registry at a custom path.

npx @bertdeblock/generate-template-registry@latest --path="app/glint/template-registry.ts"

--include-curly-component-invocations

Generate a template registry including curly component invocations. By default, curly component invocations are not included.

npx @bertdeblock/generate-template-registry@latest --include-curly-component-invocations

Caveats

  • If your app or addon has components, helpers or modifiers with the same name, duplicate template registry entries will be generated, which will need to be fixed manually