@bertdeblock/generate-template-registry
v0.3.0
Published
Generate a template registry for Glint.
Readme
@bertdeblock/generate-template-registry
Generate a template registry for Glint.
Usage
cd your/app-or-addon/pathand
npx @bertdeblock/generate-template-registry@latestor
pnpx @bertdeblock/generate-template-registry@latestor
bunx @bertdeblock/generate-template-registry@latestOptions
--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-invocationsCaveats
- 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
