refactor(cli): correct the line endings before publishing by mfranzke · Pull Request #1397 · pattern-lab/patternlab-node

Will most likely solve #967

Summary of changes:

Correcting the line endings before publishing, to prevent errors like the following when using pattern lab cli with yarn:

env: node\r: No such file or directory

This is mainly inspired by the comment of @theLine, who suggests to use dos2unix-cli and we'll try to do this before publishing.

If this doesn't work, we could still try to do this with a "postinstall" script.