Skip to content

Commit a3bb438

Browse files
author
Adam Gleitman
committed
Copy macos config info into RNTester
1 parent 9e5a249 commit a3bb438

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

packages/rn-tester/react-native.config.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,40 @@ module.exports = {
2323
projectConfig: android.projectConfig,
2424
dependencyConfig: android.dependencyConfig,
2525
},
26+
macos: {
27+
linkConfig: () => {
28+
return {
29+
isInstalled: (
30+
_projectConfig /*ProjectConfig*/,
31+
_package /*string*/,
32+
_dependencyConfig /*DependencyConfig*/,
33+
) => false /*boolean*/,
34+
register: (
35+
_package /*string*/,
36+
_dependencyConfig /*DependencyConfig*/,
37+
_obj /*Object*/,
38+
_projectConfig /*ProjectConfig*/,
39+
) => {},
40+
unregister: (
41+
_package /*string*/,
42+
_dependencyConfig /*DependencyConfig*/,
43+
_projectConfig /*ProjectConfig*/,
44+
_dependencyConfigs /*Array<DependencyConfig>*/,
45+
) => {},
46+
copyAssets: (
47+
_assets /*string[]*/,
48+
_projectConfig /*ProjectConfig*/,
49+
) => {},
50+
unlinkAssets: (
51+
_assets /*string[]*/,
52+
_projectConfig /*ProjectConfig*/,
53+
) => {},
54+
};
55+
},
56+
projectConfig: () => null,
57+
dependencyConfig: () => null,
58+
npmPackageName: 'react-native-macos',
59+
},
2660
},
2761
reactNativePath: '../react-native',
2862
project: {

0 commit comments

Comments
 (0)