docs: use consola's fancy reporter in init demo GIF#2485
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2485 +/- ##
==========================================
+ Coverage 79.32% 79.55% +0.22%
==========================================
Files 134 134
Lines 4005 4005
Branches 910 910
==========================================
+ Hits 3177 3186 +9
+ Misses 736 730 -6
+ Partials 92 89 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
@wxt-dev/analytics
@wxt-dev/auto-icons
@wxt-dev/browser
@wxt-dev/i18n
@wxt-dev/is-background
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/runner
@wxt-dev/storage
@wxt-dev/unocss
@wxt-dev/webextension-polyfill
wxt
commit: |
PatrykKuniczak
left a comment
There was a problem hiding this comment.
WAIT WAIT
"the GIF will regenerate on merge" i see, maybe right, GH Actions need to run on target branch.
Let's try it, but you need to fix CSpell issue.
|
@PatrykKuniczak how do we test this? |
|
@nishu-murmu Yeah, i hope. This works only inside this |
|
added consola to the cspell words, should be green now. and yeah @nishu-murmu — the vhs workflow only runs when the tape changes on main, so the gif regenerates after merge. if it still looks off after that I'll follow up. |
Head branch was pushed to by a user without write access
|
And after last commit we need @aklinker1 Approval 🤣 |


Problem
The
wxt initdemo GIF shows consola's basic reporter output ([log]/[info]prefixes) instead of the fancy reporter (no prefix /ℹ).Root cause
initialize.tslogs through consola's default instance, which picks its reporter at import time:std-env reports
isCI: truewheneverGITHUB_ACTIONSis present with any value (CI provider scan), independent ofCI. The vhs recording runs on the GitHub Actions runner, so the ttyd shell inheritsCI=trueandGITHUB_ACTIONS=true→ BasicReporter.Fix
unset CI GITHUB_ACTIONSin the tape's hidden preparation block, beforebunx wxt initruns. A shell-levelunset(rather than vhsEnv) reliably defeats both theenv.CIcheck and the provider scan, and it never appears in the recording.Verification
Reproduced the reporter selection with consola 3.4.2 using the same calls
wxt initmakes:CI=true GITHUB_ACTIONS=true[info] Initializing new project(basic)ℹ Initializing new project(fancy)Since
vhs.ymltriggers on tape changes (and supportsworkflow_dispatch), the GIF will regenerate on merge and can be re-checked there.Fixes #2461