feat(plugin-js-packages): add setup wizard binding#1274
feat(plugin-js-packages): add setup wizard binding#1274hanna-skryl wants to merge 3 commits intomainfrom
Conversation
|
View your CI Pipeline Execution ↗ for commit e3f1240
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/nx-plugin
@code-pushup/models
@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 d46999d with previous commit 89b6f1c. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👎 3 groups regressed, 👍 3 audits improved, 👎 7 audits regressed, 15 audits changed without impacting score🗃️ Groups
31 other groups are unchanged. 🛡️ Audits
653 other audits are unchanged. |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit d46999d with previous commit 89b6f1c. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟡 86 | 🟡 87 | |
| Documentation | 🟡 64 | 🟡 64 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed, 2 audits changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟡 86 | 🟡 87 | |
| JSDocs coverage | Documentation coverage | 🟡 64 | 🟡 64 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Function coverage | 🟨 81.5 % | 🟨 83.6 % | |
| Code coverage | Line coverage | 🟨 85.8 % | 🟨 87.3 % | |
| JSDocs coverage | Functions coverage | 🟥 45 undocumented functions | 🟥 50 undocumented functions | |
| Code coverage | Branch coverage | 🟩 95 % | 🟩 95 % | |
| JSDocs coverage | Variables coverage | 🟥 31 undocumented variables | 🟥 40 undocumented variables | |
| JSDocs coverage | Types coverage | 🟥 44 undocumented types | 🟥 45 undocumented types |
438 other audits are unchanged.
💼 Project plugin-eslint
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Documentation | 🟡 67 | 🟡 66 | |
| Code coverage | 🟢 95 | 🟢 95 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 2 audits improved, 👎 1 audit regressed, 1 audit changed without impacting score
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| JSDocs coverage | Documentation coverage | 🟡 67 | 🟡 66 | |
| Code coverage | Code coverage metrics | 🟢 95 | 🟢 95 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDocs coverage | Functions coverage | 🟥 50 undocumented functions | 🟥 52 undocumented functions | |
| Code coverage | Line coverage | 🟩 95.5 % | 🟩 95.6 % | |
| Code coverage | Branch coverage | 🟨 87.1 % | 🟨 87.2 % | |
| JSDocs coverage | Types coverage | 🟥 15 undocumented types | 🟥 16 undocumented types |
440 other audits are unchanged.
💼 Project utils
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 95 | 🟢 94 | |
| Documentation | 🟡 61 | 🟡 61 |
4 other categories are unchanged.
👍 1 group improved, 👎 1 group regressed, 👍 1 audit improved, 👎 2 audits regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 95 | 🟢 94 | |
| JSDocs coverage | Documentation coverage | 🟡 61 | 🟡 61 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| JSDocs coverage | Functions coverage | 🟥 255 undocumented functions | 🟥 255 undocumented functions | |
| Code coverage | Function coverage | 🟩 95.7 % | 🟩 95.1 % | |
| Code coverage | Line coverage | 🟩 97.7 % | 🟩 97.4 % |
441 other audits are unchanged.
💼 Project plugin-coverage
🤨 Code PushUp report has both improvements and regressions.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 93 | 🟢 94 | |
| Documentation | 🟡 68 | 🟡 68 |
4 other categories are unchanged.
👍 2 groups improved, 👍 2 audits improved, 👎 1 audit regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 93 | 🟢 94 | |
| JSDocs coverage | Documentation coverage | 🟡 68 | 🟡 68 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Branch coverage | 🟨 89.7 % | 🟩 90.3 % | |
| Code coverage | Line coverage | 🟩 91 % | 🟩 91.3 % | |
| Code coverage | Function coverage | 🟩 95.7 % | 🟩 95.6 % |
441 other audits are unchanged.
10 other projects are unchanged.
Closes #1255
JS Packages plugin binding for the setup wizard. Auto-detects the package manager from the
packageManagerfield inpackage.jsonor lock files, falling back to npm. Prompts for package manager, checks (audit/outdated), dependency groups (prod/dev/optional), and category generation.Refactors:
answerString,answerArray, andanswerBooleaninto shared utilities to standardize prompt answer parsing across bindings.pluginInitfrom a singlestringtostring[]to fix a multiline indentation bug in generated config files.