@storybook/react-native 10.2.2-alpha.2 → 10.2.2-alpha.4
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.
|
@@ -557,7 +557,8 @@ function withStorybook(config, options = {
|
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
559
|
const resolved = resolveFunction(context, moduleName, platform);
|
|
560
|
-
|
|
560
|
+
const configIndexRegex = new RegExp(`${configPath}/index\\.(tsx?|jsx?)$`);
|
|
561
|
+
if (resolved.filePath && configIndexRegex.test(resolved.filePath)) {
|
|
561
562
|
return {
|
|
562
563
|
filePath: path2.resolve(__dirname, "../stub.js"),
|
|
563
564
|
type: "sourceFile"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "10.2.2-alpha.
|
|
3
|
+
"version": "10.2.2-alpha.4",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@storybook/react": "^10.2.2",
|
|
54
|
-
"@storybook/react-native-theming": "^10.2.2-alpha.
|
|
55
|
-
"@storybook/react-native-ui": "^10.2.2-alpha.
|
|
56
|
-
"@storybook/react-native-ui-common": "^10.2.2-alpha.
|
|
54
|
+
"@storybook/react-native-theming": "^10.2.2-alpha.4",
|
|
55
|
+
"@storybook/react-native-ui": "^10.2.2-alpha.4",
|
|
56
|
+
"@storybook/react-native-ui-common": "^10.2.2-alpha.4",
|
|
57
57
|
"commander": "^14.0.2",
|
|
58
58
|
"dedent": "^1.7.0",
|
|
59
59
|
"deepmerge": "^4.3.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"publishConfig": {
|
|
108
108
|
"access": "public"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "f96bb7e3c60928bed07cae53a833fede3a65498a"
|
|
111
111
|
}
|