@fadyshawky/react-native-magic 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/package.json +90 -1
- package/template/ios/Podfile.lock +6 -26
- package/template/ios/reactnativemagic.xcodeproj/project.pbxproj +72 -66
- package/template/ios/tmp.xcconfig +3 -0
- package/template/package-lock.json +902 -3368
- package/template/package.json +13 -25
- package/template/src/core/store/user/userActions.ts +2 -3
- package/.vscode/settings.json +0 -7
package/template/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "@fadyshawky/react-native-magic",
|
|
3
3
|
"version": "0.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
@@ -13,10 +13,12 @@
|
|
|
13
13
|
"ios": "react-native run-ios",
|
|
14
14
|
"lint": "eslint .",
|
|
15
15
|
"start": "react-native start",
|
|
16
|
+
"start:development": "ENVFILE=.env.development react-native start --reset-cache",
|
|
17
|
+
"start:production": "ENVFILE=.env.production react-native start --reset-cache",
|
|
18
|
+
"start:staging": "ENVFILE=.env.staging react-native start --reset-cache",
|
|
16
19
|
"test": "jest"
|
|
17
20
|
},
|
|
18
21
|
"dependencies": {
|
|
19
|
-
"@gorhom/bottom-sheet": "^5.0.6",
|
|
20
22
|
"@react-native-async-storage/async-storage": "^2.1.0",
|
|
21
23
|
"@react-native-camera-roll/camera-roll": "^7.9.0",
|
|
22
24
|
"@react-native-community/datetimepicker": "^8.2.0",
|
|
@@ -35,39 +37,20 @@
|
|
|
35
37
|
"@types/lodash": "^4.17.13",
|
|
36
38
|
"@types/react-native-vector-icons": "^6.4.18",
|
|
37
39
|
"@types/react-redux": "^7.1.34",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
39
|
-
"@typescript-eslint/parser": "^8.18.1",
|
|
40
40
|
"axios": "^1.7.9",
|
|
41
41
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
42
42
|
"dayjs": "^1.11.13",
|
|
43
43
|
"detox": "^20.28.0",
|
|
44
|
-
"eslint-config-react-strong": "^2.4.0",
|
|
45
|
-
"eslint-import-resolver-typescript": "^3.7.0",
|
|
46
|
-
"eslint-plugin-import": "^2.31.0",
|
|
47
|
-
"eslint-plugin-jest": "^28.10.0",
|
|
48
|
-
"eslint-plugin-react": "^7.37.2",
|
|
49
|
-
"eslint-plugin-react-hooks": "^5.1.0",
|
|
50
|
-
"eslint-plugin-react-native": "^4.1.0",
|
|
51
|
-
"eslint-plugin-unused-imports": "^4.1.4",
|
|
52
|
-
"husky": "^9.1.7",
|
|
53
44
|
"intl": "^1.2.5",
|
|
54
|
-
"lint-staged": "^15.2.11",
|
|
55
45
|
"lodash": "^4.17.21",
|
|
56
|
-
"metro-react-native-babel-preset": "^0.77.0",
|
|
57
46
|
"mime": "^4.0.6",
|
|
58
|
-
"moment": "^2.30.1",
|
|
59
47
|
"patch-package": "^8.0.0",
|
|
60
48
|
"react": "^18.3.1",
|
|
61
|
-
"react-dom": "^19.0.0",
|
|
62
49
|
"react-native": "^0.76.5",
|
|
63
50
|
"react-native-actions-sheet": "^0.9.7",
|
|
64
51
|
"react-native-animated-pagination-dots": "^0.1.73",
|
|
65
|
-
"react-native-bundle-visualizer": "^3.1.3",
|
|
66
52
|
"react-native-calendars": "^1.1307.0",
|
|
67
|
-
"react-native-camera": "^4.2.1",
|
|
68
53
|
"react-native-config": "^1.5.3",
|
|
69
|
-
"react-native-config-node": "^0.0.3",
|
|
70
|
-
"react-native-dev-menu": "^4.1.1",
|
|
71
54
|
"react-native-device-info": "^14.0.2",
|
|
72
55
|
"react-native-dropdown-select-list": "^2.0.5",
|
|
73
56
|
"react-native-gesture-handler": "^2.21.2",
|
|
@@ -77,6 +60,7 @@
|
|
|
77
60
|
"react-native-keyboard-aware-scroll-view": "^0.9.5",
|
|
78
61
|
"react-native-localization": "^2.3.2",
|
|
79
62
|
"react-native-mask-input": "^1.2.3",
|
|
63
|
+
"react-native-orientation-locker": "^1.7.0",
|
|
80
64
|
"react-native-pager-view": "^6.6.1",
|
|
81
65
|
"react-native-permissions": "^5.2.1",
|
|
82
66
|
"react-native-reanimated": "^3.16.6",
|
|
@@ -85,24 +69,22 @@
|
|
|
85
69
|
"react-native-screens": "^4.4.0",
|
|
86
70
|
"react-native-sfsymbols": "^1.2.2",
|
|
87
71
|
"react-native-share": "^12.0.3",
|
|
88
|
-
"react-native-size-matters": "^0.4.2",
|
|
89
72
|
"react-native-snackbar": "^2.8.0",
|
|
90
73
|
"react-native-svg": "^15.10.1",
|
|
91
74
|
"react-native-tab-view": "^4.0.5",
|
|
92
75
|
"react-native-vector-icons": "^10.2.0",
|
|
93
|
-
"react-native-version": "^4.0.0",
|
|
94
76
|
"react-native-vision-camera": "^4.6.3",
|
|
95
77
|
"react-native-webview": "^13.12.5",
|
|
96
78
|
"react-redux": "^9.2.0",
|
|
97
79
|
"redux": "^5.0.1",
|
|
98
80
|
"redux-persist": "^6.0.0",
|
|
99
|
-
"redux-persist-transform-filter": "^0.0.22"
|
|
100
|
-
"rn-fetch-blob": "^0.12.0"
|
|
81
|
+
"redux-persist-transform-filter": "^0.0.22"
|
|
101
82
|
},
|
|
102
83
|
"devDependencies": {
|
|
103
84
|
"@babel/core": "^7.25.2",
|
|
104
85
|
"@babel/preset-env": "^7.26.0",
|
|
105
86
|
"@babel/runtime": "^7.26.0",
|
|
87
|
+
"@jest/globals": "^29.7.0",
|
|
106
88
|
"@react-native-community/cli": "15.0.1",
|
|
107
89
|
"@react-native-community/cli-platform-android": "15.0.1",
|
|
108
90
|
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
@@ -114,6 +96,12 @@
|
|
|
114
96
|
"@types/react-test-renderer": "^18.3.1",
|
|
115
97
|
"babel-jest": "^29.7.0",
|
|
116
98
|
"eslint": "^8.57.1",
|
|
99
|
+
"eslint-plugin-import": "^2.31.0",
|
|
100
|
+
"eslint-plugin-jest": "^28.10.0",
|
|
101
|
+
"eslint-plugin-react": "^7.37.2",
|
|
102
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
103
|
+
"eslint-plugin-react-native": "^4.1.0",
|
|
104
|
+
"eslint-plugin-unused-imports": "^4.1.4",
|
|
117
105
|
"jest": "^29.7.0",
|
|
118
106
|
"prettier": "^2.8.8",
|
|
119
107
|
"react-test-renderer": "^18.3.1",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import moment from 'moment';
|
|
2
|
-
import {handleFetchJsonResponse} from '../../api/responseHandlers';
|
|
3
|
-
import {get, post, put} from '../../api/serverHeaders';
|
|
4
1
|
import {createAsyncThunk} from '@reduxjs/toolkit';
|
|
2
|
+
import {handleFetchJsonResponse} from '../../api/responseHandlers';
|
|
3
|
+
import {post} from '../../api/serverHeaders';
|
|
5
4
|
|
|
6
5
|
export const userLogin = createAsyncThunk(
|
|
7
6
|
'user/login',
|