@storybook/react-native 10.0.0-beta.0 → 10.0.0-beta.5
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.
|
@@ -243,6 +243,8 @@ export const view${useJs ? "" : ": View"} = global.view;
|
|
|
243
243
|
var path = __toESM(require("path"));
|
|
244
244
|
var import_generate = __toESM(require_generate());
|
|
245
245
|
var import_ws = require("ws");
|
|
246
|
+
var import_common = require("storybook/internal/common");
|
|
247
|
+
var import_telemetry = require("storybook/internal/telemetry");
|
|
246
248
|
function withStorybook(config, options = {
|
|
247
249
|
enabled: true,
|
|
248
250
|
useJs: false,
|
|
@@ -259,6 +261,12 @@ function withStorybook(config, options = {
|
|
|
259
261
|
docTools = true,
|
|
260
262
|
liteMode = false
|
|
261
263
|
} = options;
|
|
264
|
+
const disableTelemetry = (0, import_common.optionalEnvToBoolean)(process.env.STORYBOOK_DISABLE_TELEMETRY);
|
|
265
|
+
if (!disableTelemetry && enabled) {
|
|
266
|
+
const event = process.env.NODE_ENV === "production" ? "build" : "dev";
|
|
267
|
+
(0, import_telemetry.telemetry)(event, {}).catch((e) => {
|
|
268
|
+
});
|
|
269
|
+
}
|
|
262
270
|
if (!enabled) {
|
|
263
271
|
if (onDisabledRemoveStorybook) {
|
|
264
272
|
return {
|
|
@@ -254,6 +254,8 @@ module.exports = __toCommonJS(withStorybookConfig_exports);
|
|
|
254
254
|
var path = __toESM(require("path"));
|
|
255
255
|
var import_generate = __toESM(require_generate());
|
|
256
256
|
var import_ws = require("ws");
|
|
257
|
+
var import_common = require("storybook/internal/common");
|
|
258
|
+
var import_telemetry = require("storybook/internal/telemetry");
|
|
257
259
|
function withStorybookConfig(config, options = {
|
|
258
260
|
useJs: false,
|
|
259
261
|
removeStorybook: false,
|
|
@@ -269,6 +271,12 @@ function withStorybookConfig(config, options = {
|
|
|
269
271
|
docTools = true,
|
|
270
272
|
liteMode = false
|
|
271
273
|
} = options;
|
|
274
|
+
const disableTelemetry = (0, import_common.optionalEnvToBoolean)(process.env.STORYBOOK_DISABLE_TELEMETRY);
|
|
275
|
+
if (!disableTelemetry && !removeStorybook) {
|
|
276
|
+
const event = process.env.NODE_ENV === "production" ? "build" : "dev";
|
|
277
|
+
(0, import_telemetry.telemetry)(event, {}).catch((e) => {
|
|
278
|
+
});
|
|
279
|
+
}
|
|
272
280
|
if (removeStorybook) {
|
|
273
281
|
return {
|
|
274
282
|
...config,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.5",
|
|
4
4
|
"description": "A better way to develop React Native Components for your app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@storybook/global": "^5.0.0",
|
|
52
|
-
"@storybook/react": "10.0.0-beta.
|
|
53
|
-
"@storybook/react-native-theming": "^10.0.0-beta.
|
|
54
|
-
"@storybook/react-native-ui": "^10.0.0-beta.
|
|
55
|
-
"@storybook/react-native-ui-common": "^10.0.0-beta.
|
|
52
|
+
"@storybook/react": "10.0.0-beta.5",
|
|
53
|
+
"@storybook/react-native-theming": "^10.0.0-beta.5",
|
|
54
|
+
"@storybook/react-native-ui": "^10.0.0-beta.5",
|
|
55
|
+
"@storybook/react-native-ui-common": "^10.0.0-beta.5",
|
|
56
56
|
"commander": "^8.2.0",
|
|
57
57
|
"dedent": "^1.5.1",
|
|
58
58
|
"deepmerge": "^4.3.0",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"babel-jest": "^29.7.0",
|
|
71
71
|
"babel-preset-expo": "^12.0.9",
|
|
72
72
|
"jest": "^29.7.0",
|
|
73
|
-
"jest-expo": "~54.0.
|
|
73
|
+
"jest-expo": "~54.0.12",
|
|
74
74
|
"jotai": "^2.6.2",
|
|
75
75
|
"react": "19.1.0",
|
|
76
|
-
"react-native": "0.81.
|
|
77
|
-
"storybook": "10.0.0-beta.
|
|
76
|
+
"react-native": "0.81.4",
|
|
77
|
+
"storybook": "10.0.0-beta.5",
|
|
78
78
|
"tsup": "^8.5.0",
|
|
79
79
|
"typescript": "~5.9.2",
|
|
80
80
|
"universal-test-renderer": "^0.6.0"
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"publishConfig": {
|
|
109
109
|
"access": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "d48870582b1ad50839198ebf8be25947cfdc4692"
|
|
112
112
|
}
|