File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -551,8 +551,13 @@ function main() {
551551 const jsonOutput = args . includes ( '--json' )
552552
553553 const rootDir = path . resolve ( __dirname , '..' )
554- const frontendDir = path . join ( rootDir , 'apps/frontend/src' )
555- const appFrontendDir = path . join ( rootDir , 'apps/app-frontend/src' )
554+
555+ // Directories to scan for Vue files
556+ const scanDirs = [
557+ 'apps/frontend/src' ,
558+ 'apps/app-frontend/src' ,
559+ 'packages/ui/src' ,
560+ ]
556561
557562 if ( ! jsonOutput ) {
558563 console . log ( )
@@ -561,12 +566,11 @@ function main() {
561566
562567 const allFiles : string [ ] = [ ]
563568
564- if ( fs . existsSync ( frontendDir ) ) {
565- allFiles . push ( ...findVueFiles ( frontendDir ) )
566- }
567-
568- if ( fs . existsSync ( appFrontendDir ) ) {
569- allFiles . push ( ...findVueFiles ( appFrontendDir ) )
569+ for ( const dir of scanDirs ) {
570+ const fullPath = path . join ( rootDir , dir )
571+ if ( fs . existsSync ( fullPath ) ) {
572+ allFiles . push ( ...findVueFiles ( fullPath ) )
573+ }
570574 }
571575
572576 if ( ! jsonOutput ) {
You can’t perform that action at this time.
0 commit comments