@gaddario98/react-native-core 1.0.12 → 1.0.15

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.
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactAuth = require('@gaddario98/react-auth');
4
+
5
+
6
+
7
+ Object.keys(reactAuth).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactAuth[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var reactNative = require('react-native');
5
+ var reactLocalization = require('@gaddario98/react-localization');
6
+ var reactNativeState = require('@gaddario98/react-native-state');
7
+ var reactNativePages = require('@gaddario98/react-native-pages');
8
+ var reactQueries = require('@gaddario98/react-queries');
9
+ var reactNativeUtiles = require('@gaddario98/react-native-utiles');
10
+ var reactForm = require('@gaddario98/react-form');
11
+
12
+ const setReactNativeConfig = ({
13
+ pages,
14
+ endpoints,
15
+ localization,
16
+ links
17
+ }) => {
18
+ if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
19
+ reactLocalization.setI18nInitializer(localization.i18nInitializer);
20
+ }
21
+ if (localization === null || localization === void 0 ? void 0 : localization.translationAdapter) {
22
+ reactLocalization.setTranslationAdapter(localization.translationAdapter);
23
+ }
24
+ if (localization === null || localization === void 0 ? void 0 : localization.localResources) {
25
+ reactLocalization.initializeI18n(localization.localResources);
26
+ }
27
+ reactNativeState.setReactNativeStorage();
28
+ reactNativePages.setReactNativePageConfig(pages);
29
+ reactQueries.setEndpoints(endpoints);
30
+ reactNativeUtiles.setAppLinks(links);
31
+ reactForm.setDefaultFormContainer(({
32
+ children
33
+ }) => {
34
+ return jsxRuntime.jsx(reactNative.KeyboardAvoidingView, {
35
+ behavior: reactNative.Platform.OS === "ios" ? "padding" : undefined,
36
+ children: children
37
+ });
38
+ });
39
+ };
40
+
41
+ exports.setReactNativeConfig = setReactNativeConfig;
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\n"],"names":["setReactNativeConfig","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":";;;;;;;;;;;AAuBO,MAAMA,oBAAoB,GAAGA,CAAC;EACnCC,KAAK;EACLC,SAAS;EACTC,YAAY;AACZC,EAAAA;AAAK,CACqB,KAAI;AAC9B,EAAA,IAAID,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEE,eAAe,EAAE;AACjCC,IAAAA,oCAAkB,CAACH,YAAY,CAACE,eAAe,CAAC;AAClD,EAAA;AACA,EAAA,IAAIF,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEI,kBAAkB,EAAE;AACpCC,IAAAA,uCAAqB,CAACL,YAAY,CAACI,kBAAkB,CAAC;AACxD,EAAA;AACA,EAAA,IAAIJ,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEM,cAAc,EAAE;AAChCC,IAAAA,gCAAc,CAACP,YAAY,CAACM,cAAc,CAAC;AAC7C,EAAA;AACAE,EAAAA,sCAAqB,EAAE;EACvBC,yCAAwB,CAACX,KAAK,CAAC;EAC/BY,yBAAY,CAACX,SAAS,CAAC;EACvBY,6BAAW,CAACV,KAAK,CAAC;AAClBW,EAAAA,iCAAuB,CAAC,CAAC;AAAEC,IAAAA;AAAQ,GAAE,KAAI;IACvC,OACEC,eAACC,gCAAoB,EAAA;MACnBC,QAAQ,EAAEC,oBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,SAAS,GAAGC,SAAS;AAAAN,MAAAA,QAAA,EAEtDA;AAAQ,KAAA,CACY;AAE3B,EAAA,CAAC,CAAC;AACJ;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var expo = require('@gaddario98/expo');
4
+
5
+
6
+
7
+ Object.keys(expo).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return expo[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactForm = require('@gaddario98/react-form');
4
+
5
+
6
+
7
+ Object.keys(reactForm).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactForm[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/index.js ADDED
@@ -0,0 +1,113 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var reactNative = require('react-native');
5
+ var reactLocalization = require('@gaddario98/react-localization');
6
+ var reactNativeState = require('@gaddario98/react-native-state');
7
+ var reactNativePages = require('@gaddario98/react-native-pages');
8
+ var reactQueries = require('@gaddario98/react-queries');
9
+ var reactNativeUtiles = require('@gaddario98/react-native-utiles');
10
+ var reactForm = require('@gaddario98/react-form');
11
+ var reactAuth = require('@gaddario98/react-auth');
12
+ var expo = require('@gaddario98/expo');
13
+ var reactNativeLayouts = require('@gaddario98/react-native-layouts');
14
+ var reactNativeProviders = require('@gaddario98/react-native-providers');
15
+ var reactNativeTabs = require('@gaddario98/react-native-tabs');
16
+
17
+ const setReactNativeConfig = ({
18
+ pages,
19
+ endpoints,
20
+ localization,
21
+ links
22
+ }) => {
23
+ if (localization === null || localization === void 0 ? void 0 : localization.i18nInitializer) {
24
+ reactLocalization.setI18nInitializer(localization.i18nInitializer);
25
+ }
26
+ if (localization === null || localization === void 0 ? void 0 : localization.translationAdapter) {
27
+ reactLocalization.setTranslationAdapter(localization.translationAdapter);
28
+ }
29
+ if (localization === null || localization === void 0 ? void 0 : localization.localResources) {
30
+ reactLocalization.initializeI18n(localization.localResources);
31
+ }
32
+ reactNativeState.setReactNativeStorage();
33
+ reactNativePages.setReactNativePageConfig(pages);
34
+ reactQueries.setEndpoints(endpoints);
35
+ reactNativeUtiles.setAppLinks(links);
36
+ reactForm.setDefaultFormContainer(({
37
+ children
38
+ }) => {
39
+ return jsxRuntime.jsx(reactNative.KeyboardAvoidingView, {
40
+ behavior: reactNative.Platform.OS === "ios" ? "padding" : undefined,
41
+ children: children
42
+ });
43
+ });
44
+ };
45
+
46
+ exports.setReactNativeConfig = setReactNativeConfig;
47
+ Object.keys(reactLocalization).forEach(function (k) {
48
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
49
+ enumerable: true,
50
+ get: function () { return reactLocalization[k]; }
51
+ });
52
+ });
53
+ Object.keys(reactNativeState).forEach(function (k) {
54
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
55
+ enumerable: true,
56
+ get: function () { return reactNativeState[k]; }
57
+ });
58
+ });
59
+ Object.keys(reactNativePages).forEach(function (k) {
60
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
61
+ enumerable: true,
62
+ get: function () { return reactNativePages[k]; }
63
+ });
64
+ });
65
+ Object.keys(reactQueries).forEach(function (k) {
66
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
67
+ enumerable: true,
68
+ get: function () { return reactQueries[k]; }
69
+ });
70
+ });
71
+ Object.keys(reactNativeUtiles).forEach(function (k) {
72
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
73
+ enumerable: true,
74
+ get: function () { return reactNativeUtiles[k]; }
75
+ });
76
+ });
77
+ Object.keys(reactForm).forEach(function (k) {
78
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
79
+ enumerable: true,
80
+ get: function () { return reactForm[k]; }
81
+ });
82
+ });
83
+ Object.keys(reactAuth).forEach(function (k) {
84
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
85
+ enumerable: true,
86
+ get: function () { return reactAuth[k]; }
87
+ });
88
+ });
89
+ Object.keys(expo).forEach(function (k) {
90
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
91
+ enumerable: true,
92
+ get: function () { return expo[k]; }
93
+ });
94
+ });
95
+ Object.keys(reactNativeLayouts).forEach(function (k) {
96
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
97
+ enumerable: true,
98
+ get: function () { return reactNativeLayouts[k]; }
99
+ });
100
+ });
101
+ Object.keys(reactNativeProviders).forEach(function (k) {
102
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
103
+ enumerable: true,
104
+ get: function () { return reactNativeProviders[k]; }
105
+ });
106
+ });
107
+ Object.keys(reactNativeTabs).forEach(function (k) {
108
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
109
+ enumerable: true,
110
+ get: function () { return reactNativeTabs[k]; }
111
+ });
112
+ });
113
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../config/index.tsx"],"sourcesContent":["import { setReactNativeStorage } from \"../state\";\nimport { setEndpoints } from \"../queries\";\nimport { PageConfigProps, setReactNativePageConfig } from \"../pages\";\nimport {\n initializeI18n,\n setI18nInitializer,\n setTranslationAdapter,\n} from \"../localization\";\nimport { AppLinks, setAppLinks } from \"../utiles\";\nimport { KeyboardAvoidingView, Platform } from \"react-native\";\nimport { setDefaultFormContainer } from \"../form\";\n\nexport interface SetReactNativeConfigProps {\n pages: Partial<PageConfigProps>;\n endpoints: Record<string, string>;\n links: Partial<AppLinks>;\n localization?: {\n i18nInitializer: Parameters<typeof setI18nInitializer>[0];\n translationAdapter: Parameters<typeof setTranslationAdapter>[0];\n localResources?: Record<string, object>;\n };\n}\n\nexport const setReactNativeConfig = ({\n pages,\n endpoints,\n localization,\n links,\n}: SetReactNativeConfigProps) => {\n if (localization?.i18nInitializer) {\n setI18nInitializer(localization.i18nInitializer);\n }\n if (localization?.translationAdapter) {\n setTranslationAdapter(localization.translationAdapter);\n }\n if (localization?.localResources) {\n initializeI18n(localization.localResources);\n }\n setReactNativeStorage();\n setReactNativePageConfig(pages);\n setEndpoints(endpoints);\n setAppLinks(links);\n setDefaultFormContainer(({ children }) => {\n return (\n <KeyboardAvoidingView\n behavior={Platform.OS === \"ios\" ? \"padding\" : undefined}\n >\n {children}\n </KeyboardAvoidingView>\n );\n });\n};\n"],"names":["setReactNativeConfig","pages","endpoints","localization","links","i18nInitializer","setI18nInitializer","translationAdapter","setTranslationAdapter","localResources","initializeI18n","setReactNativeStorage","setReactNativePageConfig","setEndpoints","setAppLinks","setDefaultFormContainer","children","_jsx","KeyboardAvoidingView","behavior","Platform","OS","undefined"],"mappings":";;;;;;;;;;;;;;;;AAuBO,MAAMA,oBAAoB,GAAGA,CAAC;EACnCC,KAAK;EACLC,SAAS;EACTC,YAAY;AACZC,EAAAA;AAAK,CACqB,KAAI;AAC9B,EAAA,IAAID,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEE,eAAe,EAAE;AACjCC,IAAAA,oCAAkB,CAACH,YAAY,CAACE,eAAe,CAAC;AAClD,EAAA;AACA,EAAA,IAAIF,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEI,kBAAkB,EAAE;AACpCC,IAAAA,uCAAqB,CAACL,YAAY,CAACI,kBAAkB,CAAC;AACxD,EAAA;AACA,EAAA,IAAIJ,YAAY,aAAZA,YAAY,KAAA,MAAA,GAAA,MAAA,GAAZA,YAAY,CAAEM,cAAc,EAAE;AAChCC,IAAAA,gCAAc,CAACP,YAAY,CAACM,cAAc,CAAC;AAC7C,EAAA;AACAE,EAAAA,sCAAqB,EAAE;EACvBC,yCAAwB,CAACX,KAAK,CAAC;EAC/BY,yBAAY,CAACX,SAAS,CAAC;EACvBY,6BAAW,CAACV,KAAK,CAAC;AAClBW,EAAAA,iCAAuB,CAAC,CAAC;AAAEC,IAAAA;AAAQ,GAAE,KAAI;IACvC,OACEC,eAACC,gCAAoB,EAAA;MACnBC,QAAQ,EAAEC,oBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,SAAS,GAAGC,SAAS;AAAAN,MAAAA,QAAA,EAEtDA;AAAQ,KAAA,CACY;AAE3B,EAAA,CAAC,CAAC;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativeLayouts = require('@gaddario98/react-native-layouts');
4
+
5
+
6
+
7
+ Object.keys(reactNativeLayouts).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativeLayouts[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactLocalization = require('@gaddario98/react-localization');
4
+
5
+
6
+
7
+ Object.keys(reactLocalization).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactLocalization[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativePages = require('@gaddario98/react-native-pages');
4
+
5
+
6
+
7
+ Object.keys(reactNativePages).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativePages[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativeProviders = require('@gaddario98/react-native-providers');
4
+
5
+
6
+
7
+ Object.keys(reactNativeProviders).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativeProviders[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactQueries = require('@gaddario98/react-queries');
4
+
5
+
6
+
7
+ Object.keys(reactQueries).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactQueries[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativeState = require('@gaddario98/react-native-state');
4
+
5
+
6
+
7
+ Object.keys(reactNativeState).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativeState[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativeTabs = require('@gaddario98/react-native-tabs');
4
+
5
+
6
+
7
+ Object.keys(reactNativeTabs).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativeTabs[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var reactNativeUtiles = require('@gaddario98/react-native-utiles');
4
+
5
+
6
+
7
+ Object.keys(reactNativeUtiles).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return reactNativeUtiles[k]; }
11
+ });
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,31 +1,23 @@
1
1
  {
2
2
  "name": "@gaddario98/react-native-core",
3
- "version": "1.0.12",
4
- "main": "dist/index.mjs",
3
+ "version": "1.0.15",
4
+ "type": "module",
5
+ "main": "dist/index.js",
5
6
  "module": "dist/index.mjs",
6
7
  "types": "dist/index.d.ts",
7
- "type": "module",
8
+ "react-native": "dist/index.js",
8
9
  "license": "MIT",
9
10
  "files": [
10
11
  "dist"
11
12
  ],
12
13
  "scripts": {
13
- "build": "rollup -c rollup.config.js && rollup -c rollup.dts.config.js"
14
+ "build": "rollup -c rollup.config.js && rollup -c rollup.dts.config.js",
15
+ "prepublishOnly": "yarn build"
14
16
  },
15
17
  "devDependencies": {
16
- "@gaddario98/expo": "^1.0.12",
17
- "@gaddario98/react-auth": "^1.0.13",
18
- "@gaddario98/react-form": "^1.0.15",
19
- "@gaddario98/react-localization": "^1.0.12",
20
- "@gaddario98/react-native-layouts": "^1.0.13",
21
- "@gaddario98/react-native-pages": "^1.0.12",
22
- "@gaddario98/react-native-providers": "^1.0.11",
23
- "@gaddario98/react-native-state": "^1.0.10",
24
- "@gaddario98/react-native-tabs": "^1.0.16",
25
- "@gaddario98/react-native-utiles": "^1.0.10",
26
- "@gaddario98/react-queries": "^1.0.16",
27
18
  "@rollup/plugin-babel": "^6.0.4",
28
19
  "@rollup/plugin-commonjs": "^28.0.3",
20
+ "@rollup/plugin-json": "^6.1.0",
29
21
  "@rollup/plugin-node-resolve": "^16.0.1",
30
22
  "@rollup/plugin-typescript": "^12.1.2",
31
23
  "@types/react": "^19.2.0",
@@ -34,84 +26,111 @@
34
26
  "babel-plugin-react-compiler": "1",
35
27
  "react": "^19.2.0",
36
28
  "react-dom": "^19.2.0",
37
- "react-native": "^0.82.0",
29
+ "react-native": "^0.81.0",
38
30
  "rollup": "^4.40.0",
39
31
  "rollup-plugin-peer-deps-external": "^2.2.4",
40
32
  "typescript": "^5.8.3"
41
33
  },
34
+ "dependencies": {
35
+ "@gaddario98/expo": "^1.0.15",
36
+ "@gaddario98/react-auth": "^1.0.14",
37
+ "@gaddario98/react-form": "^1.0.18",
38
+ "@gaddario98/react-localization": "^1.0.15",
39
+ "@gaddario98/react-native-layouts": "^1.0.16",
40
+ "@gaddario98/react-native-pages": "^1.0.15",
41
+ "@gaddario98/react-native-providers": "^1.0.14",
42
+ "@gaddario98/react-native-state": "^1.0.13",
43
+ "@gaddario98/react-native-tabs": "^1.0.19",
44
+ "@gaddario98/react-native-utiles": "^1.0.13",
45
+ "@gaddario98/react-queries": "^1.0.19"
46
+ },
42
47
  "peerDependencies": {
43
- "@gaddario98/expo": "^1.0.12",
44
- "@gaddario98/react-auth": "^1.0.13",
45
- "@gaddario98/react-form": "^1.0.15",
46
- "@gaddario98/react-localization": "^1.0.12",
47
- "@gaddario98/react-native-layouts": "^1.0.13",
48
- "@gaddario98/react-native-pages": "^1.0.12",
49
- "@gaddario98/react-native-providers": "^1.0.11",
50
- "@gaddario98/react-native-state": "^1.0.10",
51
- "@gaddario98/react-native-tabs": "^1.0.16",
52
- "@gaddario98/react-native-utiles": "^1.0.10",
53
- "@gaddario98/react-queries": "^1.0.16",
54
- "react": "^19.2.0",
55
- "react-dom": "^19.2.0",
56
- "react-native": "^0.82.0"
48
+ "react": ">=18.0.0 <20.0.0",
49
+ "react-native": "^0.81.0"
57
50
  },
58
51
  "exports": {
59
52
  "./auth": {
53
+ "types": "./dist/auth/index.d.ts",
60
54
  "import": "./dist/auth/index.mjs",
61
- "types": "./dist/auth/index.d.ts"
55
+ "require": "./dist/auth/index.js",
56
+ "default": "./dist/auth/index.js"
62
57
  },
63
58
  "./config": {
59
+ "types": "./dist/config/index.d.ts",
64
60
  "import": "./dist/config/index.mjs",
65
- "types": "./dist/config/index.d.ts"
61
+ "require": "./dist/config/index.js",
62
+ "default": "./dist/config/index.js"
66
63
  },
67
64
  "./expo": {
65
+ "types": "./dist/expo/index.d.ts",
68
66
  "import": "./dist/expo/index.mjs",
69
- "types": "./dist/expo/index.d.ts"
67
+ "require": "./dist/expo/index.js",
68
+ "default": "./dist/expo/index.js"
70
69
  },
71
70
  "./form": {
71
+ "types": "./dist/form/index.d.ts",
72
72
  "import": "./dist/form/index.mjs",
73
- "types": "./dist/form/index.d.ts"
73
+ "require": "./dist/form/index.js",
74
+ "default": "./dist/form/index.js"
74
75
  },
75
76
  "./layouts": {
77
+ "types": "./dist/layouts/index.d.ts",
76
78
  "import": "./dist/layouts/index.mjs",
77
- "types": "./dist/layouts/index.d.ts"
79
+ "require": "./dist/layouts/index.js",
80
+ "default": "./dist/layouts/index.js"
78
81
  },
79
82
  "./localization": {
83
+ "types": "./dist/localization/index.d.ts",
80
84
  "import": "./dist/localization/index.mjs",
81
- "types": "./dist/localization/index.d.ts"
85
+ "require": "./dist/localization/index.js",
86
+ "default": "./dist/localization/index.js"
82
87
  },
83
88
  "./pages": {
89
+ "types": "./dist/pages/index.d.ts",
84
90
  "import": "./dist/pages/index.mjs",
85
- "types": "./dist/pages/index.d.ts"
91
+ "require": "./dist/pages/index.js",
92
+ "default": "./dist/pages/index.js"
86
93
  },
87
94
  "./providers": {
95
+ "types": "./dist/providers/index.d.ts",
88
96
  "import": "./dist/providers/index.mjs",
89
- "types": "./dist/providers/index.d.ts"
97
+ "require": "./dist/providers/index.js",
98
+ "default": "./dist/providers/index.js"
90
99
  },
91
100
  "./queries": {
101
+ "types": "./dist/queries/index.d.ts",
92
102
  "import": "./dist/queries/index.mjs",
93
- "types": "./dist/queries/index.d.ts"
103
+ "require": "./dist/queries/index.js",
104
+ "default": "./dist/queries/index.js"
94
105
  },
95
106
  "./state": {
107
+ "types": "./dist/state/index.d.ts",
96
108
  "import": "./dist/state/index.mjs",
97
- "types": "./dist/state/index.d.ts"
109
+ "require": "./dist/state/index.js",
110
+ "default": "./dist/state/index.js"
98
111
  },
99
112
  "./tabs": {
113
+ "types": "./dist/tabs/index.d.ts",
100
114
  "import": "./dist/tabs/index.mjs",
101
- "types": "./dist/tabs/index.d.ts"
115
+ "require": "./dist/tabs/index.js",
116
+ "default": "./dist/tabs/index.js"
102
117
  },
103
118
  "./utiles": {
119
+ "types": "./dist/utiles/index.d.ts",
104
120
  "import": "./dist/utiles/index.mjs",
105
- "types": "./dist/utiles/index.d.ts"
121
+ "require": "./dist/utiles/index.js",
122
+ "default": "./dist/utiles/index.js"
106
123
  },
107
124
  ".": {
125
+ "types": "./dist/index.d.ts",
108
126
  "import": "./dist/index.mjs",
109
- "types": "./dist/index.d.ts"
127
+ "require": "./dist/index.js",
128
+ "default": "./dist/index.js"
110
129
  }
111
130
  },
112
131
  "repository": {
113
132
  "type": "git",
114
- "url": "https://github.com/gaddario98/react-native-core"
133
+ "url": "git+https://github.com/gaddario98/react-native-core"
115
134
  },
116
135
  "keywords": [
117
136
  "react-native",