@@ -132,9 +132,9 @@ jobs:
132
132
mkdir ./compiled/facebook-www/__test_utils__
133
133
mv build/__test_utils__/ReactAllWarnings.js ./compiled/facebook-www/__test_utils__/ReactAllWarnings.js
134
134
135
- # Move eslint-plugin-react-hooks into eslint-plugin-react-hooks
135
+ # Copy eslint-plugin-react-hooks
136
136
mkdir ./compiled/eslint-plugin-react-hooks
137
- mv build/oss-experimental/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js \
137
+ cp build/oss-experimental/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js \
138
138
./compiled/eslint-plugin-react-hooks/index.js
139
139
140
140
# Move unstable_server-external-runtime.js into facebook-www
@@ -167,6 +167,13 @@ jobs:
167
167
rm $RENDERER_FOLDER/ReactFabric-{dev,prod,profiling}.js
168
168
rm $RENDERER_FOLDER/ReactNativeRenderer-{dev,prod,profiling}.js
169
169
170
+ # Copy eslint-plugin-react-hooks
171
+ # NOTE: This is different from www, here we include the full package
172
+ # including package.json to include dependencies in fbsource.
173
+ mkdir $BASE_FOLDER/RKJSModules/vendor/react/eslint-plugin-react-hooks
174
+ mv build/oss-experimental/eslint-plugin-react-hooks \
175
+ $BASE_FOLDER/RKJSModules/vendor/react/eslint-plugin-react-hooks
176
+
170
177
# Move React Native version file
171
178
mv build/facebook-react-native/VERSION_NATIVE_FB ./compiled-rn/VERSION_NATIVE_FB
172
179
0 commit comments