From 2e488603826406a0884cd58e5b03e1c2ddf029b1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 3 Jun 2026 17:56:03 +0300 Subject: [PATCH] Remove react-native-dotenv --- babel.config.js | 13 ------------- package.json | 1 - pnpm-lock.yaml | 13 ------------- 3 files changed, 27 deletions(-) diff --git a/babel.config.js b/babel.config.js index faf9b3e36b..de000b9de8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,19 +18,6 @@ module.exports = function (api) { plugins: [ '@lingui/babel-plugin-lingui-macro', ['babel-plugin-react-compiler', {target: '19'}], - [ - 'module:react-native-dotenv', - { - envName: 'APP_ENV', - moduleName: '@env', - path: '.env', - blocklist: null, - allowlist: null, - safe: false, - allowUndefined: true, - verbose: false, - }, - ], [ 'module-resolver', { diff --git a/package.json b/package.json index d6cd28c269..8565ee777a 100644 --- a/package.json +++ b/package.json @@ -295,7 +295,6 @@ "jest-junit": "^16.0.0", "lint-staged": "^13.2.3", "prettier": "^3.8.3", - "react-native-dotenv": "^3.4.11", "react-refresh": "^0.14.0", "svgo": "^3.3.2", "ts-plugin-sort-import-suggestions": "^1.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6353790b2e..25b520f679 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -841,9 +841,6 @@ importers: prettier: specifier: ^3.8.3 version: 3.8.3 - react-native-dotenv: - specifier: ^3.4.11 - version: 3.4.11(@babel/runtime@7.29.2) react-refresh: specifier: ^0.14.0 version: 0.14.2 @@ -7986,11 +7983,6 @@ packages: react: '*' react-native: '*' - react-native-dotenv@3.4.11: - resolution: {integrity: sha512-6vnIE+WHABSeHCaYP6l3O1BOEhWxKH6nHAdV7n/wKn/sciZ64zPPp2NUdEUf1m7g4uuzlLbjgr+6uDt89q2DOg==} - peerDependencies: - '@babel/runtime': ^7.20.6 - react-native-drawer-layout@4.2.3: resolution: {integrity: sha512-mj/riptO4O8D9loG9N76M4VqLR9EQXLQkx/nN4GVgT/y46wpVlrqqLlDAqFVylTDEW/u3WvZhZph+8Iu64MsZw==} peerDependencies: @@ -17813,11 +17805,6 @@ snapshots: react: 19.1.0 react-native: 0.81.5(patch_hash=2656ac6deb71b92a4df4af4593d13ace6a5740936432e5e7e8ef32bc3cd05194)(@babel/core@7.29.0)(@types/react@19.1.17)(react@19.1.0) - react-native-dotenv@3.4.11(@babel/runtime@7.29.2): - dependencies: - '@babel/runtime': 7.29.2 - dotenv: 16.6.1 - react-native-drawer-layout@4.2.3(patch_hash=74f2c043cc22ab87054f219e7c7373a509b779b18bfa79d27e7d051d73355130)(react-native-gesture-handler@2.28.0(react-native@0.81.5(patch_hash=2656ac6deb71b92a4df4af4593d13ace6a5740936432e5e7e8ef32bc3cd05194)(@babel/core@7.29.0)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native-reanimated@3.19.1(patch_hash=97a1967f37a4213fbab59e1fd59a1bf859b5efc79af5e1b528a47fe488e6c5d6)(@babel/core@7.29.0)(react-native@0.81.5(patch_hash=2656ac6deb71b92a4df4af4593d13ace6a5740936432e5e7e8ef32bc3cd05194)(@babel/core@7.29.0)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(patch_hash=2656ac6deb71b92a4df4af4593d13ace6a5740936432e5e7e8ef32bc3cd05194)(@babel/core@7.29.0)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0): dependencies: color: 4.2.3