File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,8 @@ export function pkgFromUserAgent(userAgent: string | undefined) {
128128 version : pkgSpecArr [ 1 ] ,
129129 } ;
130130}
131+
132+ export interface TemplateOptions {
133+ projectName : string ;
134+ framework : string ;
135+ }
Original file line number Diff line number Diff line change @@ -2,25 +2,21 @@ import path from "node:path";
22import { fileURLToPath } from "node:url" ;
33
44import type { CAC } from "cac" ;
5- import {
6- ACTIVATION ,
7- fileIgnore ,
8- FRAMEWORKS ,
9- loggerInfo ,
10- TemplateOptions ,
11- } from "code-genius" ;
5+ import { ACTIVATION , fileIgnore , loggerInfo } from "code-genius" ;
126import enquirer from "enquirer" ;
137import fs from "fs-extra" ;
148
159import {
1610 emptyDir ,
11+ FRAMEWORKS ,
1712 generateRandom ,
1813 getVariantByFramework ,
1914 isEmptyDir ,
2015 isValidFramework ,
2116 isValidPackageName ,
2217 isValidVariant ,
2318 pkgFromUserAgent ,
19+ TemplateOptions ,
2420 toValidPackageName ,
2521} from "./common" ;
2622
You can’t perform that action at this time.
0 commit comments