FredKSchott / create-snowpack-app

The all-in-one app template for Snowpack. [moved]
https://www.snowpack.dev
Other
727 stars 96 forks source link

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

Closed stramel closed 4 years ago

stramel commented 4 years ago

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

FredKSchott commented 4 years ago

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.
stramel commented 4 years ago

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

FredKSchott commented 4 years ago

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