File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -36,5 +36,7 @@ export class ListCommand extends Command {
3636      this . result ?. count , 
3737      this . result ?. count  ===  1  ? "package"  : "packages" 
3838    ) ; 
39+ 
40+     process . exit ( 0 ) ; 
3941  } 
4042} 
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ npx nx run-many -t build
2020npm install
2121
2222#  Resolve the packages using lerna itself
23- IFS=$' \n '   read  -d ' '   -a packageLocations <  <( (node -e ' const fs = require("fs"); const pkgs = JSON.parse(fs.readFileSync(0, "utf-8")); for (const p of pkgs) { console.log(p.location); }'  ) <<< " $(NX_DAEMON=false  npx lerna list --json)" ) 
23+ IFS=$' \n '   read  -d ' '   -a packageLocations <  <( (node -e ' const fs = require("fs"); const pkgs = JSON.parse(fs.readFileSync(0, "utf-8")); for (const p of pkgs) { console.log(p.location); }'  ) <<< " $(npx lerna list --json)" ) 
2424
2525for  packageLocation  in  " ${packageLocations[@]} " ;  do 
2626  newLocation=$( echo " ./dist/${packageLocation# ${workspaceRoot} / } /" ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments