Skip to content

feat(create-cli): add plugin selection step#1261

Merged
hanna-skryl merged 3 commits intomainfrom
plugin-selection-step
Mar 4, 2026
Merged

feat(create-cli): add plugin selection step#1261
hanna-skryl merged 3 commits intomainfrom
plugin-selection-step

Conversation

@hanna-skryl
Copy link
Collaborator

@hanna-skryl hanna-skryl commented Mar 3, 2026

Closes #1244

A plugin selection prompt is added to the setup wizard. Plugins are resolved by --plugins CLI argument, --yes flag (recommended or none), or an interactive checkbox. Plugin bindings may optionally provide an isRecommended callback to control pre-selection. The actual bindings and their detection logic are out of scope. This PR only introduces the general mechanism.

@hanna-skryl hanna-skryl self-assigned this Mar 3, 2026
@nx-cloud
Copy link

nx-cloud bot commented Mar 3, 2026

View your CI Pipeline Execution ↗ for commit 2507d65

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 6s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 35s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 13m 39s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 2m 3s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-04 14:24:00 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2026

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1261

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1261

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1261

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1261

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1261

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1261

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1261

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1261

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1261

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1261

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1261

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1261

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1261

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1261

commit: 2507d65

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

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

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 37 🔴 35 ↓ −2
Documentation 🟡 52 🟡 52 ↑ +0.1
Code coverage 🟢 93 🟢 93 ↑ +0.1
Bug prevention 🟡 75 🟡 75 ↓ −0.1
Axe Accessibility 🟡 88 🟡 88 ↓ −0.1
Code style 🟢 100 🟢 100
Security 🔴 0 🔴 0
Updates 🟡 73 🟡 73
Type Safety 🟡 67 🟡 67
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟢 92 🟢 92
👍 2 groups improved, 👎 1 group regressed, 👍 6 audits improved, 👎 7 audits regressed, 17 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 37 🔴 35 ↓ −2
JSDocs coverage Documentation coverage 🟡 52 🟡 52 ↑ +0.1
Code coverage Code coverage metrics 🟢 93 🟢 93 ↑ +0.1

31 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Elements with visible text labels have matching accessible names. 🟥 failed 🟩 passed ↑ +∞ %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 3.4 s ↑ +5.8 %
Lighthouse Max Potential First Input Delay 🟥 440 ms 🟥 530 ms ↑ +20.1 %
Lighthouse Speed Index 🟥 6.1 s 🟥 6.3 s ↑ +3.8 %
Lighthouse Time to Interactive 🟥 12.8 s 🟥 13.9 s ↑ +8.4 %
Lighthouse Total Blocking Time 🟥 1,910 ms 🟥 2,230 ms ↑ +16.5 %
Lighthouse Largest Contentful Paint 🟥 8.4 s 🟥 11.1 s ↑ +31.6 %
JSDocs coverage Functions coverage 🟥 598 undocumented functions 🟥 598 undocumented functions  +0 %
JSDocs coverage Types coverage 🟥 278 undocumented types 🟥 277 undocumented types ↓ −0.4 %
JSDocs coverage Variables coverage 🟥 278 undocumented variables 🟥 279 undocumented variables ↑ +0.4 %
Code coverage Line coverage 🟩 92.8 % 🟩 92.8 % ↑ +0.1 %
Code coverage Function coverage 🟩 94.6 % 🟩 94.6 % ↑ +0.1 %
Code coverage Branch coverage 🟨 89.2 % 🟨 89.2 % ↑ +0.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,137 KiB 🟩 Total size was 2,393 KiB ↑ +12 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +8.4 %
Lighthouse Server Backend Latencies 🟩 310 ms 🟩 1,300 ms ↑ +320.6 %
Lighthouse Minimizes main-thread work 🟥 10.0 s 🟥 10.7 s ↑ +6.8 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 257 KiB 🟥 Potential savings of 343 KiB ↑ +47.9 %
Lighthouse JavaScript execution time 🟥 3.6 s 🟥 3.8 s ↑ +5.2 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 81 KiB 🟥 Potential savings of 94 KiB ↓ −50 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↓ −0.1 %
Lighthouse Initial server response time was short 🟩 Root document took 560 ms 🟩 Root document took 500 ms ↓ −11.2 %
Lighthouse Avoids an excessive DOM size 🟥 2,372 elements 🟥 2,345 elements ↓ −1.1 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 110 KiB 🟥 Potential savings of 111 KiB ↓ −2.1 %
Axe ARIA hidden element must not be focusable or contain focusable elements 🟩 203 elements 🟩 194 elements ↓ −4.4 %
Axe Inline text spacing must be adjustable with custom stylesheets 🟩 42 elements 🟩 50 elements ↑ +19 %
Lighthouse Network Round Trip Times 🟩 60 ms 🟩 50 ms ↓ −9.5 %
JS packages Vulnerabilities for npm dev dependencies. 🟥 59 vulnerabilities (3 critical, 41 high, 11 moderate, 4 low) 🟥 61 vulnerabilities (3 critical, 39 high, 12 moderate, 7 low) ↑ +3.4 %
Lighthouse Document has a valid rel=canonical 🟩 passed 🟩 0 ↓ −100 %
Axe IDs used in ARIA and labels must be unique 🟩 28 elements 🟩 27 elements ↓ −3.6 %

648 other audits are unchanged.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 88cd311 with previous commit cbf25c7.

💼 Project create-cli

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Documentation 🔴 21 🔴 24 ↑ +2.9
Code coverage 🟢 98 🟢 98 ↓ −0.2

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 ↑ +2.9
Code coverage Code coverage metrics 🟢 98 🟢 98 ↓ −0.2

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Functions coverage 🟥 20 undocumented functions 🟥 20 undocumented functions  +0 %
JSDocs coverage Types coverage 🟥 14 undocumented types 🟥 13 undocumented types ↓ −7.1 %
Code coverage Branch coverage 🟩 94.6 % 🟩 94 % ↓ −0.6 %
Code coverage Line coverage 🟩 99.1 % 🟩 99.2 % ↑ +0.2 %
JSDocs coverage Variables coverage 🟥 9 undocumented variables 🟥 10 undocumented variables ↑ +11.1 %

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 % ↓ −0.1 %

443 other audits are unchanged.


12 other projects are unchanged.

@hanna-skryl hanna-skryl marked this pull request as ready for review March 3, 2026 19:31
@hanna-skryl hanna-skryl requested a review from matejchalk March 3, 2026 19:31
@hanna-skryl hanna-skryl force-pushed the plugin-selection-step branch from f24ae51 to 2507d65 Compare March 4, 2026 14:06
@hanna-skryl hanna-skryl merged commit 0bc2003 into main Mar 4, 2026
25 checks passed
@hanna-skryl hanna-skryl deleted the plugin-selection-step branch March 4, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select plugins in setup wizard

2 participants