Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-native): upgrade react-native to 0.69.3 #11324

Merged
merged 1 commit into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions packages/react-native/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,39 @@
"alwaysAddToPackageJson": false
}
}
},
"14.5.0": {
"version": "14.5.0-beta.0",
"packages": {
"react-native": {
"version": "0.69.3",
"alwaysAddToPackageJson": false
},
"@testing-library/react-native": {
"version": "11.0.0",
"alwaysAddToPackageJson": false
},
"react-native-svg": {
"version": "12.4.3",
"alwaysAddToPackageJson": false
},
"@babel/runtime": {
"version": "7.18.9",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli": {
"version": "8.0.4",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli-platform-android": {
"version": "8.0.4",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli-platform-ios": {
"version": "8.0.4",
"alwaysAddToPackageJson": false
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ require_relative '../node_modules/@nrwl/react-native/nx_post_install'
platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false

production = ENV["PRODUCTION"] == "1"

target '<%= className %>' do
config = use_native_modules!

Expand All @@ -14,8 +16,10 @@ target '<%= className %>' do
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:production => production,
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
:flipper_configuration => FlipperConfiguration.enabled,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
Expand All @@ -25,12 +29,6 @@ target '<%= className %>' do
# Pods for testing
end

# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
use_flipper!()

post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
Expand Down
14 changes: 7 additions & 7 deletions packages/react-native/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
export const nxVersion = require('../../package.json').version;

export const reactNativeVersion = '0.69.1';
export const reactNativeVersion = '0.69.3';
export const typesReactNativeVersion = '0.69.3';

export const typesNodeVersion = '16.11.7';

export const metroVersion = '0.71.3';

export const reactNativeCommunityCli = '8.0.3';
export const reactNativeCommunityCliIos = '8.0.2';
export const reactNativeCommunityCliAndroid = '8.0.2';
export const reactNativeCommunityCli = '8.0.4';
export const reactNativeCommunityCliIos = '8.0.4';
export const reactNativeCommunityCliAndroid = '8.0.4';

export const reactNativeConfigVersion = '1.4.6';
export const reactNativeAsyncStorageAsyncStorageVersion = '1.17.7';

export const testingLibraryReactNativeVersion = '10.1.1';
export const testingLibraryReactNativeVersion = '11.0.0';
export const testingLibraryJestNativeVersion = '4.0.5';

export const jestReactNativeVersion = '18.0.0';

export const reactNativeSvgTransformerVersion = '1.0.0';
export const reactNativeSvgVersion = '12.3.0';
export const reactNativeSvgVersion = '12.4.3';

export const babelRuntimeVersion = '7.18.6';
export const babelRuntimeVersion = '7.18.9';