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 {
36
36
this . result ?. count ,
37
37
this . result ?. count === 1 ? "package" : "packages"
38
38
) ;
39
+
40
+ process . exit ( 0 ) ;
39
41
}
40
42
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ npx nx run-many -t build
20
20
npm install
21
21
22
22
# 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)" )
24
24
25
25
for packageLocation in " ${packageLocations[@]} " ; do
26
26
newLocation=$( echo " ./dist/${packageLocation# ${workspaceRoot} / } /" )
You can’t perform that action at this time.
0 commit comments