C4-Builder icon indicating copy to clipboard operation
C4-Builder copied to clipboard

I'd like to use c4Builder on a non-windows machine but CLRF are causing issues

Open adamclerk opened this issue 2 years ago • 2 comments

Would you consider doing something like this: https://www.edwardthomson.com/blog/git_for_windows_line_endings.html

to support other platforms that want to use this plugin?

adamclerk avatar Jun 23 '22 17:06 adamclerk

Example: index.js in the root of the repository has CRLF at the end of each line.

When I pull down the repo. My git instance is smart enough to convert my code to LF. What is not smart is NPM. When you package the code it's packing the CRLF. When I try to run the c4builder after installing it globally or locally via NPM. There is no CRLF to LF conversion going on.

I found this pertaining issue https://github.com/jedmao/codepainter/issues/14

adamclerk avatar Jun 23 '22 19:06 adamclerk

I've published the package c4builder-non-windows to get around the issue temporarily.

adamclerk avatar Jun 29 '22 15:06 adamclerk