@storybook/cli 10.6.5 → 10.6.6
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-54XSJV6F.js → block-dependencies-versions-YC4HR4SO.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-XSR32WFR.js → block-experimental-addon-test-SSM723P2.js} +9 -9
- package/dist/_node-chunks/{block-major-version-2O4MLIT6.js → block-major-version-AIUZE55J.js} +9 -9
- package/dist/_node-chunks/{block-node-version-3M2J2V3M.js → block-node-version-ZFFLMVT7.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-VTRZPYLK.js → block-webpack5-frameworks-CTV7UXXJ.js} +11 -11
- package/dist/_node-chunks/{chunk-MMSP7HFF.js → chunk-BQ2CG2R3.js} +7 -7
- package/dist/_node-chunks/{chunk-VR3UWRSO.js → chunk-I2W4QFO5.js} +7 -7
- package/dist/_node-chunks/chunk-M5QZUXDN.js +11 -0
- package/dist/_node-chunks/{chunk-LQN3NQHJ.js → chunk-UI7Z7KFL.js} +15 -15
- package/dist/_node-chunks/{chunk-LGNEBBMB.js → chunk-ZVRRCKF2.js} +6 -6
- package/dist/_node-chunks/{globby-YZOU3Q2Z.js → globby-HIRMDSEC.js} +8 -8
- package/dist/_node-chunks/{p-limit-5YIEKD2P.js → p-limit-E5XD2BAC.js} +7 -7
- package/dist/_node-chunks/{run-I2OM2VCD.js → run-VYCN2XJY.js} +26 -29
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-2AOIM4RR.js +0 -11
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-UI7Z7KFL.js";
|
|
15
|
+
import "./chunk-BQ2CG2R3.js";
|
|
16
|
+
import "./chunk-M5QZUXDN.js";
|
|
17
|
+
import "./chunk-I2W4QFO5.js";
|
|
18
|
+
import "./chunk-ZVRRCKF2.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-dependencies-versions.ts
|
|
21
21
|
import { dedent } from "ts-dedent";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-M5QZUXDN.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I2W4QFO5.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZVRRCKF2.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-experimental-addon-test.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
package/dist/_node-chunks/{block-major-version-2O4MLIT6.js → block-major-version-AIUZE55J.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-M5QZUXDN.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I2W4QFO5.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZVRRCKF2.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-major-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-M5QZUXDN.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-I2W4QFO5.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZVRRCKF2.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-node-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-UI7Z7KFL.js";
|
|
15
|
+
import "./chunk-BQ2CG2R3.js";
|
|
16
|
+
import "./chunk-M5QZUXDN.js";
|
|
17
|
+
import "./chunk-I2W4QFO5.js";
|
|
18
|
+
import "./chunk-ZVRRCKF2.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-ZVRRCKF2.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-ZVRRCKF2.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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_qin5w2fyc.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BQ2CG2R3.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I2W4QFO5.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZVRRCKF2.js";
|
|
23
23
|
|
|
24
24
|
// ../../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -126,11 +126,11 @@ var import_picocolors2 = __toESM(require_picocolors(), 1), import_semver = __toE
|
|
|
126
126
|
// src/autoblock/index.ts
|
|
127
127
|
var blockers = () => [
|
|
128
128
|
// add/remove blockers here
|
|
129
|
-
import("./block-dependencies-versions-
|
|
130
|
-
import("./block-node-version-
|
|
131
|
-
import("./block-webpack5-frameworks-
|
|
132
|
-
import("./block-major-version-
|
|
133
|
-
import("./block-experimental-addon-test-
|
|
129
|
+
import("./block-dependencies-versions-YC4HR4SO.js"),
|
|
130
|
+
import("./block-node-version-ZFFLMVT7.js"),
|
|
131
|
+
import("./block-webpack5-frameworks-CTV7UXXJ.js"),
|
|
132
|
+
import("./block-major-version-AIUZE55J.js"),
|
|
133
|
+
import("./block-experimental-addon-test-SSM723P2.js")
|
|
134
134
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
135
135
|
list.map(async (i) => {
|
|
136
136
|
let blocker = (await i).blocker;
|
|
@@ -302,7 +302,7 @@ var processProject = async ({
|
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
304
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
305
|
-
let { default: pLimit } = await import("./p-limit-
|
|
305
|
+
let { default: pLimit } = await import("./p-limit-E5XD2BAC.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
306
306
|
(configDir) => limit(
|
|
307
307
|
() => processProject({
|
|
308
308
|
configDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-BQ2CG2R3.js";
|
|
25
|
+
import "./chunk-ZVRRCKF2.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_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.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-ZVRRCKF2.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_cws9dzfqh3p from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -27,18 +27,18 @@ import {
|
|
|
27
27
|
up,
|
|
28
28
|
updateMainConfig,
|
|
29
29
|
upgradeStorybookDependencies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UI7Z7KFL.js";
|
|
31
31
|
import {
|
|
32
32
|
slash
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BQ2CG2R3.js";
|
|
34
34
|
import {
|
|
35
35
|
require_semver
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-I2W4QFO5.js";
|
|
37
37
|
import {
|
|
38
38
|
__commonJS,
|
|
39
39
|
__require,
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZVRRCKF2.js";
|
|
42
42
|
|
|
43
43
|
// ../../../node_modules/envinfo/dist/envinfo.js
|
|
44
44
|
var require_envinfo = __commonJS({
|
|
@@ -4762,7 +4762,7 @@ function leven(first, second, options) {
|
|
|
4762
4762
|
var import_picocolors19 = __toESM(require_picocolors(), 1);
|
|
4763
4763
|
|
|
4764
4764
|
// package.json
|
|
4765
|
-
var version = "10.6.
|
|
4765
|
+
var version = "10.6.6";
|
|
4766
4766
|
|
|
4767
4767
|
// src/add.ts
|
|
4768
4768
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -5605,7 +5605,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
5605
5605
|
import { promises as fs } from "fs";
|
|
5606
5606
|
var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
|
|
5607
5607
|
async function runCodemod(globPattern = "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx}", transform, { dryRun = !1, skipFormatting = !1 } = {}) {
|
|
5608
|
-
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-
|
|
5608
|
+
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-HIRMDSEC.js"), files = await globby(slash(globPattern), {
|
|
5609
5609
|
followSymbolicLinks: !0,
|
|
5610
5610
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
5611
5611
|
});
|
|
@@ -5616,7 +5616,7 @@ Please try a different pattern.
|
|
|
5616
5616
|
`
|
|
5617
5617
|
), new Error("No files matched");
|
|
5618
5618
|
try {
|
|
5619
|
-
let pLimit = (await import("./p-limit-
|
|
5619
|
+
let pLimit = (await import("./p-limit-E5XD2BAC.js")).default, limit = pLimit(maxConcurrentTasks);
|
|
5620
5620
|
await Promise.all(
|
|
5621
5621
|
files.map(
|
|
5622
5622
|
(file) => limit(async () => {
|
|
@@ -6637,7 +6637,7 @@ var asObject = (value) => typeof value == "object" && value !== null && !Array.i
|
|
|
6637
6637
|
let targets = asObject(root?.targets);
|
|
6638
6638
|
return targets && groups.push({ pathPrefix: ["targets"], targets }), groups;
|
|
6639
6639
|
}, findWorkspaceFiles = async (basename5) => {
|
|
6640
|
-
let { globby } = await import("./globby-
|
|
6640
|
+
let { globby } = await import("./globby-HIRMDSEC.js");
|
|
6641
6641
|
return globby([`**/${basename5}`], {
|
|
6642
6642
|
cwd: getProjectRoot(),
|
|
6643
6643
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**"],
|
|
@@ -7192,7 +7192,7 @@ export default defineConfig({
|
|
|
7192
7192
|
needsZoneJs && previewConfigPath ? await addZoneJsPreviewImport(previewConfigPath, dryRun) : needsZoneJs && !previewConfigPath && logger8.warn(
|
|
7193
7193
|
"Could not find a Storybook preview file to add the zone.js import to. If your app uses zone-based change detection, add `import 'zone.js';` at the top of your preview file manually."
|
|
7194
7194
|
), logger8.debug("Scanning and updating import statements...");
|
|
7195
|
-
let { globby } = await import("./globby-
|
|
7195
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = configDir ? await globby([`${configDir}/**/*`]) : [], allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles(
|
|
7196
7196
|
allFiles,
|
|
7197
7197
|
Object.fromEntries(MIGRATABLE_FRAMEWORKS.map((pkg) => [pkg, ANGULAR_VITE_PACKAGE2])),
|
|
7198
7198
|
!!dryRun
|
|
@@ -7404,7 +7404,7 @@ var addonA11yParameters = {
|
|
|
7404
7404
|
errors.push({ file: previewFileToUpdate, error });
|
|
7405
7405
|
}
|
|
7406
7406
|
}
|
|
7407
|
-
let { default: pLimit } = await import("./p-limit-
|
|
7407
|
+
let { default: pLimit } = await import("./p-limit-E5XD2BAC.js"), limit = pLimit(10);
|
|
7408
7408
|
if (await Promise.all(
|
|
7409
7409
|
storyFilesToUpdate.map(
|
|
7410
7410
|
(file) => limit(async () => {
|
|
@@ -7558,7 +7558,7 @@ var addonGlobalsApi = {
|
|
|
7558
7558
|
}
|
|
7559
7559
|
};
|
|
7560
7560
|
async function transformStoryFiles(files, options, dryRun) {
|
|
7561
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
7561
|
+
let errors = [], { default: pLimit } = await import("./p-limit-E5XD2BAC.js"), limit = pLimit(10);
|
|
7562
7562
|
return await Promise.all(
|
|
7563
7563
|
files.map(
|
|
7564
7564
|
(file) => limit(async () => {
|
|
@@ -7785,7 +7785,7 @@ function transformPackageJson(content) {
|
|
|
7785
7785
|
return hasChanges ? JSON.stringify(packageJson, null, 2) : null;
|
|
7786
7786
|
}
|
|
7787
7787
|
var transformPackageJsonFiles = async (files, dryRun) => {
|
|
7788
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
7788
|
+
let errors = [], { default: pLimit } = await import("./p-limit-E5XD2BAC.js"), limit = pLimit(10);
|
|
7789
7789
|
return await Promise.all(
|
|
7790
7790
|
files.map(
|
|
7791
7791
|
(file) => limit(async () => {
|
|
@@ -7824,7 +7824,7 @@ var transformPackageJsonFiles = async (files, dryRun) => {
|
|
|
7824
7824
|
dryRun
|
|
7825
7825
|
);
|
|
7826
7826
|
errors.push(...packageJsonErrors);
|
|
7827
|
-
let { globby } = await import("./globby-
|
|
7827
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles2(
|
|
7828
7828
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
7829
7829
|
{
|
|
7830
7830
|
...consolidatedPackages,
|
|
@@ -8245,7 +8245,7 @@ var VITE_DEFAULT_VERSION = "^7.0.0", transformMainConfig2 = async (mainConfigPat
|
|
|
8245
8245
|
]);
|
|
8246
8246
|
}
|
|
8247
8247
|
mainConfigPath && (logger14.debug("Updating main config file..."), await transformMainConfig2(mainConfigPath, dryRun)), logger14.debug("Scanning and updating import statements...");
|
|
8248
|
-
let { globby } = await import("./globby-
|
|
8248
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles3(
|
|
8249
8249
|
allFiles,
|
|
8250
8250
|
{
|
|
8251
8251
|
"@storybook/nextjs": "@storybook/nextjs-vite"
|
|
@@ -8323,7 +8323,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
|
|
|
8323
8323
|
configDir,
|
|
8324
8324
|
storiesPaths
|
|
8325
8325
|
}) => {
|
|
8326
|
-
let { globby } = await import("./globby-
|
|
8326
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
|
|
8327
8327
|
ignore: ["**/node_modules/**", "**/dist/**"]
|
|
8328
8328
|
}) : [], candidateFiles = Array.from(
|
|
8329
8329
|
/* @__PURE__ */ new Set([...previewConfigPath ? [previewConfigPath] : [], ...configFiles, ...storiesPaths])
|
|
@@ -8542,7 +8542,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
|
|
|
8542
8542
|
logger15.step(`Migrating from ${REACT_VITE_PACKAGE} to ${TANSTACK_REACT_PACKAGE}...`), dryRun ? logger15.debug("Dry run: Skipping package.json updates.") : (logger15.debug("Updating package.json files..."), await packageManager.removeDependencies([REACT_VITE_PACKAGE]), await packageManager.addDependencies({ type: "devDependencies", skipInstall: !0 }, [
|
|
8543
8543
|
`${TANSTACK_REACT_PACKAGE}@${storybookVersion}`
|
|
8544
8544
|
])), mainConfigPath && (logger15.debug("Updating main config file..."), await transformMainConfig3(mainConfigPath, dryRun)), logger15.debug("Scanning and updating import statements...");
|
|
8545
|
-
let { globby } = await import("./globby-
|
|
8545
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
|
|
8546
8546
|
ignore: ["**/node_modules/**", "**/dist/**"]
|
|
8547
8547
|
}) : [], allFiles = [...storiesPaths, ...configFiles, previewConfigPath].filter(
|
|
8548
8548
|
Boolean
|
|
@@ -8783,7 +8783,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
8783
8783
|
let regex = new RegExp(`(['"])${renderer}(['"])`, "g");
|
|
8784
8784
|
return regex.test(source) ? source.replace(regex, `$1${framework}$2`) : null;
|
|
8785
8785
|
}, transformSourceFiles = async (files, renderer, framework, dryRun) => {
|
|
8786
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
8786
|
+
let errors = [], { default: pLimit } = await import("./p-limit-E5XD2BAC.js"), limit = pLimit(10);
|
|
8787
8787
|
return await Promise.all(
|
|
8788
8788
|
files.map(
|
|
8789
8789
|
(file) => limit(async () => {
|
|
@@ -8850,7 +8850,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
8850
8850
|
continue;
|
|
8851
8851
|
logger17.debug(`
|
|
8852
8852
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
8853
|
-
let { globby } = await import("./globby-
|
|
8853
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), configFiles = await globby([`${configDir}/**/*`]);
|
|
8854
8854
|
await transformSourceFiles(
|
|
8855
8855
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
8856
8856
|
rendererPackage,
|
|
@@ -8956,7 +8956,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
8956
8956
|
}
|
|
8957
8957
|
var getDotStorybookReferences = async (searchDir) => {
|
|
8958
8958
|
try {
|
|
8959
|
-
let { globby } = await import("./globby-
|
|
8959
|
+
let { globby } = await import("./globby-HIRMDSEC.js"), { readFile: readFile12 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
|
|
8960
8960
|
onlyFiles: !0,
|
|
8961
8961
|
gitignore: !0
|
|
8962
8962
|
}), referencedFiles = [];
|
|
@@ -8977,7 +8977,7 @@ var getDotStorybookReferences = async (searchDir) => {
|
|
|
8977
8977
|
async check({ packageManager, mainConfigPath }) {
|
|
8978
8978
|
if (!packageManager.getAllDependencies()["@storybook/react-native"])
|
|
8979
8979
|
return null;
|
|
8980
|
-
let projectDir = mainConfigPath ? join6(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join6(projectDir, ".storybook"), rnStorybookDir = join6(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-
|
|
8980
|
+
let projectDir = mainConfigPath ? join6(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join6(projectDir, ".storybook"), rnStorybookDir = join6(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-HIRMDSEC.js"), requiresFiles = await globby(join6(storybookDir, "storybook.requires.*"));
|
|
8981
8981
|
return existsSync5(storybookDir) && requiresFiles.length > 0 && !existsSync5(rnStorybookDir) ? { storybookDir, rnStorybookDir } : null;
|
|
8982
8982
|
},
|
|
8983
8983
|
prompt() {
|
|
@@ -10156,9 +10156,6 @@ var baseTemplates = {
|
|
|
10156
10156
|
// the `^22` major `ng new` uses for the other @angular packages so every @angular/* aligns.
|
|
10157
10157
|
// Also, Angular 22 needs TypeScript 6 or more recent.
|
|
10158
10158
|
extraDependencies: ["@angular/forms@^22", "@angular/animations@^22", "typescript@^6"],
|
|
10159
|
-
resolutions: {
|
|
10160
|
-
webpack: "5.107.2"
|
|
10161
|
-
},
|
|
10162
10159
|
useCsfFactory: !0
|
|
10163
10160
|
},
|
|
10164
10161
|
extraCiSteps: {
|
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_cws9dzfqh3p from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_cws9dzfqh3p from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_cws9dzfqh3p from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_cws9dzfqh3p.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_cws9dzfqh3p.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_cws9dzfqh3p.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -20,4 +20,4 @@ isNodeVersionSupported(major, minor, patch) || (logger.error(
|
|
|
20
20
|
dedent`To run Storybook, you need Node.js version ${MIN_SUPPORTED_NODE_DESCRIPTION}.
|
|
21
21
|
You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
|
|
22
22
|
), process.exit(1));
|
|
23
|
-
import("../_node-chunks/run-
|
|
23
|
+
import("../_node-chunks/run-VYCN2XJY.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.6.
|
|
3
|
+
"version": "10.6.6",
|
|
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.6.
|
|
40
|
+
"@storybook/codemod": "10.6.6",
|
|
41
41
|
"@types/semver": "^7.7.1",
|
|
42
42
|
"commander": "^14.0.2",
|
|
43
|
-
"create-storybook": "10.6.
|
|
43
|
+
"create-storybook": "10.6.6",
|
|
44
44
|
"jscodeshift": "^0.15.1",
|
|
45
|
-
"storybook": "10.6.
|
|
45
|
+
"storybook": "10.6.6",
|
|
46
46
|
"ts-dedent": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_qin5w2fyc from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_qin5w2fyc from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_qin5w2fyc from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_qin5w2fyc.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_qin5w2fyc.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_qin5w2fyc.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|