Please verify the version of wc-generator you have installed
4.6.2
Please describe the bug
All partial files are currently using the old [name] style syntax for replacing components. The auro-library documentation processor now supports handlebars, so these should be updated where possible. These custom bracket variables are harder to notice and less extensible than handlebars variables, and contain a lot of reused "copy paste" code snippets - a problem that has been solved in handlebars for probably a decade :)
For example, [namespace]-[name] is used A LOT in these files to get auro-flight type outputs. In the new Handlebars templating we can do {{ withAuroNamespace name }} to deduplicate the structuring. We can even theoretically get a whole CDN url just from a name like {{ withCdnUrl name }} since the prefix keywords are custom JavaScript function definitions.
The partials are in componentDocs/partials/ as that's where the README is pointing in each REMOTE: block.
Reproducing the error
None
Expected behavior
No legacy [name] variables should be used in production templates anymore.
What browsers are you seeing the problem on?
No response
Additional context
This does not need to be done right now, but should be done eventually.
Exit criteria
No response
Please verify the version of wc-generator you have installed
4.6.2
Please describe the bug
All partial files are currently using the old
[name]style syntax for replacing components. Theauro-librarydocumentation processor now supports handlebars, so these should be updated where possible. These custom bracket variables are harder to notice and less extensible than handlebars variables, and contain a lot of reused "copy paste" code snippets - a problem that has been solved in handlebars for probably a decade :)For example,
[namespace]-[name]is used A LOT in these files to getauro-flighttype outputs. In the new Handlebars templating we can do{{ withAuroNamespace name }}to deduplicate the structuring. We can even theoretically get a whole CDN url just from a name like{{ withCdnUrl name }}since the prefix keywords are custom JavaScript function definitions.The partials are in
componentDocs/partials/as that's where the README is pointing in eachREMOTE:block.Reproducing the error
None
Expected behavior
No legacy
[name]variables should be used in production templates anymore.What browsers are you seeing the problem on?
No response
Additional context
This does not need to be done right now, but should be done eventually.
Exit criteria
No response