@storybook/cli 10.1.0-alpha.8 → 10.1.0-alpha.9
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-HTRZA7NK.js → block-dependencies-versions-BGKJ74J2.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-RCEI7ZNN.js → block-experimental-addon-test-5WOB3QXI.js} +9 -9
- package/dist/_node-chunks/{block-major-version-5EWJKQ37.js → block-major-version-UQXLZ64F.js} +9 -9
- package/dist/_node-chunks/{block-node-version-G56GAL3A.js → block-node-version-QP5KXT5Q.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-T3V3TWUF.js → block-webpack5-frameworks-UY6KAASI.js} +11 -11
- package/dist/_node-chunks/{chunk-N52FW6OW.js → chunk-3ISYWOFW.js} +15 -15
- package/dist/_node-chunks/{chunk-3SQ32WLK.js → chunk-5JXVRX4Y.js} +6 -6
- package/dist/_node-chunks/chunk-7ZMKNOV3.js +24 -0
- package/dist/_node-chunks/{chunk-BJB5ZHE4.js → chunk-KK6KWG7C.js} +7 -7
- package/dist/_node-chunks/{chunk-HL6AJJ6S.js → chunk-QLMPSJFV.js} +7 -7
- package/dist/_node-chunks/{globby-2OFECE6D.js → globby-DNHQPHUT.js} +8 -8
- package/dist/_node-chunks/{p-limit-QY5RPRLQ.js → p-limit-YAWAKA4U.js} +7 -7
- package/dist/_node-chunks/{run-FI4DEZHJ.js → run-IFPXJ7NW.js} +21 -21
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-IWMIPYGD.js +0 -24
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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-3ISYWOFW.js";
|
|
15
|
+
import "./chunk-QLMPSJFV.js";
|
|
16
16
|
import {
|
|
17
17
|
createBlocker
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-7ZMKNOV3.js";
|
|
19
|
+
import "./chunk-KK6KWG7C.js";
|
|
20
|
+
import "./chunk-5JXVRX4Y.js";
|
|
21
21
|
|
|
22
22
|
// src/autoblock/block-dependencies-versions.ts
|
|
23
23
|
import { dedent } from "ts-dedent";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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
|
createBlocker
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZMKNOV3.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KK6KWG7C.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
21
21
|
|
|
22
22
|
// src/autoblock/block-experimental-addon-test.ts
|
|
23
23
|
var import_semver = __toESM(require_semver(), 1);
|
package/dist/_node-chunks/{block-major-version-5EWJKQ37.js → block-major-version-UQXLZ64F.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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
|
createBlocker
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZMKNOV3.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KK6KWG7C.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
22
22
|
|
|
23
23
|
// src/autoblock/block-major-version.ts
|
|
24
24
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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
|
createBlocker
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ZMKNOV3.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KK6KWG7C.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
21
21
|
|
|
22
22
|
// src/autoblock/block-node-version.ts
|
|
23
23
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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-3ISYWOFW.js";
|
|
15
|
+
import "./chunk-QLMPSJFV.js";
|
|
16
16
|
import {
|
|
17
17
|
createBlocker
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-7ZMKNOV3.js";
|
|
19
|
+
import "./chunk-KK6KWG7C.js";
|
|
20
|
+
import "./chunk-5JXVRX4Y.js";
|
|
21
21
|
|
|
22
22
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
23
23
|
var minimalVersionsMap = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,15 +12,15 @@ var require = CJS_COMPAT_NODE_MODULE_eqzh0h3j61h.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QLMPSJFV.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KK6KWG7C.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
24
24
|
|
|
25
25
|
// ../../node_modules/picocolors/picocolors.js
|
|
26
26
|
var require_picocolors = __commonJS({
|
|
@@ -1144,11 +1144,11 @@ var import_semver = __toESM(require_semver(), 1);
|
|
|
1144
1144
|
// src/autoblock/index.ts
|
|
1145
1145
|
var blockers = /* @__PURE__ */ __name(() => [
|
|
1146
1146
|
// add/remove blockers here
|
|
1147
|
-
import("./block-dependencies-versions-
|
|
1148
|
-
import("./block-node-version-
|
|
1149
|
-
import("./block-webpack5-frameworks-
|
|
1150
|
-
import("./block-major-version-
|
|
1151
|
-
import("./block-experimental-addon-test-
|
|
1147
|
+
import("./block-dependencies-versions-BGKJ74J2.js"),
|
|
1148
|
+
import("./block-node-version-QP5KXT5Q.js"),
|
|
1149
|
+
import("./block-webpack5-frameworks-UY6KAASI.js"),
|
|
1150
|
+
import("./block-major-version-UQXLZ64F.js"),
|
|
1151
|
+
import("./block-experimental-addon-test-5WOB3QXI.js")
|
|
1152
1152
|
], "blockers");
|
|
1153
1153
|
var autoblock = /* @__PURE__ */ __name(async (options, list = blockers()) => {
|
|
1154
1154
|
if (list.length === 0) {
|
|
@@ -1419,7 +1419,7 @@ var processProject = /* @__PURE__ */ __name(async ({
|
|
|
1419
1419
|
}
|
|
1420
1420
|
}, "processProject");
|
|
1421
1421
|
var collectProjects = /* @__PURE__ */ __name(async (options, configDirs, onProjectScanStart) => {
|
|
1422
|
-
const { default: pLimit } = await import("./p-limit-
|
|
1422
|
+
const { default: pLimit } = await import("./p-limit-YAWAKA4U.js");
|
|
1423
1423
|
const currentCLIVersion = versions.storybook;
|
|
1424
1424
|
const limit = pLimit(5);
|
|
1425
1425
|
const projectPromises = configDirs.map(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
__name
|
|
14
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
15
|
+
|
|
16
|
+
// src/autoblock/types.ts
|
|
17
|
+
function createBlocker(block) {
|
|
18
|
+
return block;
|
|
19
|
+
}
|
|
20
|
+
__name(createBlocker, "createBlocker");
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
createBlocker
|
|
24
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_eqzh0h3j61h.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/semver/internal/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/fast-glob/out/utils/array.js
|
|
20
20
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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-QLMPSJFV.js";
|
|
25
|
+
import "./chunk-5JXVRX4Y.js";
|
|
26
26
|
export {
|
|
27
27
|
convertPathToPattern,
|
|
28
28
|
generateGlobTasks,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/yocto-queue/index.js
|
|
17
17
|
var Node = class {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -25,19 +25,19 @@ import {
|
|
|
25
25
|
shortenPath,
|
|
26
26
|
updateMainConfig,
|
|
27
27
|
upgradeStorybookDependencies
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3ISYWOFW.js";
|
|
29
29
|
import {
|
|
30
30
|
slash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QLMPSJFV.js";
|
|
32
32
|
import {
|
|
33
33
|
require_semver
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KK6KWG7C.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__name,
|
|
38
38
|
__require,
|
|
39
39
|
__toESM
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5JXVRX4Y.js";
|
|
41
41
|
|
|
42
42
|
// ../../node_modules/envinfo/dist/envinfo.js
|
|
43
43
|
var require_envinfo = __commonJS({
|
|
@@ -4922,7 +4922,7 @@ __name(leven, "leven");
|
|
|
4922
4922
|
var import_picocolors17 = __toESM(require_picocolors(), 1);
|
|
4923
4923
|
|
|
4924
4924
|
// package.json
|
|
4925
|
-
var version = "10.1.0-alpha.
|
|
4925
|
+
var version = "10.1.0-alpha.9";
|
|
4926
4926
|
|
|
4927
4927
|
// src/add.ts
|
|
4928
4928
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -6404,7 +6404,7 @@ async function runCodemod(globPattern = "**/*.stories.*", transform, { dryRun =
|
|
|
6404
6404
|
let modifiedCount = 0;
|
|
6405
6405
|
let unmodifiedCount = 0;
|
|
6406
6406
|
let errorCount = 0;
|
|
6407
|
-
const { globby } = await import("./globby-
|
|
6407
|
+
const { globby } = await import("./globby-DNHQPHUT.js");
|
|
6408
6408
|
const files = await globby(slash(globPattern), {
|
|
6409
6409
|
followSymbolicLinks: true,
|
|
6410
6410
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
@@ -6418,7 +6418,7 @@ Please try a different pattern.
|
|
|
6418
6418
|
throw new Error("No files matched");
|
|
6419
6419
|
}
|
|
6420
6420
|
try {
|
|
6421
|
-
const pLimit = (await import("./p-limit-
|
|
6421
|
+
const pLimit = (await import("./p-limit-YAWAKA4U.js")).default;
|
|
6422
6422
|
const limit = pLimit(maxConcurrentTasks);
|
|
6423
6423
|
await Promise.all(
|
|
6424
6424
|
files.map(
|
|
@@ -7530,7 +7530,7 @@ var addonA11yParameters = {
|
|
|
7530
7530
|
}
|
|
7531
7531
|
}
|
|
7532
7532
|
}
|
|
7533
|
-
const { default: pLimit } = await import("./p-limit-
|
|
7533
|
+
const { default: pLimit } = await import("./p-limit-YAWAKA4U.js");
|
|
7534
7534
|
const limit = pLimit(10);
|
|
7535
7535
|
await Promise.all(
|
|
7536
7536
|
storyFilesToUpdate.map(
|
|
@@ -7748,7 +7748,7 @@ var addonGlobalsApi = {
|
|
|
7748
7748
|
};
|
|
7749
7749
|
async function transformStoryFiles(files, options, dryRun) {
|
|
7750
7750
|
const errors = [];
|
|
7751
|
-
const { default: pLimit } = await import("./p-limit-
|
|
7751
|
+
const { default: pLimit } = await import("./p-limit-YAWAKA4U.js");
|
|
7752
7752
|
const limit = pLimit(10);
|
|
7753
7753
|
await Promise.all(
|
|
7754
7754
|
files.map(
|
|
@@ -8067,7 +8067,7 @@ function transformPackageJson(content) {
|
|
|
8067
8067
|
__name(transformPackageJson, "transformPackageJson");
|
|
8068
8068
|
var transformPackageJsonFiles = /* @__PURE__ */ __name(async (files, dryRun) => {
|
|
8069
8069
|
const errors = [];
|
|
8070
|
-
const { default: pLimit } = await import("./p-limit-
|
|
8070
|
+
const { default: pLimit } = await import("./p-limit-YAWAKA4U.js");
|
|
8071
8071
|
const limit = pLimit(10);
|
|
8072
8072
|
await Promise.all(
|
|
8073
8073
|
files.map(
|
|
@@ -8129,7 +8129,7 @@ var consolidatedImports = {
|
|
|
8129
8129
|
dryRun
|
|
8130
8130
|
);
|
|
8131
8131
|
errors.push(...packageJsonErrors);
|
|
8132
|
-
const { globby } = await import("./globby-
|
|
8132
|
+
const { globby } = await import("./globby-DNHQPHUT.js");
|
|
8133
8133
|
const configFiles = await globby([`${configDir}/**/*`]);
|
|
8134
8134
|
const importErrors = await transformImportFiles(
|
|
8135
8135
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
@@ -8828,7 +8828,7 @@ var replaceImports = /* @__PURE__ */ __name((source, renderer, framework) => {
|
|
|
8828
8828
|
}, "replaceImports");
|
|
8829
8829
|
var transformSourceFiles = /* @__PURE__ */ __name(async (files, renderer, framework, dryRun) => {
|
|
8830
8830
|
const errors = [];
|
|
8831
|
-
const { default: pLimit } = await import("./p-limit-
|
|
8831
|
+
const { default: pLimit } = await import("./p-limit-YAWAKA4U.js");
|
|
8832
8832
|
const limit = pLimit(10);
|
|
8833
8833
|
await Promise.all(
|
|
8834
8834
|
files.map(
|
|
@@ -8930,7 +8930,7 @@ var rendererToFramework = {
|
|
|
8930
8930
|
}
|
|
8931
8931
|
logger12.debug(`
|
|
8932
8932
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
8933
|
-
const { globby } = await import("./globby-
|
|
8933
|
+
const { globby } = await import("./globby-DNHQPHUT.js");
|
|
8934
8934
|
const configFiles = await globby([`${configDir}/**/*`]);
|
|
8935
8935
|
await transformSourceFiles(
|
|
8936
8936
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
@@ -8965,7 +8965,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
8965
8965
|
__name(renameInFile, "renameInFile");
|
|
8966
8966
|
var getDotStorybookReferences = /* @__PURE__ */ __name(async (searchDir) => {
|
|
8967
8967
|
try {
|
|
8968
|
-
const { globby } = await import("./globby-
|
|
8968
|
+
const { globby } = await import("./globby-DNHQPHUT.js");
|
|
8969
8969
|
const { readFile: readFile9 } = await import("node:fs/promises");
|
|
8970
8970
|
const files = await globby(`${searchDir}/**/*`, {
|
|
8971
8971
|
onlyFiles: true,
|
|
@@ -9000,7 +9000,7 @@ var rnstorybookConfig = {
|
|
|
9000
9000
|
const projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd();
|
|
9001
9001
|
const storybookDir = join2(projectDir, ".storybook");
|
|
9002
9002
|
const rnStorybookDir = join2(projectDir, ".rnstorybook");
|
|
9003
|
-
const { globby } = await import("./globby-
|
|
9003
|
+
const { globby } = await import("./globby-DNHQPHUT.js");
|
|
9004
9004
|
const requiresFiles = await globby(join2(storybookDir, "storybook.requires.*"));
|
|
9005
9005
|
if (existsSync2(storybookDir) && requiresFiles.length > 0 && !existsSync2(rnStorybookDir)) {
|
|
9006
9006
|
return { storybookDir, rnStorybookDir };
|
package/dist/bin/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_i5timqwdlx from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_i5timqwdlx from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_i5timqwdlx from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_i5timqwdlx.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_i5timqwdlx.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_i5timqwdlx.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,4 +22,4 @@ if (majorNodeVersion < 20 || majorNodeVersion === 20 && minorNodeVersion < 19 ||
|
|
|
22
22
|
);
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
|
-
import("../_node-chunks/run-
|
|
25
|
+
import("../_node-chunks/run-IFPXJ7NW.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.1.0-alpha.
|
|
3
|
+
"version": "10.1.0-alpha.9",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@storybook/codemod": "10.1.0-alpha.
|
|
44
|
+
"@storybook/codemod": "10.1.0-alpha.9",
|
|
45
45
|
"@types/semver": "^7.3.4",
|
|
46
46
|
"commander": "^14.0.1",
|
|
47
|
-
"create-storybook": "10.1.0-alpha.
|
|
47
|
+
"create-storybook": "10.1.0-alpha.9",
|
|
48
48
|
"giget": "^2.0.0",
|
|
49
49
|
"jscodeshift": "^0.15.1",
|
|
50
|
-
"storybook": "10.1.0-alpha.
|
|
50
|
+
"storybook": "10.1.0-alpha.9",
|
|
51
51
|
"ts-dedent": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_eqzh0h3j61h from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_eqzh0h3j61h from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_eqzh0h3j61h from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_eqzh0h3j61h.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_eqzh0h3j61h.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_eqzh0h3j61h.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
__name
|
|
14
|
-
} from "./chunk-3SQ32WLK.js";
|
|
15
|
-
|
|
16
|
-
// src/autoblock/types.ts
|
|
17
|
-
function createBlocker(block) {
|
|
18
|
-
return block;
|
|
19
|
-
}
|
|
20
|
-
__name(createBlocker, "createBlocker");
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
createBlocker
|
|
24
|
-
};
|