Open cveilleux opened 7 years ago
Yeah I got this too when trying to submit a travis job with linux os due to the case sensitive. Wanted to look at it this coming weekend. But i do not mind that you are taking over so... :+1
I wrote a pull request that should fix any case issue.
I added an eslint rule that will raise a lint error on unresolved dependencies (case-sensitive).
I also had to do some changes to the webpack dev config to be able to do npm start
, see #243
I tried opening the source code on a Windows machine and I was very confused by the difference in filesystem!
I tried a slightly more "aggressive" fix where I removed duplicate folders.
I'd rather get feedback on it first in case there was a reason for the different case. Here it is: https://github.com/DesjardinsLab/react-draft-wysiwyg/commit/1179265c84f6d8fed3479ce79e07b88350fef2db
Hi @lavoiedn: The differing cases are not intentional - they are wrong and need to be re-factored. I have use Uppercase for all Components and lowercase to everything else.
The project does not run on a case-sensitive OS (linux) because the source files are mixed case.
Here is the errors output after a
npm start
onmaster
branch:Here is the content of the
js/src/
directory under linux:components config Decorators decorators event-handler i18n index.js Renderer renderer Utils utils
You can see the duplicate
decorators
,renderer
andutils
directories with different case.I will try to sort it out and open a PR.