storybook 10.2.0-alpha.2 → 10.2.0-alpha.3

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.
Files changed (63) hide show
  1. package/dist/_browser-chunks/{chunk-MOYJJEXA.js → chunk-Q5RYDXT3.js} +3 -4
  2. package/dist/_node-chunks/{builder-manager-ZK4QXZNX.js → builder-manager-U6SN6ZED.js} +12 -12
  3. package/dist/_node-chunks/{camelcase-QWQG7I72.js → camelcase-GLXVGCEV.js} +7 -7
  4. package/dist/_node-chunks/{chunk-HMFROKHU.js → chunk-2IFACTU4.js} +7 -7
  5. package/dist/_node-chunks/{chunk-TOXVUAH2.js → chunk-4VZME5CV.js} +6 -6
  6. package/dist/_node-chunks/{chunk-OV2CP4VV.js → chunk-5SCVRD6U.js} +6 -6
  7. package/dist/_node-chunks/{chunk-WUKWNPSQ.js → chunk-5ZGZ22PV.js} +9 -9
  8. package/dist/_node-chunks/{chunk-Q5ZQH2OQ.js → chunk-6RXAFKLM.js} +7 -7
  9. package/dist/_node-chunks/chunk-6WHPDWFA.js +61 -0
  10. package/dist/_node-chunks/chunk-B6AJKALV.js +20 -0
  11. package/dist/_node-chunks/{chunk-EXZXVBZO.js → chunk-C2G5ML5F.js} +7 -7
  12. package/dist/_node-chunks/chunk-CFCZ5PKC.js +18 -0
  13. package/dist/_node-chunks/{chunk-NKOHF7TQ.js → chunk-DO56XDMZ.js} +10 -10
  14. package/dist/_node-chunks/{chunk-URBB5EGY.js → chunk-E6CKDKNL.js} +7 -7
  15. package/dist/_node-chunks/{chunk-QFSK4B7R.js → chunk-H4BZRGVO.js} +8 -8
  16. package/dist/_node-chunks/{chunk-UWJ4BOOL.js → chunk-HGYHQF7Z.js} +9 -9
  17. package/dist/_node-chunks/{chunk-GKEAARBQ.js → chunk-HKTRFCJD.js} +6 -6
  18. package/dist/_node-chunks/{chunk-6OZRMRVO.js → chunk-HYH2IT7K.js} +7 -7
  19. package/dist/_node-chunks/{chunk-2AFVBCGF.js → chunk-IKSK6CEY.js} +6 -6
  20. package/dist/_node-chunks/{chunk-FZFZ5TOM.js → chunk-KP6H4S3L.js} +6 -6
  21. package/dist/_node-chunks/{chunk-I5TOD3AY.js → chunk-LHBDNMEP.js} +12 -12
  22. package/dist/_node-chunks/{chunk-WOS3OQVT.js → chunk-MUWHX7GN.js} +6 -6
  23. package/dist/_node-chunks/{chunk-CW7HJRCY.js → chunk-N3O3HJMU.js} +7 -7
  24. package/dist/_node-chunks/{chunk-KVNLJSAB.js → chunk-NKUDIVPF.js} +7 -7
  25. package/dist/_node-chunks/chunk-O5OIO47U.js +23 -0
  26. package/dist/_node-chunks/{chunk-XFU23B4C.js → chunk-Q27GKV7Y.js} +7 -7
  27. package/dist/_node-chunks/{chunk-DWVHBQGR.js → chunk-Q47IIVLL.js} +8 -8
  28. package/dist/_node-chunks/{chunk-5VZMCPTH.js → chunk-SM7QXYN4.js} +43 -27
  29. package/dist/_node-chunks/{chunk-VJPI73BB.js → chunk-VKFEIIOF.js} +39 -24
  30. package/dist/_node-chunks/{chunk-R2J3OB3H.js → chunk-XYVZIRZC.js} +6 -6
  31. package/dist/_node-chunks/{chunk-RGQC4G3L.js → chunk-YPCGEC3N.js} +13 -13
  32. package/dist/_node-chunks/{dist-UBFMIJZC.js → dist-GGDI7EVD.js} +9 -9
  33. package/dist/_node-chunks/{globby-VD3CGPVI.js → globby-DY2UCDKN.js} +9 -9
  34. package/dist/_node-chunks/{lib-MMJB47J3.js → lib-PFKECSVA.js} +7 -7
  35. package/dist/_node-chunks/{mdx-N42X6CFJ-3J2G7NZZ.js → mdx-N42X6CFJ-OPAAI5WZ.js} +8 -8
  36. package/dist/_node-chunks/{p-limit-SOBWTEVH.js → p-limit-PMYE6ZFC.js} +7 -7
  37. package/dist/babel/index.js +10 -10
  38. package/dist/bin/core.js +24 -18
  39. package/dist/bin/dispatcher.js +11 -11
  40. package/dist/bin/loader.js +9 -9
  41. package/dist/cli/index.js +18 -18
  42. package/dist/common/index.d.ts +25 -18
  43. package/dist/common/index.js +19 -19
  44. package/dist/core-server/index.js +35 -35
  45. package/dist/core-server/presets/common-override-preset.js +9 -9
  46. package/dist/core-server/presets/common-preset.js +25 -25
  47. package/dist/csf-tools/index.js +9 -9
  48. package/dist/instrumenter/index.js +1 -1
  49. package/dist/manager/globals-runtime.js +3102 -3017
  50. package/dist/manager-api/index.js +1 -1
  51. package/dist/mocking-utils/index.js +8 -8
  52. package/dist/node-logger/index.d.ts +1 -1
  53. package/dist/node-logger/index.js +9 -9
  54. package/dist/preview/runtime.js +706 -621
  55. package/dist/server-errors.js +11 -11
  56. package/dist/telemetry/index.js +23 -23
  57. package/dist/test/index.js +370 -286
  58. package/dist/types/index.d.ts +3 -1
  59. package/package.json +1 -1
  60. package/dist/_node-chunks/chunk-CLCLRZYL.js +0 -61
  61. package/dist/_node-chunks/chunk-DF3QP62W.js +0 -18
  62. package/dist/_node-chunks/chunk-EVBCPGQO.js +0 -20
  63. package/dist/_node-chunks/chunk-PCMFKXWQ.js +0 -23
@@ -8,6 +8,7 @@ import { WhatsNewData } from 'storybook/internal/core-events';
8
8
  import { FileSystemCache } from 'storybook/internal/common';
9
9
  import { StoryIndexGenerator } from 'storybook/internal/core-server';
10
10
  import { CsfFile } from 'storybook/internal/csf-tools';
11
+ import { LogLevel } from 'storybook/internal/node-logger';
11
12
  import { Server, IncomingMessage, ServerResponse } from 'http';
12
13
  import { Server as Server$1 } from 'net';
13
14
  import { Channel as Channel$1 } from 'storybook/internal/channels';
@@ -2312,7 +2313,8 @@ interface CLIBaseOptions {
2312
2313
  disableTelemetry?: boolean;
2313
2314
  enableCrashReports?: boolean;
2314
2315
  configDir?: string;
2315
- loglevel?: string;
2316
+ loglevel?: LogLevel;
2317
+ logfile?: string | boolean;
2316
2318
  quiet?: boolean;
2317
2319
  }
2318
2320
  interface CLIOptions extends CLIBaseOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook",
3
- "version": "10.2.0-alpha.2",
3
+ "version": "10.2.0-alpha.3",
4
4
  "description": "Storybook: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -1,61 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_wtqlduo6et from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wtqlduo6et from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wtqlduo6et from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_wtqlduo6et.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wtqlduo6et.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wtqlduo6et.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // src/common/versions.ts
14
- var versions_default = {
15
- "@storybook/addon-a11y": "10.2.0-alpha.2",
16
- "@storybook/addon-docs": "10.2.0-alpha.2",
17
- "@storybook/addon-links": "10.2.0-alpha.2",
18
- "@storybook/addon-onboarding": "10.2.0-alpha.2",
19
- "storybook-addon-pseudo-states": "10.2.0-alpha.2",
20
- "@storybook/addon-themes": "10.2.0-alpha.2",
21
- "@storybook/addon-vitest": "10.2.0-alpha.2",
22
- "@storybook/builder-vite": "10.2.0-alpha.2",
23
- "@storybook/builder-webpack5": "10.2.0-alpha.2",
24
- storybook: "10.2.0-alpha.2",
25
- "@storybook/angular": "10.2.0-alpha.2",
26
- "@storybook/ember": "10.2.0-alpha.2",
27
- "@storybook/html-vite": "10.2.0-alpha.2",
28
- "@storybook/nextjs": "10.2.0-alpha.2",
29
- "@storybook/nextjs-vite": "10.2.0-alpha.2",
30
- "@storybook/preact-vite": "10.2.0-alpha.2",
31
- "@storybook/react-native-web-vite": "10.2.0-alpha.2",
32
- "@storybook/react-vite": "10.2.0-alpha.2",
33
- "@storybook/react-webpack5": "10.2.0-alpha.2",
34
- "@storybook/server-webpack5": "10.2.0-alpha.2",
35
- "@storybook/svelte-vite": "10.2.0-alpha.2",
36
- "@storybook/sveltekit": "10.2.0-alpha.2",
37
- "@storybook/vue3-vite": "10.2.0-alpha.2",
38
- "@storybook/web-components-vite": "10.2.0-alpha.2",
39
- sb: "10.2.0-alpha.2",
40
- "@storybook/cli": "10.2.0-alpha.2",
41
- "@storybook/codemod": "10.2.0-alpha.2",
42
- "@storybook/core-webpack": "10.2.0-alpha.2",
43
- "create-storybook": "10.2.0-alpha.2",
44
- "@storybook/csf-plugin": "10.2.0-alpha.2",
45
- "eslint-plugin-storybook": "10.2.0-alpha.2",
46
- "@storybook/react-dom-shim": "10.2.0-alpha.2",
47
- "@storybook/preset-create-react-app": "10.2.0-alpha.2",
48
- "@storybook/preset-react-webpack": "10.2.0-alpha.2",
49
- "@storybook/preset-server-webpack": "10.2.0-alpha.2",
50
- "@storybook/html": "10.2.0-alpha.2",
51
- "@storybook/preact": "10.2.0-alpha.2",
52
- "@storybook/react": "10.2.0-alpha.2",
53
- "@storybook/server": "10.2.0-alpha.2",
54
- "@storybook/svelte": "10.2.0-alpha.2",
55
- "@storybook/vue3": "10.2.0-alpha.2",
56
- "@storybook/web-components": "10.2.0-alpha.2"
57
- };
58
-
59
- export {
60
- versions_default
61
- };
@@ -1,18 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_wtqlduo6et from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wtqlduo6et from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wtqlduo6et from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_wtqlduo6et.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wtqlduo6et.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wtqlduo6et.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // package.json
14
- var version = "10.2.0-alpha.2";
15
-
16
- export {
17
- version
18
- };
@@ -1,20 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_wtqlduo6et from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wtqlduo6et from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wtqlduo6et from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_wtqlduo6et.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wtqlduo6et.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wtqlduo6et.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
-
13
- // ../../node_modules/slash/index.js
14
- function slash(path) {
15
- return path.startsWith("\\\\?\\") ? path : path.replace(/\\/g, "/");
16
- }
17
-
18
- export {
19
- slash
20
- };
@@ -1,23 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_wtqlduo6et from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_wtqlduo6et from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_wtqlduo6et from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_wtqlduo6et.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_wtqlduo6et.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_wtqlduo6et.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------
12
- import {
13
- any
14
- } from "./chunk-GKEAARBQ.js";
15
-
16
- // src/cli/detect.ts
17
- async function detectPnp() {
18
- return !!any([".pnp.js", ".pnp.cjs"]);
19
- }
20
-
21
- export {
22
- detectPnp
23
- };