adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.

Home Page:https://adrianvlupu.github.io/C4-Builder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

adamclerk opened this issue · 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?

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
jednano/codepainter#14

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