@gaddario98/react-native-core 1.0.14 → 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,16 +1,18 @@
1
1
  {
2
2
  "name": "@gaddario98/react-native-core",
3
- "version": "1.0.14",
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
18
  "@rollup/plugin-babel": "^6.0.4",
@@ -30,17 +32,17 @@
30
32
  "typescript": "^5.8.3"
31
33
  },
32
34
  "dependencies": {
33
- "@gaddario98/expo": "^1.0.14",
34
- "@gaddario98/react-auth": "^1.0.13",
35
- "@gaddario98/react-form": "^1.0.17",
36
- "@gaddario98/react-localization": "^1.0.14",
37
- "@gaddario98/react-native-layouts": "^1.0.15",
38
- "@gaddario98/react-native-pages": "^1.0.14",
39
- "@gaddario98/react-native-providers": "^1.0.13",
40
- "@gaddario98/react-native-state": "^1.0.12",
41
- "@gaddario98/react-native-tabs": "^1.0.18",
42
- "@gaddario98/react-native-utiles": "^1.0.12",
43
- "@gaddario98/react-queries": "^1.0.18"
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"
44
46
  },
45
47
  "peerDependencies": {
46
48
  "react": ">=18.0.0 <20.0.0",
@@ -48,56 +50,82 @@
48
50
  },
49
51
  "exports": {
50
52
  "./auth": {
53
+ "types": "./dist/auth/index.d.ts",
51
54
  "import": "./dist/auth/index.mjs",
52
- "types": "./dist/auth/index.d.ts"
55
+ "require": "./dist/auth/index.js",
56
+ "default": "./dist/auth/index.js"
53
57
  },
54
58
  "./config": {
59
+ "types": "./dist/config/index.d.ts",
55
60
  "import": "./dist/config/index.mjs",
56
- "types": "./dist/config/index.d.ts"
61
+ "require": "./dist/config/index.js",
62
+ "default": "./dist/config/index.js"
57
63
  },
58
64
  "./expo": {
65
+ "types": "./dist/expo/index.d.ts",
59
66
  "import": "./dist/expo/index.mjs",
60
- "types": "./dist/expo/index.d.ts"
67
+ "require": "./dist/expo/index.js",
68
+ "default": "./dist/expo/index.js"
61
69
  },
62
70
  "./form": {
71
+ "types": "./dist/form/index.d.ts",
63
72
  "import": "./dist/form/index.mjs",
64
- "types": "./dist/form/index.d.ts"
73
+ "require": "./dist/form/index.js",
74
+ "default": "./dist/form/index.js"
65
75
  },
66
76
  "./layouts": {
77
+ "types": "./dist/layouts/index.d.ts",
67
78
  "import": "./dist/layouts/index.mjs",
68
- "types": "./dist/layouts/index.d.ts"
79
+ "require": "./dist/layouts/index.js",
80
+ "default": "./dist/layouts/index.js"
69
81
  },
70
82
  "./localization": {
83
+ "types": "./dist/localization/index.d.ts",
71
84
  "import": "./dist/localization/index.mjs",
72
- "types": "./dist/localization/index.d.ts"
85
+ "require": "./dist/localization/index.js",
86
+ "default": "./dist/localization/index.js"
73
87
  },
74
88
  "./pages": {
89
+ "types": "./dist/pages/index.d.ts",
75
90
  "import": "./dist/pages/index.mjs",
76
- "types": "./dist/pages/index.d.ts"
91
+ "require": "./dist/pages/index.js",
92
+ "default": "./dist/pages/index.js"
77
93
  },
78
94
  "./providers": {
95
+ "types": "./dist/providers/index.d.ts",
79
96
  "import": "./dist/providers/index.mjs",
80
- "types": "./dist/providers/index.d.ts"
97
+ "require": "./dist/providers/index.js",
98
+ "default": "./dist/providers/index.js"
81
99
  },
82
100
  "./queries": {
101
+ "types": "./dist/queries/index.d.ts",
83
102
  "import": "./dist/queries/index.mjs",
84
- "types": "./dist/queries/index.d.ts"
103
+ "require": "./dist/queries/index.js",
104
+ "default": "./dist/queries/index.js"
85
105
  },
86
106
  "./state": {
107
+ "types": "./dist/state/index.d.ts",
87
108
  "import": "./dist/state/index.mjs",
88
- "types": "./dist/state/index.d.ts"
109
+ "require": "./dist/state/index.js",
110
+ "default": "./dist/state/index.js"
89
111
  },
90
112
  "./tabs": {
113
+ "types": "./dist/tabs/index.d.ts",
91
114
  "import": "./dist/tabs/index.mjs",
92
- "types": "./dist/tabs/index.d.ts"
115
+ "require": "./dist/tabs/index.js",
116
+ "default": "./dist/tabs/index.js"
93
117
  },
94
118
  "./utiles": {
119
+ "types": "./dist/utiles/index.d.ts",
95
120
  "import": "./dist/utiles/index.mjs",
96
- "types": "./dist/utiles/index.d.ts"
121
+ "require": "./dist/utiles/index.js",
122
+ "default": "./dist/utiles/index.js"
97
123
  },
98
124
  ".": {
125
+ "types": "./dist/index.d.ts",
99
126
  "import": "./dist/index.mjs",
100
- "types": "./dist/index.d.ts"
127
+ "require": "./dist/index.js",
128
+ "default": "./dist/index.js"
101
129
  }
102
130
  },
103
131
  "repository": {