feat(create-cli): add plugin selection step#1261
Conversation
|
View your CI Pipeline Execution ↗ for commit 2507d65
☁️ 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/axe-plugin
@code-pushup/nx-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 88cd311 with previous commit cbf25c7. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👍 2 groups improved, 👎 1 group regressed, 👍 6 audits improved, 👎 7 audits regressed, 17 audits changed without impacting score🗃️ Groups
31 other groups are unchanged. 🛡️ Audits
648 other audits are unchanged. |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit 88cd311 with previous commit cbf25c7. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🔴 21 | 🔴 24 | |
| Code coverage | 🟢 98 | 🟢 98 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| JSDocs coverage | Documentation coverage | 🔴 21 | 🔴 24 | |
| Code coverage | Code coverage metrics | 🟢 98 | 🟢 98 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDocs coverage | Functions coverage | 🟥 20 undocumented functions | 🟥 20 undocumented functions | |
| JSDocs coverage | Types coverage | 🟥 14 undocumented types | 🟥 13 undocumented types | |
| Code coverage | Branch coverage | 🟩 94.6 % | 🟩 94 % | |
| Code coverage | Line coverage | 🟩 99.1 % | 🟩 99.2 % | |
| JSDocs coverage | Variables coverage | 🟥 9 undocumented variables | 🟥 10 undocumented variables |
438 other audits are unchanged.
💼 Project plugin-lighthouse
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
All of 6 categories are unchanged.
1 audit changed without impacting score
🗃️ Groups
All of 15 groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟩 98.8 % | 🟩 98.8 % |
443 other audits are unchanged.
12 other projects are unchanged.
f24ae51 to
2507d65
Compare
Closes #1244
A plugin selection prompt is added to the setup wizard. Plugins are resolved by
--pluginsCLI argument,--yesflag (recommended or none), or an interactive checkbox. Plugin bindings may optionally provide anisRecommendedcallback to control pre-selection. The actual bindings and their detection logic are out of scope. This PR only introduces the general mechanism.