Complete Nx plugin development toolkit: create custom generators, executors, and extend Nx workspaces with reusable automation
76
96%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Use this reference when creating and maintaining generator template files.
files/ in the generator directory..template file suffix for rendered outputs.tmpl: "" in template variables to strip .template suffix.const templateVars = {
...schema,
...names(schema.name),
tmpl: "",
};export const <%= propertyName %> = "<%= name %>";templateVars.tmpl: "" mapping.