Skip to content

refactor(create-cli): group plugin prompts and standardize wizard output#1281

Open
hanna-skryl wants to merge 4 commits intomainfrom
setup-wizard-improvements
Open

refactor(create-cli): group plugin prompts and standardize wizard output#1281
hanna-skryl wants to merge 4 commits intomainfrom
setup-wizard-improvements

Conversation

@hanna-skryl
Copy link
Copy Markdown
Collaborator

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

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 detectPackageManager to prevent noisy logs during prompt resolution. Output spacing between sections is improved.

Output Screenshot 2026-03-30 at 6 12 26 PM

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Mar 30, 2026

View your CI Pipeline Execution ↗ for commit fd03964

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 5s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 29s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 13m 55s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 1m 48s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-30 23:30:51 UTC

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 30, 2026

Open in StackBlitz

@code-pushup/ci

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

@code-pushup/cli

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

@code-pushup/core

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

@code-pushup/create-cli

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

@code-pushup/models

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

@code-pushup/nx-plugin

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

@code-pushup/axe-plugin

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

@code-pushup/coverage-plugin

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

@code-pushup/eslint-plugin

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

@code-pushup/js-packages-plugin

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

@code-pushup/jsdocs-plugin

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

@code-pushup/lighthouse-plugin

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

@code-pushup/typescript-plugin

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

@code-pushup/utils

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

commit: fd03964

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

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

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 37 🔴 36 ↓ −0.9
Documentation 🟡 51 🟡 51 ↑ +0.1
Code coverage 🟢 92 🟢 92 ↓ −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
👍 1 group improved, 👎 2 groups regressed, 👍 4 audits improved, 👎 4 audits regressed, 15 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 37 🔴 36 ↓ −0.9
JSDocs coverage Documentation coverage 🟡 51 🟡 51 ↑ +0.1
Code coverage Code coverage metrics 🟢 92 🟢 92 ↓ −0.1

31 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Speed Index 🟨 5.7 s 🟥 6.2 s ↑ +8.8 %
Lighthouse First Contentful Paint 🟥 3.1 s 🟥 3.2 s ↑ +4.8 %
Lighthouse Total Blocking Time 🟥 2,200 ms 🟥 2,080 ms ↓ −5.2 %
JSDocs coverage Variables coverage 🟥 334 undocumented variables 🟥 331 undocumented variables ↓ −0.9 %
JSDocs coverage Types coverage 🟥 292 undocumented types 🟥 293 undocumented types ↑ +0.3 %
JSDocs coverage Functions coverage 🟥 671 undocumented functions 🟥 670 undocumented functions ↓ −0.1 %
Code coverage Branch coverage 🟨 89.2 % 🟨 89.2 % ↑ +0.1 %
Code coverage Function coverage 🟩 93.9 % 🟩 93.9 % ↓ −0.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,445 KiB 🟩 Total size was 2,441 KiB ↓ −0.1 %
Lighthouse Minimizes main-thread work 🟥 11.4 s 🟥 10.7 s ↓ −5.4 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↑ +0.1 %
Lighthouse Server Backend Latencies 🟩 640 ms 🟩 250 ms ↓ −60.7 %
Lighthouse Time to Interactive 🟥 14.2 s 🟥 14.5 s ↑ +2.1 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +2.1 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 297 KiB 🟥 Potential savings of 321 KiB ↓ −15.3 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 78 KiB 🟥 Potential savings of 110 KiB ↑ +60 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 102 KiB 🟥 Potential savings of 102 KiB ↓ −30.4 %
Lighthouse Largest Contentful Paint 🟥 13.3 s 🟥 13.1 s ↓ −0.9 %
Lighthouse JavaScript execution time 🟥 3.0 s 🟥 2.9 s ↓ −3 %
Lighthouse Initial server response time was short 🟩 Root document took 450 ms 🟩 Root document took 400 ms ↓ −10.8 %
Lighthouse Max Potential First Input Delay 🟥 1,290 ms 🟥 1,250 ms ↓ −3.6 %
Lighthouse Network Round Trip Times 🟩 10 ms 🟩 30 ms ↑ +154.3 %
Code coverage Line coverage 🟩 92.3 % 🟩 92.3 % ↓ −0.1 %

655 other audits are unchanged.

@hanna-skryl hanna-skryl changed the title refactor(create-cli): polish setup wizard output refactor(create-cli): group plugin prompts and standardize wizard output Mar 30, 2026
@hanna-skryl hanna-skryl force-pushed the setup-wizard-improvements branch from cb13678 to 73e28cc Compare March 30, 2026 21:37
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 30, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit c1981d8 with previous commit 1ab9f27.

💼 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
Code coverage 🟢 91 🟢 90 ↓ −0.1
Documentation 🔴 23 🔴 23 ↑ +0.1

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 ↓ −0.1
JSDocs coverage Documentation coverage 🔴 23 🔴 23 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 90 % 🟨 89.8 % ↓ −0.3 %
JSDocs coverage Functions coverage 🟥 56 undocumented functions 🟥 55 undocumented functions ↓ −1.8 %
Code coverage Function coverage 🟩 90.5 % 🟩 90.4 % ↓ −0.1 %
Code coverage Line coverage 🟩 92.2 % 🟩 92.2 % ↓ −0.1 %

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 ↑ +0.1
Documentation 🔴 48 🔴 48 ↑ +0.1

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 ↑ +0.1
JSDocs coverage Documentation coverage 🔴 48 🔴 48 ↑ +0.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 98.5 % 🟩 98.9 % ↑ +0.4 %
JSDocs coverage Variables coverage 🟥 30 undocumented variables 🟥 27 undocumented variables ↓ −10 %
Code coverage Line coverage 🟩 99.9 % 🟩 99.9 % ↓ −0.1 %

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 ↑ +0.1

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 ↑ +0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 95 % 🟩 95 % ↑ +0.1 %
Code coverage Line coverage 🟨 87.3 % 🟨 87.3 % ↑ +0.1 %
JSDocs coverage Types coverage 🟥 45 undocumented types 🟥 46 undocumented types ↑ +2.2 %

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 ↑ +0.1

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 ↑ +0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Line coverage 🟩 96.6 % 🟩 96.6 % ↑ +0.1 %

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 ↑ +0.1

5 other categories are unchanged.

👍 1 group improved

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JSDocs coverage Documentation coverage 🟡 68 🟡 68 ↑ +0.1

14 other groups are unchanged.

🛡️ Audits

All of 444 audits are unchanged.


9 other projects are unchanged.

@hanna-skryl hanna-skryl force-pushed the setup-wizard-improvements branch from 73e28cc to 8049097 Compare March 30, 2026 22:15
@hanna-skryl hanna-skryl marked this pull request as ready for review March 30, 2026 22:35
@hanna-skryl hanna-skryl force-pushed the setup-wizard-improvements branch from 8049097 to fd03964 Compare March 30, 2026 23:12
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.

1 participant