@granite-js/native 0.1.26 → 0.1.28

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,5 +1,20 @@
1
1
  # @granite-js/native
2
2
 
3
+ ## 0.1.28
4
+
5
+ ### Patch Changes
6
+
7
+ - 1d958cc: ci: provenance
8
+
9
+ ## 0.1.27
10
+
11
+ ### Patch Changes
12
+
13
+ - e32b020: ci: oidc
14
+ - 1dd9179: feat(native): add named exports for native modules
15
+
16
+ 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.
17
+
3
18
  ## 0.1.26
4
19
 
5
20
  ## 0.1.25
@@ -1,2 +1,4 @@
1
- export { default } from 'lottie-react-native';
1
+ import LottieView from 'lottie-react-native';
2
2
  export * from 'lottie-react-native';
3
+ export { LottieView };
4
+ export default LottieView;
@@ -1,2 +1,4 @@
1
- export { default } from 'react-native-fast-image';
1
+ import FastImage from 'react-native-fast-image';
2
2
  export * from 'react-native-fast-image';
3
+ export { FastImage };
4
+ export default FastImage;
@@ -1,2 +1,4 @@
1
- export { default } from 'react-native-pager-view';
1
+ import PagerView from 'react-native-pager-view';
2
2
  export * from 'react-native-pager-view';
3
+ export { PagerView };
4
+ export default PagerView;
@@ -1,2 +1,4 @@
1
- export { default } from 'react-native-video';
1
+ import Video from 'react-native-video';
2
2
  export * from 'react-native-video';
3
+ export { Video };
4
+ export default Video;
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@granite-js/native",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "A native module hub package for Granite",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/toss/granite.git",
8
+ "directory": "packages/native"
9
+ },
5
10
  "scripts": {
6
11
  "prepack": "yarn build",
7
12
  "typecheck": "tsc --noEmit",
@@ -1,2 +1,5 @@
1
- export { default } from 'lottie-react-native';
1
+ import LottieView from 'lottie-react-native';
2
+
2
3
  export * from 'lottie-react-native';
4
+ export { LottieView };
5
+ export default LottieView;
@@ -1,2 +1,5 @@
1
- export { default } from 'react-native-fast-image';
1
+ import FastImage from 'react-native-fast-image';
2
+
2
3
  export * from 'react-native-fast-image';
4
+ export { FastImage };
5
+ export default FastImage;
@@ -1,2 +1,5 @@
1
- export { default } from 'react-native-pager-view';
1
+ import PagerView from 'react-native-pager-view';
2
+
2
3
  export * from 'react-native-pager-view';
4
+ export { PagerView };
5
+ export default PagerView;
@@ -1,2 +1,5 @@
1
- export { default } from 'react-native-video';
1
+ import Video from 'react-native-video';
2
+
2
3
  export * from 'react-native-video';
4
+ export { Video };
5
+ export default Video;