@storybook/cli 11.0.0-beta.2 → 11.0.0-beta.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.
- package/dist/_node-chunks/{block-create-react-app-JFO2JD55.js → block-create-react-app-V6BIFP2D.js} +9 -9
- package/dist/_node-chunks/{block-dependencies-versions-UPORCT7W.js → block-dependencies-versions-TUQI365X.js} +12 -12
- package/dist/_node-chunks/{block-experimental-addon-test-GET4RZNY.js → block-experimental-addon-test-XKZPTV5V.js} +10 -10
- package/dist/_node-chunks/{block-major-version-AZBLCCWD.js → block-major-version-K3KEMUXU.js} +10 -10
- package/dist/_node-chunks/{block-node-version-D5B4PGWC.js → block-node-version-76WYFIFF.js} +8 -8
- package/dist/_node-chunks/{block-react-legacy-root-api-3FZYBE5Y.js → block-react-legacy-root-api-FX5UZGGP.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-BZ54K7EF.js → block-webpack5-frameworks-VOGOOB2Z.js} +11 -11
- package/dist/_node-chunks/{chunk-IJCNB2NY.js → chunk-6H7QIISJ.js} +7 -7
- package/dist/_node-chunks/{chunk-B7W5S26H.js → chunk-BUDS4H5G.js} +7 -7
- package/dist/_node-chunks/{chunk-FTDCS6RH.js → chunk-FYAK43OD.js} +6 -6
- package/dist/_node-chunks/{chunk-RYJKGFBI.js → chunk-HHJFOWZT.js} +17 -17
- package/dist/_node-chunks/{chunk-ZOTETJ5I.js → chunk-VFW27UAY.js} +7 -7
- package/dist/_node-chunks/chunk-XZLL5C7I.js +11 -0
- package/dist/_node-chunks/{globby-HI25CKNS.js → globby-BQ2AMHMC.js} +8 -8
- package/dist/_node-chunks/{p-limit-O7INATAC.js → p-limit-TEFK66WD.js} +7 -7
- package/dist/_node-chunks/{run-5JIX5RJF.js → run-36MLKBMZ.js} +19 -18
- package/dist/bin/index.js +9 -9
- package/package.json +3 -3
- package/dist/_node-chunks/chunk-NVISAZ6Z.js +0 -11
package/dist/_node-chunks/{block-create-react-app-JFO2JD55.js → block-create-react-app-V6BIFP2D.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-BUDS4H5G.js";
|
|
15
|
+
import "./chunk-XZLL5C7I.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FYAK43OD.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-create-react-app.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HHJFOWZT.js";
|
|
15
|
+
import "./chunk-VFW27UAY.js";
|
|
16
16
|
import {
|
|
17
17
|
require_dist
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-BUDS4H5G.js";
|
|
19
|
+
import "./chunk-6H7QIISJ.js";
|
|
20
|
+
import "./chunk-XZLL5C7I.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FYAK43OD.js";
|
|
24
24
|
|
|
25
25
|
// src/autoblock/block-dependencies-versions.ts
|
|
26
26
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BUDS4H5G.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-6H7QIISJ.js";
|
|
18
|
+
import "./chunk-XZLL5C7I.js";
|
|
19
19
|
import {
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FYAK43OD.js";
|
|
22
22
|
|
|
23
23
|
// src/autoblock/block-experimental-addon-test.ts
|
|
24
24
|
var import_semver = __toESM(require_semver(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
package/dist/_node-chunks/{block-major-version-AZBLCCWD.js → block-major-version-K3KEMUXU.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BUDS4H5G.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-6H7QIISJ.js";
|
|
18
|
+
import "./chunk-XZLL5C7I.js";
|
|
19
19
|
import {
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FYAK43OD.js";
|
|
22
22
|
|
|
23
23
|
// src/autoblock/block-major-version.ts
|
|
24
24
|
var import_semver = __toESM(require_semver(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-XZLL5C7I.js";
|
|
13
|
+
import "./chunk-FYAK43OD.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-node-version.ts
|
|
16
16
|
import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-BUDS4H5G.js";
|
|
15
|
+
import "./chunk-XZLL5C7I.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FYAK43OD.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-react-legacy-root-api.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HHJFOWZT.js";
|
|
15
|
+
import "./chunk-VFW27UAY.js";
|
|
16
|
+
import "./chunk-6H7QIISJ.js";
|
|
17
|
+
import "./chunk-XZLL5C7I.js";
|
|
18
|
+
import "./chunk-FYAK43OD.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FYAK43OD.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FYAK43OD.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/ts-dedent/dist/index.js
|
|
17
17
|
var require_dist = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,14 +12,14 @@ var require = CJS_COMPAT_NODE_MODULE_4qfanpvf6mf.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VFW27UAY.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6H7QIISJ.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FYAK43OD.js";
|
|
23
23
|
|
|
24
24
|
// ../../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -134,13 +134,13 @@ var import_picocolors = __toESM(require_picocolors(), 1), import_semver = __toES
|
|
|
134
134
|
// src/autoblock/index.ts
|
|
135
135
|
var blockers = () => [
|
|
136
136
|
// add/remove blockers here
|
|
137
|
-
import("./block-dependencies-versions-
|
|
138
|
-
import("./block-create-react-app-
|
|
139
|
-
import("./block-node-version-
|
|
140
|
-
import("./block-webpack5-frameworks-
|
|
141
|
-
import("./block-major-version-
|
|
142
|
-
import("./block-experimental-addon-test-
|
|
143
|
-
import("./block-react-legacy-root-api-
|
|
137
|
+
import("./block-dependencies-versions-TUQI365X.js"),
|
|
138
|
+
import("./block-create-react-app-V6BIFP2D.js"),
|
|
139
|
+
import("./block-node-version-76WYFIFF.js"),
|
|
140
|
+
import("./block-webpack5-frameworks-VOGOOB2Z.js"),
|
|
141
|
+
import("./block-major-version-K3KEMUXU.js"),
|
|
142
|
+
import("./block-experimental-addon-test-XKZPTV5V.js"),
|
|
143
|
+
import("./block-react-legacy-root-api-FX5UZGGP.js")
|
|
144
144
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
145
145
|
list.map(async (i) => {
|
|
146
146
|
let blocker = (await i).blocker;
|
|
@@ -267,7 +267,7 @@ var processProject = async ({
|
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
270
|
-
let { default: pLimit } = await import("./p-limit-
|
|
270
|
+
let { default: pLimit } = await import("./p-limit-TEFK66WD.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
271
271
|
(configDir) => limit(
|
|
272
272
|
() => processProject({
|
|
273
273
|
configDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FYAK43OD.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
isGitIgnoredSync,
|
|
22
22
|
isIgnoredByIgnoreFiles,
|
|
23
23
|
isIgnoredByIgnoreFilesSync
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-VFW27UAY.js";
|
|
25
|
+
import "./chunk-FYAK43OD.js";
|
|
26
26
|
export {
|
|
27
27
|
convertPathToPattern,
|
|
28
28
|
generateGlobTasks,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FYAK43OD.js";
|
|
13
13
|
|
|
14
14
|
// ../../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
shortenPath,
|
|
21
21
|
up,
|
|
22
22
|
upgradeStorybookDependencies
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HHJFOWZT.js";
|
|
24
24
|
import {
|
|
25
25
|
slash
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VFW27UAY.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BUDS4H5G.js";
|
|
30
30
|
import {
|
|
31
31
|
require_semver
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6H7QIISJ.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__require,
|
|
36
36
|
__toESM
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FYAK43OD.js";
|
|
38
38
|
|
|
39
39
|
// ../../../node_modules/commander/lib/error.js
|
|
40
40
|
var require_error = __commonJS({
|
|
@@ -3036,7 +3036,7 @@ function leven(first, second, options) {
|
|
|
3036
3036
|
var import_picocolors26 = __toESM(require_picocolors(), 1);
|
|
3037
3037
|
|
|
3038
3038
|
// package.json
|
|
3039
|
-
var version = "11.0.0-beta.
|
|
3039
|
+
var version = "11.0.0-beta.3";
|
|
3040
3040
|
|
|
3041
3041
|
// src/add.ts
|
|
3042
3042
|
var import_semver = __toESM(require_semver(), 1), import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -4135,7 +4135,7 @@ var KIND_ORDER = ["main", "preview", "manager", "config", "story"], parse2 = (co
|
|
|
4135
4135
|
project.mainConfigPath && claim(project.mainConfigPath, "main"), project.previewConfigPath && claim(project.previewConfigPath, "preview");
|
|
4136
4136
|
let managerConfigPath = project.configDir && findConfigFile("manager", project.configDir);
|
|
4137
4137
|
if (managerConfigPath && claim(managerConfigPath, "manager"), project.storiesPaths.forEach((id) => claim(id, "story")), kinds.has("config")) {
|
|
4138
|
-
let { globby } = await import("./globby-
|
|
4138
|
+
let { globby } = await import("./globby-BQ2AMHMC.js");
|
|
4139
4139
|
(await globby("**/*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}", {
|
|
4140
4140
|
cwd: project.configDir,
|
|
4141
4141
|
absolute: !0,
|
|
@@ -4346,7 +4346,7 @@ import { logger as logger4 } from "storybook/internal/node-logger";
|
|
|
4346
4346
|
import { promises as fs } from "fs";
|
|
4347
4347
|
var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
|
|
4348
4348
|
async function runCodemod(globPattern = "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx}", transform4, { dryRun = !1, skipFormatting = !1 } = {}) {
|
|
4349
|
-
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-
|
|
4349
|
+
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-BQ2AMHMC.js"), files = typeof globPattern == "string" ? await globby(slash(globPattern), {
|
|
4350
4350
|
followSymbolicLinks: !0,
|
|
4351
4351
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
4352
4352
|
}) : globPattern;
|
|
@@ -4357,7 +4357,7 @@ Please try a different pattern.
|
|
|
4357
4357
|
`
|
|
4358
4358
|
), new HandledError4("No files matched");
|
|
4359
4359
|
try {
|
|
4360
|
-
let pLimit = (await import("./p-limit-
|
|
4360
|
+
let pLimit = (await import("./p-limit-TEFK66WD.js")).default, limit = pLimit(maxConcurrentTasks);
|
|
4361
4361
|
await Promise.all(
|
|
4362
4362
|
files.map(
|
|
4363
4363
|
(file) => limit(async () => {
|
|
@@ -5396,11 +5396,12 @@ async function storyToCsf4(info2, options) {
|
|
|
5396
5396
|
let source = await transform2(info2, { keepStoryTypes: !0 }).catch((error) => (logger9.debug(`csf-2-to-3 skipped ${info2.path}: ${String(error)}`), info2.source)), output = await storyToCsfFactory({ ...info2, source }, options);
|
|
5397
5397
|
return output === source ? info2.source : output;
|
|
5398
5398
|
}
|
|
5399
|
+
var SANDBOX_STORIES_GLOB = "{stories,src/stories}/{Button,Header,Page,button,header,page}.stories.*";
|
|
5399
5400
|
async function runStoriesCodemod(options) {
|
|
5400
5401
|
let { dryRun, yes, glob, ...codemodOptions } = options, inSandbox = optionalEnvToBoolean(process.env.IN_STORYBOOK_SANDBOX) ?? !1, promptsForGlob = !glob && !inSandbox && !yes;
|
|
5401
5402
|
try {
|
|
5402
5403
|
let globString = glob ?? "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx,svelte}";
|
|
5403
|
-
!glob && inSandbox ? globString =
|
|
5404
|
+
!glob && inSandbox ? globString = SANDBOX_STORIES_GLOB : promptsForGlob && (logger9.log("Please enter the glob for your stories to migrate"), globString = await prompt2.text({
|
|
5404
5405
|
message: "glob",
|
|
5405
5406
|
initialValue: globString
|
|
5406
5407
|
})), logger9.step("Applying codemod on your stories, this might take some time..."), await runCodemod(globString, (info2) => storyToCsf4(info2, codemodOptions), { dryRun });
|
|
@@ -5537,7 +5538,7 @@ var readJsonFile = async (files, path5) => {
|
|
|
5537
5538
|
return null;
|
|
5538
5539
|
}
|
|
5539
5540
|
}, findWorkspaceFiles = async (basename5) => {
|
|
5540
|
-
let { globby } = await import("./globby-
|
|
5541
|
+
let { globby } = await import("./globby-BQ2AMHMC.js");
|
|
5541
5542
|
return globby([`**/${basename5}`], {
|
|
5542
5543
|
cwd: getProjectRoot2(),
|
|
5543
5544
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**"],
|
|
@@ -11774,7 +11775,7 @@ command("migrate [migration]").description("Run a Storybook codemod migration on
|
|
|
11774
11775
|
logger28.intro(`Running ${migration} migration`), await migrate2(migration, options), logger28.outro("Migration completed");
|
|
11775
11776
|
}).catch(handleCommandFailure(options.logfile));
|
|
11776
11777
|
});
|
|
11777
|
-
command("sandbox [filterValue]").alias("repro").description("Create a sandbox from a set of possible templates").option("-o --output <outDir>", "Define an output directory").option("--no-init", "Whether to download a template without an initialized Storybook"
|
|
11778
|
+
command("sandbox [filterValue]").alias("repro").description("Create a sandbox from a set of possible templates").option("-o --output <outDir>", "Define an output directory").option("--no-init", "Whether to download a template without an initialized Storybook").action((filterValue, options) => (logger28.intro("Creating a Storybook sandbox..."), sandbox({ filterValue, ...options }).catch(handleCommandFailure(options.logfile)).finally(() => {
|
|
11778
11779
|
logger28.outro("Done!");
|
|
11779
11780
|
})));
|
|
11780
11781
|
command("link <repo-url-or-directory>").description("Pull down a repro from a URL (or a local directory), link it, and run storybook").option("--local", "Link a local directory already in your file system").option("--no-start", "Start the storybook", !0).action(
|
package/dist/bin/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_mcq4wo6xsyh from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_mcq4wo6xsyh from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_mcq4wo6xsyh.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_mcq4wo6xsyh.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_mcq4wo6xsyh.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
|
import {
|
|
14
14
|
require_dist
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-BUDS4H5G.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-FYAK43OD.js";
|
|
19
19
|
|
|
20
20
|
// src/bin/index.ts
|
|
21
21
|
var import_ts_dedent = __toESM(require_dist(), 1);
|
|
@@ -25,4 +25,4 @@ isNodeVersionSupported(process.versions.node) || (logger.error(
|
|
|
25
25
|
import_ts_dedent.dedent`To run Storybook, you need Node.js version ${MIN_SUPPORTED_NODE_DESCRIPTION}.
|
|
26
26
|
You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
|
|
27
27
|
), process.exit(1));
|
|
28
|
-
import("../_node-chunks/run-
|
|
28
|
+
import("../_node-chunks/run-36MLKBMZ.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.
|
|
3
|
+
"version": "11.0.0-beta.3",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"!src/**/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"create-storybook": "11.0.0-beta.
|
|
41
|
-
"storybook": "11.0.0-beta.
|
|
40
|
+
"create-storybook": "11.0.0-beta.3",
|
|
41
|
+
"storybook": "11.0.0-beta.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/cross-spawn": "^6.0.6",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_4qfanpvf6mf from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_4qfanpvf6mf from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_4qfanpvf6mf from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_4qfanpvf6mf.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_4qfanpvf6mf.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_4qfanpvf6mf.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|