File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ spinner.add({
3333 if ( typeof userConfig === 'function' ) {
3434 const args = minimist ( process . argv . slice ( 2 ) , { alias : { env : [ 'e' ] } } ) ;
3535 const env = args [ 'env' ] || process . env [ 'NODE_ENV' ] || 'development' ;
36- task . title += ` [ ${ colors . green ( env ) } ] ` ;
36+ task . title += ` ${ colors . gray ( env ) } ` ;
3737 ctx . configs = toArray ( await userConfig ( env ) ) ;
3838 } else {
3939 ctx . configs = toArray ( userConfig ) ;
@@ -102,8 +102,9 @@ spinner.add({
102102} ) ;
103103
104104spinner . add ( {
105- title : '写入@aomex/openapi-client' ,
106- task : async ( ctx ) => {
105+ title : '写入npm包' ,
106+ task : async ( ctx , task ) => {
107+ task . title += ` import { ${ Object . keys ( ctx . projects ) . join ( ', ' ) } } from 'foca-openapi'` ;
107108 const root = path . dirname ( path . dirname ( fileURLToPath ( import . meta. url ) ) ) ;
108109 const jsContent = Object . values ( ctx . projects )
109110 . map ( ( { js } ) => js )
You can’t perform that action at this time.
0 commit comments