From 57a1e353acc05867e9d0d24f3c607e99a97eaf85 Mon Sep 17 00:00:00 2001 From: Juan Roa Date: Tue, 11 Nov 2025 12:22:09 -0500 Subject: [PATCH] chore: add babel-plugin-module-resolver as dev dependency --- packages/gluestack-ui/src/dependencies.ts | 3 +++ packages/gluestack-ui/src/util/config/expo-config-helper.ts | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/gluestack-ui/src/dependencies.ts b/packages/gluestack-ui/src/dependencies.ts index 9cd6431304..caaf55efe7 100644 --- a/packages/gluestack-ui/src/dependencies.ts +++ b/packages/gluestack-ui/src/dependencies.ts @@ -62,6 +62,9 @@ const projectBasedDependencies: Dependencies = { '@gluestack-ui/core': '^3.0.10', '@gluestack-ui/utils': '^3.0.11', }, + devDependencies: { + 'babel-plugin-module-resolver': '^5.0.0', + }, }, 'react-native-cli': { dependencies: { diff --git a/packages/gluestack-ui/src/util/config/expo-config-helper.ts b/packages/gluestack-ui/src/util/config/expo-config-helper.ts index cb20053307..49bf91a471 100644 --- a/packages/gluestack-ui/src/util/config/expo-config-helper.ts +++ b/packages/gluestack-ui/src/util/config/expo-config-helper.ts @@ -7,7 +7,6 @@ import { PROJECT_SHARED_IGNORE, ExpoResolvedConfig, } from './config-types'; -import { execSync } from 'child_process'; import { ensureFilesPromise } from '..'; import { commonInitialization } from '../init'; @@ -91,9 +90,6 @@ async function initNatiwindExpoApp( permission: boolean ) { try { - execSync('npx expo install babel-plugin-module-resolver', { - stdio: 'inherit', - }); await commonInitialization(config.expoProject, resolvedConfig, permission); } catch (err) { throw new Error((err as Error).message);