@granite-js/native 0.1.33 → 1.0.0

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,146 +1,14 @@
1
1
  # @granite-js/native
2
2
 
3
- ## 0.1.33
3
+ ## 1.0.0
4
4
 
5
- ### Patch Changes
6
-
7
- - fdf55a6: fix(router): type infer incorrect undefined
8
-
9
- ## 0.1.32
10
-
11
- ### Patch Changes
12
-
13
- - 74b2223: fix(react-native): VisibilityChangedProvider only provider
14
- - 7572713: bump version up babel
15
-
16
- ## 0.1.31
17
-
18
- ### Patch Changes
19
-
20
- - 0ff9b13: feat(router): screenOptions in Route
21
- - 37ae3f3: feat(router): supports standard schema
22
-
23
- ## 0.1.30
24
-
25
- ## 0.1.29
26
-
27
- ## 0.1.28
28
-
29
- ### Patch Changes
30
-
31
- - 1d958cc: ci: provenance
32
-
33
- ## 0.1.27
34
-
35
- ### Patch Changes
36
-
37
- - e32b020: ci: oidc
38
- - 1dd9179: feat(native): add named exports for native modules
39
-
40
- 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.
41
-
42
- ## 0.1.26
43
-
44
- ## 0.1.25
45
-
46
- ## 0.1.24
47
-
48
- ## 0.1.23
49
-
50
- ## 0.1.22
51
-
52
- ## 0.1.21
53
-
54
- ## 0.1.20
55
-
56
- ### Patch Changes
57
-
58
- - 1df5883: update package.json meta to supports any moduleResolutions
59
-
60
- ## 0.1.19
61
-
62
- ## 0.1.18
63
-
64
- ## 0.1.17
65
-
66
- ## 0.1.16
67
-
68
- ## 0.1.15
69
-
70
- ### Patch Changes
71
-
72
- - d16ee87: Add useInitialProps, useInitialSearchParams hook.
73
-
74
- ## 0.1.14
75
-
76
- ## 0.1.13
77
-
78
- ## 0.1.12
79
-
80
- ### Patch Changes
81
-
82
- - d1e6585: fix module resolutions
83
-
84
- ## 0.1.11
85
-
86
- ## 0.1.10
87
-
88
- ## 0.1.9
89
-
90
- ## 0.1.8
91
-
92
- ## 0.1.7
93
-
94
- ## 0.1.6
95
-
96
- ## 0.1.5
97
-
98
- ## 0.1.4
99
-
100
- ## 0.1.3
101
-
102
- ## 0.1.2
103
-
104
- ### Patch Changes
105
-
106
- - e1384cf: re-add previously excluded native module packages
107
-
108
- ## 0.1.1
109
-
110
- ### Patch Changes
111
-
112
- - d675415: Improve scaffolding to provide a better showcase UI
113
- - 10a5f3f: empty
114
-
115
- ## 0.1.0
116
-
117
- ### Minor Changes
118
-
119
- - 561a3ed: fix: docs deadlink
120
-
121
- ## 0.0.3
122
-
123
- ### Patch Changes
124
-
125
- - ed4d356: changeset
126
-
127
- ## 0.0.2
128
-
129
- ### Patch Changes
130
-
131
- - 0ae09b7: deploy guide
132
- - 0ae09b7: type fix
133
- - 0ae09b7: guide
134
- - 0ae09b7: showcase
135
- - 0ae09b7: refactor interface names
136
- - 0ae09b7: fix hemres
137
- - 0ae09b7: CanGoBackGuard 수정, typecheck fix, lint fix
138
- - 0ae09b7: counter
139
- - 0ae09b7: eslint up
140
- - 0ae09b7: without native
5
+ ### Major Changes
141
6
 
142
- ## 0.0.1
7
+ - 260daab: feat: introduce support react native 0.84
143
8
 
144
9
  ### Patch Changes
145
10
 
146
- - f47ca39: first release
11
+ - Updated dependencies [260daab]
12
+ - @granite-js/lottie@1.0.0
13
+ - @granite-js/image@1.0.0
14
+ - @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.33",
3
+ "version": "1.0.0",
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.0",
103
+ "@granite-js/lottie": "1.0.0",
104
+ "@granite-js/video": "1.0.0",
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';