@storybook/cli 11.0.0-beta.1 → 11.0.0-beta.2

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 (19) hide show
  1. package/dist/_node-chunks/{block-create-react-app-LSAOSWEM.js → block-create-react-app-JFO2JD55.js} +15 -10
  2. package/dist/_node-chunks/{block-dependencies-versions-E4B3YEAN.js → block-dependencies-versions-UPORCT7W.js} +24 -19
  3. package/dist/_node-chunks/{block-experimental-addon-test-GERFI6TT.js → block-experimental-addon-test-GET4RZNY.js} +14 -12
  4. package/dist/_node-chunks/{block-major-version-45JDFPXA.js → block-major-version-AZBLCCWD.js} +15 -13
  5. package/dist/_node-chunks/{block-node-version-B533R3SG.js → block-node-version-D5B4PGWC.js} +8 -8
  6. package/dist/_node-chunks/{block-react-legacy-root-api-HGY34WGR.js → block-react-legacy-root-api-3FZYBE5Y.js} +15 -10
  7. package/dist/_node-chunks/{block-webpack5-frameworks-XPD4BIYO.js → block-webpack5-frameworks-BZ54K7EF.js} +11 -11
  8. package/dist/_node-chunks/chunk-B7W5S26H.js +61 -0
  9. package/dist/_node-chunks/{chunk-R4Q3DROI.js → chunk-FTDCS6RH.js} +6 -6
  10. package/dist/_node-chunks/{chunk-VGARET5X.js → chunk-IJCNB2NY.js} +7 -7
  11. package/dist/_node-chunks/chunk-NVISAZ6Z.js +11 -0
  12. package/dist/_node-chunks/{chunk-R6HMSGZI.js → chunk-RYJKGFBI.js} +17 -17
  13. package/dist/_node-chunks/{chunk-NIATDCBD.js → chunk-ZOTETJ5I.js} +7 -7
  14. package/dist/_node-chunks/{globby-WS6JLEVK.js → globby-HI25CKNS.js} +8 -8
  15. package/dist/_node-chunks/{p-limit-26GLRE5V.js → p-limit-O7INATAC.js} +7 -7
  16. package/dist/_node-chunks/{run-GZ5OBPUT.js → run-5JIX5RJF.js} +5484 -5439
  17. package/dist/bin/index.js +15 -9
  18. package/package.json +9 -9
  19. package/dist/_node-chunks/chunk-ZGCPET5Z.js +0 -11
package/dist/bin/index.js CHANGED
@@ -1,22 +1,28 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_4tp3msw2nul from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_4tp3msw2nul from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_4tp3msw2nul from "node:module";
2
+ import CJS_COMPAT_NODE_URL_4qfanpvf6mf from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_4qfanpvf6mf from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_4qfanpvf6mf from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_4tp3msw2nul.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_4tp3msw2nul.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_4tp3msw2nul.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_4qfanpvf6mf.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_4qfanpvf6mf.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_4qfanpvf6mf.createRequire(import.meta.url);
9
9
 
10
10
  // ------------------------------------------------------------
11
11
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
12
12
  // ------------------------------------------------------------
13
+ import {
14
+ require_dist
15
+ } from "../_node-chunks/chunk-B7W5S26H.js";
16
+ import {
17
+ __toESM
18
+ } from "../_node-chunks/chunk-FTDCS6RH.js";
13
19
 
14
20
  // src/bin/index.ts
21
+ var import_ts_dedent = __toESM(require_dist(), 1);
15
22
  import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
16
23
  import { logger } from "storybook/internal/node-logger";
17
- import { dedent } from "ts-dedent";
18
24
  isNodeVersionSupported(process.versions.node) || (logger.error(
19
- dedent`To run Storybook, you need Node.js version ${MIN_SUPPORTED_NODE_DESCRIPTION}.
25
+ import_ts_dedent.dedent`To run Storybook, you need Node.js version ${MIN_SUPPORTED_NODE_DESCRIPTION}.
20
26
  You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
21
27
  ), process.exit(1));
22
- import("../_node-chunks/run-GZ5OBPUT.js").then(({ run }) => run());
28
+ import("../_node-chunks/run-5JIX5RJF.js").then(({ run }) => run());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/cli",
3
- "version": "11.0.0-beta.1",
3
+ "version": "11.0.0-beta.2",
4
4
  "description": "Storybook CLI: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -37,30 +37,30 @@
37
37
  "!src/**/*"
38
38
  ],
39
39
  "dependencies": {
40
- "@storybook/codemod": "11.0.0-beta.1",
41
- "@types/semver": "^7.7.1",
42
- "commander": "^14.0.2",
43
- "create-storybook": "11.0.0-beta.1",
44
- "jscodeshift": "^17.4.0",
45
- "storybook": "11.0.0-beta.1",
46
- "ts-dedent": "^2.2.0"
40
+ "create-storybook": "11.0.0-beta.2",
41
+ "storybook": "11.0.0-beta.2"
47
42
  },
48
43
  "devDependencies": {
49
44
  "@types/cross-spawn": "^6.0.6",
50
45
  "@types/prompts": "^2.0.9",
46
+ "@types/semver": "^7.7.1",
47
+ "ansi-regex": "^6.0.1",
48
+ "commander": "^14.0.2",
51
49
  "comment-json": "^4.2.5",
52
50
  "cross-spawn": "^7.0.6",
53
51
  "empathic": "^2.0.0",
54
- "envinfo": "^7.14.0",
55
52
  "globby": "^14.1.0",
56
53
  "leven": "^4.0.0",
57
54
  "memfs": "^4.11.1",
58
55
  "p-limit": "^7.2.0",
56
+ "pathe": "^1.1.2",
59
57
  "picocolors": "^1.1.0",
58
+ "prettier": "^3.7.1",
60
59
  "semver": "^7.7.3",
61
60
  "slash": "^5.0.0",
62
61
  "tiny-invariant": "^1.3.3",
63
62
  "tinyclip": "^0.1.12",
63
+ "ts-dedent": "^2.2.0",
64
64
  "typescript": "^6.0.3",
65
65
  "valibot": "^1.4.0"
66
66
  },
@@ -1,11 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_4tp3msw2nul from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_4tp3msw2nul from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_4tp3msw2nul from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_4tp3msw2nul.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_4tp3msw2nul.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_4tp3msw2nul.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------