Init demo GIF logging improvements
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Noticed this in #2459, but consola is using it's basic formatter in the GIF... so it's logging [log] and [info] instead of no prefix and i, respectively.
https://github.com/wxt-dev/wxt/blob/e5ef936/docs/assets/init-demo.gif
This is probably because the GIF is generated by the github action, and consola sees it's a CI environment, so it doesn't use the pretty formatter, uses basic instead.
Not sure how to override this, but I'd prefer we use the pretty logger for the GIF
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the GitHub Action or script that generates docs/assets/init-demo.gif, then trace how consola selects its formatter in that environment. Regenerate the GIF and verify that the output uses the pretty logger, with no [log] prefix and an i for info.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, documentation, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100