Skip to content

Commit 9c2c194

Browse files
committed
chore: Remove a a bunch of old dependencies
Removed a large bit of dependencies
1 parent a506922 commit 9c2c194

File tree

5 files changed

+138
-1959
lines changed

5 files changed

+138
-1959
lines changed

ios/Podfile.lock

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,8 +2084,6 @@ PODS:
20842084
- React-Core
20852085
- RNCClipboard (1.14.1):
20862086
- React-Core
2087-
- RNDeviceInfo (10.9.0):
2088-
- React-Core
20892087
- RNFBApp (21.4.0):
20902088
- Firebase/CoreOnly (<= 11.4.0)
20912089
- React-Core
@@ -2448,7 +2446,6 @@ DEPENDENCIES:
24482446
- RNAWSCognito (from `../node_modules/amazon-cognito-identity-js`)
24492447
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
24502448
- "RNCClipboard (from `../node_modules/@react-native-clipboard/clipboard`)"
2451-
- RNDeviceInfo (from `../node_modules/react-native-device-info`)
24522449
- "RNFBApp (from `../node_modules/@react-native-firebase/app`)"
24532450
- "RNFBAppCheck (from `../node_modules/@react-native-firebase/app-check`)"
24542451
- "RNFlashList (from `../node_modules/@shopify/flash-list`)"
@@ -2759,8 +2756,6 @@ EXTERNAL SOURCES:
27592756
:path: "../node_modules/@react-native-async-storage/async-storage"
27602757
RNCClipboard:
27612758
:path: "../node_modules/@react-native-clipboard/clipboard"
2762-
RNDeviceInfo:
2763-
:path: "../node_modules/react-native-device-info"
27642759
RNFBApp:
27652760
:path: "../node_modules/@react-native-firebase/app"
27662761
RNFBAppCheck:
@@ -2946,7 +2941,6 @@ SPEC CHECKSUMS:
29462941
RNAWSCognito: 7f374b06129b2efd233fe9fa5c60443d90126bc1
29472942
RNCAsyncStorage: aa75595c1aefa18f868452091fa0c411a516ce11
29482943
RNCClipboard: 4598dae0fe33e2aa130d9d213e2007be78310266
2949-
RNDeviceInfo: 8af23685571b7867d8dc15fb89e7fb5fa8607e1e
29502944
RNFBApp: 21cbda2e7d2657cd3c92f490c050f5f0905d2ff0
29512945
RNFBAppCheck: b29eba01cd2aaf193e34386e62c32d21cf9d353b
29522946
RNFlashList: e0175aeaa401a4b0b20b2f204d48d457f2254d96

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const config: Config = {
8787
* Won't transform: "lodash", "moment"
8888
*/
8989
transformIgnorePatterns: [
90-
"node_modules/(?!((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|rn-fetch-blob|@xmtp|uuid|wagmi))",
90+
"node_modules/(?!((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|rn-fetch-blob|@xmtp|uuid))",
9191
],
9292

9393
/**

jest.setup.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// @ts-ignore
2-
import mockRNDeviceInfo from "react-native-device-info/jest/react-native-device-info-mock";
32
// todo(lustig): figure out how to use dotenv in jest - this was working before I left
43
// require("dotenv").config();
54

@@ -9,7 +8,6 @@ jest.mock("react-native-webview", () => {
98
WebView: () => View,
109
};
1110
});
12-
jest.mock("react-native-device-info", () => mockRNDeviceInfo);
1311
jest.mock("react-native/Libraries/EventEmitter/NativeEventEmitter");
1412
jest.mock("react-native-fs", () => {
1513
return {

package.json

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@
3131
},
3232
"dependencies": {
3333
"@azure/core-asynciterator-polyfill": "^1.0.2",
34-
"@babel/core": "^7.25.2",
35-
"@babel/plugin-proposal-decorators": "^7.20.7",
36-
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
37-
"@babel/plugin-transform-class-properties": "^7.24.7",
38-
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
39-
"@babel/plugin-transform-private-methods": "^7.24.7",
40-
"@babel/runtime": "^7.25.0",
41-
"@babel/traverse": "^7.25.3",
4234
"@coinbase/wallet-mobile-sdk": "^1.0.13",
4335
"@dev-plugins/react-query": "^0.1.0",
4436
"@ethersproject/shims": "^5.7.0",
@@ -89,16 +81,14 @@
8981
"alchemy-sdk": "^3.4.4",
9082
"amazon-cognito-identity-js": "^6.3.12",
9183
"axios": "^1.2.1",
92-
"babel-plugin-transform-remove-console": "^6.9.4",
93-
"babel-preset-expo-modern": "^0.1.3",
84+
"babel-plugin-module-resolver": "^5.0.2",
9485
"base-64": "^1.0.0",
9586
"big.js": "^6.2.1",
9687
"browserify-zlib": "^0.2.0",
9788
"buffer": "^6.0.3",
9889
"crypto-browserify": "^3.12.0",
9990
"date-fns": "^2.29.3",
10091
"dotenv": "^16.4.5",
101-
"eciesjs": "^0.4.4",
10292
"emoji-regex": "^10.3.0",
10393
"ethers": "5.7.2",
10494
"event-target-shim": "^6.0.2",
@@ -140,11 +130,9 @@
140130
"flatted": "^3.3.1",
141131
"https-browserify": "^1.0.0",
142132
"i18n-js": "3.9.2",
143-
"ipfs-car": "^1.0.0",
144133
"libphonenumber-js": "^1.10.49",
145134
"mime": "^4.0.4",
146135
"os-browserify": "^0.3.0",
147-
"perfect-debounce": "^1.0.0",
148136
"permissionless": "^0.2.25",
149137
"pretty-bytes": "^6.1.0",
150138
"react": "18.3.1",
@@ -153,12 +141,10 @@
153141
"react-native-aes-gcm-crypto": "^0.2.2",
154142
"react-native-background-color": "^0.0.8",
155143
"react-native-bootsplash": "^4.5.3",
156-
"react-native-device-info": "^10.9.0",
157144
"react-native-fetch-api": "^3.0.0",
158145
"react-native-fs": "^2.20.0",
159146
"react-native-gesture-handler": "~2.20.2",
160147
"react-native-get-random-values": "^1.11.0",
161-
"react-native-gradle-plugin": "^0.71.19",
162148
"react-native-ios-context-menu": "^2.5.1",
163149
"react-native-ios-utilities": "^4.5.2",
164150
"react-native-keyboard-controller": "^1.13.4",
@@ -182,35 +168,35 @@
182168
"react-native-share": "^10.2.1",
183169
"react-native-shared-group-preferences": "^1.1.23",
184170
"react-native-svg": "15.8.0",
185-
"react-native-svg-transformer": "^1.3.0",
186171
"react-native-system-navigation-bar": "^2.6.4",
187172
"react-native-tableview-simple": "^4.4.0",
188173
"react-native-url-polyfill": "^1.3.0",
189174
"react-native-webview": "13.12.5",
190-
"react-refresh": "0.14.0",
191175
"readable-stream": "^4.3.0",
192176
"rn-fetch-blob": "^0.12.0",
193177
"safe-buffer": "^5.2.1",
194-
"scheduler": "^0.23.2",
195-
"setimmediate": "^1.0.5",
196178
"stream-browserify": "^3.0.0",
197179
"stream-http": "^3.2.0",
198180
"text-encoding": "^0.7.0",
199181
"thirdweb": "^5.63.2",
200-
"url": "^0.11.0",
201-
"use-context-selector": "^2.0.0",
202182
"uuid": "^9.0.1",
203183
"viem": "^2.22.7",
204-
"wagmi": "^2.5.11",
205184
"walletsdk-ethos": "0.1.0-no-web3j",
206185
"web3": "^1.8.1",
207186
"xstate": "^5.18.2",
208187
"zod": "^3.23.8",
209188
"zustand": "^4.4.7"
210189
},
211190
"devDependencies": {
191+
"@babel/core": "^7.25.2",
192+
"@babel/plugin-proposal-decorators": "^7.20.7",
193+
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
194+
"@babel/plugin-transform-class-properties": "^7.24.7",
195+
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
196+
"@babel/plugin-transform-private-methods": "^7.24.7",
197+
"@babel/runtime": "^7.25.0",
198+
"@babel/traverse": "^7.25.3",
212199
"@eslint/compat": "^1.2.2",
213-
"@faker-js/faker": "^7.6.0",
214200
"@tanstack/eslint-plugin-query": "^5.62.16",
215201
"@testing-library/react-native": "^12.6.1",
216202
"@total-typescript/ts-reset": "^0.6.1",
@@ -242,15 +228,14 @@
242228
"knip": "^2.19.1",
243229
"lint-staged": "^13.1.0",
244230
"metro-minify-terser": "^0.80.4",
245-
"metro-react-native-babel-preset": "^0.77.0",
246231
"nanoid": "^3.0.0",
247232
"patch-package": "^6.5.1",
248233
"plist": "^3.0.6",
249234
"prettier": "^3.3.3",
250235
"process": "^0.11.10",
251236
"prompts": "^2.4.2",
237+
"react-native-svg-transformer": "^1.5.0",
252238
"reassure": "^1.2.1",
253-
"ts-node": "^10.9.2",
254239
"typescript": "^5.3.0",
255240
"typescript-eslint": "^8.13.0",
256241
"warn-once": "^0.1.1"

0 commit comments

Comments
 (0)