Skip to content

Commit 6ece6e0

Browse files
committed
chore: remove react-native-vector-icons dependency and related configurations
1 parent 4fe7c80 commit 6ece6e0

File tree

6 files changed

+3
-74
lines changed

6 files changed

+3
-74
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Iterable's React Native SDK relies on:
4343
_UI Components require additional peer dependencies_
4444
- [React Navigation 6+](https://github.com/react-navigation/react-navigation)
4545
- [React Native Safe Area Context 4+](https://github.com/th3rdwave/react-native-safe-area-context)
46-
- [React Native Vector Icons 10+](https://github.com/oblador/react-native-vector-icons)
4746
- [React Native WebView 13+](https://github.com/react-native-webview/react-native-webview)
4847

4948
- **iOS**

example/android/app/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,3 @@ dependencies {
117117
implementation jscFlavor
118118
}
119119
}
120-
121-
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")

example/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"react-native-gesture-handler": "^2.24.0",
2020
"react-native-safe-area-context": "^5.1.0",
2121
"react-native-screens": "^4.9.1",
22-
"react-native-vector-icons": "^10.2.0",
2322
"react-native-webview": "^13.13.1"
2423
},
2524
"devDependencies": {

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
],
77
testMatch: ['<rootDir>/src/**/*.(test|spec).[jt]s?(x)'],
88
transformIgnorePatterns: [
9-
'node_modules/(?!(react-native|@react-native|@react-navigation|react-native-screens|react-native-safe-area-context|react-native-gesture-handler|react-native-webview|react-native-vector-icons)/)',
9+
'node_modules/(?!(react-native|@react-native|@react-navigation|react-native-screens|react-native-safe-area-context|react-native-gesture-handler|react-native-webview)/)',
1010
],
1111
collectCoverageFrom: [
1212
'src/**/*.{cjs,js,jsx,mjs,ts,tsx}',

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
"@testing-library/react-native": "^13.3.3",
7878
"@types/jest": "^29.5.5",
7979
"@types/react": "^19.0.0",
80-
"@types/react-native-vector-icons": "^6.4.18",
8180
"@typescript-eslint/eslint-plugin": "^8.13.0",
8281
"@typescript-eslint/parser": "^8.13.0",
8382
"commitlint": "^19.6.1",
@@ -96,7 +95,6 @@
9695
"react-native-gesture-handler": "^2.26.0",
9796
"react-native-safe-area-context": "^5.4.0",
9897
"react-native-screens": "^4.10.0",
99-
"react-native-vector-icons": "^10.2.0",
10098
"react-native-webview": "^13.14.1",
10199
"react-test-renderer": "19.0.0",
102100
"release-it": "^17.10.0",
@@ -114,7 +112,6 @@
114112
"react": "*",
115113
"react-native": "*",
116114
"react-native-safe-area-context": "*",
117-
"react-native-vector-icons": "*",
118115
"react-native-webview": "*"
119116
},
120117
"peerDependenciesMeta": {

yarn.lock

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3108,7 +3108,6 @@ __metadata:
31083108
react-native-gesture-handler: ^2.24.0
31093109
react-native-safe-area-context: ^5.1.0
31103110
react-native-screens: ^4.9.1
3111-
react-native-vector-icons: ^10.2.0
31123111
react-native-webview: ^13.13.1
31133112
react-test-renderer: 19.0.0
31143113
languageName: unknown
@@ -3130,7 +3129,6 @@ __metadata:
31303129
"@testing-library/react-native": ^13.3.3
31313130
"@types/jest": ^29.5.5
31323131
"@types/react": ^19.0.0
3133-
"@types/react-native-vector-icons": ^6.4.18
31343132
"@typescript-eslint/eslint-plugin": ^8.13.0
31353133
"@typescript-eslint/parser": ^8.13.0
31363134
commitlint: ^19.6.1
@@ -3149,7 +3147,6 @@ __metadata:
31493147
react-native-gesture-handler: ^2.26.0
31503148
react-native-safe-area-context: ^5.4.0
31513149
react-native-screens: ^4.10.0
3152-
react-native-vector-icons: ^10.2.0
31533150
react-native-webview: ^13.14.1
31543151
react-test-renderer: 19.0.0
31553152
release-it: ^17.10.0
@@ -3163,7 +3160,6 @@ __metadata:
31633160
react: "*"
31643161
react-native: "*"
31653162
react-native-safe-area-context: "*"
3166-
react-native-vector-icons: "*"
31673163
react-native-webview: "*"
31683164
peerDependenciesMeta:
31693165
expo:
@@ -4615,25 +4611,6 @@ __metadata:
46154611
languageName: node
46164612
linkType: hard
46174613

4618-
"@types/react-native-vector-icons@npm:^6.4.18":
4619-
version: 6.4.18
4620-
resolution: "@types/react-native-vector-icons@npm:6.4.18"
4621-
dependencies:
4622-
"@types/react": "*"
4623-
"@types/react-native": ^0.70
4624-
checksum: 1ef458cb5e7a37f41eb400e3153940b1b152e4df76a7c06c7a47c712dbfe46e14b9999f04dde1bd074f338f850e161c6c925174ddea33386b74f8112c940065b
4625-
languageName: node
4626-
linkType: hard
4627-
4628-
"@types/react-native@npm:^0.70":
4629-
version: 0.70.19
4630-
resolution: "@types/react-native@npm:0.70.19"
4631-
dependencies:
4632-
"@types/react": "*"
4633-
checksum: 79b504fa56340631079e7c20ea0d9412ec14147b76d0ce189f4403936f529ef1e6fd031383afab117846c5ae039123bcf3afc948bae4432269c6780282726f71
4634-
languageName: node
4635-
linkType: hard
4636-
46374614
"@types/react-test-renderer@npm:^19.0.0":
46384615
version: 19.1.0
46394616
resolution: "@types/react-test-renderer@npm:19.1.0"
@@ -6172,17 +6149,6 @@ __metadata:
61726149
languageName: node
61736150
linkType: hard
61746151

6175-
"cliui@npm:^7.0.2":
6176-
version: 7.0.4
6177-
resolution: "cliui@npm:7.0.4"
6178-
dependencies:
6179-
string-width: ^4.2.0
6180-
strip-ansi: ^6.0.0
6181-
wrap-ansi: ^7.0.0
6182-
checksum: ce2e8f578a4813806788ac399b9e866297740eecd4ad1823c27fd344d78b22c5f8597d548adbcc46f0573e43e21e751f39446c5a5e804a12aace402b7a315d7f
6183-
languageName: node
6184-
linkType: hard
6185-
61866152
"cliui@npm:^8.0.1":
61876153
version: 8.0.1
61886154
resolution: "cliui@npm:8.0.1"
@@ -12370,7 +12336,7 @@ __metadata:
1237012336
languageName: node
1237112337
linkType: hard
1237212338

12373-
"prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
12339+
"prop-types@npm:^15.8.1":
1237412340
version: 15.8.1
1237512341
resolution: "prop-types@npm:15.8.1"
1237612342
dependencies:
@@ -12760,21 +12726,6 @@ __metadata:
1276012726
languageName: node
1276112727
linkType: hard
1276212728

12763-
"react-native-vector-icons@npm:^10.2.0":
12764-
version: 10.2.0
12765-
resolution: "react-native-vector-icons@npm:10.2.0"
12766-
dependencies:
12767-
prop-types: ^15.7.2
12768-
yargs: ^16.1.1
12769-
bin:
12770-
fa-upgrade.sh: bin/fa-upgrade.sh
12771-
fa5-upgrade: bin/fa5-upgrade.sh
12772-
fa6-upgrade: bin/fa6-upgrade.sh
12773-
generate-icon: bin/generate-icon.js
12774-
checksum: fda930df4e63f12533268f5b339ebe4c77c691eae43503328466b3087ed868a06a4593fd246e75ac6b5ec955543eec35608c7922191bdcc3b3a94ed7f3575ef0
12775-
languageName: node
12776-
linkType: hard
12777-
1277812729
"react-native-webview@npm:^13.13.1":
1277912730
version: 13.14.1
1278012731
resolution: "react-native-webview@npm:13.14.1"
@@ -15200,7 +15151,7 @@ __metadata:
1520015151
languageName: node
1520115152
linkType: hard
1520215153

15203-
"yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.9":
15154+
"yargs-parser@npm:^20.2.9":
1520415155
version: 20.2.9
1520515156
resolution: "yargs-parser@npm:20.2.9"
1520615157
checksum: 8bb69015f2b0ff9e17b2c8e6bfe224ab463dd00ca211eece72a4cd8a906224d2703fb8a326d36fdd0e68701e201b2a60ed7cf81ce0fd9b3799f9fe7745977ae3
@@ -15226,21 +15177,6 @@ __metadata:
1522615177
languageName: node
1522715178
linkType: hard
1522815179

15229-
"yargs@npm:^16.1.1":
15230-
version: 16.2.0
15231-
resolution: "yargs@npm:16.2.0"
15232-
dependencies:
15233-
cliui: ^7.0.2
15234-
escalade: ^3.1.1
15235-
get-caller-file: ^2.0.5
15236-
require-directory: ^2.1.1
15237-
string-width: ^4.2.0
15238-
y18n: ^5.0.5
15239-
yargs-parser: ^20.2.2
15240-
checksum: b14afbb51e3251a204d81937c86a7e9d4bdbf9a2bcee38226c900d00f522969ab675703bee2a6f99f8e20103f608382936034e64d921b74df82b63c07c5e8f59
15241-
languageName: node
15242-
linkType: hard
15243-
1524415180
"yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2":
1524515181
version: 17.7.2
1524615182
resolution: "yargs@npm:17.7.2"

0 commit comments

Comments
 (0)