@react-native-tvos/config-tv 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.withTVAndroidRemoveFlipper = void 0;
|
|
7
7
|
const config_plugins_1 = require("expo/config-plugins");
|
|
8
8
|
const fs_1 = require("fs");
|
|
9
|
-
const glob_1 =
|
|
9
|
+
const glob_1 = require("glob");
|
|
10
10
|
const path_1 = __importDefault(require("path"));
|
|
11
11
|
const utils_1 = require("./utils");
|
|
12
12
|
/** Dangerously makes or reverts TV changes in the project Podfile. */
|
|
@@ -44,7 +44,7 @@ const withTVAndroidRemoveFlipper = (c, params = {}) => {
|
|
|
44
44
|
};
|
|
45
45
|
exports.withTVAndroidRemoveFlipper = withTVAndroidRemoveFlipper;
|
|
46
46
|
const mainApplicationFilePath = (androidRoot) => {
|
|
47
|
-
const paths = glob_1.
|
|
47
|
+
const paths = (0, glob_1.globSync)(`${androidRoot}/**/MainApplication.*`);
|
|
48
48
|
if (paths.length > 0) {
|
|
49
49
|
return paths[0];
|
|
50
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-tvos/config-tv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"description": "Config plugin to reconfigure native directories for Apple TV and Android TV development if needed",
|
|
5
5
|
"main": "build/withTV.js",
|
|
6
6
|
"types": "build/withTV.d.ts",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/getenv": "^1.0.1",
|
|
41
41
|
"expo-module-scripts": "^3.0.3",
|
|
42
|
+
"glob": "^11.0.0",
|
|
42
43
|
"jest": "^29.7.0",
|
|
43
44
|
"memfs": "^4.7.6"
|
|
44
45
|
},
|