Skip to content

Commit

Permalink
chore: update listr2 (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj authored Sep 24, 2023
1 parent 0a098b9 commit 413c8d9
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 667 deletions.
15 changes: 10 additions & 5 deletions bin/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ const tasks = new Listr(
});
return task.newListr(tasks, {
concurrent: true,
rendererOptions: { collapse: false },
rendererOptions: { collapseSubtasks: false },
});
},
},
Expand Down Expand Up @@ -438,7 +438,7 @@ const tasks = new Listr(
});
return task.newListr(tasks, {
concurrent: true,
rendererOptions: { collapse: false },
rendererOptions: { collapseSubtasks: false },
});
},
},
Expand Down Expand Up @@ -611,7 +611,7 @@ const tasks = new Listr(
pathAndFileNameDefaultCase:
'(snakeCase)',
},
async onComplete(results) {
onComplete(results) {
finalFileNames.push(
results.output.path,
);
Expand Down Expand Up @@ -648,7 +648,9 @@ const tasks = new Listr(
});
return task.newListr(tasks, {
concurrent: true,
rendererOptions: { collapse: false },
rendererOptions: {
collapseSubtasks: false,
},
});
},
},
Expand Down Expand Up @@ -678,7 +680,10 @@ const tasks = new Listr(
{
concurrent: false,
exitOnError: false,
rendererOptions: { collapse: false, collapseErrors: false },
rendererOptions: {
collapseSubtasks: false,
collapseErrors: false,
},
},
);

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"execa": "^8.0.1",
"generate-template-files": "^3.2.0",
"generate-template-files": "^3.2.1",
"hast-util-to-html": "^9.0.0",
"listr2": "^3.12.2",
"listr2": "^7.0.1",
"prettier": "^3.0.3",
"semver": "^7.5.4",
"svg-parser": "^2.0.4"
Expand Down
Loading

0 comments on commit 413c8d9

Please sign in to comment.