@granite-js/native 0.1.34 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,152 +1,23 @@
1
1
  # @granite-js/native
2
2
 
3
- ## 0.1.34
3
+ ## 1.0.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 9c39997: bump version up `@swc/core`
7
+ - Updated dependencies [ee26531]
8
+ - @granite-js/video@1.0.1
9
+ - @granite-js/image@1.0.1
10
+ - @granite-js/lottie@1.0.1
8
11
 
9
- ## 0.1.33
12
+ ## 1.0.0
10
13
 
11
- ### Patch Changes
12
-
13
- - fdf55a6: fix(router): type infer incorrect undefined
14
-
15
- ## 0.1.32
16
-
17
- ### Patch Changes
18
-
19
- - 74b2223: fix(react-native): VisibilityChangedProvider only provider
20
- - 7572713: bump version up babel
21
-
22
- ## 0.1.31
23
-
24
- ### Patch Changes
25
-
26
- - 0ff9b13: feat(router): screenOptions in Route
27
- - 37ae3f3: feat(router): supports standard schema
28
-
29
- ## 0.1.30
30
-
31
- ## 0.1.29
32
-
33
- ## 0.1.28
34
-
35
- ### Patch Changes
36
-
37
- - 1d958cc: ci: provenance
38
-
39
- ## 0.1.27
40
-
41
- ### Patch Changes
42
-
43
- - e32b020: ci: oidc
44
- - 1dd9179: feat(native): add named exports for native modules
45
-
46
- Add explicit named exports for lottie-react-native, react-native-fast-image, react-native-pager-view, and react-native-video to improve tree-shaking and provide better TypeScript support.
47
-
48
- ## 0.1.26
49
-
50
- ## 0.1.25
51
-
52
- ## 0.1.24
53
-
54
- ## 0.1.23
55
-
56
- ## 0.1.22
57
-
58
- ## 0.1.21
59
-
60
- ## 0.1.20
61
-
62
- ### Patch Changes
63
-
64
- - 1df5883: update package.json meta to supports any moduleResolutions
65
-
66
- ## 0.1.19
67
-
68
- ## 0.1.18
69
-
70
- ## 0.1.17
71
-
72
- ## 0.1.16
73
-
74
- ## 0.1.15
75
-
76
- ### Patch Changes
77
-
78
- - d16ee87: Add useInitialProps, useInitialSearchParams hook.
79
-
80
- ## 0.1.14
81
-
82
- ## 0.1.13
83
-
84
- ## 0.1.12
85
-
86
- ### Patch Changes
87
-
88
- - d1e6585: fix module resolutions
89
-
90
- ## 0.1.11
91
-
92
- ## 0.1.10
93
-
94
- ## 0.1.9
95
-
96
- ## 0.1.8
97
-
98
- ## 0.1.7
99
-
100
- ## 0.1.6
101
-
102
- ## 0.1.5
103
-
104
- ## 0.1.4
105
-
106
- ## 0.1.3
107
-
108
- ## 0.1.2
109
-
110
- ### Patch Changes
111
-
112
- - e1384cf: re-add previously excluded native module packages
113
-
114
- ## 0.1.1
115
-
116
- ### Patch Changes
117
-
118
- - d675415: Improve scaffolding to provide a better showcase UI
119
- - 10a5f3f: empty
120
-
121
- ## 0.1.0
122
-
123
- ### Minor Changes
124
-
125
- - 561a3ed: fix: docs deadlink
126
-
127
- ## 0.0.3
128
-
129
- ### Patch Changes
130
-
131
- - ed4d356: changeset
132
-
133
- ## 0.0.2
134
-
135
- ### Patch Changes
136
-
137
- - 0ae09b7: deploy guide
138
- - 0ae09b7: type fix
139
- - 0ae09b7: guide
140
- - 0ae09b7: showcase
141
- - 0ae09b7: refactor interface names
142
- - 0ae09b7: fix hemres
143
- - 0ae09b7: CanGoBackGuard 수정, typecheck fix, lint fix
144
- - 0ae09b7: counter
145
- - 0ae09b7: eslint up
146
- - 0ae09b7: without native
14
+ ### Major Changes
147
15
 
148
- ## 0.0.1
16
+ - 260daab: feat: introduce support react native 0.84
149
17
 
150
18
  ### Patch Changes
151
19
 
152
- - f47ca39: first release
20
+ - Updated dependencies [260daab]
21
+ - @granite-js/lottie@1.0.0
22
+ - @granite-js/image@1.0.0
23
+ - @granite-js/video@1.0.0
@@ -1,3 +1 @@
1
- import * as Types from '@react-navigation/native-stack/lib/typescript/src/types';
2
1
  export * from '@react-navigation/native-stack';
3
- export type { Types };
@@ -1,4 +1,4 @@
1
- import LottieView from 'lottie-react-native';
2
- export * from 'lottie-react-native';
1
+ import LottieView from '@granite-js/lottie';
2
+ export * from '@granite-js/lottie';
3
3
  export { LottieView };
4
4
  export default LottieView;
@@ -1,4 +1,2 @@
1
- import FastImage from 'react-native-fast-image';
2
- export * from 'react-native-fast-image';
3
- export { FastImage };
4
- export default FastImage;
1
+ export * from '@granite-js/image';
2
+ export { default } from '@granite-js/image';
@@ -1,4 +1,2 @@
1
- import Video from 'react-native-video';
2
- export * from 'react-native-video';
3
- export { Video };
4
- export default Video;
1
+ export * from '@granite-js/video';
2
+ export { default } from '@granite-js/video';
@@ -1,2 +1,5 @@
1
- export { default } from './dist/lottie-react-native';
2
- export * from './dist/lottie-react-native';
1
+ import LottieView from '@granite-js/lottie';
2
+
3
+ export * from '@granite-js/lottie';
4
+ export { LottieView };
5
+ export default LottieView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granite-js/native",
3
- "version": "0.1.34",
3
+ "version": "1.0.1",
4
4
  "description": "A native module hub package for Granite",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "lint": "eslint .",
15
15
  "build": "rm -rf dist && yarn generate-fingerprint && tsc -p tsconfig.build.json",
16
16
  "sync-packages": "tsx --import ./.scripts/sync-packages.mts",
17
- "generate-fingerprint": "tsx --import ./.scripts/generate-fingerprint.mts"
17
+ "generate-fingerprint": "tsx -e \"import('./.scripts/generate-fingerprint.mts').catch(e=>{console.error(e);process.exit(1)})\""
18
18
  },
19
19
  "exports": {
20
20
  "./@react-native-async-storage/async-storage": {
@@ -53,6 +53,10 @@
53
53
  "types": "./dist/react-native-fast-image.d.ts",
54
54
  "default": "./src/react-native-fast-image.ts"
55
55
  },
56
+ "./react-native-video": {
57
+ "types": "./dist/react-native-video.d.ts",
58
+ "default": "./src/react-native-video.ts"
59
+ },
56
60
  "./react-native-safe-area-context": {
57
61
  "types": "./dist/react-native-safe-area-context/index.d.ts",
58
62
  "default": "./src/react-native-safe-area-context/index.ts"
@@ -81,10 +85,6 @@
81
85
  "types": "./dist/react-native-gesture-handler/jestSetup.d.ts",
82
86
  "default": "./src/react-native-gesture-handler/jestSetup.js"
83
87
  },
84
- "./react-native-video": {
85
- "types": "./dist/react-native-video.d.ts",
86
- "default": "./src/react-native-video.ts"
87
- },
88
88
  "./fingerprint": {
89
89
  "types": "./fingerprint/index.d.ts",
90
90
  "import": "./fingerprint/index.mjs",
@@ -99,22 +99,21 @@
99
99
  "dist"
100
100
  ],
101
101
  "dependencies": {
102
- "@react-native-async-storage/async-storage": "1.18.2",
103
- "@react-native-community/blur": "4.3.2",
104
- "@react-navigation/elements": "1.3.9",
105
- "@react-navigation/native": "6.0.13",
106
- "@react-navigation/native-stack": "6.9.0",
107
- "@shopify/flash-list": "1.6.2",
108
- "@types/react-native-video": "^5.0.20",
109
- "lottie-react-native": "6.4.0",
110
- "react-native-fast-image": "8.6.3",
111
- "react-native-gesture-handler": "2.8.0",
112
- "react-native-pager-view": "6.1.2",
113
- "react-native-safe-area-context": "4.7.4",
114
- "react-native-screens": "3.27.0",
115
- "react-native-svg": "13.14.0",
116
- "react-native-video": "6.0.0-alpha.6",
117
- "react-native-webview": "13.6.2"
102
+ "@granite-js/image": "1.0.1",
103
+ "@granite-js/lottie": "1.0.1",
104
+ "@granite-js/video": "1.0.1",
105
+ "@react-native-async-storage/async-storage": "2.2.0",
106
+ "@react-native-community/blur": "4.4.1",
107
+ "@react-navigation/elements": "2.9.5",
108
+ "@react-navigation/native": "7.1.28",
109
+ "@react-navigation/native-stack": "7.12.0",
110
+ "@shopify/flash-list": "2.2.2",
111
+ "react-native-gesture-handler": "2.30.0",
112
+ "react-native-pager-view": "7.0.2",
113
+ "react-native-safe-area-context": "5.6.2",
114
+ "react-native-screens": "4.23.0",
115
+ "react-native-svg": "15.15.2",
116
+ "react-native-webview": "13.16.0"
118
117
  },
119
118
  "devDependencies": {
120
119
  "@babel/core": "7.28.5",
@@ -124,16 +123,16 @@
124
123
  "@types/babel__core": "^7",
125
124
  "@types/babel__preset-env": "^7",
126
125
  "@types/jest": "^29.5.12",
127
- "@types/node": "^22.10.2",
128
- "@types/react": "18.3.3",
126
+ "@types/node": "24.10.12",
127
+ "@types/react": "19.2.0",
129
128
  "babel-jest": "^29.7.0",
130
129
  "esbuild": "0.25.8",
131
130
  "eslint": "^9.7.0",
132
131
  "jest": "^29.7.0",
133
- "react": "18.2.0",
134
- "react-native": "0.72.6",
132
+ "react": "19.2.3",
133
+ "react-native": "0.84.0-rc.5",
135
134
  "tsx": "^4.20.3",
136
- "typescript": "5.8.3"
135
+ "typescript": "5.9.3"
137
136
  },
138
137
  "peerDependencies": {
139
138
  "@babel/runtime": "*",
@@ -1,2 +1,2 @@
1
- export * from './dist/react-native-fast-image';
2
- export { default } from './dist/react-native-fast-image';
1
+ export * from '@granite-js/image';
2
+ export { default } from '@granite-js/image';
@@ -1,2 +1,2 @@
1
- export { default } from './dist/react-native-video';
2
- export * from './dist/react-native-video';
1
+ export * from '@granite-js/video';
2
+ export { default } from '@granite-js/video';
@@ -1,4 +1 @@
1
- import * as Types from '@react-navigation/native-stack/lib/typescript/src/types';
2
-
3
1
  export * from '@react-navigation/native-stack';
4
- export type { Types };
@@ -1,5 +1,5 @@
1
- import LottieView from 'lottie-react-native';
1
+ import LottieView from '@granite-js/lottie';
2
2
 
3
- export * from 'lottie-react-native';
3
+ export * from '@granite-js/lottie';
4
4
  export { LottieView };
5
5
  export default LottieView;
@@ -1,5 +1,2 @@
1
- import FastImage from 'react-native-fast-image';
2
-
3
- export * from 'react-native-fast-image';
4
- export { FastImage };
5
- export default FastImage;
1
+ export * from '@granite-js/image';
2
+ export { default } from '@granite-js/image';
@@ -1,5 +1,2 @@
1
- import Video from 'react-native-video';
2
-
3
- export * from 'react-native-video';
4
- export { Video };
5
- export default Video;
1
+ export * from '@granite-js/video';
2
+ export { default } from '@granite-js/video';