@granite-js/native 0.1.1 → 0.1.2
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/@react-native-async-storage/async-storage/index.d.ts +2 -0
- package/@react-native-async-storage/async-storage/jest/async-storage-mock.d.ts +2 -0
- package/@react-native-community/blur.d.ts +1 -0
- package/@shopify/flash-list.d.ts +1 -0
- package/CHANGELOG.md +6 -0
- package/dist/@react-native-async-storage/async-storage/index.d.ts +2 -0
- package/dist/@react-native-async-storage/async-storage/jest/async-storage-mock.d.ts +3 -0
- package/dist/@react-native-community/blur.d.ts +1 -0
- package/dist/@shopify/flash-list.d.ts +1 -0
- package/dist/fingerprint.d.ts +2 -0
- package/dist/lottie-react-native.d.ts +2 -0
- package/dist/react-native-fast-image.d.ts +2 -0
- package/dist/react-native-pager-view.d.ts +2 -0
- package/dist/react-native-video.d.ts +2 -0
- package/dist/react-native-webview.d.ts +3 -0
- package/lottie-react-native.d.ts +2 -0
- package/package.json +53 -3
- package/react-native-fast-image.d.ts +2 -0
- package/react-native-pager-view.d.ts +2 -0
- package/react-native-video.d.ts +2 -0
- package/react-native-webview.d.ts +2 -0
- package/src/@react-native-async-storage/async-storage/index.ts +2 -0
- package/src/@react-native-async-storage/async-storage/jest/async-storage-mock.ts +4 -0
- package/src/@react-native-community/blur.ts +1 -0
- package/src/@shopify/flash-list.ts +1 -0
- package/src/fingerprint.ts +2 -0
- package/src/lottie-react-native.ts +2 -0
- package/src/react-native-fast-image.ts +2 -0
- package/src/react-native-pager-view.ts +2 -0
- package/src/react-native-video.ts +2 -0
- package/src/react-native-webview.ts +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/@react-native-community/blur';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/@shopify/flash-list';
|
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@react-native-community/blur';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@shopify/flash-list';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default } from 'react-native-webview';
|
|
2
|
+
export * from 'react-native-webview';
|
|
3
|
+
export type { AndroidLayerType, AndroidWebViewProps, BasicAuthCredential, CacheMode, CommonNativeWebViewProps, ContentInsetAdjustmentBehavior, ContentInsetProp, ContentMode, DataDetectorTypes, DecelerationRateConstant, FileDownload, FileDownloadEvent, IOSWebViewProps, MediaCapturePermissionGrantType, OnShouldStartLoadWithRequest, OverScrollModeType, RNCWebViewUIManagerAndroid, RNCWebViewUIManagerIOS, ShouldStartLoadRequest, ShouldStartLoadRequestEvent, State, SuppressMenuItem, ViewManager, WebViewCustomMenuItems, WebViewError, WebViewErrorEvent, WebViewEvent, WebViewHttpError, WebViewHttpErrorEvent, WebViewMessage, WebViewMessageEvent, WebViewNativeConfig, WebViewNativeEvent, WebViewNativeProgressEvent, WebViewNavigation, WebViewNavigationEvent, WebViewOpenWindow, WebViewOpenWindowEvent, WebViewProgressEvent, WebViewRenderProcessGoneDetail, WebViewRenderProcessGoneEvent, WebViewScrollEvent, WebViewSharedProps, WebViewSource, WebViewSourceHtml, WebViewSourceUri, WebViewTerminatedEvent, } from 'react-native-webview/lib/WebViewTypes';
|
package/package.json
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@granite-js/native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A native module hub package for Granite",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepack": "yarn build",
|
|
7
7
|
"typecheck": "tsc --noEmit",
|
|
8
8
|
"test": "yarn jest",
|
|
9
9
|
"lint": "eslint .",
|
|
10
|
-
"build": "rm -rf dist && tsc -p tsconfig.build.json"
|
|
10
|
+
"build": "rm -rf dist && yarn generate-fingerprint && tsc -p tsconfig.build.json",
|
|
11
|
+
"sync-packages": "tsx --import ./.scripts/sync-packages.mts",
|
|
12
|
+
"generate-fingerprint": "tsx --import ./.scripts/generate-fingerprint.mts"
|
|
11
13
|
},
|
|
12
14
|
"exports": {
|
|
15
|
+
"./@react-native-async-storage/async-storage": {
|
|
16
|
+
"types": "./dist/@react-native-async-storage/async-storage.d.ts",
|
|
17
|
+
"default": "./src/@react-native-async-storage/async-storage.ts"
|
|
18
|
+
},
|
|
19
|
+
"./@react-native-community/blur": {
|
|
20
|
+
"types": "./dist/@react-native-community/blur.d.ts",
|
|
21
|
+
"default": "./src/@react-native-community/blur.ts"
|
|
22
|
+
},
|
|
13
23
|
"./@react-navigation/native": {
|
|
14
24
|
"types": "./dist/@react-navigation/native.d.ts",
|
|
15
25
|
"default": "./src/@react-navigation/native.ts"
|
|
@@ -22,6 +32,22 @@
|
|
|
22
32
|
"types": "./dist/@react-navigation/elements.d.ts",
|
|
23
33
|
"default": "./src/@react-navigation/elements.ts"
|
|
24
34
|
},
|
|
35
|
+
"./@shopify/flash-list": {
|
|
36
|
+
"types": "./dist/@shopify/flash-list.d.ts",
|
|
37
|
+
"default": "./src/@shopify/flash-list.ts"
|
|
38
|
+
},
|
|
39
|
+
"./react-native-webview": {
|
|
40
|
+
"types": "./dist/react-native-webview.d.ts",
|
|
41
|
+
"default": "./src/react-native-webview.ts"
|
|
42
|
+
},
|
|
43
|
+
"./lottie-react-native": {
|
|
44
|
+
"types": "./dist/lottie-react-native.d.ts",
|
|
45
|
+
"default": "./src/lottie-react-native.ts"
|
|
46
|
+
},
|
|
47
|
+
"./react-native-fast-image": {
|
|
48
|
+
"types": "./dist/react-native-fast-image.d.ts",
|
|
49
|
+
"default": "./src/react-native-fast-image.ts"
|
|
50
|
+
},
|
|
25
51
|
"./react-native-safe-area-context": {
|
|
26
52
|
"types": "./dist/react-native-safe-area-context/index.d.ts",
|
|
27
53
|
"default": "./src/react-native-safe-area-context/index.ts"
|
|
@@ -42,7 +68,19 @@
|
|
|
42
68
|
"types": "./dist/react-native-gesture-handler/index.d.ts",
|
|
43
69
|
"default": "./src/react-native-gesture-handler/index.ts"
|
|
44
70
|
},
|
|
71
|
+
"./react-native-pager-view": {
|
|
72
|
+
"types": "./dist/react-native-pager-view.d.ts",
|
|
73
|
+
"default": "./src/react-native-pager-view.ts"
|
|
74
|
+
},
|
|
45
75
|
"./react-native-gesture-handler/jestSetup": "./src/react-native-gesture-handler/jestSetup.js",
|
|
76
|
+
"./react-native-video": {
|
|
77
|
+
"types": "./dist/react-native-video.d.ts",
|
|
78
|
+
"default": "./src/react-native-video.ts"
|
|
79
|
+
},
|
|
80
|
+
"./fingerprint": {
|
|
81
|
+
"types": "./dist/fingerprint.d.ts",
|
|
82
|
+
"default": "./src/fingerprint.ts"
|
|
83
|
+
},
|
|
46
84
|
"./package.json": "./package.json"
|
|
47
85
|
},
|
|
48
86
|
"files": [
|
|
@@ -53,13 +91,23 @@
|
|
|
53
91
|
],
|
|
54
92
|
"dependencies": {
|
|
55
93
|
"@babel/runtime": "^7",
|
|
94
|
+
"@react-native-async-storage/async-storage": "1.18.2",
|
|
95
|
+
"@react-native-community/blur": "4.3.2",
|
|
56
96
|
"@react-navigation/elements": "1.3.9",
|
|
57
97
|
"@react-navigation/native": "6.0.13",
|
|
58
98
|
"@react-navigation/native-stack": "6.9.0",
|
|
99
|
+
"@shopify/flash-list": "1.6.2",
|
|
100
|
+
"@types/react-native-video": "^5.0.20",
|
|
101
|
+
"lottie-ios": "3.2.3",
|
|
102
|
+
"lottie-react-native": "6.4.0",
|
|
103
|
+
"react-native-fast-image": "8.6.3",
|
|
59
104
|
"react-native-gesture-handler": "2.8.0",
|
|
105
|
+
"react-native-pager-view": "6.1.2",
|
|
60
106
|
"react-native-safe-area-context": "4.7.4",
|
|
61
107
|
"react-native-screens": "3.27.0",
|
|
62
|
-
"react-native-svg": "13.14.0"
|
|
108
|
+
"react-native-svg": "13.14.0",
|
|
109
|
+
"react-native-video": "6.0.0-alpha.6",
|
|
110
|
+
"react-native-webview": "13.6.2"
|
|
63
111
|
},
|
|
64
112
|
"devDependencies": {
|
|
65
113
|
"@babel/core": "^7.24.9",
|
|
@@ -71,10 +119,12 @@
|
|
|
71
119
|
"@types/node": "^22.10.2",
|
|
72
120
|
"@types/react": "18.3.3",
|
|
73
121
|
"babel-jest": "^29.7.0",
|
|
122
|
+
"esbuild": "^0.25.5",
|
|
74
123
|
"eslint": "^9.7.0",
|
|
75
124
|
"jest": "^29.7.0",
|
|
76
125
|
"react": "18.2.0",
|
|
77
126
|
"react-native": "0.72.6",
|
|
127
|
+
"tsx": "^4.20.3",
|
|
78
128
|
"typescript": "5.8.3"
|
|
79
129
|
},
|
|
80
130
|
"peerDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@react-native-community/blur';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@shopify/flash-list';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { default } from 'react-native-webview';
|
|
2
|
+
export * from 'react-native-webview';
|
|
3
|
+
export type {
|
|
4
|
+
AndroidLayerType,
|
|
5
|
+
AndroidWebViewProps,
|
|
6
|
+
BasicAuthCredential,
|
|
7
|
+
CacheMode,
|
|
8
|
+
CommonNativeWebViewProps,
|
|
9
|
+
ContentInsetAdjustmentBehavior,
|
|
10
|
+
ContentInsetProp,
|
|
11
|
+
ContentMode,
|
|
12
|
+
DataDetectorTypes,
|
|
13
|
+
DecelerationRateConstant,
|
|
14
|
+
FileDownload,
|
|
15
|
+
FileDownloadEvent,
|
|
16
|
+
IOSWebViewProps,
|
|
17
|
+
MediaCapturePermissionGrantType,
|
|
18
|
+
OnShouldStartLoadWithRequest,
|
|
19
|
+
OverScrollModeType,
|
|
20
|
+
RNCWebViewUIManagerAndroid,
|
|
21
|
+
RNCWebViewUIManagerIOS,
|
|
22
|
+
ShouldStartLoadRequest,
|
|
23
|
+
ShouldStartLoadRequestEvent,
|
|
24
|
+
State,
|
|
25
|
+
SuppressMenuItem,
|
|
26
|
+
ViewManager,
|
|
27
|
+
WebViewCustomMenuItems,
|
|
28
|
+
WebViewError,
|
|
29
|
+
WebViewErrorEvent,
|
|
30
|
+
WebViewEvent,
|
|
31
|
+
WebViewHttpError,
|
|
32
|
+
WebViewHttpErrorEvent,
|
|
33
|
+
WebViewMessage,
|
|
34
|
+
WebViewMessageEvent,
|
|
35
|
+
WebViewNativeConfig,
|
|
36
|
+
WebViewNativeEvent,
|
|
37
|
+
WebViewNativeProgressEvent,
|
|
38
|
+
WebViewNavigation,
|
|
39
|
+
WebViewNavigationEvent,
|
|
40
|
+
WebViewOpenWindow,
|
|
41
|
+
WebViewOpenWindowEvent,
|
|
42
|
+
WebViewProgressEvent,
|
|
43
|
+
WebViewRenderProcessGoneDetail,
|
|
44
|
+
WebViewRenderProcessGoneEvent,
|
|
45
|
+
WebViewScrollEvent,
|
|
46
|
+
WebViewSharedProps,
|
|
47
|
+
WebViewSource,
|
|
48
|
+
WebViewSourceHtml,
|
|
49
|
+
WebViewSourceUri,
|
|
50
|
+
WebViewTerminatedEvent,
|
|
51
|
+
} from 'react-native-webview/lib/WebViewTypes';
|