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 <sergioestevao@gmail.com>
Co-authored-by: Marko Savic <savicmarko1985@gmail.com>
Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
Co-authored-by: Grzegorz Ziolkowski <grzegorz@gziolo.pl>
Co-authored-by: Ceyhun Ozugur <ceyhunozugur@gmail.com>
Co-authored-by: Cameron Voell <cameronvoell@gmail.com>
Co-authored-by: Riad Benguella <benguella@gmail.com>
Co-authored-by: Bart <bartlomiej.kalisz@gmail.com>
Co-authored-by: Haz <hazdiego@gmail.com>
Co-authored-by: Koen Van den Wijngaert <koen@neok.be>
Co-authored-by: Stefanos Togkoulidis <stefanostogoulidis@gmail.com>
  • Loading branch information
12 people committed 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
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
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
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

0 comments on commit b4623e3

Please sign in to comment.