Skip to content

Commit

Permalink
chore: bump react-native to 0.74 (#3290)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Aug 13, 2024
1 parent 64f0746 commit d21adb8
Show file tree
Hide file tree
Showing 33 changed files with 1,094 additions and 921 deletions.
2 changes: 2 additions & 0 deletions .changeset/fair-emus-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
5 changes: 5 additions & 0 deletions .changeset/rude-eggs-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnx-kit/align-deps": patch
---

Correctly mark `react-native-test-app` as dev-only
4 changes: 2 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"groupName": "@react-native-community/cli",
"matchPackagePrefixes": ["@react-native-community/cli"],
"allowedVersions": "^12.0.0"
"allowedVersions": "^13.0.0"
},
{
"groupName": "Android",
Expand Down Expand Up @@ -75,7 +75,7 @@
"react-native-macos",
"react-native-windows"
],
"allowedVersions": "^0.73.0"
"allowedVersions": "^0.74.0"
}
],
"postUpdateOptions": ["yarnDedupeHighest"],
Expand Down
15 changes: 6 additions & 9 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,21 @@ packageExtensions:
# https://github.com/microsoft/fluentui/pull/30964
"@types/react":
optional: true
"@react-native-community/cli-debugger-ui@*":
"@react-native/codegen@0.74":
dependencies:
# https://github.com/react-native-community/cli/pull/2352
"@babel/runtime": ^7.20.0
# https://github.com/facebook/react-native/pull/45993
yargs: ^17.6.2
babel-plugin-transform-flow-enums@*:
peerDependencies:
"@babel/core": ^7.20.0
metro-config@*:
dependencies:
# `metro-config` fails to resolve `JsTransformerConfig` because it's in another package
metro-transform-worker: ^0.80.0
react-native-macos@*:
react-native@0.74:
dependencies:
# Required by `react-native-macos/local-cli/runMacOS/runMacOS.js`
# https://github.com/microsoft/react-native-macos/pull/1993
"@react-native-community/cli-tools": ^12.3.0
peerDependencies:
react-native: "*"
# https://github.com/facebook/react-native/pull/45993
glob: ^7.1.1
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-compat.cjs
spec: "@yarnpkg/plugin-compat"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eslint": "^8.56.0",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"typescript": "^5.0.0"
},
"experimental": true
Expand Down
6 changes: 3 additions & 3 deletions incubator/@react-native-webapis/web-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native-macos": "^0.73.0",
"react-native-windows": "^0.73.0",
"react-native": "^0.74.0",
"react-native-macos": "^0.74.0",
"react-native-windows": "^0.74.0",
"typescript": "^5.0.0"
},
"codegenConfig": {
Expand Down
4 changes: 2 additions & 2 deletions incubator/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
"@types/babel__template": "^7.0.0",
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"metro-config": "^0.80.0",
"metro-config": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
},
"rnx-kit": {
"alignDeps": {
"requirements": {
"development": [
"react-native@0.73"
"react-native@0.74"
],
"production": [
"react-native@>=0.72 <1.0"
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"metro": "^0.80.0",
"metro": "^0.80.3",
"nx": "~19.5.0",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^4.0.0",
Expand All @@ -51,13 +51,13 @@
"resolutions": {
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.33.0",
"@microsoft/eslint-plugin-sdl/eslint-plugin-security": "^1.4.0",
"@react-native-community/cli": "^12.3.0",
"@react-native-community/cli-clean": "^12.3.0",
"@react-native-community/cli-platform-android": "^12.3.0",
"@react-native-community/cli-platform-ios": "^12.3.0",
"@react-native-community/cli-server-api": "^12.3.2",
"@react-native-community/cli-tools": "^12.3.2",
"@react-native-community/cli-types": "^12.3.0",
"@react-native-community/cli": "^13.6.4",
"@react-native-community/cli-clean": "^13.6.4",
"@react-native-community/cli-platform-android": "^13.6.4",
"@react-native-community/cli-platform-ios": "^13.6.4",
"@react-native-community/cli-server-api": "^13.6.4",
"@react-native-community/cli-tools": "^13.6.4",
"@react-native-community/cli-types": "^13.6.4",
"@rnx-kit/react-native-host": "workspace:*",
"@vue/compiler-sfc": "link:./incubator/ignore"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ export const profile: Profile = {
name: "react-native-reanimated",
version: "^3.6.0",
},
clipboard: {
name: "@react-native-clipboard/clipboard",
version: "^1.14.0",
},
"datetime-picker": {
name: "@react-native-community/datetimepicker",
version: "^8.0.0",
Expand Down Expand Up @@ -151,8 +155,4 @@ export const profile: Profile = {
name: "react-native-webview",
version: "^13.10.0",
},
clipboard: {
name: "@react-native-clipboard/clipboard",
version: "^1.14.0",
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const profile: Profile = {
"test-app": {
name: "react-native-test-app",
version: "^3.5.0",
devOnly: true,
},
webview: {
name: "react-native-webview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ export const profile: Profile = {
"test-app": {
name: "react-native-test-app",
version: "^3.8.15",
devOnly: true,
},
};
1 change: 1 addition & 0 deletions packages/babel-preset-metro-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"@babel/core": "^7.20.0",
"@babel/plugin-transform-typescript": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "^0.74.0",
"@rnx-kit/babel-plugin-import-path-remapper": "*",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@react-native-community/cli-types": "^12.3.0",
"@react-native-community/cli-types": "^13.6.4",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/jest-preset": "*",
"@rnx-kit/scripts": "*",
Expand All @@ -84,12 +84,12 @@
"eslint": "^8.56.0",
"jest": "^29.2.1",
"memfs": "^4.0.0",
"metro": "^0.80.0",
"metro": "^0.80.3",
"metro-babel-transformer": "^0.80.0",
"metro-config": "^0.80.0",
"metro-config": "^0.80.3",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"type-fest": "^4.0.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/node": "^20.0.0",
"@types/semver": "^7.0.0",
"eslint": "^8.56.0",
"metro": "^0.80.0",
"metro": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@eslint/js": "^8.33.0",
"@jest/types": "^29.2.1",
"@react-native-community/cli-types": "^12.3.0",
"@react-native-community/cli-types": "^13.6.4",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
Expand All @@ -50,7 +50,7 @@
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"typescript": "^5.0.0"
},
"depcheck": {
Expand Down
8 changes: 4 additions & 4 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"@types/babel__core": "^7.0.0",
"@types/connect": "^3.4.36",
"eslint": "^8.56.0",
"metro": "^0.80.0",
"metro-config": "^0.80.0",
"metro-resolver": "^0.80.0",
"metro": "^0.80.3",
"metro-config": "^0.80.3",
"metro-resolver": "^0.80.3",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"type-fest": "^4.0.0",
"typescript": "^5.0.0"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/metro-config/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ describe("makeMetroConfig", () => {
deepEqual(Object.keys(config.resolver.extraNodeModules), [
"react",
"react-native",
"react-native-macos",
"react-native-windows",
"@babel/runtime",
]);
Expand Down Expand Up @@ -348,7 +347,6 @@ describe("makeMetroConfig", () => {
deepEqual(Object.keys(config.resolver.extraNodeModules), [
"react",
"react-native",
"react-native-macos",
"react-native-windows",
"@babel/runtime",
]);
Expand Down Expand Up @@ -395,7 +393,6 @@ describe("makeMetroConfig", () => {
"my-awesome-package",
"react",
"react-native",
"react-native-macos",
"react-native-windows",
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"metro": "^0.80.0",
"metro": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-plugin-duplicates-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"eslint": "^8.56.0",
"jest": "^29.2.1",
"memfs": "^4.0.0",
"metro": "^0.80.0",
"metro": "^0.80.3",
"metro-source-map": "^0.80.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/semver": "^7.0.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"metro": "^0.80.3",
"prettier": "^3.0.0"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-resolver-symlinks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro-resolver": "^0.80.0",
"metro-resolver": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/metro-serializer-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@fluentui/utilities": "8.13.9",
"@react-native-community/cli-types": "^12.3.0",
"@react-native/babel-preset": "^0.73.0",
"@react-native/metro-config": "^0.73.0",
"@react-native-community/cli-types": "^13.6.4",
"@react-native/babel-preset": "^0.74.0",
"@react-native/metro-config": "^0.74.0",
"@rnx-kit/babel-plugin-import-path-remapper": "*",
"@rnx-kit/babel-preset-metro-react-native": "*",
"@rnx-kit/eslint-config": "*",
Expand All @@ -51,12 +51,12 @@
"@types/node": "^20.0.0",
"eslint": "^8.56.0",
"lodash-es": "^4.17.21",
"metro": "^0.80.0",
"metro-config": "^0.80.0",
"metro": "^0.80.3",
"metro-config": "^0.80.3",
"metro-transform-worker": "^0.80.0",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"typescript": "^5.0.0"
},
"depcheck": {
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/semver": "^7.0.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"metro": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/metro-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@
}
},
"devDependencies": {
"@react-native-community/cli-types": "^12.3.0",
"@react-native/assets-registry": "^0.73.0",
"@react-native-community/cli-types": "^13.6.4",
"@react-native/assets-registry": "^0.74.0",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/node-fetch": "^2.6.5",
"eslint": "^8.56.0",
"flow-remove-types": "~2.235.0",
"metro": "^0.80.0",
"metro-config": "^0.80.0",
"metro-core": "^0.80.0",
"metro-resolver": "^0.80.0",
"metro-runtime": "^0.80.0",
"flow-remove-types": "~2.243.0",
"metro": "^0.80.3",
"metro-config": "^0.80.3",
"metro-core": "^0.80.3",
"metro-resolver": "^0.80.3",
"metro-runtime": "^0.80.3",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@react-native/metro-config": "^0.73.0",
"@react-native/metro-config": "^0.74.0",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^8.56.0",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
"react-native": "^0.74.0",
"typescript": "^5.0.0"
},
"rnx-kit": {
Expand All @@ -55,7 +55,7 @@
],
"requirements": {
"development": [
"react-native@0.73"
"react-native@0.74"
],
"production": [
"react-native@>=0.62 <1.0"
Expand Down
Loading

0 comments on commit d21adb8

Please sign in to comment.