diff --git a/package.json b/package.json index 717b85c29..9fa9b3896 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,5 @@ "is-in-ci": "^1.0.0", "nx": "19.7.3", "typescript": "catalog:" - }, - "pnpm": { - "patchedDependencies": { - "react-native-test-app@4.4.4": "patches/react-native-test-app@4.4.4.patch" - } } } diff --git a/patches/react-native-test-app@4.4.4.patch b/patches/react-native-test-app@4.4.4.patch deleted file mode 100644 index 8874c29a9..000000000 --- a/patches/react-native-test-app@4.4.4.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/scripts/configure-projects.js b/scripts/configure-projects.js -index 4d4bbb91bb9808f485d9afe584ed1dea78f1ed65..86a86d2e00e1f1ec3e42a12f4c3ee8b19cfb6ad0 100644 ---- a/scripts/configure-projects.js -+++ b/scripts/configure-projects.js -@@ -100,14 +100,9 @@ const getRNPackageVersion = (() => { - })(); - - /** -- * @param {string | undefined} manifestPath - * @returns {string | undefined} - */ --function getAndroidPackageName(manifestPath, fs = nodefs) { -- if (!manifestPath) { -- return undefined; -- } -- -+function getAndroidPackageName(fs = nodefs) { - try { - const rncliAndroidVersion = getRNPackageVersion( - "@react-native-community/cli-platform-android", -@@ -128,9 +123,7 @@ function getAndroidPackageName(manifestPath, fs = nodefs) { - // We're on 0.76 or later - } - -- /** @type {{ android?: { package?: string }}} */ -- const manifest = readJSONFile(manifestPath, fs); -- return manifest.android?.package; -+ return "com.microsoft.reacttestapp"; - } - - /** -@@ -179,7 +172,7 @@ function configureProjects({ android, ios, windows }, fs = nodefs) { - config.android = { - sourceDir, - manifestPath, -- packageName: packageName || getAndroidPackageName(appManifestPath, fs), -+ packageName: packageName || getAndroidPackageName(fs), - }; - - configureGradleWrapper(sourceDir, fs); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49c24f484..bbfb0c7cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,13 +56,8 @@ catalogs: specifier: ^19.1.0 version: 19.1.8 react-native-test-app: - specifier: 4.4.4 - version: 4.4.4 - -patchedDependencies: - react-native-test-app@4.4.4: - hash: wsdoulokkdggtxg73oqeyh4rwm - path: patches/react-native-test-app@4.4.4.patch + specifier: 4.4.5 + version: 4.4.5 importers: @@ -221,7 +216,7 @@ importers: version: 8.1.1(@rspack/core@1.4.6(@swc/helpers@0.5.17))(postcss@8.5.1)(typescript@5.8.3)(webpack@5.100.2) react-native-test-app: specifier: catalog:testers - version: 4.4.4(patch_hash=wsdoulokkdggtxg73oqeyh4rwm)(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) + version: 4.4.5(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) tailwindcss: specifier: ^3.4.17 version: 3.4.17 @@ -300,7 +295,7 @@ importers: version: 19.1.8 react-native-test-app: specifier: catalog:testers - version: 4.4.4(patch_hash=wsdoulokkdggtxg73oqeyh4rwm)(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) + version: 4.4.5(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) terser-webpack-plugin: specifier: 'catalog:' version: 5.3.14(webpack@5.100.2) @@ -379,7 +374,7 @@ importers: version: 19.1.8 react-native-test-app: specifier: catalog:testers - version: 4.4.4(patch_hash=wsdoulokkdggtxg73oqeyh4rwm)(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) + version: 4.4.5(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0) terser-webpack-plugin: specifier: 'catalog:' version: 5.3.14(webpack@5.100.2) @@ -6848,8 +6843,8 @@ packages: react: '*' react-native: '*' - react-native-test-app@4.4.4: - resolution: {integrity: sha512-4Bq3zODRa0JRioeTfIiUUU0W/e4L6P6kr4kdDUDD9KU6BeyJq3vfeKdiA1Y6IKdwDrZgR/yFpRCauNdeLx+XKQ==} + react-native-test-app@4.4.5: + resolution: {integrity: sha512-cwJyxfF0crTt5pxP+6jXwfvswJJPauWrFS6/+aP8xUS+V+MKwio1TTiDpcLHg4XaLofEMQyplolYwBGBgSN8iw==} engines: {node: '>=16.17'} hasBin: true peerDependencies: @@ -15760,7 +15755,7 @@ snapshots: react-native: 0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0) warn-once: 0.1.1 - react-native-test-app@4.4.4(patch_hash=wsdoulokkdggtxg73oqeyh4rwm)(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0): + react-native-test-app@4.4.5(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0): dependencies: '@rnx-kit/react-native-host': 0.5.11(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0)) '@rnx-kit/tools-react-native': 2.1.0 @@ -15770,7 +15765,7 @@ snapshots: prompts: 2.4.2 react: 19.1.0 react-native: 0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0) - semver: 7.6.3 + semver: 7.7.2 uuid: 11.1.0 react-native-worklets@0.4.0(@babel/core@7.25.2)(react-native@0.80.0(@babel/core@7.25.2)(@react-native-community/cli@19.0.0(typescript@5.8.3))(@types/react@19.1.8)(react@19.1.0))(react@19.1.0): diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 32bf8488d..406913c15 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -19,7 +19,7 @@ catalog: catalogs: testers: "@types/react": ^19.1.0 - "react-native-test-app": 4.4.4 + "react-native-test-app": 4.4.5 "@react-native/babel-preset": "0.80.0" "@react-native/typescript-config": "0.80.0" "@react-native-community/cli": "19.0.0"