@@ -5,6 +5,7 @@ import type { GeneratorFile } from "./generators/generator.js";
55import { logger } from "./logger.js" ;
66
77export type Config = {
8+ // Generated using `/dev/generate-generators-type.js`:
89 generators ?: {
910 "acceptance-test" ?: {
1011 // Copy the generated acceptance-test to the clipboard, instead of writing it to disk:
@@ -31,6 +32,8 @@ export type Config = {
3132 destroy ?: boolean ;
3233 // Log the generated component to the console, instead of writing it to disk:
3334 log ?: boolean ;
35+ // Generate a named export, instead of a default export:
36+ namedExport ?: boolean ;
3437 // Generate a nested colocated component, e.g. `foo/bar/index.gts`:
3538 nested ?: boolean ;
3639 // Generate a component at a custom path, e.g. `--path=src/-private`:
@@ -95,6 +98,8 @@ export type Config = {
9598 destroy ?: boolean ;
9699 // Log the generated helper to the console, instead of writing it to disk:
97100 log ?: boolean ;
101+ // Generate a named export, instead of a default export:
102+ namedExport ?: boolean ;
98103 // Generate a helper at a custom path, e.g. `--path=src/-private`:
99104 path ?: string ;
100105 // Generate a corresponding helper-test:
@@ -127,6 +132,8 @@ export type Config = {
127132 destroy ?: boolean ;
128133 // Log the generated modifier to the console, instead of writing it to disk:
129134 log ?: boolean ;
135+ // Generate a named export, instead of a default export:
136+ namedExport ?: boolean ;
130137 // Generate a modifier at a custom path, e.g. `--path=src/-private`:
131138 path ?: string ;
132139 // Generate a corresponding modifier-test:
@@ -180,22 +187,6 @@ export type Config = {
180187 // Generate a `.ts` route-test, instead of a `.js` route-test:
181188 typescript ?: boolean ;
182189 } ;
183- template ?: {
184- // Generate a `class-based` template, instead of a `template-only` template:
185- classBased ?: boolean ;
186- // Copy the generated template to the clipboard, instead of writing it to disk:
187- copy ?: boolean ;
188- // The current working directory to run the template generator in:
189- cwd ?: string ;
190- // Destroy a template by name:
191- destroy ?: boolean ;
192- // Log the generated template to the console, instead of writing it to disk:
193- log ?: boolean ;
194- // Generate a template at a custom path, e.g. `--path=src/-private`:
195- path ?: string ;
196- // Generate a `.gts` template, instead of a `.gjs` template:
197- typescript ?: boolean ;
198- } ;
199190 service ?: {
200191 // Copy the generated service to the clipboard, instead of writing it to disk:
201192 copy ?: boolean ;
@@ -226,6 +217,22 @@ export type Config = {
226217 // Generate a `.ts` service-test, instead of a `.js` service-test:
227218 typescript ?: boolean ;
228219 } ;
220+ template ?: {
221+ // Generate a `class-based` template, instead of a `template-only` template:
222+ classBased ?: boolean ;
223+ // Copy the generated template to the clipboard, instead of writing it to disk:
224+ copy ?: boolean ;
225+ // The current working directory to run the template generator in:
226+ cwd ?: string ;
227+ // Destroy a template by name:
228+ destroy ?: boolean ;
229+ // Log the generated template to the console, instead of writing it to disk:
230+ log ?: boolean ;
231+ // Generate a template at a custom path, e.g. `--path=src/-private`:
232+ path ?: string ;
233+ // Generate a `.gts` template, instead of a `.gjs` template:
234+ typescript ?: boolean ;
235+ } ;
229236 util ?: {
230237 // Copy the generated util to the clipboard, instead of writing it to disk:
231238 copy ?: boolean ;
@@ -235,6 +242,8 @@ export type Config = {
235242 destroy ?: boolean ;
236243 // Log the generated util to the console, instead of writing it to disk:
237244 log ?: boolean ;
245+ // Generate a named export, instead of a default export:
246+ namedExport ?: boolean ;
238247 // Generate a util at a custom path, e.g. `--path=src/-private`:
239248 path ?: string ;
240249 // Generate a corresponding util-test:
0 commit comments