react-native-macos 0.0.0-a45ffbd53 → 0.0.0-aaa150054

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/Libraries/AddressSanitizerCrash/RCTAddressSanitizerCrash.js +25 -0
  2. package/Libraries/Animated/nodes/AnimatedValue.js +0 -1
  3. package/Libraries/Components/Button.js +1 -1
  4. package/Libraries/Components/CheckBox/CheckBox.macos.js +8 -4
  5. package/Libraries/Components/Keyboard/Keyboard.js +2 -2
  6. package/Libraries/Components/Touchable/TouchableBounce.js +11 -22
  7. package/Libraries/Components/Touchable/TouchableHighlight.js +19 -30
  8. package/Libraries/Components/Touchable/TouchableOpacity.js +14 -29
  9. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +8 -18
  10. package/Libraries/Components/View/ReactNativeViewAttributes.js +8 -7
  11. package/Libraries/Components/View/ReactNativeViewViewConfigMacOS.js +1 -2
  12. package/Libraries/Components/View/View.js +8 -10
  13. package/Libraries/Components/View/ViewAccessibility.js +0 -1
  14. package/Libraries/Components/View/ViewPropTypes.js +1 -7
  15. package/Libraries/Core/ReactNativeVersion.js +5 -1
  16. package/Libraries/Image/RCTImageView.mm +2 -8
  17. package/Libraries/LogBox/Data/LogBoxData.js +18 -18
  18. package/Libraries/StyleSheet/PlatformColorValueTypes.macos.js +16 -1
  19. package/Libraries/StyleSheet/PlatformColorValueTypesMacOS.js +2 -0
  20. package/Libraries/StyleSheet/PlatformColorValueTypesMacOS.macos.js +8 -1
  21. package/Libraries/Text/RawText/RCTRawTextShadowView.m +2 -0
  22. package/Libraries/Text/Text/RCTTextView.m +11 -1
  23. package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +10 -8
  24. package/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h +2 -0
  25. package/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m +15 -3
  26. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +9 -0
  27. package/Libraries/Types/RootTagTypes.js~merged +23 -0
  28. package/README.md +19 -43
  29. package/React/Base/RCTBridgeModule.h +1 -1
  30. package/React/Base/RCTConvert.m +23 -6
  31. package/React/Base/RCTImageSource.m +2 -0
  32. package/React/Base/RCTJSStackFrame.m +2 -0
  33. package/React/Base/RCTJavaScriptLoader.mm +2 -0
  34. package/React/Base/RCTKeyCommands.m +2 -0
  35. package/React/Base/RCTModuleData.mm +2 -0
  36. package/React/Base/RCTModuleMethod.mm +2 -0
  37. package/React/Base/RCTTouchEvent.m +2 -0
  38. package/React/Base/RCTVersion.m +5 -1
  39. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingView.mm +1 -1
  40. package/React/Base/macOS/RCTPlatformDisplayLink.m +4 -1
  41. package/React/CoreModules/RCTAddressSanitizerCrashManager.h +12 -0
  42. package/React/CoreModules/RCTAddressSanitizerCrashManager.mm +18 -0
  43. package/React/CoreModules/RCTAlertController.m +8 -4
  44. package/React/CoreModules/RCTAppearance.mm +22 -23
  45. package/React/CoreModules/RCTDevLoadingView.mm +14 -9
  46. package/React/CxxModule/RCTCxxMethod.mm +2 -0
  47. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +2126 -0
  48. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +2682 -0
  49. package/React/Modules/RCTEventEmitter.h +2 -2
  50. package/React/Modules/RCTLayoutAnimation.m +2 -0
  51. package/React/Modules/RCTLayoutAnimationGroup.m +2 -0
  52. package/React/Views/RCTShadowView.m +2 -0
  53. package/React/Views/RCTSwitch.h +1 -1
  54. package/React/Views/RCTSwitch.m +0 -15
  55. package/React/Views/RCTView.h +5 -2
  56. package/React/Views/RCTView.m +20 -15
  57. package/React/Views/RCTViewManager.m +9 -15
  58. package/React/Views/SafeAreaView/RCTSafeAreaView.m +2 -0
  59. package/React-Core.podspec +0 -11
  60. package/ReactAndroid/gradle.properties +1 -1
  61. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivity.java +7 -0
  62. package/ReactAndroid/src/main/java/com/facebook/react/ReactActivityDelegate.java +7 -0
  63. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/BundleLoadCallback.java +3 -1
  64. package/ReactAndroid/src/main/java/com/facebook/react/modules/appearance/AppearanceModule.java +10 -1
  65. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +5 -1
  66. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java +0 -8
  67. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewBackgroundDrawable.java +8 -8
  68. package/ReactAndroid/src/main/jni/third-party/libevent/event-config.h +339 -339
  69. package/ReactCommon/cxxreact/ReactNativeVersion.h +5 -1
  70. package/jest/preprocessor.js +7 -75
  71. package/local-cli/cli.js +0 -0
  72. package/local-cli/generator-macos/templates/macos/Podfile +2 -7
  73. package/package.json +10 -15
  74. package/scripts/react-native-xcode.sh +1 -1
  75. package/scripts/react_native_pods.rb +1 -1
  76. package/template/package.json +3 -1
  77. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  78. package/CHANGELOG.json +0 -500
  79. package/CHANGELOG.md +0 -240
  80. package/Libraries/.npmignore +0 -1
  81. package/React/Base/macOS/RCTDynamicColor.h +0 -28
  82. package/React/Base/macOS/RCTDynamicColor.m +0 -219
  83. package/ReactAndroid/.npmignore +0 -5
  84. package/ReactAndroid/src/main/jni/first-party/fbjni/.gitignore +0 -2
  85. package/ReactCommon/hermes/inspector/tools/msggen/.gitignore +0 -3
  86. package/scripts/fixmacscripts.sh +0 -9
  87. package/scripts/postInstall.js +0 -6
package/CHANGELOG.md DELETED
@@ -1,240 +0,0 @@
1
- # Change Log - react-native
2
-
3
- This log was last generated on Wed, 06 Mar 2019 05:43:46 GMT and should not be manually modified.
4
-
5
- ## 0.0.2
6
- Wed, 06 Mar 2019 05:43:46 GMT
7
-
8
- ### Patches
9
-
10
- - Rename microsoft react-native
11
-
12
- ## 0.3.9
13
- Tue, 05 Mar 2019 20:54:55 GMT
14
-
15
- ### Patches
16
-
17
- - Auto sync from tenantreactnativewin
18
-
19
- ## 0.3.8
20
- Tue, 05 Mar 2019 07:11:25 GMT
21
-
22
- ### Patches
23
-
24
- - Synchronized github.com/Microsoft/react-native/.ado to ISS/sdx-platform/src/react-native/.ado
25
-
26
- ## 0.3.7
27
- Tue, 05 Mar 2019 02:31:33 GMT
28
-
29
- ### Patches
30
-
31
- - Introduce CalendarView for UWP only (no Android, no JS, no Apple updates)
32
- - Auto sync from tenantreactnativewin
33
- - Android ScrollView fix for pagingEnabled
34
- - added code review feedback
35
- - Catching jsi::JSError and throwing JavaJSException which will be handle by DevSupportManager to show RedBox
36
- - JSICore (react-free) libraries
37
-
38
- ## 0.3.5
39
- Tue, 26 Feb 2019 20:40:41 GMT
40
-
41
- ### Patches
42
-
43
- - Send mouseup events on controls that don't natively send them
44
-
45
- ## 0.3.4
46
- Tue, 26 Feb 2019 05:54:59 GMT
47
-
48
- ### Patches
49
-
50
- - Make Apple PR builds parallelized
51
-
52
- ## 0.3.3
53
- Sat, 23 Feb 2019 22:42:46 GMT
54
-
55
- ### Patches
56
-
57
- - Remove fishook hooks when on Release
58
-
59
- ## 0.3.2
60
- Sat, 23 Feb 2019 01:53:38 GMT
61
-
62
- ### Patches
63
-
64
- - Fix reversed conditional in RCTImageView
65
- - don't default to white background colors in our views
66
-
67
- ## 0.3.1
68
- Thu, 21 Feb 2019 13:47:22 GMT
69
-
70
- ### Patches
71
-
72
- - Auto sync from tenantreactnativewin
73
-
74
- ## 0.3.0
75
- Wed, 20 Feb 2019 18:10:07 GMT
76
-
77
- ### Minor changes
78
-
79
- - Consuming v8 headers from nuget in devmain
80
-
81
- ## 0.2.8
82
- Tue, 19 Feb 2019 20:49:32 GMT
83
-
84
- ### Patches
85
-
86
- - Auto sync from tenantreactnativewin
87
-
88
- ## 0.2.7
89
- Tue, 19 Feb 2019 13:29:59 GMT
90
-
91
- ### Patches
92
-
93
- - Consume V8 Android nuget generated from build pipeline.
94
-
95
- ## 0.2.6
96
- Tue, 19 Feb 2019 09:40:38 GMT
97
-
98
- ### Patches
99
-
100
- - started consuming v8 artifacts from nuget and getting rid of checked-in bins and headers
101
-
102
- ## 0.2.5
103
- Tue, 19 Feb 2019 08:29:14 GMT
104
-
105
- ### Patches
106
-
107
- - Change ScrollView drawBackground back to NO for macOS.
108
-
109
- ## 0.2.4
110
- Mon, 18 Feb 2019 03:12:32 GMT
111
-
112
- ### Patches
113
-
114
- - Create Azure DevOps YAML file for Apple CI builds
115
-
116
- ## 0.2.3
117
- Sat, 16 Feb 2019 20:22:09 GMT
118
-
119
- ### Patches
120
-
121
- - Removing extra copy of V8 bins and headers from RN
122
- - Removing extra copy of V8 bins and headers from RN
123
-
124
- ## 0.2.2
125
- Sat, 16 Feb 2019 19:08:57 GMT
126
-
127
- ### Patches
128
-
129
- - Support build in GitHub and sdx-platform
130
- - [react-native] Get all the JS code Flow valid
131
-
132
- ## 0.2.1
133
- Fri, 15 Feb 2019 14:47:26 GMT
134
-
135
- ### Patches
136
-
137
- - Misc changes to get JSI work in Rex
138
-
139
- ## 0.2.0
140
- Thu, 14 Feb 2019 23:44:35 GMT
141
-
142
- ### Minor changes
143
-
144
- - Add onFocus support to Apple platforms
145
-
146
- ## 0.1.2
147
- Thu, 14 Feb 2019 22:36:25 GMT
148
-
149
- ### Patches
150
-
151
- - Working to fix circle ci tests
152
-
153
- ## 0.1.1
154
- Thu, 14 Feb 2019 21:21:35 GMT
155
-
156
- ### Patches
157
-
158
- - Wire up scrollEnabled ScrollView prop on MacOS
159
-
160
- ## 0.1.0
161
- Wed, 13 Feb 2019 23:20:08 GMT
162
-
163
- ### Minor changes
164
-
165
- - Add tooltip support to MacOS React Native
166
-
167
- ### Patches
168
-
169
- - [MacOS] Ensure an image in 'cover' mode behaves appropriately when it's container resizes
170
-
171
- ## 0.0.12
172
- Wed, 13 Feb 2019 20:29:55 GMT
173
-
174
- ### Patches
175
-
176
- - [react-native] Change RCTDevSettings to access dataSource through its property getter instead of ivar
177
-
178
- ## 0.0.11
179
- Tue, 12 Feb 2019 04:48:46 GMT
180
-
181
- ### Patches
182
-
183
- - Adding dir java back to DIRS, which got removed accidently during RN57 upgrade
184
-
185
- ## 0.0.10
186
- Tue, 12 Feb 2019 03:23:21 GMT
187
-
188
- ### Patches
189
-
190
- - Publish RNTester js files for other platforms to share
191
-
192
- ## 0.0.9
193
- Tue, 12 Feb 2019 02:09:17 GMT
194
-
195
- ### Patches
196
-
197
- - Title [react-native] Fixed Multiline TextInput insertion point color on macOS
198
-
199
- ## 0.0.8
200
- Sat, 09 Feb 2019 08:08:19 GMT
201
-
202
- ### Patches
203
-
204
- - Fixing a mem leak and a crash
205
-
206
- ## 0.0.7
207
- Thu, 07 Feb 2019 20:51:49 GMT
208
-
209
- ### Patches
210
-
211
- - Make facebook::react::Instance methods overridable
212
-
213
- ## 0.0.6
214
- Thu, 07 Feb 2019 15:45:23 GMT
215
-
216
- ### Patches
217
-
218
- - OACR fixes
219
-
220
- ## 0.0.5
221
- Wed, 06 Feb 2019 22:26:22 GMT
222
-
223
- ### Patches
224
-
225
- - Prefix readme with reason for fork
226
-
227
- ## 0.0.4
228
- Wed, 06 Feb 2019 02:28:06 GMT
229
-
230
- ### Patches
231
-
232
- - Support pnpm
233
-
234
- ## 0.0.3
235
- Tue, 05 Feb 2019 06:23:13 GMT
236
-
237
- ### Patches
238
-
239
- - Rename @offce-iss/react-native to @microsoft/react-native
240
-
@@ -1 +0,0 @@
1
- __tests__
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- // TODO(macOS GH#774)
9
-
10
- #include <AppKit/AppKit.h>
11
-
12
- /** A dynamic, theme aware subclass of NSColor.
13
- * It is a tuple that contains two NSColors for light and dark
14
- * theme appearances. Like a semantic NSColor or an
15
- * asset catalog named NSColor, the effective color values
16
- * returned by the various methods and properties vary
17
- * depending on the current [NSAppearance currentAppearance].
18
- */
19
- @interface RCTDynamicColor : NSColor
20
-
21
- /** Inits a RCTDynamicColor with a pair of NSColors
22
- * @param aquaColor the color to use when the current appearance is not dark
23
- * @param darkAquaColor the color to use when the current appearance is dark
24
- */
25
- - (instancetype)initWithAquaColor:(NSColor *)aquaColor
26
- darkAquaColor:(nullable NSColor *)darkAquaColor;
27
-
28
- @end
@@ -1,219 +0,0 @@
1
- /**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- // TODO(macOS GH#774)
9
-
10
- #import "RCTDynamicColor.h"
11
-
12
- #define RCT_FORWARD_PROPERTY( PROP, TYPE ) \
13
- - (TYPE)PROP { return [[self effectiveColor] PROP]; }
14
-
15
- static NSString *const RCTAquaColor = @"aquaColor";
16
- static NSString *const RCTDarkAquaColor = @"darkAquaColor";
17
-
18
- @implementation RCTDynamicColor
19
- {
20
- NSColor *_aquaColor;
21
- NSColor *_darkAquaColor;
22
- }
23
-
24
- - (instancetype)initWithAquaColor:(NSColor *)aquaColor
25
- darkAquaColor:(NSColor *)darkAquaColor
26
- {
27
- self = [super init];
28
- if (self) {
29
- _aquaColor = [aquaColor copy];
30
- _darkAquaColor = [darkAquaColor copy];
31
- }
32
- return self;
33
- }
34
-
35
- + (BOOL)supportsSecureCoding
36
- {
37
- return YES;
38
- }
39
-
40
- - (instancetype)initWithCoder:(NSCoder *)coder
41
- {
42
- self = [super initWithCoder:coder];
43
- if (self) {
44
- _aquaColor = [coder decodeObjectOfClass:[NSColor class] forKey:RCTAquaColor];
45
- _darkAquaColor = [coder decodeObjectOfClass:[NSColor class] forKey:RCTDarkAquaColor];
46
- }
47
- return self;
48
- }
49
-
50
- - (void)encodeWithCoder:(NSCoder *)aCoder
51
- {
52
- [super encodeWithCoder:aCoder];
53
- [aCoder encodeObject:_aquaColor forKey:RCTAquaColor];
54
- if (_darkAquaColor) {
55
- [aCoder encodeObject:_darkAquaColor forKey:RCTDarkAquaColor];
56
- }
57
- }
58
-
59
- - (NSColor *)effectiveColor
60
- {
61
- NSColor *effectiveColor = _aquaColor;
62
- if (@available(macOS 10.14, *)) {
63
- NSAppearance *appearance = [NSAppearance currentAppearance] ?: [NSApp effectiveAppearance];
64
-
65
- NSAppearanceName appearanceName = [appearance bestMatchFromAppearancesWithNames:@[NSAppearanceNameAqua, NSAppearanceNameDarkAqua]];
66
-
67
- if (_darkAquaColor != nil && [appearanceName isEqualToString:NSAppearanceNameDarkAqua]) {
68
- effectiveColor = _darkAquaColor;
69
- }
70
- }
71
- return effectiveColor;
72
- }
73
-
74
- RCT_FORWARD_PROPERTY(colorSpace, NSColorSpace *)
75
- - (NSColor *)colorUsingColorSpace:(NSColorSpace *)space
76
- {
77
- return [[self effectiveColor] colorUsingColorSpace:space];
78
- }
79
-
80
- RCT_FORWARD_PROPERTY(colorSpaceName, NSColorSpaceName)
81
- - (NSColor *)colorUsingColorSpaceName:(NSColorSpaceName)name
82
- {
83
- return [[self effectiveColor] colorUsingColorSpaceName:name];
84
- }
85
-
86
- RCT_FORWARD_PROPERTY(numberOfComponents, NSInteger)
87
- - (void)getComponents:(CGFloat *)components
88
- {
89
- return [[self effectiveColor] getComponents:components];
90
- }
91
-
92
- #pragma mark - RGB colorspace
93
-
94
- RCT_FORWARD_PROPERTY(redComponent, CGFloat)
95
- RCT_FORWARD_PROPERTY(greenComponent, CGFloat)
96
- RCT_FORWARD_PROPERTY(blueComponent, CGFloat)
97
-
98
- - (void)getRed:(nullable CGFloat *)red green:(nullable CGFloat *)green blue:(nullable CGFloat *)blue alpha:(nullable CGFloat *)alpha
99
- {
100
- return [[self effectiveColor] getRed:red green:green blue:blue alpha:alpha];
101
- }
102
-
103
- #pragma mark - HSB colorspace
104
-
105
- RCT_FORWARD_PROPERTY(hueComponent, CGFloat)
106
- RCT_FORWARD_PROPERTY(saturationComponent, CGFloat)
107
- RCT_FORWARD_PROPERTY(brightnessComponent, CGFloat)
108
-
109
- - (void)getHue:(nullable CGFloat *)hue saturation:(nullable CGFloat *)saturation brightness:(nullable CGFloat *)brightness alpha:(nullable CGFloat *)alpha
110
- {
111
- return [[self effectiveColor] getHue:hue saturation:saturation brightness:brightness alpha:alpha];
112
- }
113
-
114
- #pragma mark - Gray colorspace
115
-
116
- RCT_FORWARD_PROPERTY(whiteComponent, CGFloat)
117
-
118
- - (void)getWhite:(CGFloat *)white alpha:(CGFloat *)alpha
119
- {
120
- return [[self effectiveColor] getWhite:white alpha:alpha];
121
- }
122
-
123
- #pragma mark - CMYK colorspace
124
-
125
- RCT_FORWARD_PROPERTY(cyanComponent, CGFloat)
126
- RCT_FORWARD_PROPERTY(magentaComponent, CGFloat)
127
- RCT_FORWARD_PROPERTY(yellowComponent, CGFloat)
128
- RCT_FORWARD_PROPERTY(blackComponent, CGFloat)
129
-
130
- - (void)getCyan:(nullable CGFloat *)cyan magenta:(nullable CGFloat *)magenta yellow:(nullable CGFloat *)yellow black:(nullable CGFloat *)black alpha:(nullable CGFloat *)alpha
131
- {
132
- return [[self effectiveColor] getCyan:cyan magenta:magenta yellow:yellow black:black alpha:alpha];
133
- }
134
-
135
- #pragma mark - Others
136
-
137
- RCT_FORWARD_PROPERTY(alphaComponent, CGFloat)
138
- RCT_FORWARD_PROPERTY(CGColor, CGColorRef)
139
- RCT_FORWARD_PROPERTY(catalogNameComponent, NSColorListName)
140
- RCT_FORWARD_PROPERTY(colorNameComponent, NSColorName)
141
- RCT_FORWARD_PROPERTY(localizedCatalogNameComponent, NSColorListName)
142
- RCT_FORWARD_PROPERTY(localizedColorNameComponent, NSString *)
143
-
144
- - (void)setStroke
145
- {
146
- [[self effectiveColor] setStroke];
147
- }
148
-
149
- - (void)setFill
150
- {
151
- [[self effectiveColor] setFill];
152
- }
153
-
154
- - (void)set
155
- {
156
- [[self effectiveColor] set];
157
- }
158
-
159
- - (nullable NSColor *)highlightWithLevel:(CGFloat)val
160
- {
161
- return [[self effectiveColor] highlightWithLevel:val];
162
- }
163
-
164
- - (NSColor *)shadowWithLevel:(CGFloat)val
165
- {
166
- return [[self effectiveColor] shadowWithLevel:val];
167
- }
168
-
169
- - (NSColor *)colorWithAlphaComponent:(CGFloat)alpha
170
- {
171
- return [[self effectiveColor] colorWithAlphaComponent:alpha];
172
- }
173
-
174
- - (nullable NSColor *)blendedColorWithFraction:(CGFloat)fraction ofColor:(NSColor *)color
175
- {
176
- return [[self effectiveColor] blendedColorWithFraction:fraction ofColor:color];
177
- }
178
-
179
- - (NSColor *)colorWithSystemEffect:(NSColorSystemEffect)systemEffect NS_AVAILABLE_MAC(10_14)
180
- {
181
- NSColor *aquaColorWithSystemEffect = [_aquaColor colorWithSystemEffect:systemEffect];
182
- NSColor *darkAquaColorWithSystemEffect = [_darkAquaColor colorWithSystemEffect:systemEffect];
183
- return [[RCTDynamicColor alloc] initWithAquaColor:aquaColorWithSystemEffect darkAquaColor:darkAquaColorWithSystemEffect];
184
- }
185
-
186
- - (NSUInteger)hash
187
- {
188
- const NSUInteger prime = 31;
189
- NSUInteger result = 1;
190
- result = prime * result + [_aquaColor hash];
191
- result = prime * result + [_darkAquaColor hash];
192
- return result;
193
- }
194
-
195
- - (BOOL)isEqual:(id)other {
196
- if (other == self) {
197
- return YES;
198
- }
199
-
200
- return other != nil && [other isKindOfClass:[self class]] && [self isEqualToDynamicColor:other];
201
- }
202
-
203
- - (BOOL)isEqualToDynamicColor:(RCTDynamicColor *)other {
204
- if (self == other) {
205
- return YES;
206
- }
207
-
208
- if ([_aquaColor isNotEqualTo:other->_aquaColor]) {
209
- return NO;
210
- }
211
-
212
- if ([_darkAquaColor isNotEqualTo:other->_darkAquaColor]) {
213
- return NO;
214
- }
215
-
216
- return YES;
217
- }
218
-
219
- @end
@@ -1,5 +0,0 @@
1
- # Make sure we never publish ReactAndroid/build (Gradle output) to npm.
2
- # The folder is huge (> 100MB)!
3
- build/
4
- # TODO(macOS GH#774): No need to publish our imported nugets
5
- packages
@@ -1,2 +0,0 @@
1
- /headers/
2
- /jni/
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- bin/
3
- node_modules/
@@ -1,9 +0,0 @@
1
- #!/bin/sh
2
-
3
- # npm publish is currently performed on Windows build agents and loses the executable bit on files.
4
- # restore the executable bit during npm postinstall
5
-
6
- echo "Fixing the executable bit on macOS scripts"
7
-
8
- find . -iname \*.sh -exec chmod +x {} \;
9
- find . -iname \*.command -exec chmod +x {} \;
@@ -1,6 +0,0 @@
1
- const child_process = require('child_process');
2
-
3
- const isMacOS = process.platform === 'darwin';
4
- if (isMacOS) {
5
- child_process.execSync('source scripts/fixmacscripts.sh', {stdio: 'inherit'});
6
- }