Skip to content

Commit d2aaf6d

Browse files
authored
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 5a67ae0. * Force text files to LF.
1 parent 9b2955e commit d2aaf6d

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

.gitattributes

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
# Force LF line endings for Bash scripts. On Windows the rest of the source
2-
# files will typically have CR+LF endings (Git default on Windows), but Bash
3-
# scripts need to have LF endings to work (under Cygwin), thus override to force
4-
# that.
5-
gradlew text eol=lf
6-
*.sh text eol=lf
1+
# Force LF line endings for text files.
2+
# When checked out on Windows machines the default is to add CRLF to text files
3+
# which causes them to be published to npm packages with CRLF.
4+
# Some script files fail to execute on Mac with CRLF.
75
*.command text eol=lf
6+
*.cpp text eol=lf
7+
*.entitlements text eol=lf
8+
*.h text eol=lf
9+
*.js text eol=lf
10+
*.json text eol=lf
11+
*.m text eol=lf
12+
*.mm text eol=lf
13+
*.pbxproj text eol=lf
14+
*.plist text eol=lf
15+
*.podspec text eol=lf
16+
*.sh text eol=lf
17+
*.storyboard text eol=lf
18+
*.xcconfig text eol=lf
19+
*.xcscheme text eol=lf
20+
*.xib text eol=lf
21+
gradlew text eol=lf
22+
Podfile text eol=lf

0 commit comments

Comments
 (0)