Skip to content

Commit

Permalink
feat(react-native): upgrade react-native to 0.72.6
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Oct 26, 2023
1 parent 7942ea3 commit 56a6f14
Show file tree
Hide file tree
Showing 9 changed files with 178 additions and 161 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@
"mdast-util-to-markdown": "^1.5.0",
"mdast-util-to-string": "^3.2.0",
"memfs": "^3.0.1",
"metro-config": "0.76.7",
"metro-resolver": "0.76.7",
"metro-config": "0.76.8",
"metro-resolver": "0.76.8",
"mini-css-extract-plugin": "~2.4.7",
"minimatch": "3.0.5",
"next-sitemap": "^3.1.10",
Expand Down
29 changes: 29 additions & 0 deletions packages/expo/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,35 @@
"alwaysAddToPackageJson": false
}
}
},
"17.1.0": {
"version": "17.1.0-beta.0",
"packages": {
"expo": {
"version": "49.0.16",
"alwaysAddToPackageJson": false
},
"@expo/cli": {
"version": "~0.10.13",
"alwaysAddToPackageJson": false
},
"react-native": {
"version": "0.72.6",
"alwaysAddToPackageJson": false
},
"react-native-web": {
"version": "~0.19.9",
"alwaysAddToPackageJson": false
},
"metro-resolver": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
}
}
}
}
}
4 changes: 2 additions & 2 deletions packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"chalk": "^4.1.0",
"enhanced-resolve": "^5.8.3",
"fs-extra": "^11.1.0",
"metro-config": "0.76.7",
"metro-resolver": "0.76.7",
"metro-config": "~0.76.8",
"metro-resolver": "~0.76.8",
"tslib": "^2.3.0",
"tsconfig-paths": "^4.1.2",
"tsconfig-paths-webpack-plugin": "^4.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/expo/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const nxVersion = require('../../package.json').version;

export const expoVersion = '49.0.10';
export const expoVersion = '49.0.16';
export const expoMetroConfigVersion = '~0.10.7';
export const expoSplashScreenVersion = '~0.20.5';
export const expoStatusBarVersion = '~1.6.0';
export const expoCliVersion = '~0.10.12'; // @expo/cli
export const expoCliVersion = '~0.10.13'; // @expo/cli
export const easCliVersion = '~5.2.0';
export const babelPresetExpoVersion = '~9.5.2';

Expand All @@ -13,13 +13,13 @@ export const reactDomVersion = '18.2.0';
export const reactTestRendererVersion = '18.2.0';
export const typesReactVersion = '18.0.28';

export const reactNativeVersion = '0.72.4';
export const reactNativeWebVersion = '~0.19.8';
export const reactNativeVersion = '0.72.6';
export const reactNativeWebVersion = '~0.19.9';

export const reactNativeSvgTransformerVersion = '1.0.0';
export const reactNativeSvgVersion = '13.9.0';

export const metroVersion = '0.76.7';
export const metroVersion = '0.76.8';

export const testingLibraryReactNativeVersion = '~12.3.0';
export const testingLibraryJestNativeVersion = '~5.4.3';
Expand Down
45 changes: 45 additions & 0 deletions packages/react-native/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,51 @@
"alwaysAddToPackageJson": false
}
}
},
"17.1.0": {
"version": "17.1.0-beta.1",
"packages": {
"react-native": {
"version": "0.72.6",
"alwaysAddToPackageJson": false
},
"metro": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro-resolver": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro-config": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro-react-native-babel-preset": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro-babel-register": {
"version": "0.76.8",
"alwaysAddToPackageJson": false
},
"metro-react-native-babel-transformer": {
"version": "0.76.7",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli": {
"version": "11.3.7",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli-platform-android": {
"version": "11.3.7",
"alwaysAddToPackageJson": false
},
"@react-native-community/cli-platform-ios": {
"version": "11.3.7",
"alwaysAddToPackageJson": false
}
}
}
}
}
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fs-extra": "^11.1.0",
"glob": "7.1.4",
"ignore": "^5.0.4",
"metro-config": "0.76.7",
"metro-resolver": "0.76.7",
"metro-config": "~0.76.8",
"metro-resolver": "~0.76.8",
"minimatch": "3.0.5",
"node-fetch": "^2.6.7",
"tsconfig-paths": "^4.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ source 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"

gem 'cocoapods', '~> 1.12'
gem 'cocoapods', '~> 1.13'
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'
10 changes: 5 additions & 5 deletions packages/react-native/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export const nxVersion = require('../../package.json').version;

export const reactNativeVersion = '0.72.4';
export const reactNativeVersion = '0.72.6';

export const typesNodeVersion = '18.14.4';

export const metroVersion = '0.76.7';
export const metroVersion = '0.76.8';
export const reactNativeMetroConfigVersion = '^0.72.11';

export const reactNativeCommunityCli = '11.3.6';
export const reactNativeCommunityCliIos = '11.3.6';
export const reactNativeCommunityCliAndroid = '11.3.6';
export const reactNativeCommunityCli = '11.3.7';
export const reactNativeCommunityCliIos = '11.3.7';
export const reactNativeCommunityCliAndroid = '11.3.7';

export const reactVersion = '18.2.0';
export const reactDomVersion = '18.2.0';
Expand Down
Loading

0 comments on commit 56a6f14

Please sign in to comment.