react-native-macos npm publishing with CRLF text files (#331)

* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Revert "Restored ios:macos RNTester parity except for InputAccessoryView."

This reverts commit 5a67ae06b0.

* Force text files to LF.
This commit is contained in:
Tom Underhill 2020-05-01 14:05:53 -07:00 коммит произвёл GitHub
Родитель 9b2955e5ce
Коммит d2aaf6df2d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 21 добавлений и 6 удалений

27
.gitattributes поставляемый
Просмотреть файл

@ -1,7 +1,22 @@
# Force LF line endings for Bash scripts. On Windows the rest of the source
# files will typically have CR+LF endings (Git default on Windows), but Bash
# scripts need to have LF endings to work (under Cygwin), thus override to force
# that.
gradlew text eol=lf
*.sh text eol=lf
# Force LF line endings for text files.
# When checked out on Windows machines the default is to add CRLF to text files
# which causes them to be published to npm packages with CRLF.
# Some script files fail to execute on Mac with CRLF.
*.command text eol=lf
*.cpp text eol=lf
*.entitlements text eol=lf
*.h text eol=lf
*.js text eol=lf
*.json text eol=lf
*.m text eol=lf
*.mm text eol=lf
*.pbxproj text eol=lf
*.plist text eol=lf
*.podspec text eol=lf
*.sh text eol=lf
*.storyboard text eol=lf
*.xcconfig text eol=lf
*.xcscheme text eol=lf
*.xib text eol=lf
gradlew text eol=lf
Podfile text eol=lf