@storybook/cli 10.0.0-beta.5 → 10.0.0-beta.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-NVV2Y4QD.js → block-dependencies-versions-JH3YVYT7.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-WT5WRY4O.js → block-experimental-addon-test-547DKYP6.js} +9 -9
- package/dist/_node-chunks/{block-major-version-WMZ2DR67.js → block-major-version-CNHJBRVI.js} +9 -9
- package/dist/_node-chunks/{block-node-version-CVG4O5KM.js → block-node-version-3X26NW5I.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-XHQHPWL5.js → block-webpack5-frameworks-RUF4COLB.js} +11 -11
- package/dist/_node-chunks/{chunk-G7PQMQCF.js → chunk-3DG4P2SK.js} +6 -6
- package/dist/_node-chunks/chunk-4HPAS2Q2.js +24 -0
- package/dist/_node-chunks/{chunk-YEGSIZDZ.js → chunk-DBYX7WCZ.js} +15 -15
- package/dist/_node-chunks/{chunk-5S2DUO4Y.js → chunk-LCIGIRFL.js} +15 -11
- package/dist/_node-chunks/{chunk-JT5AXC2V.js → chunk-YFERDIJG.js} +7 -7
- package/dist/_node-chunks/{globby-KA6WL2LK.js → globby-NKK4SHD2.js} +8 -8
- package/dist/_node-chunks/{p-limit-QM3TBYML.js → p-limit-BDAJ2ZPF.js} +7 -7
- package/dist/_node-chunks/{run-F43VY34Q.js → run-6B6BTUCM.js} +20 -20
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-JZ5J2OQH.js +0 -24
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-DBYX7WCZ.js";
|
|
15
|
+
import "./chunk-LCIGIRFL.js";
|
|
16
16
|
import {
|
|
17
17
|
createBlocker
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-4HPAS2Q2.js";
|
|
19
|
+
import "./chunk-YFERDIJG.js";
|
|
20
|
+
import "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-4HPAS2Q2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YFERDIJG.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3DG4P2SK.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-WMZ2DR67.js → block-major-version-CNHJBRVI.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-4HPAS2Q2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YFERDIJG.js";
|
|
18
18
|
import {
|
|
19
19
|
__name,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-4HPAS2Q2.js";
|
|
15
15
|
import {
|
|
16
16
|
require_semver
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YFERDIJG.js";
|
|
18
18
|
import {
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-DBYX7WCZ.js";
|
|
15
|
+
import "./chunk-LCIGIRFL.js";
|
|
16
16
|
import {
|
|
17
17
|
createBlocker
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-4HPAS2Q2.js";
|
|
19
|
+
import "./chunk-YFERDIJG.js";
|
|
20
|
+
import "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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_48ba0y5fih6.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LCIGIRFL.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YFERDIJG.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3DG4P2SK.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-JH3YVYT7.js"),
|
|
1148
|
+
import("./block-node-version-3X26NW5I.js"),
|
|
1149
|
+
import("./block-webpack5-frameworks-RUF4COLB.js"),
|
|
1150
|
+
import("./block-major-version-CNHJBRVI.js"),
|
|
1151
|
+
import("./block-experimental-addon-test-547DKYP6.js")
|
|
1152
1152
|
], "blockers");
|
|
1153
1153
|
var autoblock = /* @__PURE__ */ __name(async (options, list = blockers()) => {
|
|
1154
1154
|
if (list.length === 0) {
|
|
@@ -1386,7 +1386,7 @@ var processProject = /* @__PURE__ */ __name(async ({
|
|
|
1386
1386
|
}
|
|
1387
1387
|
}, "processProject");
|
|
1388
1388
|
var collectProjects = /* @__PURE__ */ __name(async (options, configDirs, onProjectScanStart) => {
|
|
1389
|
-
const { default: pLimit } = await import("./p-limit-
|
|
1389
|
+
const { default: pLimit } = await import("./p-limit-BDAJ2ZPF.js");
|
|
1390
1390
|
const currentCLIVersion = versions.storybook;
|
|
1391
1391
|
const limit = pLimit(5);
|
|
1392
1392
|
const projectPromises = configDirs.map(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-3DG4P2SK.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/fast-glob/out/utils/array.js
|
|
20
20
|
var require_array = __commonJS({
|
|
@@ -6175,18 +6175,22 @@ var require_ignore = __commonJS({
|
|
|
6175
6175
|
};
|
|
6176
6176
|
var factory = /* @__PURE__ */ __name((options) => new Ignore(options), "factory");
|
|
6177
6177
|
var isPathValid = /* @__PURE__ */ __name((path2) => checkPath(path2 && checkPath.convert(path2), path2, RETURN_FALSE), "isPathValid");
|
|
6178
|
-
|
|
6179
|
-
// Detect `process` so that it can run in browsers.
|
|
6180
|
-
typeof process !== "undefined" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32")
|
|
6181
|
-
) {
|
|
6178
|
+
var setupWindows = /* @__PURE__ */ __name(() => {
|
|
6182
6179
|
const makePosix = /* @__PURE__ */ __name((str) => /^\\\\\?\\/.test(str) || /["<>|\u0000-\u001F]+/u.test(str) ? str : str.replace(/\\/g, "/"), "makePosix");
|
|
6183
6180
|
checkPath.convert = makePosix;
|
|
6184
6181
|
const REGEX_TEST_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i;
|
|
6185
6182
|
checkPath.isNotRelative = (path2) => REGEX_TEST_WINDOWS_PATH_ABSOLUTE.test(path2) || isNotRelative(path2);
|
|
6183
|
+
}, "setupWindows");
|
|
6184
|
+
if (
|
|
6185
|
+
// Detect `process` so that it can run in browsers.
|
|
6186
|
+
typeof process !== "undefined" && process.platform === "win32"
|
|
6187
|
+
) {
|
|
6188
|
+
setupWindows();
|
|
6186
6189
|
}
|
|
6187
6190
|
module.exports = factory;
|
|
6188
6191
|
factory.default = factory;
|
|
6189
6192
|
module.exports.isPathValid = isPathValid;
|
|
6193
|
+
define(module.exports, Symbol.for("setupWindows"), setupWindows);
|
|
6190
6194
|
}
|
|
6191
6195
|
});
|
|
6192
6196
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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_48ba0y5fih6.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-LCIGIRFL.js";
|
|
25
|
+
import "./chunk-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-3DG4P2SK.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_xl53r3j4g3 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -19,19 +19,19 @@ import {
|
|
|
19
19
|
shortenPath,
|
|
20
20
|
updateMainConfig,
|
|
21
21
|
upgradeStorybookDependencies
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DBYX7WCZ.js";
|
|
23
23
|
import {
|
|
24
24
|
slash
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LCIGIRFL.js";
|
|
26
26
|
import {
|
|
27
27
|
require_semver
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YFERDIJG.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__name,
|
|
32
32
|
__require,
|
|
33
33
|
__toESM
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3DG4P2SK.js";
|
|
35
35
|
|
|
36
36
|
// ../../node_modules/envinfo/dist/envinfo.js
|
|
37
37
|
var require_envinfo = __commonJS({
|
|
@@ -4916,7 +4916,7 @@ __name(leven, "leven");
|
|
|
4916
4916
|
var import_picocolors17 = __toESM(require_picocolors(), 1);
|
|
4917
4917
|
|
|
4918
4918
|
// package.json
|
|
4919
|
-
var version = "10.0.0-beta.
|
|
4919
|
+
var version = "10.0.0-beta.6";
|
|
4920
4920
|
|
|
4921
4921
|
// src/add.ts
|
|
4922
4922
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -6081,7 +6081,7 @@ async function runCodemod(globPattern = "**/*.stories.*", transform, { dryRun =
|
|
|
6081
6081
|
let modifiedCount = 0;
|
|
6082
6082
|
let unmodifiedCount = 0;
|
|
6083
6083
|
let errorCount = 0;
|
|
6084
|
-
const { globby } = await import("./globby-
|
|
6084
|
+
const { globby } = await import("./globby-NKK4SHD2.js");
|
|
6085
6085
|
const files = await globby(slash(globPattern), {
|
|
6086
6086
|
followSymbolicLinks: true,
|
|
6087
6087
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
@@ -6095,7 +6095,7 @@ Please try a different pattern.
|
|
|
6095
6095
|
throw new Error("No files matched");
|
|
6096
6096
|
}
|
|
6097
6097
|
try {
|
|
6098
|
-
const pLimit = (await import("./p-limit-
|
|
6098
|
+
const pLimit = (await import("./p-limit-BDAJ2ZPF.js")).default;
|
|
6099
6099
|
const limit = pLimit(maxConcurrentTasks);
|
|
6100
6100
|
await Promise.all(
|
|
6101
6101
|
files.map(
|
|
@@ -7033,7 +7033,7 @@ var addonA11yParameters = {
|
|
|
7033
7033
|
}
|
|
7034
7034
|
}
|
|
7035
7035
|
}
|
|
7036
|
-
const { default: pLimit } = await import("./p-limit-
|
|
7036
|
+
const { default: pLimit } = await import("./p-limit-BDAJ2ZPF.js");
|
|
7037
7037
|
const limit = pLimit(10);
|
|
7038
7038
|
await Promise.all(
|
|
7039
7039
|
storyFilesToUpdate.map(
|
|
@@ -7279,7 +7279,7 @@ function transformPackageJson(content) {
|
|
|
7279
7279
|
__name(transformPackageJson, "transformPackageJson");
|
|
7280
7280
|
var transformPackageJsonFiles = /* @__PURE__ */ __name(async (files, dryRun) => {
|
|
7281
7281
|
const errors = [];
|
|
7282
|
-
const { default: pLimit } = await import("./p-limit-
|
|
7282
|
+
const { default: pLimit } = await import("./p-limit-BDAJ2ZPF.js");
|
|
7283
7283
|
const limit = pLimit(10);
|
|
7284
7284
|
await Promise.all(
|
|
7285
7285
|
files.map(
|
|
@@ -7341,7 +7341,7 @@ var consolidatedImports = {
|
|
|
7341
7341
|
dryRun
|
|
7342
7342
|
);
|
|
7343
7343
|
errors.push(...packageJsonErrors);
|
|
7344
|
-
const { globby } = await import("./globby-
|
|
7344
|
+
const { globby } = await import("./globby-NKK4SHD2.js");
|
|
7345
7345
|
const configFiles = await globby([`${configDir}/**/*`]);
|
|
7346
7346
|
const importErrors = await transformImportFiles(
|
|
7347
7347
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
@@ -7883,7 +7883,7 @@ var replaceImports = /* @__PURE__ */ __name((source, renderer, framework) => {
|
|
|
7883
7883
|
}, "replaceImports");
|
|
7884
7884
|
var transformSourceFiles = /* @__PURE__ */ __name(async (files, renderer, framework, dryRun) => {
|
|
7885
7885
|
const errors = [];
|
|
7886
|
-
const { default: pLimit } = await import("./p-limit-
|
|
7886
|
+
const { default: pLimit } = await import("./p-limit-BDAJ2ZPF.js");
|
|
7887
7887
|
const limit = pLimit(10);
|
|
7888
7888
|
await Promise.all(
|
|
7889
7889
|
files.map(
|
|
@@ -7985,7 +7985,7 @@ var rendererToFramework = {
|
|
|
7985
7985
|
}
|
|
7986
7986
|
logger12.debug(`
|
|
7987
7987
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
7988
|
-
const { globby } = await import("./globby-
|
|
7988
|
+
const { globby } = await import("./globby-NKK4SHD2.js");
|
|
7989
7989
|
const configFiles = await globby([`${configDir}/**/*`]);
|
|
7990
7990
|
await transformSourceFiles(
|
|
7991
7991
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
@@ -8020,7 +8020,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
8020
8020
|
__name(renameInFile, "renameInFile");
|
|
8021
8021
|
var getDotStorybookReferences = /* @__PURE__ */ __name(async (searchDir) => {
|
|
8022
8022
|
try {
|
|
8023
|
-
const { globby } = await import("./globby-
|
|
8023
|
+
const { globby } = await import("./globby-NKK4SHD2.js");
|
|
8024
8024
|
const { readFile: readFile7 } = await import("node:fs/promises");
|
|
8025
8025
|
const files = await globby(`${searchDir}/**/*`, {
|
|
8026
8026
|
onlyFiles: true,
|
|
@@ -8055,7 +8055,7 @@ var rnstorybookConfig = {
|
|
|
8055
8055
|
const projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd();
|
|
8056
8056
|
const storybookDir = join2(projectDir, ".storybook");
|
|
8057
8057
|
const rnStorybookDir = join2(projectDir, ".rnstorybook");
|
|
8058
|
-
const { globby } = await import("./globby-
|
|
8058
|
+
const { globby } = await import("./globby-NKK4SHD2.js");
|
|
8059
8059
|
const requiresFiles = await globby(join2(storybookDir, "storybook.requires.*"));
|
|
8060
8060
|
if (existsSync2(storybookDir) && requiresFiles.length > 0 && !existsSync2(rnStorybookDir)) {
|
|
8061
8061
|
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_xl53r3j4g3 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_xl53r3j4g3 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_xl53r3j4g3 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_xl53r3j4g3.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_xl53r3j4g3.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_xl53r3j4g3.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-6B6BTUCM.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.6",
|
|
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.0.0-beta.
|
|
44
|
+
"@storybook/codemod": "10.0.0-beta.6",
|
|
45
45
|
"@types/semver": "^7.3.4",
|
|
46
46
|
"commander": "^14.0.1",
|
|
47
|
-
"create-storybook": "10.0.0-beta.
|
|
47
|
+
"create-storybook": "10.0.0-beta.6",
|
|
48
48
|
"giget": "^2.0.0",
|
|
49
49
|
"jscodeshift": "^0.15.1",
|
|
50
|
-
"storybook": "10.0.0-beta.
|
|
50
|
+
"storybook": "10.0.0-beta.6",
|
|
51
51
|
"ts-dedent": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_48ba0y5fih6 from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_48ba0y5fih6 from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_48ba0y5fih6 from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_48ba0y5fih6.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_48ba0y5fih6.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_48ba0y5fih6.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-G7PQMQCF.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
|
-
};
|