Browse Source

FIX | Libs

pull/2/head
Vitalik 1 year ago
parent
commit
ed29f5de09
  1. 5
      .eslintrc.js
  2. 9
      .prettierrc.js
  3. 56
      index.js
  4. 35
      ios/Podfile.lock
  5. 267
      package-lock.json
  6. 7
      package.json
  7. 6
      src/modules/root/smart-components/fullscreen-video.smart-component.tsx
  8. 6
      src/modules/settings/hooks/use-setting-navigation-list.hook.ts
  9. 8
      src/modules/tasks/hooks/use-tasks-print.hook.ts
  10. 15
      src/modules/tasks/screens/print-tasks.screen.tsx
  11. 2
      src/services/system/camera-roll.service.ts
  12. 71
      tsconfig.json

5
.eslintrc.js

@ -1,4 +1,9 @@ @@ -1,4 +1,9 @@
module.exports = {
root: true,
extends: '@react-native-community',
rules: {
semi: 0,
curly: 0,
'no-shadow': 'off',
},
};

9
.prettierrc.js

@ -1,7 +1,10 @@ @@ -1,7 +1,10 @@
module.exports = {
arrowParens: 'avoid',
bracketSameLine: true,
bracketSpacing: false,
bracketSpacing: true,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
arrowParens: 'avoid',
tabWidth: 4,
useTabs: true,
semi: false,
};

56
index.js

@ -2,43 +2,43 @@ @@ -2,43 +2,43 @@
* @format
*/
import {Alert, AppRegistry} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';
import {gestureHandlerRootHOC} from 'react-native-gesture-handler';
import { Alert, AppRegistry } from 'react-native'
import App from './src/App'
import { name as appName } from './app.json'
import { gestureHandlerRootHOC } from 'react-native-gesture-handler'
import {
setJSExceptionHandler,
setNativeExceptionHandler,
} from 'react-native-exception-handler';
setJSExceptionHandler,
setNativeExceptionHandler,
} from 'react-native-exception-handler'
import '@/services/system/skeleton-data.service';
import '@/services/system/skeleton-data.service'
const errorHandler = (e, isFatal) => {
if (isFatal) {
Alert.alert(
'Unexpected error occurred',
`
if (isFatal) {
Alert.alert(
'Unexpected error occurred',
`
Error: ${isFatal ? 'Fatal:' : ''} ${e.name} ${e.message}
We will need to restart the app.
`,
[
{
text: 'Restart',
onPress: () => {},
},
],
);
} else {
console.log(e); // So that we can see it in the ADB logs in case of Android if needed
}
};
setJSExceptionHandler(errorHandler);
[
{
text: 'Restart',
onPress: () => {},
},
],
)
} else {
console.log(e) // So that we can see it in the ADB logs in case of Android if needed
}
}
setJSExceptionHandler(errorHandler)
setNativeExceptionHandler(errorString => {
Alert.alert(JSON.stringify(errorString));
});
Alert.alert(JSON.stringify(errorString))
})
AppRegistry.registerComponent(appName, () => gestureHandlerRootHOC(App));
AppRegistry.registerComponent(appName, () => gestureHandlerRootHOC(App))

35
ios/Podfile.lock

@ -94,6 +94,16 @@ PODS: @@ -94,6 +94,16 @@ PODS:
- libwebp/mux (1.2.4):
- libwebp/demux
- libwebp/webp (1.2.4)
- OneSignalXCFramework (3.12.4):
- OneSignalXCFramework/OneSignalCore (= 3.12.4)
- OneSignalXCFramework/OneSignalExtension (= 3.12.4)
- OneSignalXCFramework/OneSignalOutcomes (= 3.12.4)
- OneSignalXCFramework/OneSignalCore (3.12.4)
- OneSignalXCFramework/OneSignalExtension (3.12.4):
- OneSignalXCFramework/OneSignalCore
- OneSignalXCFramework/OneSignalOutcomes
- OneSignalXCFramework/OneSignalOutcomes (3.12.4):
- OneSignalXCFramework/OneSignalCore
- OpenSSL-Universal (1.1.1100)
- RCT-Folly (2021.07.22.00):
- boost
@ -346,7 +356,7 @@ PODS: @@ -346,7 +356,7 @@ PODS:
- React-jsinspector (0.71.9)
- React-logger (0.71.9):
- glog
- react-native-cameraroll (5.6.0):
- react-native-cameraroll (5.7.2):
- React-Core
- react-native-date-picker (4.2.13):
- React-Core
@ -358,6 +368,9 @@ PODS: @@ -358,6 +368,9 @@ PODS:
- React-Core
- react-native-netinfo (9.3.10):
- React-Core
- react-native-onesignal (4.5.1):
- OneSignalXCFramework (= 3.12.4)
- React (< 1.0.0, >= 0.13.0)
- react-native-pager-view (6.2.0):
- React-Core
- react-native-restart (0.0.27):
@ -366,6 +379,8 @@ PODS: @@ -366,6 +379,8 @@ PODS:
- React-Core
- react-native-splash-screen (3.3.0):
- React-Core
- react-native-sqlite-storage (6.0.1):
- React-Core
- react-native-video (5.2.1):
- React-Core
- react-native-video/Video (= 5.2.1)
@ -458,6 +473,8 @@ PODS: @@ -458,6 +473,8 @@ PODS:
- React-jsi (= 0.71.9)
- React-logger (= 0.71.9)
- React-perflogger (= 0.71.9)
- ReactNativeExceptionHandler (2.10.10):
- React-Core
- rn-fetch-blob (0.12.0):
- React-Core
- RNAudioRecorderPlayer (3.5.3):
@ -596,10 +613,12 @@ DEPENDENCIES: @@ -596,10 +613,12 @@ DEPENDENCIES:
- react-native-html-to-pdf (from `../node_modules/react-native-html-to-pdf`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-onesignal (from `../node_modules/react-native-onesignal`)
- react-native-pager-view (from `../node_modules/react-native-pager-view`)
- react-native-restart (from `../node_modules/react-native-restart`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-splash-screen (from `../node_modules/react-native-splash-screen`)
- react-native-sqlite-storage (from `../node_modules/react-native-sqlite-storage`)
- react-native-video (from `../node_modules/react-native-video`)
- react-native-webrtc (from `../node_modules/react-native-webrtc`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@ -615,6 +634,7 @@ DEPENDENCIES: @@ -615,6 +634,7 @@ DEPENDENCIES:
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- ReactNativeExceptionHandler (from `../node_modules/react-native-exception-handler`)
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- RNAudioRecorderPlayer (from `../node_modules/react-native-audio-recorder-player`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
@ -652,6 +672,7 @@ SPEC REPOS: @@ -652,6 +672,7 @@ SPEC REPOS:
- JitsiWebRTC
- libevent
- libwebp
- OneSignalXCFramework
- OpenSSL-Universal
- SDWebImage
- SDWebImageWebPCoder
@ -714,6 +735,8 @@ EXTERNAL SOURCES: @@ -714,6 +735,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-image-picker"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-onesignal:
:path: "../node_modules/react-native-onesignal"
react-native-pager-view:
:path: "../node_modules/react-native-pager-view"
react-native-restart:
@ -722,6 +745,8 @@ EXTERNAL SOURCES: @@ -722,6 +745,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-safe-area-context"
react-native-splash-screen:
:path: "../node_modules/react-native-splash-screen"
react-native-sqlite-storage:
:path: "../node_modules/react-native-sqlite-storage"
react-native-video:
:path: "../node_modules/react-native-video"
react-native-webrtc:
@ -752,6 +777,8 @@ EXTERNAL SOURCES: @@ -752,6 +777,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
ReactNativeExceptionHandler:
:path: "../node_modules/react-native-exception-handler"
rn-fetch-blob:
:path: "../node_modules/rn-fetch-blob"
RNAudioRecorderPlayer:
@ -814,6 +841,7 @@ SPEC CHECKSUMS: @@ -814,6 +841,7 @@ SPEC CHECKSUMS:
JitsiWebRTC: 80f62908fcf2a1160e0d14b584323fb6e6be630b
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
OneSignalXCFramework: 087934ab0d4d7445fcf1c015c7c782359e26c020
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: edad2afb54f1621f3515ac77a02f395653e3e05d
@ -829,16 +857,18 @@ SPEC CHECKSUMS: @@ -829,16 +857,18 @@ SPEC CHECKSUMS:
React-jsiexecutor: f2759b459772b281f569181a75d48ed2f4df6416
React-jsinspector: f4ccc5e774f1f7530f55f5367826f7158e3146aa
React-logger: 48c0f8e4e2314c50661a827019b506c172328049
react-native-cameraroll: 755bcc628148a90a7c9cf3f817a252be3a601bc5
react-native-cameraroll: 134805127580aed23403b8c2cb1548920dd77b3a
react-native-date-picker: 04e866ba4e7857f83abd504ad42e787f0f02ae00
react-native-document-picker: 2b8f18667caee73a96708a82b284a4f40b30a156
react-native-html-to-pdf: 4c5c6e26819fe202971061594058877aa9b25265
react-native-image-picker: db60857e03d63721f19b6f4027de20429ddd9cba
react-native-netinfo: ccbe1085dffd16592791d550189772e13bf479e2
react-native-onesignal: 7bd44dbd031d8d57110c0203836ffc37ddead526
react-native-pager-view: 0ccb8bf60e2ebd38b1f3669fa3650ecce81db2df
react-native-restart: 7595693413fe3ca15893702f2c8306c62a708162
react-native-safe-area-context: 9697629f7b2cda43cf52169bb7e0767d330648c2
react-native-splash-screen: 4312f786b13a81b5169ef346d76d33bc0c6dc457
react-native-sqlite-storage: f6d515e1c446d1e6d026aa5352908a25d4de3261
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
react-native-webrtc: 2702afae1e59882b423e6077768ca0d1e6fc42ed
React-perflogger: 78c280669d99aef163e23331366f5914a7298dae
@ -854,6 +884,7 @@ SPEC CHECKSUMS: @@ -854,6 +884,7 @@ SPEC CHECKSUMS:
React-RCTVibration: 2dd0f31c4bd4294861a227e5cc12163e0c74b623
React-runtimeexecutor: daf24a52db50b4d9af59d6b2295e70c5dd99da50
ReactCommon: ae1d021a0416d97e4c7ff9761d684c7eac504b18
ReactNativeExceptionHandler: b11ff67c78802b2f62eed0e10e75cb1ef7947c60
rn-fetch-blob: f065bb7ab7fb48dd002629f8bdcb0336602d3cba
RNAudioRecorderPlayer: 6638283925b46808310c9fdf803ebabc3abdbadc
RNCAsyncStorage: ddc4ee162bfd41b0d2c68bf2d95acd81dd7f1f93

267
package-lock.json generated

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
"@gorhom/bottom-sheet": "^4.4.7",
"@miblanchard/react-native-slider": "^2.1.0",
"@react-native-async-storage/async-storage": "^1.18.2",
"@react-native-camera-roll/camera-roll": "^5.6.0",
"@react-native-camera-roll/camera-roll": "^5.7.2",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/netinfo": "^9.3.10",
"@react-native-picker/picker": "^2.4.10",
@ -26,6 +26,7 @@ @@ -26,6 +26,7 @@
"buffer": "^6.0.3",
"cachios": "^4.0.0",
"deprecated-react-native-prop-types": "^4.1.0",
"events": "^3.3.0",
"ffmpeg-kit-react-native": "^5.1.0",
"jet-tools": "^1.3.0",
"lodash": "^4.17.21",
@ -45,16 +46,19 @@ @@ -45,16 +46,19 @@
"react-native-document-picker": "^9.0.1",
"react-native-draggable-switch": "^1.1.1",
"react-native-drawer": "^2.5.1",
"react-native-exception-handler": "^2.10.10",
"react-native-expire-storage": "^0.0.3",
"react-native-fast-image": "^8.6.3",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.11.0",
"react-native-gifted-chat": "^2.4.0",
"react-native-html-to-pdf": "^0.12.0",
"react-native-image-crop-picker": "^0.40.0",
"react-native-image-picker": "^5.6.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-masked-text": "^1.13.0",
"react-native-modal": "^13.0.1",
"react-native-onesignal": "^4.5.1",
"react-native-pager-view": "^6.2.0",
"react-native-permissions": "^3.8.4",
"react-native-raw-bottom-sheet": "^2.2.0",
@ -66,6 +70,7 @@ @@ -66,6 +70,7 @@
"react-native-share": "^9.2.3",
"react-native-sound-level": "^1.1.5",
"react-native-splash-screen": "^3.3.0",
"react-native-sqlite-storage": "^6.0.1",
"react-native-svg": "^13.10.0",
"react-native-swiper": "^1.6.0",
"react-native-tab-view": "^3.5.2",
@ -2224,6 +2229,18 @@ @@ -2224,6 +2229,18 @@
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/@expo/react-native-action-sheet": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@expo/react-native-action-sheet/-/react-native-action-sheet-4.0.1.tgz",
"integrity": "sha512-FwCFpjpB6yzrK8CIWssLlh/i6zQFytFBiJfNdz0mJ2ckU4hWk8SrjB37P0Q4kF7w0bnIdYzPgRbdPR9hnfFqPw==",
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.1",
"hoist-non-react-statics": "^3.3.0"
},
"peerDependencies": {
"react": ">=16.3.0"
}
},
"node_modules/@gorhom/bottom-sheet": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/@gorhom/bottom-sheet/-/bottom-sheet-4.4.7.tgz",
@ -3089,9 +3106,9 @@ @@ -3089,9 +3106,9 @@
}
},
"node_modules/@react-native-camera-roll/camera-roll": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/@react-native-camera-roll/camera-roll/-/camera-roll-5.6.0.tgz",
"integrity": "sha512-a/GYwnBTxj1yKWB9m/qy8GzjowSocML8NbLT81wdMh0JzZYXCLze51BR2cb8JNDgRPzA9xe7KpD3j9qQOSOjag==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/@react-native-camera-roll/camera-roll/-/camera-roll-5.7.2.tgz",
"integrity": "sha512-s8VAUG1Kvi+tEJkLHObmOJdXAL/uclnXJ/IdnJtx2fCKiWA3Ho0ln9gDQqCYHHHHu+sXk7wovsH/I2/AYy0brg==",
"peerDependencies": {
"react-native": ">=0.59"
}
@ -8074,6 +8091,14 @@ @@ -8074,6 +8091,14 @@
"node": ">=6"
}
},
"node_modules/events": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
"integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
"engines": {
"node": ">=0.8.x"
}
},
"node_modules/execa": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
@ -14225,6 +14250,11 @@ @@ -14225,6 +14250,11 @@
"nullthrows": "^1.1.1"
}
},
"node_modules/react-native-communications": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/react-native-communications/-/react-native-communications-2.2.1.tgz",
"integrity": "sha512-5+C0X9mopI0+qxyQHzOPEi5v5rxNBQjxydPPiKMQSlX1RBIcJ8uTcqUPssQ9Mo8p6c1IKIWJUSqCj4jAmD0qVQ=="
},
"node_modules/react-native-controlled-mentions": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/react-native-controlled-mentions/-/react-native-controlled-mentions-2.2.5.tgz",
@ -14307,6 +14337,15 @@ @@ -14307,6 +14337,15 @@
"tween-functions": "^1.0.1"
}
},
"node_modules/react-native-exception-handler": {
"version": "2.10.10",
"resolved": "https://registry.npmjs.org/react-native-exception-handler/-/react-native-exception-handler-2.10.10.tgz",
"integrity": "sha512-otAXGoZDl1689OoUJWN/rXxVbdoZ3xcmyF1uq/CsizdLwwyZqVGd6d+p/vbYvnF996FfEyAEBnHrdFxulTn51w==",
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-expire-storage": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/react-native-expire-storage/-/react-native-expire-storage-0.0.3.tgz",
@ -14396,6 +14435,47 @@ @@ -14396,6 +14435,47 @@
"react-native": "*"
}
},
"node_modules/react-native-gifted-chat": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/react-native-gifted-chat/-/react-native-gifted-chat-2.4.0.tgz",
"integrity": "sha512-dTpSMH8T4s16dM75oLXiDawpXoVSnApJZY9TWf0jYSRShw++0knnp38hO857zOrt6XhqJKm0JntT0pywYI3rYg==",
"dependencies": {
"@expo/react-native-action-sheet": "4.0.1",
"dayjs": "1.8.26",
"prop-types": "15.7.2",
"react-native-communications": "2.2.1",
"react-native-iphone-x-helper": "1.3.1",
"react-native-lightbox-v2": "0.9.0",
"react-native-parsed-text": "0.0.22",
"react-native-typing-animation": "0.1.7",
"use-memo-one": "1.1.3",
"uuid": "3.4.0"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-gifted-chat/node_modules/dayjs": {
"version": "1.8.26",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.8.26.tgz",
"integrity": "sha512-KqtAuIfdNfZR5sJY1Dixr2Is4ZvcCqhb0dZpCOt5dGEFiMzoIbjkTSzUb4QKTCsP+WNpGwUjAFIZrnZvUxxkhw=="
},
"node_modules/react-native-gifted-chat/node_modules/prop-types": {
"version": "15.7.2",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
"integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
"dependencies": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
"react-is": "^16.8.1"
}
},
"node_modules/react-native-gifted-chat/node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
"node_modules/react-native-gradle-plugin": {
"version": "0.71.19",
"resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.71.19.tgz",
@ -14443,6 +14523,15 @@ @@ -14443,6 +14523,15 @@
"react-native": ">=0.48.4"
}
},
"node_modules/react-native-lightbox-v2": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/react-native-lightbox-v2/-/react-native-lightbox-v2-0.9.0.tgz",
"integrity": "sha512-Fc5VFHFj2vokS+OegyTsANKb1CYoUlOtAv+EBH5wtpJn1b5cey6jVXH7136G5+8OC9JmKWSgKHc5thFwOoZTUg==",
"peerDependencies": {
"react": ">=16.8.0",
"react-native": ">=0.61.0"
}
},
"node_modules/react-native-make": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/react-native-make/-/react-native-make-1.0.1.tgz",
@ -14471,6 +14560,14 @@ @@ -14471,6 +14560,14 @@
"react-native": ">=0.65.0"
}
},
"node_modules/react-native-onesignal": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/react-native-onesignal/-/react-native-onesignal-4.5.1.tgz",
"integrity": "sha512-9XtRwW/Hn3dTD7jxQiKIW4+o1bWNgm1jCUPK1SkjyPd7TiH4cnGuL9JGaAMCUvAWUAp9KC8ejShr6v8K0dGVGQ==",
"dependencies": {
"invariant": "^2.2.2"
}
},
"node_modules/react-native-pager-view": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.2.0.tgz",
@ -14480,6 +14577,18 @@ @@ -14480,6 +14577,18 @@
"react-native": "*"
}
},
"node_modules/react-native-parsed-text": {
"version": "0.0.22",
"resolved": "https://registry.npmjs.org/react-native-parsed-text/-/react-native-parsed-text-0.0.22.tgz",
"integrity": "sha512-hfD83RDXZf9Fvth3DowR7j65fMnlqM9PpxZBGWkzVcUTFtqe6/yPcIoIAgrJbKn6YmtzkivmhWE2MCE4JKBXrQ==",
"dependencies": {
"prop-types": "^15.7.x"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-permissions": {
"version": "3.8.4",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.8.4.tgz",
@ -14645,6 +14754,14 @@ @@ -14645,6 +14754,14 @@
"react-native": ">=0.57.0"
}
},
"node_modules/react-native-sqlite-storage": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/react-native-sqlite-storage/-/react-native-sqlite-storage-6.0.1.tgz",
"integrity": "sha512-1tDFjrint6X6qSYKf3gDyz+XB+X79jfiL6xTugKHPRtF0WvqMtVgdLuNqZunIXjNEvNtNVEbXaeZ6MsguFu00A==",
"peerDependencies": {
"react-native": ">=0.14.0"
}
},
"node_modules/react-native-svg": {
"version": "13.10.0",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-13.10.0.tgz",
@ -14684,6 +14801,16 @@ @@ -14684,6 +14801,16 @@
"react-native-pager-view": "*"
}
},
"node_modules/react-native-typing-animation": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/react-native-typing-animation/-/react-native-typing-animation-0.1.7.tgz",
"integrity": "sha512-4H3rF9M+I2yAZpYJcY0Mb29TXkn98QK12rrKSY6LZj1BQD9NNmRZuNXzwX4XHapsIz+N/J8M3p27FOQPbfzqeg==",
"peerDependencies": {
"prop-types": "*",
"react": "*",
"react-native": "*"
}
},
"node_modules/react-native-vector-icons": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.0.0.tgz",
@ -16805,6 +16932,14 @@ @@ -16805,6 +16932,14 @@
"react": ">=16.8"
}
},
"node_modules/use-memo-one": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.3.tgz",
"integrity": "sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/use-sync-external-store": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
@ -16844,6 +16979,15 @@ @@ -16844,6 +16979,15 @@
"node": ">= 0.4.0"
}
},
"node_modules/uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
"bin": {
"uuid": "bin/uuid"
}
},
"node_modules/v8-to-istanbul": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz",
@ -18552,6 +18696,15 @@ @@ -18552,6 +18696,15 @@
"integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==",
"dev": true
},
"@expo/react-native-action-sheet": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@expo/react-native-action-sheet/-/react-native-action-sheet-4.0.1.tgz",
"integrity": "sha512-FwCFpjpB6yzrK8CIWssLlh/i6zQFytFBiJfNdz0mJ2ckU4hWk8SrjB37P0Q4kF7w0bnIdYzPgRbdPR9hnfFqPw==",
"requires": {
"@types/hoist-non-react-statics": "^3.3.1",
"hoist-non-react-statics": "^3.3.0"
}
},
"@gorhom/bottom-sheet": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/@gorhom/bottom-sheet/-/bottom-sheet-4.4.7.tgz",
@ -19203,9 +19356,9 @@ @@ -19203,9 +19356,9 @@
}
},
"@react-native-camera-roll/camera-roll": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/@react-native-camera-roll/camera-roll/-/camera-roll-5.6.0.tgz",
"integrity": "sha512-a/GYwnBTxj1yKWB9m/qy8GzjowSocML8NbLT81wdMh0JzZYXCLze51BR2cb8JNDgRPzA9xe7KpD3j9qQOSOjag==",
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/@react-native-camera-roll/camera-roll/-/camera-roll-5.7.2.tgz",
"integrity": "sha512-s8VAUG1Kvi+tEJkLHObmOJdXAL/uclnXJ/IdnJtx2fCKiWA3Ho0ln9gDQqCYHHHHu+sXk7wovsH/I2/AYy0brg==",
"requires": {}
},
"@react-native-community/cli": {
@ -22891,6 +23044,11 @@ @@ -22891,6 +23044,11 @@
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
},
"events": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
"integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="
},
"execa": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
@ -27566,6 +27724,11 @@ @@ -27566,6 +27724,11 @@
"nullthrows": "^1.1.1"
}
},
"react-native-communications": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/react-native-communications/-/react-native-communications-2.2.1.tgz",
"integrity": "sha512-5+C0X9mopI0+qxyQHzOPEi5v5rxNBQjxydPPiKMQSlX1RBIcJ8uTcqUPssQ9Mo8p6c1IKIWJUSqCj4jAmD0qVQ=="
},
"react-native-controlled-mentions": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/react-native-controlled-mentions/-/react-native-controlled-mentions-2.2.5.tgz",
@ -27627,6 +27790,12 @@ @@ -27627,6 +27790,12 @@
"tween-functions": "^1.0.1"
}
},
"react-native-exception-handler": {
"version": "2.10.10",
"resolved": "https://registry.npmjs.org/react-native-exception-handler/-/react-native-exception-handler-2.10.10.tgz",
"integrity": "sha512-otAXGoZDl1689OoUJWN/rXxVbdoZ3xcmyF1uq/CsizdLwwyZqVGd6d+p/vbYvnF996FfEyAEBnHrdFxulTn51w==",
"requires": {}
},
"react-native-expire-storage": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/react-native-expire-storage/-/react-native-expire-storage-0.0.3.tgz",
@ -27691,6 +27860,45 @@ @@ -27691,6 +27860,45 @@
"prop-types": "^15.7.2"
}
},
"react-native-gifted-chat": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/react-native-gifted-chat/-/react-native-gifted-chat-2.4.0.tgz",
"integrity": "sha512-dTpSMH8T4s16dM75oLXiDawpXoVSnApJZY9TWf0jYSRShw++0knnp38hO857zOrt6XhqJKm0JntT0pywYI3rYg==",
"requires": {
"@expo/react-native-action-sheet": "4.0.1",
"dayjs": "1.8.26",
"prop-types": "15.7.2",
"react-native-communications": "2.2.1",
"react-native-iphone-x-helper": "1.3.1",
"react-native-lightbox-v2": "0.9.0",
"react-native-parsed-text": "0.0.22",
"react-native-typing-animation": "0.1.7",
"use-memo-one": "1.1.3",
"uuid": "3.4.0"
},
"dependencies": {
"dayjs": {
"version": "1.8.26",
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.8.26.tgz",
"integrity": "sha512-KqtAuIfdNfZR5sJY1Dixr2Is4ZvcCqhb0dZpCOt5dGEFiMzoIbjkTSzUb4QKTCsP+WNpGwUjAFIZrnZvUxxkhw=="
},
"prop-types": {
"version": "15.7.2",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
"integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
"requires": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
"react-is": "^16.8.1"
}
},
"react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
}
}
},
"react-native-gradle-plugin": {
"version": "0.71.19",
"resolved": "https://registry.npmjs.org/react-native-gradle-plugin/-/react-native-gradle-plugin-0.71.19.tgz",
@ -27728,6 +27936,12 @@ @@ -27728,6 +27936,12 @@
"react-native-iphone-x-helper": "^1.0.3"
}
},
"react-native-lightbox-v2": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/react-native-lightbox-v2/-/react-native-lightbox-v2-0.9.0.tgz",
"integrity": "sha512-Fc5VFHFj2vokS+OegyTsANKb1CYoUlOtAv+EBH5wtpJn1b5cey6jVXH7136G5+8OC9JmKWSgKHc5thFwOoZTUg==",
"requires": {}
},
"react-native-make": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/react-native-make/-/react-native-make-1.0.1.tgz",
@ -27752,12 +27966,28 @@ @@ -27752,12 +27966,28 @@
"react-native-animatable": "1.3.3"
}
},
"react-native-onesignal": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/react-native-onesignal/-/react-native-onesignal-4.5.1.tgz",
"integrity": "sha512-9XtRwW/Hn3dTD7jxQiKIW4+o1bWNgm1jCUPK1SkjyPd7TiH4cnGuL9JGaAMCUvAWUAp9KC8ejShr6v8K0dGVGQ==",
"requires": {
"invariant": "^2.2.2"
}
},
"react-native-pager-view": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/react-native-pager-view/-/react-native-pager-view-6.2.0.tgz",
"integrity": "sha512-pf9OnL/Tkr+5s4Gjmsn7xh91PtJLDa6qxYa/bmtUhd/+s4cQdWQ8DIFoOFghwZIHHHwVdWtoXkp6HtpjN+r20g==",
"requires": {}
},
"react-native-parsed-text": {
"version": "0.0.22",
"resolved": "https://registry.npmjs.org/react-native-parsed-text/-/react-native-parsed-text-0.0.22.tgz",
"integrity": "sha512-hfD83RDXZf9Fvth3DowR7j65fMnlqM9PpxZBGWkzVcUTFtqe6/yPcIoIAgrJbKn6YmtzkivmhWE2MCE4JKBXrQ==",
"requires": {
"prop-types": "^15.7.x"
}
},
"react-native-permissions": {
"version": "3.8.4",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-3.8.4.tgz",
@ -27870,6 +28100,12 @@ @@ -27870,6 +28100,12 @@
"integrity": "sha512-rGjt6HkoSXxMqH4SQUJ1gnPQlPJV8+J47+4yhgTIan4bVvAwJhEeJH7wWt9hXSdH4+VfwTS0GTaflj1Tw83IhA==",
"requires": {}
},
"react-native-sqlite-storage": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/react-native-sqlite-storage/-/react-native-sqlite-storage-6.0.1.tgz",
"integrity": "sha512-1tDFjrint6X6qSYKf3gDyz+XB+X79jfiL6xTugKHPRtF0WvqMtVgdLuNqZunIXjNEvNtNVEbXaeZ6MsguFu00A==",
"requires": {}
},
"react-native-svg": {
"version": "13.10.0",
"resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-13.10.0.tgz",
@ -27900,6 +28136,12 @@ @@ -27900,6 +28136,12 @@
"use-latest-callback": "^0.1.5"
}
},
"react-native-typing-animation": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/react-native-typing-animation/-/react-native-typing-animation-0.1.7.tgz",
"integrity": "sha512-4H3rF9M+I2yAZpYJcY0Mb29TXkn98QK12rrKSY6LZj1BQD9NNmRZuNXzwX4XHapsIz+N/J8M3p27FOQPbfzqeg==",
"requires": {}
},
"react-native-vector-icons": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-10.0.0.tgz",
@ -29436,6 +29678,12 @@ @@ -29436,6 +29678,12 @@
"integrity": "sha512-VO/P91A/PmKH9bcN9a7O3duSuxe6M14ZoYXgA6a8dab8doWNdhiIHzEkX/jFeTTRBsX0Ubk6nG4q2NIjNsj+bg==",
"requires": {}
},
"use-memo-one": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.3.tgz",
"integrity": "sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==",
"requires": {}
},
"use-sync-external-store": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
@ -29472,6 +29720,11 @@ @@ -29472,6 +29720,11 @@
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA=="
},
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
},
"v8-to-istanbul": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz",

7
package.json

@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
"@gorhom/bottom-sheet": "^4.4.7",
"@miblanchard/react-native-slider": "^2.1.0",
"@react-native-async-storage/async-storage": "^1.18.2",
"@react-native-camera-roll/camera-roll": "^5.6.0",
"@react-native-camera-roll/camera-roll": "^5.7.2",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/netinfo": "^9.3.10",
"@react-native-picker/picker": "^2.4.10",
@ -28,6 +28,7 @@ @@ -28,6 +28,7 @@
"buffer": "^6.0.3",
"cachios": "^4.0.0",
"deprecated-react-native-prop-types": "^4.1.0",
"events": "^3.3.0",
"ffmpeg-kit-react-native": "^5.1.0",
"jet-tools": "^1.3.0",
"lodash": "^4.17.21",
@ -47,16 +48,19 @@ @@ -47,16 +48,19 @@
"react-native-document-picker": "^9.0.1",
"react-native-draggable-switch": "^1.1.1",
"react-native-drawer": "^2.5.1",
"react-native-exception-handler": "^2.10.10",
"react-native-expire-storage": "^0.0.3",
"react-native-fast-image": "^8.6.3",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "^2.11.0",
"react-native-gifted-chat": "^2.4.0",
"react-native-html-to-pdf": "^0.12.0",
"react-native-image-crop-picker": "^0.40.0",
"react-native-image-picker": "^5.6.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-masked-text": "^1.13.0",
"react-native-modal": "^13.0.1",
"react-native-onesignal": "^4.5.1",
"react-native-pager-view": "^6.2.0",
"react-native-permissions": "^3.8.4",
"react-native-raw-bottom-sheet": "^2.2.0",
@ -68,6 +72,7 @@ @@ -68,6 +72,7 @@
"react-native-share": "^9.2.3",
"react-native-sound-level": "^1.1.5",
"react-native-splash-screen": "^3.3.0",
"react-native-sqlite-storage": "^6.0.1",
"react-native-svg": "^13.10.0",
"react-native-swiper": "^1.6.0",
"react-native-tab-view": "^3.5.2",

6
src/modules/root/smart-components/fullscreen-video.smart-component.tsx

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
import React, { useState } from 'react'
import { IconComponent, useEventsListener, useTheme } from '@/shared'
import { Dimensions, StyleSheet, TouchableOpacity } from 'react-native'
import VideoPlayer from 'react-native-video-player'
// import VideoPlayer from 'react-native-video-player'
import Modal from 'react-native-modal'
export const FullscreenVideoSmart = () => {
@ -39,7 +39,7 @@ export const FullscreenVideoSmart = () => { @@ -39,7 +39,7 @@ export const FullscreenVideoSmart = () => {
onPress={() => close()}
/>
</TouchableOpacity>
<VideoPlayer
{/* <VideoPlayer
video={{
uri: url ? encodeURI(url) : url,
}}
@ -63,7 +63,7 @@ export const FullscreenVideoSmart = () => { @@ -63,7 +63,7 @@ export const FullscreenVideoSmart = () => {
seekBarKnob: styles.seekBarKnob,
}}
disableSeek={false}
/>
/> */}
</Modal>
)
}

6
src/modules/settings/hooks/use-setting-navigation-list.hook.ts

@ -3,7 +3,7 @@ import { ThemeContext } from '@/shared/themes' @@ -3,7 +3,7 @@ import { ThemeContext } from '@/shared/themes'
import { useContext } from 'react'
import { Alert } from 'react-native'
import { SettingsItemActionType } from '../enums'
import ClearCache from 'oa-react-native-clear-cache'
// import ClearCache from 'oa-react-native-clear-cache'
import { chatMembersService, chatMessagesService } from '@/services/domain'
export const useSettingNavigationList = (navigation: {
@ -54,9 +54,7 @@ export const useSettingNavigationList = (navigation: { @@ -54,9 +54,7 @@ export const useSettingNavigationList = (navigation: {
title: 'Ви впевнені, що хочете \n очистити кеш додатку?',
buttonToHighlight: 'allow',
allowBtnAction: () =>
ClearCache.clearAppCache(() =>
Alert.alert('Кеш додатку успішно очищено'),
),
Alert.alert('Кеш додатку успішно очищено'),
notAllowBtnAction: () =>
appEvents.emit('closeConfirmModal', {}),
}),

8
src/modules/tasks/hooks/use-tasks-print.hook.ts

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
import { useRef } from 'react'
import RNPrint from 'react-native-print'
// import RNPrint from 'react-native-print'
import { IFullTaskInfo } from '@/shared'
import { tasksService } from '@/services/domain'
import moment from 'moment'
@ -13,9 +13,9 @@ export const useTasksPrint = () => { @@ -13,9 +13,9 @@ export const useTasksPrint = () => {
const html = await Promise.all(
tasksIds.map(async it => getTaskHtml(it)),
)
await RNPrint.print({
html: html.join(' '),
})
// await RNPrint.print({
// html: html.join(' '),
// })
}
const pdf = async (tasksIds: (number | string)[]) => {

15
src/modules/tasks/screens/print-tasks.screen.tsx

@ -1,11 +1,10 @@ @@ -1,11 +1,10 @@
import React, { FC, useEffect, useRef, useState } from 'react'
import React, { FC, useRef } from 'react'
import { StyleSheet, View } from 'react-native'
import { IFullTaskInfo, IRouteParams, ScreenLayout, Txt } from '@/shared'
import { useTheme } from '@/shared/hooks/use-theme.hook'
import { PartialTheme } from '@/shared/themes/interfaces'
import _ from 'lodash'
import RNPrint from 'react-native-print'
import { tasksService } from '@/services/domain'
import moment from 'moment'
@ -13,19 +12,9 @@ interface IProps extends IRouteParams {} @@ -13,19 +12,9 @@ interface IProps extends IRouteParams {}
export const PrintTasks: FC<IProps> = ({ navigation, route: { params } }) => {
const { styles } = useTheme(createStyles)
const tasksIds: number[] = params.tasksIds
const tasksRef = useRef<Record<number, IFullTaskInfo>>({})
const print = async () => {
const html = await Promise.all(
tasksIds.map(async it => getTaskHtml(it)),
)
await RNPrint.print({
html: html.join(' '),
})
}
const getTask = async (id: number): Promise<IFullTaskInfo> => {
if (tasksRef.current[id]) return tasksRef.current[id]
@ -81,7 +70,7 @@ export const PrintTasks: FC<IProps> = ({ navigation, route: { params } }) => { @@ -81,7 +70,7 @@ export const PrintTasks: FC<IProps> = ({ navigation, route: { params } }) => {
)
}
const createStyles = (theme: PartialTheme) =>
const createStyles = () =>
StyleSheet.create({
container: {},
})

2
src/services/system/camera-roll.service.ts

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
import { PermissionsAndroid, Platform } from 'react-native'
import CameraRoll from '@react-native-community/cameraroll'
import { CameraRoll } from '@react-native-camera-roll/camera-roll'
import RNFS from 'react-native-fs'
import { createUniqueFileName } from '@/shared/helpers'

71
tsconfig.json

@ -1,3 +1,72 @@ @@ -1,3 +1,72 @@
{
"extends": "@tsconfig/react-native/tsconfig.json"
"extends": "@tsconfig/react-native/tsconfig.json",
"compilerOptions": {
/* Basic Options */
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"lib": [
"es7",
"dom"
] /* Specify library files to be included in the compilation. */,
"allowJs": true /* Allow javascript files to be compiled. */,
// "checkJs": true, /* Report errors in .js files. */
"jsx": "react-native" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
// "declaration": true, /* Generates corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true,
"resolveJsonModule": true /* Do not emit comments to output. */,
"noEmit": true /* Do not emit outputs. */,
// "incremental": true, /* Enable incremental compilation */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
"isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */,
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": false /* Raise error on expressions and declarations with an implied 'any' type. */,
"strictNullChecks": false /* Enable strict null checks. */,
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
/* Additional Checks */
"noUnusedLocals": false /* Report errors on unused locals. */,
// "noUnusedParameters": true, /* Report errors on unused parameters. */
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"baseUrl": "./" /* Base directory to resolve non-absolute module names. */,
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
// "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"paths": {
"@/*": ["./src/*"],
"$components": ["./src/shared/components"]
}
},
"exclude": [
"node_modules",
"babel.config.js",
"metro.config.js",
"jest.config.js"
]
}

Loading…
Cancel
Save