Skip to content

Commit

Permalink
[RNMobile] Upgrade to RN 0.64 (#29118)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Estevao <[email protected]>
Co-authored-by: Marko Savic <[email protected]>
Co-authored-by: Andrew Duthie <[email protected]>
Co-authored-by: Grzegorz Ziolkowski <[email protected]>
Co-authored-by: Ceyhun Ozugur <[email protected]>
Co-authored-by: Cameron Voell <[email protected]>
Co-authored-by: Riad Benguella <[email protected]>
Co-authored-by: Bart <[email protected]>
Co-authored-by: Haz <[email protected]>
Co-authored-by: Koen Van den Wijngaert <[email protected]>
Co-authored-by: Stefanos Togkoulidis <[email protected]>
  • Loading branch information
12 people authored Jun 16, 2021
1 parent e0d7022 commit b4623e3
Show file tree
Hide file tree
Showing 48 changed files with 2,663 additions and 3,303 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ module.exports = {
'@wordpress/data-no-store-string-literals': 'off',
},
},
{
files: [ 'packages/react-native-*/**/*.js' ],
settings: {
'import/ignore': [ 'react-native' ], // Workaround for https://github.com/facebook/react-native/issues/28549
},
},
{
files: [ 'packages/**/*.js' ],
excludedFiles: [
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rnmobile-ios-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: TEST_RN_PLATFORM=ios npm run native device-tests:local ${{ matrix.native-test-name }}

- name: Prepare build cache
run: rm packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
run: |
rm packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/main.jsbundle
rm -rf packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app/assets
- uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571 # v2.2.2
if: always()
Expand Down
4 changes: 2 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ function gutenberg_register_vendor_scripts( $scripts ) {
gutenberg_register_vendor_script(
$scripts,
'react',
'https://unpkg.com/react@16.13.1/umd/react' . $react_suffix . '.js',
'https://unpkg.com/react@17.0.1/umd/react' . $react_suffix . '.js',
array( 'wp-polyfill' )
);
gutenberg_register_vendor_script(
$scripts,
'react-dom',
'https://unpkg.com/react-dom@16.13.1/umd/react-dom' . $react_suffix . '.js',
'https://unpkg.com/react-dom@17.0.1/umd/react-dom' . $react_suffix . '.js',
array( 'react' )
);

Expand Down
Loading

0 comments on commit b4623e3

Please sign in to comment.