refactor(create-cli): group plugin prompts and standardize wizard output#1281
refactor(create-cli): group plugin prompts and standardize wizard output#1281hanna-skryl wants to merge 4 commits intomainfrom
Conversation
|
View your CI Pipeline Execution ↗ for commit fd03964
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit c1981d8 with previous commit 1ab9f27. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👍 1 group improved, 👎 2 groups regressed, 👍 4 audits improved, 👎 4 audits regressed, 15 audits changed without impacting score🗃️ Groups
31 other groups are unchanged. 🛡️ Audits
655 other audits are unchanged. |
cb13678 to
73e28cc
Compare
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit c1981d8 with previous commit 1ab9f27. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 91 | 🟢 90 | |
| Documentation | 🔴 23 | 🔴 23 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 1 audit improved, 👎 3 audits regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 91 | 🟢 90 | |
| JSDocs coverage | Documentation coverage | 🔴 23 | 🔴 23 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟩 90 % | 🟨 89.8 % | |
| JSDocs coverage | Functions coverage | 🟥 56 undocumented functions | 🟥 55 undocumented functions | |
| Code coverage | Function coverage | 🟩 90.5 % | 🟩 90.4 % | |
| Code coverage | Line coverage | 🟩 92.2 % | 🟩 92.2 % |
439 other audits are unchanged.
💼 Project plugin-lighthouse
🥳 Code PushUp report has improved.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 99 | 🟢 99 | |
| Documentation | 🔴 48 | 🔴 48 |
4 other categories are unchanged.
👍 2 groups improved, 👍 2 audits improved, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 99 | 🟢 99 | |
| JSDocs coverage | Documentation coverage | 🔴 48 | 🔴 48 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟩 98.5 % | 🟩 98.9 % | |
| JSDocs coverage | Variables coverage | 🟥 30 undocumented variables | 🟥 27 undocumented variables | |
| Code coverage | Line coverage | 🟩 99.9 % | 🟩 99.9 % |
441 other audits are unchanged.
💼 Project plugin-js-packages
🥳 Code PushUp report has improved.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟡 87 | 🟡 87 |
5 other categories are unchanged.
👍 1 group improved, 👍 2 audits improved, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟡 87 | 🟡 87 |
14 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟩 95 % | 🟩 95 % | |
| Code coverage | Line coverage | 🟨 87.3 % | 🟨 87.3 % | |
| JSDocs coverage | Types coverage | 🟥 45 undocumented types | 🟥 46 undocumented types |
441 other audits are unchanged.
💼 Project plugin-jsdocs
🥳 Code PushUp report has improved.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 97 | 🟢 97 |
5 other categories are unchanged.
👍 1 group improved, 👍 1 audit improved
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 97 | 🟢 97 |
14 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Line coverage | 🟩 96.6 % | 🟩 96.6 % |
443 other audits are unchanged.
💼 Project plugin-coverage
🥳 Code PushUp report has improved.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🟡 68 | 🟡 68 |
5 other categories are unchanged.
👍 1 group improved
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| JSDocs coverage | Documentation coverage | 🟡 68 | 🟡 68 |
14 other groups are unchanged.
🛡️ Audits
All of 444 audits are unchanged.
9 other projects are unchanged.
73e28cc to
8049097
Compare
8049097 to
fd03964
Compare
When the setup wizard prompts for multiple plugins in sequence, there’s no visual separation between them. It’s difficult to tell where one plugin’s questions end and another’s begin. This PR adds a bold heading before each plugin's prompts so the user can see which plugin they're configuring at a glance.
Additionally, the Lighthouse binding consolidates its category definitions into a single source of truth, and the JS packages binding includes a silent
detectPackageManagerto prevent noisy logs during prompt resolution. Output spacing between sections is improved.Output