@erdoai/cli 0.145.1 → 0.147.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2550,6 +2550,10 @@ function printPageReview(review) {
2550
2550
  console.error(
2551
2551
  ` lighthouse (mobile): performance ${score(review.lighthouse.performance)}, accessibility ${score(review.lighthouse.accessibility)}, best practices ${score(review.lighthouse.best_practices)}, seo ${score(review.lighthouse.seo)}`
2552
2552
  );
2553
+ for (const opportunity of review.lighthouse.performance_opportunities || []) {
2554
+ const detail = opportunity.display_value ? ` (${opportunity.display_value})` : "";
2555
+ console.error(` ${opportunity.title || opportunity.id}${detail}`);
2556
+ }
2553
2557
  }
2554
2558
  for (const issue of review.issues || []) {
2555
2559
  console.error(` [${issue.severity}/${issue.category}] ${issue.description}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.145.1",
3
+ "version": "0.147.0",
4
4
  "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {