@@ -134,7 +134,8 @@ export class ModulesView implements vscode.WebviewViewProvider {
134134 logger : true
135135 } )
136136 } else {
137- newTerminal ( `${ script } ` , `yarn ${ script } ` , `${ projectRootDirectory ( ) } ` )
137+ const command = script . charAt ( 0 ) . toUpperCase ( ) + script . slice ( 1 )
138+ newTerminal ( `Project: ${ command } ` , `yarn ${ script } ` , `${ projectRootDirectory ( ) } ` )
138139 }
139140 break
140141 case 'NPM' :
@@ -147,7 +148,8 @@ export class ModulesView implements vscode.WebviewViewProvider {
147148 logger : true
148149 } )
149150 } else {
150- newTerminal ( `${ script } ` , `npm run ${ script } ` , `${ projectRootDirectory ( ) } ` )
151+ const command = script . charAt ( 0 ) . toUpperCase ( ) + script . slice ( 1 )
152+ newTerminal ( `Project: ${ command } ` , `npm run ${ script } ` , `${ projectRootDirectory ( ) } ` )
151153 }
152154 break
153155 case 'pnpm' :
@@ -160,7 +162,8 @@ export class ModulesView implements vscode.WebviewViewProvider {
160162 logger : true
161163 } )
162164 } else {
163- newTerminal ( `${ script } ` , `pnpm ${ script } ` , `${ projectRootDirectory ( ) } ` )
165+ const command = script . charAt ( 0 ) . toUpperCase ( ) + script . slice ( 1 )
166+ newTerminal ( `Project: ${ command } ` , `pnpm ${ script } ` , `${ projectRootDirectory ( ) } ` )
164167 }
165168 break
166169 case 'Bun' :
@@ -173,7 +176,8 @@ export class ModulesView implements vscode.WebviewViewProvider {
173176 logger : true
174177 } )
175178 } else {
176- newTerminal ( `${ script } ` , `bun ${ script } ` , `${ projectRootDirectory ( ) } ` )
179+ const command = script . charAt ( 0 ) . toUpperCase ( ) + script . slice ( 1 )
180+ newTerminal ( `Project: ${ command } ` , `bun ${ script } ` , `${ projectRootDirectory ( ) } ` )
177181 }
178182 break
179183 default :
0 commit comments