@storybook/cli 10.4.0-alpha.1 → 10.4.0-alpha.11
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/_node-chunks/{block-dependencies-versions-ZL3JQAT4.js → block-dependencies-versions-2BVSMHVR.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-BO3T5K24.js → block-experimental-addon-test-YTJO53FI.js} +9 -9
- package/dist/_node-chunks/{block-major-version-IDIMS77A.js → block-major-version-LCXD4EE5.js} +9 -9
- package/dist/_node-chunks/{block-node-version-7ZV2SLRH.js → block-node-version-WZF6U3TL.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-6M76BEIS.js → block-webpack5-frameworks-EI3U2F35.js} +11 -11
- package/dist/_node-chunks/{chunk-EUGRJJ6V.js → chunk-6BWYOUU7.js} +24 -20
- package/dist/_node-chunks/chunk-6L6KWHQV.js +11 -0
- package/dist/_node-chunks/{chunk-HO7U4ONX.js → chunk-F3OYUBSA.js} +7 -7
- package/dist/_node-chunks/{chunk-NIFES6PF.js → chunk-KSVLT5Q6.js} +6 -6
- package/dist/_node-chunks/{chunk-AFATUNZD.js → chunk-WCEKSVGD.js} +7 -7
- package/dist/_node-chunks/{globby-HCURI6NV.js → globby-XYA3TN25.js} +8 -8
- package/dist/_node-chunks/{p-limit-FQQAEGAZ.js → p-limit-U3C7RBHQ.js} +7 -7
- package/dist/_node-chunks/{run-RB4M7QWV.js → run-DB2FPOMF.js} +209 -168
- package/dist/bin/index.js +11 -10
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-62IOOY6E.js +0 -11
package/dist/bin/index.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_ss6g9koxy4s from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_ss6g9koxy4s from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_ss6g9koxy4s from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_ss6g9koxy4s.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ss6g9koxy4s.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_ss6g9koxy4s.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
|
|
14
14
|
// src/bin/index.ts
|
|
15
|
+
import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
|
|
15
16
|
import { logger } from "storybook/internal/node-logger";
|
|
16
17
|
import { dedent } from "ts-dedent";
|
|
17
|
-
var [
|
|
18
|
-
(
|
|
19
|
-
dedent`To run Storybook, you need Node.js version
|
|
18
|
+
var [major, minor, patch] = process.versions.node.split(".").map(Number);
|
|
19
|
+
isNodeVersionSupported(major, minor, patch) || (logger.error(
|
|
20
|
+
dedent`To run Storybook, you need Node.js version ${MIN_SUPPORTED_NODE_DESCRIPTION}.
|
|
20
21
|
You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
|
|
21
22
|
), process.exit(1));
|
|
22
|
-
import("../_node-chunks/run-
|
|
23
|
+
import("../_node-chunks/run-DB2FPOMF.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.4.0-alpha.
|
|
3
|
+
"version": "10.4.0-alpha.11",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"!src/**/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@storybook/codemod": "10.4.0-alpha.
|
|
40
|
+
"@storybook/codemod": "10.4.0-alpha.11",
|
|
41
41
|
"@types/semver": "^7.7.1",
|
|
42
42
|
"commander": "^14.0.2",
|
|
43
|
-
"create-storybook": "10.4.0-alpha.
|
|
43
|
+
"create-storybook": "10.4.0-alpha.11",
|
|
44
44
|
"jscodeshift": "^0.15.1",
|
|
45
|
-
"storybook": "10.4.0-alpha.
|
|
45
|
+
"storybook": "10.4.0-alpha.11",
|
|
46
46
|
"ts-dedent": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_s6e3ez3dae from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_s6e3ez3dae from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_s6e3ez3dae from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_s6e3ez3dae.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_s6e3ez3dae.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_s6e3ez3dae.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|