@storybook/react-native 8.4.0-rc.0 → 8.4.2-alpha.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/dist/metro/withStorybook.js +2 -2
- package/package.json +7 -7
- package/scripts/common.js +2 -2
|
@@ -70,14 +70,14 @@ var require_common = __commonJS({
|
|
|
70
70
|
}
|
|
71
71
|
function resolveAddonFile(addon, file, extensions = ["js", "mjs", "ts"]) {
|
|
72
72
|
try {
|
|
73
|
-
const basePath =
|
|
73
|
+
const basePath = `${addon}/${file}`;
|
|
74
74
|
require.resolve(basePath);
|
|
75
75
|
return basePath;
|
|
76
76
|
} catch (error) {
|
|
77
77
|
}
|
|
78
78
|
for (const ext of extensions) {
|
|
79
79
|
try {
|
|
80
|
-
const filePath =
|
|
80
|
+
const filePath = `${addon}/${file}.${ext}`;
|
|
81
81
|
require.resolve(filePath);
|
|
82
82
|
return filePath;
|
|
83
83
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2-alpha.0",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"test:update": "jest --updateSnapshot"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@storybook/core": "^8.4.
|
|
48
|
+
"@storybook/core": "^8.4.2",
|
|
49
49
|
"@storybook/csf": "^0.1.1",
|
|
50
50
|
"@storybook/global": "^5.0.0",
|
|
51
|
-
"@storybook/react": "^8.4.
|
|
52
|
-
"@storybook/react-native-theming": "^8.4.
|
|
53
|
-
"@storybook/react-native-ui": "^8.4.
|
|
51
|
+
"@storybook/react": "^8.4.2",
|
|
52
|
+
"@storybook/react-native-theming": "^8.4.2-alpha.0",
|
|
53
|
+
"@storybook/react-native-ui": "^8.4.2-alpha.0",
|
|
54
54
|
"chokidar": "^3.5.1",
|
|
55
55
|
"commander": "^8.2.0",
|
|
56
56
|
"dedent": "^1.5.1",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"react-native-swipe-gestures": "^1.0.5",
|
|
61
61
|
"react-native-url-polyfill": "^2.0.0",
|
|
62
62
|
"setimmediate": "^1.0.5",
|
|
63
|
-
"storybook": "^8.4.
|
|
63
|
+
"storybook": "^8.4.2",
|
|
64
64
|
"type-fest": "~2.19",
|
|
65
65
|
"util": "^0.12.4",
|
|
66
66
|
"ws": "^8.18.0"
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "27b2d9d87743ab6e2de02299a4c3cef15059cad6"
|
|
95
95
|
}
|
package/scripts/common.js
CHANGED
|
@@ -60,7 +60,7 @@ function getPreviewExists({ configPath }) {
|
|
|
60
60
|
|
|
61
61
|
function resolveAddonFile(addon, file, extensions = ['js', 'mjs', 'ts']) {
|
|
62
62
|
try {
|
|
63
|
-
const basePath =
|
|
63
|
+
const basePath = `${addon}/${file}`;
|
|
64
64
|
|
|
65
65
|
require.resolve(basePath);
|
|
66
66
|
|
|
@@ -69,7 +69,7 @@ function resolveAddonFile(addon, file, extensions = ['js', 'mjs', 'ts']) {
|
|
|
69
69
|
|
|
70
70
|
for (const ext of extensions) {
|
|
71
71
|
try {
|
|
72
|
-
const filePath =
|
|
72
|
+
const filePath = `${addon}/${file}.${ext}`;
|
|
73
73
|
|
|
74
74
|
require.resolve(filePath);
|
|
75
75
|
|