From 52f4cb0b7360c34db2406e4b8a7bce92e153281d Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 28 May 2026 12:46:22 +0300 Subject: [PATCH] rm react-native-dotenv --- babel.config.js | 13 ------------- package.json | 1 - pnpm-lock.yaml | 15 --------------- 3 files changed, 29 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 677fb78e77..1cfc11256d 100644 --- a/package.json +++ b/package.json @@ -296,7 +296,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 a0d523787a..62787b657b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -835,9 +835,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 @@ -8110,11 +8107,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: @@ -12556,9 +12548,7 @@ snapshots: metro-runtime: 0.84.4 transitivePeerDependencies: - '@babel/core' - - bufferutil - supports-color - - utf-8-validate '@react-native/normalize-colors@0.85.3': {} @@ -18099,11 +18089,6 @@ snapshots: react: 19.2.3 react-native: 0.85.3(@babel/core@7.29.0)(@react-native/jest-preset@0.85.3(@babel/core@7.29.0)(react@19.2.3))(@react-native/metro-config@0.85.3(@babel/core@7.29.0))(@types/react@19.2.15)(react@19.2.3) - 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)(1cc9f3f68e3d5cf0bfbf6fa697f151d0): dependencies: color: 4.2.3