Skip to content

Commit da0d5d4

Browse files
committed
chore: unused peer dependencies are removed. Better tsconfig with the tslib dependency is removed
1 parent 177bc9c commit da0d5d4

File tree

5 files changed

+18
-30
lines changed

5 files changed

+18
-30
lines changed

example-manual-state/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@freakycoder/react-native-bounceable": "^0.2.4",
1414
"react": "17.0.1",
1515
"react-native": "0.64.0",
16-
"react-native-bouncy-checkbox": "^2.1.0"
16+
"react-native-bouncy-checkbox": "^2.1.8"
1717
},
1818
"devDependencies": {
1919
"@babel/core": "^7.12.9",

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ PODS:
316316
- React-cxxreact (= 0.64.1)
317317
- React-jsi (= 0.64.1)
318318
- React-perflogger (= 0.64.1)
319-
- RNVectorIcons (8.1.0):
319+
- RNVectorIcons (9.0.0):
320320
- React-Core
321321
- Yoga (1.14.0)
322322
- YogaKit (1.18.1):
@@ -454,7 +454,7 @@ SPEC CHECKSUMS:
454454
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
455455
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
456456
FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53
457-
FBReactNativeSpec: 1cb536935ebb8ff1834fde5f32ac1249fcd23951
457+
FBReactNativeSpec: a6687605f70669f6ef340f52b266d4c2b4347cfc
458458
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
459459
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
460460
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
@@ -488,10 +488,10 @@ SPEC CHECKSUMS:
488488
React-RCTVibration: 4b99a7f5c6c0abbc5256410cc5425fb8531986e1
489489
React-runtimeexecutor: ff951a0c241bfaefc4940a3f1f1a229e7cb32fa6
490490
ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca
491-
RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4
491+
RNVectorIcons: 4143ba35feebab8fdbe6bc43d1e776b393d47ac8
492492
Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393
493493
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
494494

495495
PODFILE CHECKSUM: 52d4730468a14603cf036e5a7bed6dd442161ac8
496496

497-
COCOAPODS: 1.11.0
497+
COCOAPODS: 1.11.2

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-native": "0.64.1",
1616
"react-native-apple-header": "^0.1.1",
1717
"react-native-bottom-search-bar": "^0.1.3",
18-
"react-native-bouncy-checkbox": "^2.1.7",
18+
"react-native-bouncy-checkbox": "^2.1.8",
1919
"react-native-dynamic-vector-icons": "^1.1.6",
2020
"react-native-vector-icons": "^9.0.0"
2121
},

package.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-bouncy-checkbox",
3-
"version": "2.1.7",
3+
"version": "2.1.8",
44
"description": "Fully customizable animated bouncy checkbox for React Native",
55
"keywords": [
66
"bouncy",
@@ -35,9 +35,7 @@
3535
},
3636
"peerDependencies": {
3737
"react": ">= 16.x.x",
38-
"react-native": ">= 0.55.x",
39-
"react-native-vector-icons": ">= 6.6.0",
40-
"react-native-dynamic-vector-icons": ">= 0.2.1"
38+
"react-native": ">= 0.55.x"
4139
},
4240
"devDependencies": {
4341
"@types/react": "^17.0.3",
@@ -50,22 +48,5 @@
5048
"husky": "^7.0.0",
5149
"lint-staged": "^12.0.3",
5250
"prettier": "^2.0.5"
53-
},
54-
"husky": {
55-
"hooks": {
56-
"pre-commit": "lint-staged"
57-
}
58-
},
59-
"lint-staged": {
60-
"./src/*.{js,jsx,ts,tsx}": [
61-
"npx prettier --write",
62-
"eslint src/*.js --fix-dry-run"
63-
]
64-
},
65-
"dependencies": {
66-
"react-native-apple-header": "^0.1.1",
67-
"react-native-bottom-search-bar": "^0.1.3",
68-
"react-native-dynamic-vector-icons": "^1.1.6",
69-
"react-native-vector-icons": "^9.0.0"
7051
}
7152
}

tsconfig.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "esnext",
4-
"module": "commonjs",
4+
"module": "es6",
55
"lib": ["es6"],
66
"allowJs": true,
77
"jsx": "react-native",
@@ -10,14 +10,21 @@
1010
"isolatedModules": true,
1111
"strict": true,
1212
"moduleResolution": "node",
13-
"skipLibCheck": true,
1413
"baseUrl": "./",
1514
"outDir": "build/dist",
1615
"noEmitHelpers": true,
17-
"importHelpers": true,
16+
"alwaysStrict": true,
17+
"strictFunctionTypes": true,
18+
"resolveJsonModule": true,
19+
"importHelpers": false,
1820
"experimentalDecorators": true,
21+
"strictPropertyInitialization": false,
1922
"allowSyntheticDefaultImports": true,
23+
"strictNullChecks": true,
24+
"skipDefaultLibCheck": true,
25+
"skipLibCheck": true,
2026
"esModuleInterop": true,
27+
"typeRoots": ["./node_modules/@types", "./@types"],
2128
"declaration": true /* Generates corresponding '.d.ts' file. */,
2229
"sourceMap": true /* Generates corresponding '.map' file. */
2330
},

0 commit comments

Comments
 (0)