@storybook/cli 10.4.2 → 10.4.4
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-LZ7A5U6U.js → block-dependencies-versions-XU7VKVNU.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-DHGIT5ZR.js → block-experimental-addon-test-FDTQQI6P.js} +9 -9
- package/dist/_node-chunks/{block-major-version-2JU4BCEN.js → block-major-version-TWRXEWTW.js} +9 -9
- package/dist/_node-chunks/{block-node-version-ZJOPDI3B.js → block-node-version-67DV3NCA.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-DZYQEP7T.js → block-webpack5-frameworks-POVFZ5T3.js} +11 -11
- package/dist/_node-chunks/{chunk-SZ6KDMSS.js → chunk-7VWLOAXV.js} +15 -15
- package/dist/_node-chunks/{chunk-JFHM4P6U.js → chunk-ABG5WYKY.js} +6 -6
- package/dist/_node-chunks/{chunk-4DEXTPRW.js → chunk-CQ7M4T56.js} +7 -7
- package/dist/_node-chunks/{chunk-PML42C22.js → chunk-EL4MAS36.js} +6 -6
- package/dist/_node-chunks/{chunk-7ZGX4VZ4.js → chunk-FJ4HJTJD.js} +6 -6
- package/dist/_node-chunks/{chunk-4L7OTR7X.js → chunk-LB23UR25.js} +7 -7
- package/dist/_node-chunks/{chunk-QVZT67LL.js → chunk-LRM5UHUW.js} +6 -6
- package/dist/_node-chunks/chunk-RZTCMHQ7.js +11 -0
- package/dist/_node-chunks/{chunk-6EV7CFLF.js → chunk-XRBYBOJD.js} +8 -8
- package/dist/_node-chunks/{globby-CDQDJVRW.js → globby-RFYGFQEG.js} +8 -8
- package/dist/_node-chunks/{monorepo-4A4SEOY7.js → monorepo-EJ4LYAJ7.js} +9 -9
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-BD6IDBLD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-OMUFAAGG.js} +9 -9
- package/dist/_node-chunks/optimized-tests-2KV2NDV4.js +20 -0
- package/dist/_node-chunks/{p-limit-72PQIFVV.js → p-limit-ZCCUKGN3.js} +7 -7
- package/dist/_node-chunks/{pattern-copy-play-6SOGKTDP.js → pattern-copy-play-6PNOBKRN.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-YZ2O5QOR.js → relaxed-limits-4IQME77X.js} +9 -9
- package/dist/_node-chunks/{run-EOEEHPMX.js → run-BMVOW3UH.js} +35 -34
- package/dist/_node-chunks/{setup-YQZEUUFI.js → setup-P2JHPQBA.js} +8 -8
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-L7O3CLUT.js +0 -11
- package/dist/_node-chunks/optimized-tests-CLVEQ4MY.js +0 -20
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-7VWLOAXV.js";
|
|
15
|
+
import "./chunk-CQ7M4T56.js";
|
|
16
|
+
import "./chunk-RZTCMHQ7.js";
|
|
17
|
+
import "./chunk-LB23UR25.js";
|
|
18
|
+
import "./chunk-ABG5WYKY.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-RZTCMHQ7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LB23UR25.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ABG5WYKY.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-2JU4BCEN.js → block-major-version-TWRXEWTW.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-RZTCMHQ7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LB23UR25.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ABG5WYKY.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-RZTCMHQ7.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LB23UR25.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ABG5WYKY.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-7VWLOAXV.js";
|
|
15
|
+
import "./chunk-CQ7M4T56.js";
|
|
16
|
+
import "./chunk-RZTCMHQ7.js";
|
|
17
|
+
import "./chunk-LB23UR25.js";
|
|
18
|
+
import "./chunk-ABG5WYKY.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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_oz65r14xct.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CQ7M4T56.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LB23UR25.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ABG5WYKY.js";
|
|
23
23
|
|
|
24
24
|
// ../../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -123,11 +123,11 @@ var import_picocolors2 = __toESM(require_picocolors(), 1), import_semver = __toE
|
|
|
123
123
|
// src/autoblock/index.ts
|
|
124
124
|
var blockers = () => [
|
|
125
125
|
// add/remove blockers here
|
|
126
|
-
import("./block-dependencies-versions-
|
|
127
|
-
import("./block-node-version-
|
|
128
|
-
import("./block-webpack5-frameworks-
|
|
129
|
-
import("./block-major-version-
|
|
130
|
-
import("./block-experimental-addon-test-
|
|
126
|
+
import("./block-dependencies-versions-XU7VKVNU.js"),
|
|
127
|
+
import("./block-node-version-67DV3NCA.js"),
|
|
128
|
+
import("./block-webpack5-frameworks-POVFZ5T3.js"),
|
|
129
|
+
import("./block-major-version-TWRXEWTW.js"),
|
|
130
|
+
import("./block-experimental-addon-test-FDTQQI6P.js")
|
|
131
131
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
132
132
|
list.map(async (i) => {
|
|
133
133
|
let blocker = (await i).blocker;
|
|
@@ -351,7 +351,7 @@ var processProject = async ({
|
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
353
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
354
|
-
let { default: pLimit } = await import("./p-limit-
|
|
354
|
+
let { default: pLimit } = await import("./p-limit-ZCCUKGN3.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
355
355
|
(configDir) => limit(
|
|
356
356
|
() => processProject({
|
|
357
357
|
configDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-ABG5WYKY.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-ABG5WYKY.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
verifyStep,
|
|
36
36
|
vitestPassesStrictDOD,
|
|
37
37
|
writeStoriesStep
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FJ4HJTJD.js";
|
|
39
39
|
import {
|
|
40
40
|
getDocsMarkdownUrl
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LRM5UHUW.js";
|
|
42
42
|
|
|
43
43
|
// src/ai/setup-prompts/optimized-tests.ts
|
|
44
44
|
import { dedent } from "ts-dedent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-CQ7M4T56.js";
|
|
25
|
+
import "./chunk-ABG5WYKY.js";
|
|
26
26
|
export {
|
|
27
27
|
convertPathToPattern,
|
|
28
28
|
generateGlobTasks,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
verifyStep,
|
|
38
38
|
vitestPassesStrictDOD,
|
|
39
39
|
writeStoriesStep
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FJ4HJTJD.js";
|
|
41
41
|
import {
|
|
42
42
|
getDocsMarkdownUrl
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-LRM5UHUW.js";
|
|
44
|
+
import "./chunk-ABG5WYKY.js";
|
|
45
45
|
|
|
46
46
|
// src/ai/setup-prompts/monorepo.ts
|
|
47
47
|
import { dedent } from "ts-dedent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
verifyWithAllowedFailureStep,
|
|
38
38
|
vitestPassesWhenExpectedDOD,
|
|
39
39
|
writeStoriesWithAllowedFailuresStep
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FJ4HJTJD.js";
|
|
41
41
|
import {
|
|
42
42
|
getDocsMarkdownUrl
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-LRM5UHUW.js";
|
|
44
|
+
import "./chunk-ABG5WYKY.js";
|
|
45
45
|
|
|
46
46
|
// src/ai/setup-prompts/monorepo-optimized-tests-relaxed-limits-no-story-deletion.ts
|
|
47
47
|
import { dedent } from "ts-dedent";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
instructions
|
|
14
|
+
} from "./chunk-XRBYBOJD.js";
|
|
15
|
+
import "./chunk-FJ4HJTJD.js";
|
|
16
|
+
import "./chunk-LRM5UHUW.js";
|
|
17
|
+
import "./chunk-ABG5WYKY.js";
|
|
18
|
+
export {
|
|
19
|
+
instructions
|
|
20
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-ABG5WYKY.js";
|
|
13
13
|
|
|
14
14
|
// ../../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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
|
getTypeImportSource
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EL4MAS36.js";
|
|
15
15
|
import {
|
|
16
16
|
getDocsMarkdownUrl
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-LRM5UHUW.js";
|
|
18
|
+
import "./chunk-ABG5WYKY.js";
|
|
19
19
|
|
|
20
20
|
// src/ai/setup-prompts/pattern-copy-play.ts
|
|
21
21
|
import { dedent } from "ts-dedent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
verifyStep,
|
|
36
36
|
vitestPassesStrictDOD,
|
|
37
37
|
writeStoriesStep
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FJ4HJTJD.js";
|
|
39
39
|
import {
|
|
40
40
|
getDocsMarkdownUrl
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-LRM5UHUW.js";
|
|
42
|
+
import "./chunk-ABG5WYKY.js";
|
|
43
43
|
|
|
44
44
|
// src/ai/setup-prompts/relaxed-limits.ts
|
|
45
45
|
import { dedent } from "ts-dedent";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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
|
instructions
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XRBYBOJD.js";
|
|
15
|
+
import "./chunk-FJ4HJTJD.js";
|
|
16
|
+
import "./chunk-LRM5UHUW.js";
|
|
17
17
|
import {
|
|
18
18
|
bannerComment,
|
|
19
19
|
containsDirnameUsage,
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
up,
|
|
32
32
|
updateMainConfig,
|
|
33
33
|
upgradeStorybookDependencies
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7VWLOAXV.js";
|
|
35
35
|
import {
|
|
36
36
|
slash
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CQ7M4T56.js";
|
|
38
38
|
import {
|
|
39
39
|
require_semver
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LB23UR25.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ABG5WYKY.js";
|
|
46
46
|
|
|
47
47
|
// ../../../node_modules/envinfo/dist/envinfo.js
|
|
48
48
|
var require_envinfo = __commonJS({
|
|
@@ -4766,7 +4766,7 @@ function leven(first, second, options) {
|
|
|
4766
4766
|
var import_picocolors18 = __toESM(require_picocolors(), 1);
|
|
4767
4767
|
|
|
4768
4768
|
// package.json
|
|
4769
|
-
var version = "10.4.
|
|
4769
|
+
var version = "10.4.4";
|
|
4770
4770
|
|
|
4771
4771
|
// src/add.ts
|
|
4772
4772
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -5630,7 +5630,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
5630
5630
|
import { promises as fs } from "fs";
|
|
5631
5631
|
var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
|
|
5632
5632
|
async function runCodemod(globPattern = "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx}", transform, { dryRun = !1, skipFormatting = !1 } = {}) {
|
|
5633
|
-
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-
|
|
5633
|
+
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-RFYGFQEG.js"), files = await globby(slash(globPattern), {
|
|
5634
5634
|
followSymbolicLinks: !0,
|
|
5635
5635
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
5636
5636
|
});
|
|
@@ -5641,7 +5641,7 @@ Please try a different pattern.
|
|
|
5641
5641
|
`
|
|
5642
5642
|
), new Error("No files matched");
|
|
5643
5643
|
try {
|
|
5644
|
-
let pLimit = (await import("./p-limit-
|
|
5644
|
+
let pLimit = (await import("./p-limit-ZCCUKGN3.js")).default, limit = pLimit(maxConcurrentTasks);
|
|
5645
5645
|
await Promise.all(
|
|
5646
5646
|
files.map(
|
|
5647
5647
|
(file) => limit(async () => {
|
|
@@ -6483,7 +6483,7 @@ var addonA11yParameters = {
|
|
|
6483
6483
|
errors.push({ file: previewFileToUpdate, error });
|
|
6484
6484
|
}
|
|
6485
6485
|
}
|
|
6486
|
-
let { default: pLimit } = await import("./p-limit-
|
|
6486
|
+
let { default: pLimit } = await import("./p-limit-ZCCUKGN3.js"), limit = pLimit(10);
|
|
6487
6487
|
if (await Promise.all(
|
|
6488
6488
|
storyFilesToUpdate.map(
|
|
6489
6489
|
(file) => limit(async () => {
|
|
@@ -6637,7 +6637,7 @@ var addonGlobalsApi = {
|
|
|
6637
6637
|
}
|
|
6638
6638
|
};
|
|
6639
6639
|
async function transformStoryFiles(files, options, dryRun) {
|
|
6640
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6640
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ZCCUKGN3.js"), limit = pLimit(10);
|
|
6641
6641
|
return await Promise.all(
|
|
6642
6642
|
files.map(
|
|
6643
6643
|
(file) => limit(async () => {
|
|
@@ -6829,7 +6829,7 @@ function transformPackageJson(content) {
|
|
|
6829
6829
|
return hasChanges ? JSON.stringify(packageJson, null, 2) : null;
|
|
6830
6830
|
}
|
|
6831
6831
|
var transformPackageJsonFiles = async (files, dryRun) => {
|
|
6832
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6832
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ZCCUKGN3.js"), limit = pLimit(10);
|
|
6833
6833
|
return await Promise.all(
|
|
6834
6834
|
files.map(
|
|
6835
6835
|
(file) => limit(async () => {
|
|
@@ -6868,7 +6868,7 @@ var transformPackageJsonFiles = async (files, dryRun) => {
|
|
|
6868
6868
|
dryRun
|
|
6869
6869
|
);
|
|
6870
6870
|
errors.push(...packageJsonErrors);
|
|
6871
|
-
let { globby } = await import("./globby-
|
|
6871
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles(
|
|
6872
6872
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
6873
6873
|
{
|
|
6874
6874
|
...consolidatedPackages,
|
|
@@ -7224,7 +7224,7 @@ var VITE_DEFAULT_VERSION = "^7.0.0", transformMainConfig = async (mainConfigPath
|
|
|
7224
7224
|
]);
|
|
7225
7225
|
}
|
|
7226
7226
|
mainConfigPath && (logger11.debug("Updating main config file..."), await transformMainConfig(mainConfigPath, dryRun)), logger11.debug("Scanning and updating import statements...");
|
|
7227
|
-
let { globby } = await import("./globby-
|
|
7227
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles2(
|
|
7228
7228
|
allFiles,
|
|
7229
7229
|
{
|
|
7230
7230
|
"@storybook/nextjs": "@storybook/nextjs-vite"
|
|
@@ -7302,7 +7302,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
|
|
|
7302
7302
|
configDir,
|
|
7303
7303
|
storiesPaths
|
|
7304
7304
|
}) => {
|
|
7305
|
-
let { globby } = await import("./globby-
|
|
7305
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
|
|
7306
7306
|
ignore: ["**/node_modules/**", "**/dist/**"]
|
|
7307
7307
|
}) : [], candidateFiles = Array.from(
|
|
7308
7308
|
/* @__PURE__ */ new Set([...previewConfigPath ? [previewConfigPath] : [], ...configFiles, ...storiesPaths])
|
|
@@ -7521,7 +7521,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
|
|
|
7521
7521
|
logger12.step(`Migrating from ${REACT_VITE_PACKAGE} to ${TANSTACK_REACT_PACKAGE}...`), dryRun ? logger12.debug("Dry run: Skipping package.json updates.") : (logger12.debug("Updating package.json files..."), await packageManager.removeDependencies([REACT_VITE_PACKAGE]), await packageManager.addDependencies({ type: "devDependencies", skipInstall: !0 }, [
|
|
7522
7522
|
`${TANSTACK_REACT_PACKAGE}@${storybookVersion}`
|
|
7523
7523
|
])), mainConfigPath && (logger12.debug("Updating main config file..."), await transformMainConfig2(mainConfigPath, dryRun)), logger12.debug("Scanning and updating import statements...");
|
|
7524
|
-
let { globby } = await import("./globby-
|
|
7524
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
|
|
7525
7525
|
ignore: ["**/node_modules/**", "**/dist/**"]
|
|
7526
7526
|
}) : [], allFiles = [...storiesPaths, ...configFiles, previewConfigPath].filter(
|
|
7527
7527
|
Boolean
|
|
@@ -7762,7 +7762,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7762
7762
|
let regex = new RegExp(`(['"])${renderer}(['"])`, "g");
|
|
7763
7763
|
return regex.test(source) ? source.replace(regex, `$1${framework}$2`) : null;
|
|
7764
7764
|
}, transformSourceFiles = async (files, renderer, framework, dryRun) => {
|
|
7765
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
7765
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ZCCUKGN3.js"), limit = pLimit(10);
|
|
7766
7766
|
return await Promise.all(
|
|
7767
7767
|
files.map(
|
|
7768
7768
|
(file) => limit(async () => {
|
|
@@ -7829,7 +7829,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7829
7829
|
continue;
|
|
7830
7830
|
logger14.debug(`
|
|
7831
7831
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
7832
|
-
let { globby } = await import("./globby-
|
|
7832
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), configFiles = await globby([`${configDir}/**/*`]);
|
|
7833
7833
|
await transformSourceFiles(
|
|
7834
7834
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
7835
7835
|
rendererPackage,
|
|
@@ -7935,7 +7935,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
var getDotStorybookReferences = async (searchDir) => {
|
|
7937
7937
|
try {
|
|
7938
|
-
let { globby } = await import("./globby-
|
|
7938
|
+
let { globby } = await import("./globby-RFYGFQEG.js"), { readFile: readFile11 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
|
|
7939
7939
|
onlyFiles: !0,
|
|
7940
7940
|
gitignore: !0
|
|
7941
7941
|
}), referencedFiles = [];
|
|
@@ -7956,7 +7956,7 @@ var getDotStorybookReferences = async (searchDir) => {
|
|
|
7956
7956
|
async check({ packageManager, mainConfigPath }) {
|
|
7957
7957
|
if (!packageManager.getAllDependencies()["@storybook/react-native"])
|
|
7958
7958
|
return null;
|
|
7959
|
-
let projectDir = mainConfigPath ? join3(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join3(projectDir, ".storybook"), rnStorybookDir = join3(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-
|
|
7959
|
+
let projectDir = mainConfigPath ? join3(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join3(projectDir, ".storybook"), rnStorybookDir = join3(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-RFYGFQEG.js"), requiresFiles = await globby(join3(storybookDir, "storybook.requires.*"));
|
|
7960
7960
|
return existsSync3(storybookDir) && requiresFiles.length > 0 && !existsSync3(rnStorybookDir) ? { storybookDir, rnStorybookDir } : null;
|
|
7961
7961
|
},
|
|
7962
7962
|
prompt() {
|
|
@@ -9072,7 +9072,8 @@ var baseTemplates = {
|
|
|
9072
9072
|
name: "Angular CLI Latest (Webpack | TypeScript)",
|
|
9073
9073
|
script: "npx -p @angular/cli ng new angular-latest --directory {{beforeDir}} --routing=true --minimal=true --style=scss --strict --skip-git --skip-install --package-manager=yarn --ssr",
|
|
9074
9074
|
modifications: {
|
|
9075
|
-
extraDependencies: ["@angular/forms@
|
|
9075
|
+
extraDependencies: ["@angular/forms@21.2.16"],
|
|
9076
|
+
// Move this to latest or 22 once ng new creates v22 projects
|
|
9076
9077
|
useCsfFactory: !0
|
|
9077
9078
|
},
|
|
9078
9079
|
extraCiSteps: {
|
|
@@ -9856,12 +9857,12 @@ function getProjectOverview(projectInfo) {
|
|
|
9856
9857
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
9857
9858
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
9858
9859
|
}, FORMERLY_USED_PROMPTS = {
|
|
9859
|
-
monorepo: async () => (await import("./monorepo-
|
|
9860
|
-
"optimized-tests": async () => (await import("./optimized-tests-
|
|
9861
|
-
"relaxed-limits": async () => (await import("./relaxed-limits-
|
|
9862
|
-
setup: async () => (await import("./setup-
|
|
9863
|
-
"pattern-copy-play": async () => (await import("./pattern-copy-play-
|
|
9864
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("./monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
9860
|
+
monorepo: async () => (await import("./monorepo-EJ4LYAJ7.js")).instructions,
|
|
9861
|
+
"optimized-tests": async () => (await import("./optimized-tests-2KV2NDV4.js")).instructions,
|
|
9862
|
+
"relaxed-limits": async () => (await import("./relaxed-limits-4IQME77X.js")).instructions,
|
|
9863
|
+
setup: async () => (await import("./setup-P2JHPQBA.js")).instructions,
|
|
9864
|
+
"pattern-copy-play": async () => (await import("./pattern-copy-play-6PNOBKRN.js")).instructions,
|
|
9865
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("./monorepo-optimized-tests-relaxed-limits-no-story-deletion-OMUFAAGG.js")).instructions
|
|
9865
9866
|
}, PROMPT_NAMES = [
|
|
9866
9867
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
9867
9868
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_az38pjj4yja from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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
|
getTypeImportSource
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-EL4MAS36.js";
|
|
15
|
+
import "./chunk-ABG5WYKY.js";
|
|
16
16
|
|
|
17
17
|
// src/ai/setup-prompts/setup.ts
|
|
18
18
|
import { dedent } from "ts-dedent";
|
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_az38pjj4yja from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_az38pjj4yja from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_az38pjj4yja from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_az38pjj4yja.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_az38pjj4yja.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_az38pjj4yja.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-BMVOW3UH.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.4",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"!src/**/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@storybook/codemod": "10.4.
|
|
40
|
+
"@storybook/codemod": "10.4.4",
|
|
41
41
|
"@types/semver": "^7.7.1",
|
|
42
42
|
"commander": "^14.0.2",
|
|
43
|
-
"create-storybook": "10.4.
|
|
43
|
+
"create-storybook": "10.4.4",
|
|
44
44
|
"jscodeshift": "^0.15.1",
|
|
45
|
-
"storybook": "10.4.
|
|
45
|
+
"storybook": "10.4.4",
|
|
46
46
|
"ts-dedent": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_oz65r14xct from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_oz65r14xct from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_oz65r14xct from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_oz65r14xct.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_oz65r14xct.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_oz65r14xct.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_oz65r14xct from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_oz65r14xct from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_oz65r14xct from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_oz65r14xct.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_oz65r14xct.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_oz65r14xct.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
instructions
|
|
14
|
-
} from "./chunk-6EV7CFLF.js";
|
|
15
|
-
import "./chunk-7ZGX4VZ4.js";
|
|
16
|
-
import "./chunk-QVZT67LL.js";
|
|
17
|
-
import "./chunk-JFHM4P6U.js";
|
|
18
|
-
export {
|
|
19
|
-
instructions
|
|
20
|
-
};
|