FredKSchott / create-snowpack-app

The all-in-one app template for Snowpack. [moved]

Home Page:https://www.snowpack.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[create-snowpack-app] Windows not respecting `chalk.dim`

stramel opened this issue · comments

Windows isn't respecting the chalk.dim characters resulting in very hard to read output.

https://github.com/pikapkg/create-snowpack-app/blob/4a392780ad7c6bd6c5d021e032e89f18c01053e1/packages/create-snowpack-app/index.js#L176-L184

results in

image

I'm not sure if we should just do some indentation or change the format to <command> dim(- <description>). I'm leaning towards the latter

In previous output we also use - to indicate a new line, so something like:

  - yarn install
    Install all dependencies.

  - yarn start
    Start your dev server.

Although I think I like keeping it all on the same line better as well:

  yarn start          Start your dev server.
  yarn build          Build your website.
  yarn test           Run your tests.

Want me to throw together a quick PR or do you want to just do it quickly?

Would love a PR if you can! I just stepped away from my laptop but can do it tonight as well otherwise