@storybook/cli 10.6.0-alpha.8 → 10.6.0-beta.0

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.
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-EYFKT4JV.js";
15
- import "./chunk-4WETXPOU.js";
16
- import "./chunk-7ZZ5GRHD.js";
17
- import "./chunk-ROLSWKBR.js";
18
- import "./chunk-K7G32RRY.js";
14
+ } from "./chunk-ELVZM54F.js";
15
+ import "./chunk-JUES3JSL.js";
16
+ import "./chunk-MCBEXBRQ.js";
17
+ import "./chunk-7FHJF6CC.js";
18
+ import "./chunk-LFXVNLF6.js";
19
19
 
20
20
  // src/autoblock/block-dependencies-versions.ts
21
21
  import { dedent } from "ts-dedent";
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-7ZZ5GRHD.js";
12
+ import "./chunk-MCBEXBRQ.js";
13
13
  import {
14
14
  require_semver
15
- } from "./chunk-ROLSWKBR.js";
15
+ } from "./chunk-7FHJF6CC.js";
16
16
  import {
17
17
  __toESM
18
- } from "./chunk-K7G32RRY.js";
18
+ } from "./chunk-LFXVNLF6.js";
19
19
 
20
20
  // src/autoblock/block-experimental-addon-test.ts
21
21
  var import_semver = __toESM(require_semver(), 1);
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-7ZZ5GRHD.js";
12
+ import "./chunk-MCBEXBRQ.js";
13
13
  import {
14
14
  require_semver
15
- } from "./chunk-ROLSWKBR.js";
15
+ } from "./chunk-7FHJF6CC.js";
16
16
  import {
17
17
  __toESM
18
- } from "./chunk-K7G32RRY.js";
18
+ } from "./chunk-LFXVNLF6.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 CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-7ZZ5GRHD.js";
12
+ import "./chunk-MCBEXBRQ.js";
13
13
  import {
14
14
  require_semver
15
- } from "./chunk-ROLSWKBR.js";
15
+ } from "./chunk-7FHJF6CC.js";
16
16
  import {
17
17
  __toESM
18
- } from "./chunk-K7G32RRY.js";
18
+ } from "./chunk-LFXVNLF6.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 CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-EYFKT4JV.js";
15
- import "./chunk-4WETXPOU.js";
16
- import "./chunk-7ZZ5GRHD.js";
17
- import "./chunk-ROLSWKBR.js";
18
- import "./chunk-K7G32RRY.js";
14
+ } from "./chunk-ELVZM54F.js";
15
+ import "./chunk-JUES3JSL.js";
16
+ import "./chunk-MCBEXBRQ.js";
17
+ import "./chunk-7FHJF6CC.js";
18
+ import "./chunk-LFXVNLF6.js";
19
19
 
20
20
  // src/autoblock/block-webpack5-frameworks.ts
21
21
  var minimalVersionsMap = {
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-K7G32RRY.js";
14
+ } from "./chunk-LFXVNLF6.js";
15
15
 
16
16
  // ../../../node_modules/semver/internal/constants.js
17
17
  var require_constants = __commonJS({
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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_huu6hwbvfyp.createRequire(import.meta.url);
12
12
  import {
13
13
  globby,
14
14
  globbySync
15
- } from "./chunk-4WETXPOU.js";
15
+ } from "./chunk-JUES3JSL.js";
16
16
  import {
17
17
  require_semver
18
- } from "./chunk-ROLSWKBR.js";
18
+ } from "./chunk-7FHJF6CC.js";
19
19
  import {
20
20
  __commonJS,
21
21
  __toESM
22
- } from "./chunk-K7G32RRY.js";
22
+ } from "./chunk-LFXVNLF6.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-K66NSFKX.js"),
130
- import("./block-node-version-HHIOVV25.js"),
131
- import("./block-webpack5-frameworks-JCUIEQT7.js"),
132
- import("./block-major-version-3KKM2NKD.js"),
133
- import("./block-experimental-addon-test-2KTDK5BD.js")
129
+ import("./block-dependencies-versions-JQXTKMD5.js"),
130
+ import("./block-node-version-GXMBEBZI.js"),
131
+ import("./block-webpack5-frameworks-KHNN2HTX.js"),
132
+ import("./block-major-version-EKYBGNDG.js"),
133
+ import("./block-experimental-addon-test-EMP3XLJM.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-RWNGXLCY.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
305
+ let { default: pLimit } = await import("./p-limit-OR4ODLO3.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 CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-K7G32RRY.js";
16
+ } from "./chunk-LFXVNLF6.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 CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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 CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-4WETXPOU.js";
25
- import "./chunk-K7G32RRY.js";
24
+ } from "./chunk-JUES3JSL.js";
25
+ import "./chunk-LFXVNLF6.js";
26
26
  export {
27
27
  convertPathToPattern,
28
28
  generateGlobTasks,
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-K7G32RRY.js";
12
+ import "./chunk-LFXVNLF6.js";
13
13
 
14
14
  // ../../../node_modules/yocto-queue/index.js
15
15
  var Node = class {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
1
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-EYFKT4JV.js";
30
+ } from "./chunk-ELVZM54F.js";
31
31
  import {
32
32
  slash
33
- } from "./chunk-4WETXPOU.js";
33
+ } from "./chunk-JUES3JSL.js";
34
34
  import {
35
35
  require_semver
36
- } from "./chunk-ROLSWKBR.js";
36
+ } from "./chunk-7FHJF6CC.js";
37
37
  import {
38
38
  __commonJS,
39
39
  __require,
40
40
  __toESM
41
- } from "./chunk-K7G32RRY.js";
41
+ } from "./chunk-LFXVNLF6.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.0-alpha.8";
4765
+ var version = "10.6.0-beta.0";
4766
4766
 
4767
4767
  // src/add.ts
4768
4768
  var import_semver = __toESM(require_semver(), 1);
@@ -5598,7 +5598,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
5598
5598
  import { promises as fs } from "fs";
5599
5599
  var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
5600
5600
  async function runCodemod(globPattern = "**/*.{stories,story}.{js,jsx,ts,tsx,mjs,mjsx,mts,mtsx}", transform, { dryRun = !1, skipFormatting = !1 } = {}) {
5601
- let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-R2SW4D5V.js"), files = await globby(slash(globPattern), {
5601
+ let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-OJO3NWH4.js"), files = await globby(slash(globPattern), {
5602
5602
  followSymbolicLinks: !0,
5603
5603
  ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
5604
5604
  });
@@ -5609,7 +5609,7 @@ Please try a different pattern.
5609
5609
  `
5610
5610
  ), new Error("No files matched");
5611
5611
  try {
5612
- let pLimit = (await import("./p-limit-RWNGXLCY.js")).default, limit = pLimit(maxConcurrentTasks);
5612
+ let pLimit = (await import("./p-limit-OR4ODLO3.js")).default, limit = pLimit(maxConcurrentTasks);
5613
5613
  await Promise.all(
5614
5614
  files.map(
5615
5615
  (file) => limit(async () => {
@@ -6630,7 +6630,7 @@ var asObject = (value) => typeof value == "object" && value !== null && !Array.i
6630
6630
  let targets = asObject(root?.targets);
6631
6631
  return targets && groups.push({ pathPrefix: ["targets"], targets }), groups;
6632
6632
  }, findWorkspaceFiles = async (basename5) => {
6633
- let { globby } = await import("./globby-R2SW4D5V.js");
6633
+ let { globby } = await import("./globby-OJO3NWH4.js");
6634
6634
  return globby([`**/${basename5}`], {
6635
6635
  cwd: getProjectRoot(),
6636
6636
  ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**"],
@@ -6953,14 +6953,14 @@ export default defineConfig({
6953
6953
  this.content = editJsonText2(this.content, path4, value);
6954
6954
  }
6955
6955
  }, processStorybookTargets = (editor, targetGroups) => {
6956
- let changed = !1, hasStorybookTarget = !1, allZonelessTrue = !0;
6956
+ let changed = !1, hasStorybookTarget = !1, anyZoneBasedTarget = !1;
6957
6957
  for (let { pathPrefix, targets } of targetGroups)
6958
6958
  for (let [targetName, target] of Object.entries(targets)) {
6959
6959
  if (!isMigratableStorybookTarget(target) && !isStorybookTarget2(target, ANGULAR_VITE_PACKAGE2))
6960
6960
  continue;
6961
6961
  hasStorybookTarget = !0;
6962
6962
  let currentRef = target.builder ?? target.executor ?? null, hasOldZonelessKey = !!target.options && "experimentalZoneless" in target.options, zonelessValue = target.options?.zoneless ?? target.options?.experimentalZoneless;
6963
- if (zonelessValue !== !0 && (allZonelessTrue = !1), !isMigratableStorybookTarget(target))
6963
+ if (zonelessValue === !1 && (anyZoneBasedTarget = !0), !isMigratableStorybookTarget(target))
6964
6964
  continue;
6965
6965
  let newRef = currentRef ? rewriteStorybookBuilderRef(currentRef) : null;
6966
6966
  if (newRef) {
@@ -6969,7 +6969,7 @@ export default defineConfig({
6969
6969
  }
6970
6970
  hasOldZonelessKey && (editor.edit([...pathPrefix, targetName, "options", "zoneless"], zonelessValue), editor.edit([...pathPrefix, targetName, "options", "experimentalZoneless"], void 0), changed = !0);
6971
6971
  }
6972
- return { changed, hasStorybookTarget, allZonelessTrue };
6972
+ return { changed, hasStorybookTarget, anyZoneBasedTarget };
6973
6973
  }, transformAngularJson = (angularJsonPath, dryRun) => {
6974
6974
  let angularJSON;
6975
6975
  try {
@@ -6978,34 +6978,20 @@ export default defineConfig({
6978
6978
  return {
6979
6979
  changed: !1,
6980
6980
  hasStorybookTarget: !1,
6981
- allStorybookTargetsZonelessTrue: !0
6981
+ anyZoneBasedTarget: !1
6982
6982
  };
6983
6983
  }
6984
- let { changed, hasStorybookTarget, allZonelessTrue } = processStorybookTargets(
6985
- angularJSON,
6986
- getTargetGroups(angularJSON.json)
6987
- );
6988
- return changed && !dryRun && angularJSON.write(), {
6989
- changed,
6990
- hasStorybookTarget,
6991
- allStorybookTargetsZonelessTrue: allZonelessTrue
6992
- };
6984
+ let result = processStorybookTargets(angularJSON, getTargetGroups(angularJSON.json));
6985
+ return result.changed && !dryRun && angularJSON.write(), result;
6993
6986
  }, transformProjectJson = async (projectJsonPath, dryRun) => {
6994
6987
  try {
6995
- let original = await readFile(projectJsonPath, "utf-8"), json = JSON.parse(original), editor = new TextJsonEditor(original), { changed, hasStorybookTarget, allZonelessTrue } = processStorybookTargets(
6996
- editor,
6997
- getTargetGroups(json)
6998
- );
6999
- return changed && !dryRun && await writeFile2(projectJsonPath, editor.content), {
7000
- changed,
7001
- hasStorybookTarget,
7002
- allStorybookTargetsZonelessTrue: allZonelessTrue
7003
- };
6988
+ let original = await readFile(projectJsonPath, "utf-8"), json = JSON.parse(original), editor = new TextJsonEditor(original), result = processStorybookTargets(editor, getTargetGroups(json));
6989
+ return result.changed && !dryRun && await writeFile2(projectJsonPath, editor.content), result;
7004
6990
  } catch {
7005
6991
  return {
7006
6992
  changed: !1,
7007
6993
  hasStorybookTarget: !1,
7008
- allStorybookTargetsZonelessTrue: !0
6994
+ anyZoneBasedTarget: !1
7009
6995
  };
7010
6996
  }
7011
6997
  }, addZoneJsPreviewImport = async (previewConfigPath, dryRun) => {
@@ -7146,18 +7132,23 @@ export default defineConfig({
7146
7132
  ...allDeps[ANGULAR_DEVKIT_ARCHITECT_PACKAGE] || !architectVersion ? [] : [`${ANGULAR_DEVKIT_ARCHITECT_PACKAGE}@${architectVersion}`]
7147
7133
  ]);
7148
7134
  }
7149
- let anyStorybookTarget = !1, allZonelessTrue = !0;
7135
+ let anyStorybookTarget = !1, anyZoneBasedTarget = !1;
7150
7136
  for (let pkgJsonPath of packageManager.packageJsonPaths) {
7151
- let angularJsonPath = `${pkgJsonPath.replace(/[/\\]package\.json$/, "")}/angular.json`, { changed, hasStorybookTarget, allStorybookTargetsZonelessTrue } = transformAngularJson(
7152
- angularJsonPath,
7153
- dryRun
7154
- );
7155
- hasStorybookTarget && (anyStorybookTarget = !0, allZonelessTrue = allZonelessTrue && allStorybookTargetsZonelessTrue), changed && logger8.debug(`Updated Angular CLI builder references in ${angularJsonPath}`);
7137
+ let angularJsonPath = `${pkgJsonPath.replace(/[/\\]package\.json$/, "")}/angular.json`, {
7138
+ changed,
7139
+ hasStorybookTarget,
7140
+ anyZoneBasedTarget: zoneBased
7141
+ } = transformAngularJson(angularJsonPath, dryRun);
7142
+ hasStorybookTarget && (anyStorybookTarget = !0, anyZoneBasedTarget = anyZoneBasedTarget || zoneBased), changed && logger8.debug(`Updated Angular CLI builder references in ${angularJsonPath}`);
7156
7143
  }
7157
7144
  let projectJsonFiles = await findWorkspaceFiles("project.json");
7158
7145
  for (let projectJsonPath of projectJsonFiles) {
7159
- let { changed, hasStorybookTarget, allStorybookTargetsZonelessTrue } = await transformProjectJson(projectJsonPath, dryRun);
7160
- hasStorybookTarget && (anyStorybookTarget = !0, allZonelessTrue = allZonelessTrue && allStorybookTargetsZonelessTrue), changed && logger8.debug(`Updated Nx builder references in ${projectJsonPath}`);
7146
+ let {
7147
+ changed,
7148
+ hasStorybookTarget,
7149
+ anyZoneBasedTarget: zoneBased
7150
+ } = await transformProjectJson(projectJsonPath, dryRun);
7151
+ hasStorybookTarget && (anyStorybookTarget = !0, anyZoneBasedTarget = anyZoneBasedTarget || zoneBased), changed && logger8.debug(`Updated Nx builder references in ${projectJsonPath}`);
7161
7152
  }
7162
7153
  for (let pkgJsonPath of packageManager.packageJsonPaths)
7163
7154
  try {
@@ -7186,11 +7177,15 @@ export default defineConfig({
7186
7177
  `Could not remove the Compodoc setup automatically: ${error}. Compodoc no longer runs, so its options and the \`setCompodocJson\` wiring can go.`
7187
7178
  );
7188
7179
  }
7189
- let needsZoneJs = anyStorybookTarget && !allZonelessTrue;
7180
+ let hasZoneJsDependency = packageManager.isDependencyInstalled("zone.js");
7181
+ anyStorybookTarget && anyZoneBasedTarget && !hasZoneJsDependency && logger8.warn(
7182
+ "A Storybook builder target sets `zoneless: false`, but this project does not depend on `zone.js`, so no `import 'zone.js';` was added to your preview - it could not resolve, and every story would fail to load. Install `zone.js`, or set `zoneless: true` on that target if your app uses zoneless change detection."
7183
+ );
7184
+ let needsZoneJs = anyStorybookTarget && hasZoneJsDependency;
7190
7185
  needsZoneJs && previewConfigPath ? await addZoneJsPreviewImport(previewConfigPath, dryRun) : needsZoneJs && !previewConfigPath && logger8.warn(
7191
7186
  "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."
7192
7187
  ), logger8.debug("Scanning and updating import statements...");
7193
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = configDir ? await globby([`${configDir}/**/*`]) : [], allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles(
7188
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = configDir ? await globby([`${configDir}/**/*`]) : [], allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles(
7194
7189
  allFiles,
7195
7190
  Object.fromEntries(MIGRATABLE_FRAMEWORKS.map((pkg) => [pkg, ANGULAR_VITE_PACKAGE2])),
7196
7191
  !!dryRun
@@ -7402,7 +7397,7 @@ var addonA11yParameters = {
7402
7397
  errors.push({ file: previewFileToUpdate, error });
7403
7398
  }
7404
7399
  }
7405
- let { default: pLimit } = await import("./p-limit-RWNGXLCY.js"), limit = pLimit(10);
7400
+ let { default: pLimit } = await import("./p-limit-OR4ODLO3.js"), limit = pLimit(10);
7406
7401
  if (await Promise.all(
7407
7402
  storyFilesToUpdate.map(
7408
7403
  (file) => limit(async () => {
@@ -7556,7 +7551,7 @@ var addonGlobalsApi = {
7556
7551
  }
7557
7552
  };
7558
7553
  async function transformStoryFiles(files, options, dryRun) {
7559
- let errors = [], { default: pLimit } = await import("./p-limit-RWNGXLCY.js"), limit = pLimit(10);
7554
+ let errors = [], { default: pLimit } = await import("./p-limit-OR4ODLO3.js"), limit = pLimit(10);
7560
7555
  return await Promise.all(
7561
7556
  files.map(
7562
7557
  (file) => limit(async () => {
@@ -7783,7 +7778,7 @@ function transformPackageJson(content) {
7783
7778
  return hasChanges ? JSON.stringify(packageJson, null, 2) : null;
7784
7779
  }
7785
7780
  var transformPackageJsonFiles = async (files, dryRun) => {
7786
- let errors = [], { default: pLimit } = await import("./p-limit-RWNGXLCY.js"), limit = pLimit(10);
7781
+ let errors = [], { default: pLimit } = await import("./p-limit-OR4ODLO3.js"), limit = pLimit(10);
7787
7782
  return await Promise.all(
7788
7783
  files.map(
7789
7784
  (file) => limit(async () => {
@@ -7822,7 +7817,7 @@ var transformPackageJsonFiles = async (files, dryRun) => {
7822
7817
  dryRun
7823
7818
  );
7824
7819
  errors.push(...packageJsonErrors);
7825
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles2(
7820
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles2(
7826
7821
  [...storiesPaths, ...configFiles].filter(Boolean),
7827
7822
  {
7828
7823
  ...consolidatedPackages,
@@ -8243,7 +8238,7 @@ var VITE_DEFAULT_VERSION = "^7.0.0", transformMainConfig2 = async (mainConfigPat
8243
8238
  ]);
8244
8239
  }
8245
8240
  mainConfigPath && (logger14.debug("Updating main config file..."), await transformMainConfig2(mainConfigPath, dryRun)), logger14.debug("Scanning and updating import statements...");
8246
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles3(
8241
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles3(
8247
8242
  allFiles,
8248
8243
  {
8249
8244
  "@storybook/nextjs": "@storybook/nextjs-vite"
@@ -8321,7 +8316,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
8321
8316
  configDir,
8322
8317
  storiesPaths
8323
8318
  }) => {
8324
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
8319
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
8325
8320
  ignore: ["**/node_modules/**", "**/dist/**"]
8326
8321
  }) : [], candidateFiles = Array.from(
8327
8322
  /* @__PURE__ */ new Set([...previewConfigPath ? [previewConfigPath] : [], ...configFiles, ...storiesPaths])
@@ -8540,7 +8535,7 @@ var REACT_VITE_PACKAGE = "@storybook/react-vite", TANSTACK_REACT_PACKAGE = "@sto
8540
8535
  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 }, [
8541
8536
  `${TANSTACK_REACT_PACKAGE}@${storybookVersion}`
8542
8537
  ])), mainConfigPath && (logger15.debug("Updating main config file..."), await transformMainConfig3(mainConfigPath, dryRun)), logger15.debug("Scanning and updating import statements...");
8543
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
8538
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = configDir ? await globby([`${configDir}/**/*.{ts,tsx,js,jsx,mjs,cjs}`], {
8544
8539
  ignore: ["**/node_modules/**", "**/dist/**"]
8545
8540
  }) : [], allFiles = [...storiesPaths, ...configFiles, previewConfigPath].filter(
8546
8541
  Boolean
@@ -8781,7 +8776,7 @@ var getAllDependencies = (packageJson) => Object.keys({
8781
8776
  let regex = new RegExp(`(['"])${renderer}(['"])`, "g");
8782
8777
  return regex.test(source) ? source.replace(regex, `$1${framework}$2`) : null;
8783
8778
  }, transformSourceFiles = async (files, renderer, framework, dryRun) => {
8784
- let errors = [], { default: pLimit } = await import("./p-limit-RWNGXLCY.js"), limit = pLimit(10);
8779
+ let errors = [], { default: pLimit } = await import("./p-limit-OR4ODLO3.js"), limit = pLimit(10);
8785
8780
  return await Promise.all(
8786
8781
  files.map(
8787
8782
  (file) => limit(async () => {
@@ -8848,7 +8843,7 @@ var getAllDependencies = (packageJson) => Object.keys({
8848
8843
  continue;
8849
8844
  logger17.debug(`
8850
8845
  Migrating ${rendererPackage} to ${selectedFramework}`);
8851
- let { globby } = await import("./globby-R2SW4D5V.js"), configFiles = await globby([`${configDir}/**/*`]);
8846
+ let { globby } = await import("./globby-OJO3NWH4.js"), configFiles = await globby([`${configDir}/**/*`]);
8852
8847
  await transformSourceFiles(
8853
8848
  [...storiesPaths, ...configFiles].filter(Boolean),
8854
8849
  rendererPackage,
@@ -8954,7 +8949,7 @@ async function renameInFile(filePath, oldText, newText) {
8954
8949
  }
8955
8950
  var getDotStorybookReferences = async (searchDir) => {
8956
8951
  try {
8957
- let { globby } = await import("./globby-R2SW4D5V.js"), { readFile: readFile12 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
8952
+ let { globby } = await import("./globby-OJO3NWH4.js"), { readFile: readFile12 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
8958
8953
  onlyFiles: !0,
8959
8954
  gitignore: !0
8960
8955
  }), referencedFiles = [];
@@ -8975,7 +8970,7 @@ var getDotStorybookReferences = async (searchDir) => {
8975
8970
  async check({ packageManager, mainConfigPath }) {
8976
8971
  if (!packageManager.getAllDependencies()["@storybook/react-native"])
8977
8972
  return null;
8978
- let projectDir = mainConfigPath ? join6(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join6(projectDir, ".storybook"), rnStorybookDir = join6(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-R2SW4D5V.js"), requiresFiles = await globby(join6(storybookDir, "storybook.requires.*"));
8973
+ let projectDir = mainConfigPath ? join6(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join6(projectDir, ".storybook"), rnStorybookDir = join6(projectDir, RN_STORYBOOK_DIR), { globby } = await import("./globby-OJO3NWH4.js"), requiresFiles = await globby(join6(storybookDir, "storybook.requires.*"));
8979
8974
  return existsSync5(storybookDir) && requiresFiles.length > 0 && !existsSync5(rnStorybookDir) ? { storybookDir, rnStorybookDir } : null;
8980
8975
  },
8981
8976
  prompt() {
package/dist/bin/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
3
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
4
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
2
+ import CJS_COMPAT_NODE_URL_aaq98c9m43b from 'node:url';
3
+ import CJS_COMPAT_NODE_PATH_aaq98c9m43b from 'node:path';
4
+ import CJS_COMPAT_NODE_MODULE_aaq98c9m43b from "node:module";
5
5
 
6
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
7
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
8
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
6
+ var __filename = CJS_COMPAT_NODE_URL_aaq98c9m43b.fileURLToPath(import.meta.url);
7
+ var __dirname = CJS_COMPAT_NODE_PATH_aaq98c9m43b.dirname(__filename);
8
+ var require = CJS_COMPAT_NODE_MODULE_aaq98c9m43b.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-P4OYCN2K.js");
23
+ import("../_node-chunks/run-TA52UT2V.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/cli",
3
- "version": "10.6.0-alpha.8",
3
+ "version": "10.6.0-beta.0",
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.0-alpha.8",
40
+ "@storybook/codemod": "10.6.0-beta.0",
41
41
  "@types/semver": "^7.7.1",
42
42
  "commander": "^14.0.2",
43
- "create-storybook": "10.6.0-alpha.8",
43
+ "create-storybook": "10.6.0-beta.0",
44
44
  "jscodeshift": "^0.15.1",
45
- "storybook": "10.6.0-alpha.8",
45
+ "storybook": "10.6.0-beta.0",
46
46
  "ts-dedent": "^2.0.0"
47
47
  },
48
48
  "devDependencies": {
@@ -1,11 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_huu6hwbvfyp from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_huu6hwbvfyp from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_huu6hwbvfyp from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_huu6hwbvfyp.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_huu6hwbvfyp.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_huu6hwbvfyp.createRequire(import.meta.url);
8
-
9
- // ------------------------------------------------------------
10
- // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
- // ------------------------------------------------------------