@storybook/cli 10.1.0-beta.3 → 10.1.0-beta.5
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-34TFBM2H.js → block-dependencies-versions-7RLPDR77.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-3DFMJ7ZG.js → block-experimental-addon-test-GXKFOFZ3.js} +9 -9
- package/dist/_node-chunks/{block-major-version-EGA5WBVH.js → block-major-version-62HVG462.js} +9 -9
- package/dist/_node-chunks/{block-node-version-V2IPIYFJ.js → block-node-version-PSUZSLBZ.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-MABALDZ2.js → block-webpack5-frameworks-5PYJAV2F.js} +11 -11
- package/dist/_node-chunks/{chunk-LYA7EF6I.js → chunk-KMR4OZOD.js} +6 -6
- package/dist/_node-chunks/{chunk-ADYV5PR3.js → chunk-QUMK3IUF.js} +7 -7
- package/dist/_node-chunks/chunk-TF3APGJZ.js +11 -0
- package/dist/_node-chunks/{chunk-I6WTGKZG.js → chunk-VEA2W3SG.js} +34 -28
- package/dist/_node-chunks/{chunk-IVDMDMD2.js → chunk-YRRW4M4U.js} +7 -7
- package/dist/_node-chunks/{globby-ZEJJX7KP.js → globby-PZC2RBSM.js} +8 -8
- package/dist/_node-chunks/{p-limit-WWGHJUTM.js → p-limit-ICE233A3.js} +7 -7
- package/dist/_node-chunks/{run-KPFYTVW5.js → run-ZDKLGQCP.js} +29 -39
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-3XMF5BOK.js +0 -11
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-VEA2W3SG.js";
|
|
15
|
+
import "./chunk-YRRW4M4U.js";
|
|
16
|
+
import "./chunk-TF3APGJZ.js";
|
|
17
|
+
import "./chunk-QUMK3IUF.js";
|
|
18
|
+
import "./chunk-KMR4OZOD.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-TF3APGJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QUMK3IUF.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KMR4OZOD.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-EGA5WBVH.js → block-major-version-62HVG462.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-TF3APGJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QUMK3IUF.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KMR4OZOD.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-TF3APGJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QUMK3IUF.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KMR4OZOD.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-VEA2W3SG.js";
|
|
15
|
+
import "./chunk-YRRW4M4U.js";
|
|
16
|
+
import "./chunk-TF3APGJZ.js";
|
|
17
|
+
import "./chunk-QUMK3IUF.js";
|
|
18
|
+
import "./chunk-KMR4OZOD.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-KMR4OZOD.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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_h424wtfjq5.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YRRW4M4U.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QUMK3IUF.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KMR4OZOD.js";
|
|
23
23
|
|
|
24
24
|
// ../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -122,11 +122,11 @@ var import_picocolors2 = __toESM(require_picocolors(), 1), import_semver = __toE
|
|
|
122
122
|
// src/autoblock/index.ts
|
|
123
123
|
var blockers = () => [
|
|
124
124
|
// add/remove blockers here
|
|
125
|
-
import("./block-dependencies-versions-
|
|
126
|
-
import("./block-node-version-
|
|
127
|
-
import("./block-webpack5-frameworks-
|
|
128
|
-
import("./block-major-version-
|
|
129
|
-
import("./block-experimental-addon-test-
|
|
125
|
+
import("./block-dependencies-versions-7RLPDR77.js"),
|
|
126
|
+
import("./block-node-version-PSUZSLBZ.js"),
|
|
127
|
+
import("./block-webpack5-frameworks-5PYJAV2F.js"),
|
|
128
|
+
import("./block-major-version-62HVG462.js"),
|
|
129
|
+
import("./block-experimental-addon-test-GXKFOFZ3.js")
|
|
130
130
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
131
131
|
list.map(async (i) => {
|
|
132
132
|
let blocker = (await i).blocker;
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
frameworkPackages,
|
|
145
145
|
getStorybookInfo
|
|
146
146
|
} from "storybook/internal/common";
|
|
147
|
-
import { frameworkToRenderer
|
|
147
|
+
import { frameworkToRenderer } from "storybook/internal/common";
|
|
148
148
|
import { readConfig, writeConfig as writeConfigFile } from "storybook/internal/csf-tools";
|
|
149
149
|
import { logger } from "storybook/internal/node-logger";
|
|
150
150
|
var getFrameworkPackageName = (mainConfig) => {
|
|
@@ -153,7 +153,6 @@ var getFrameworkPackageName = (mainConfig) => {
|
|
|
153
153
|
};
|
|
154
154
|
var getStorybookData = async ({
|
|
155
155
|
configDir: userDefinedConfigDir,
|
|
156
|
-
cwd,
|
|
157
156
|
packageManagerName
|
|
158
157
|
}) => {
|
|
159
158
|
logger.debug("Getting Storybook info...");
|
|
@@ -161,10 +160,14 @@ var getStorybookData = async ({
|
|
|
161
160
|
mainConfig,
|
|
162
161
|
mainConfigPath,
|
|
163
162
|
configDir: configDirFromScript,
|
|
164
|
-
previewConfigPath
|
|
165
|
-
|
|
163
|
+
previewConfigPath,
|
|
164
|
+
versionSpecifier
|
|
165
|
+
} = await getStorybookInfo(
|
|
166
|
+
userDefinedConfigDir,
|
|
167
|
+
userDefinedConfigDir ? dirname2(userDefinedConfigDir) : void 0
|
|
168
|
+
), configDir = userDefinedConfigDir || configDirFromScript || ".storybook";
|
|
166
169
|
logger.debug("Loading main config...");
|
|
167
|
-
let workingDir = isAbsolute2(configDir) ? dirname2(configDir) : dirname2(join2(
|
|
170
|
+
let workingDir = isAbsolute2(configDir) ? dirname2(configDir) : dirname2(join2(process.cwd(), configDir));
|
|
168
171
|
logger.debug("Getting stories paths...");
|
|
169
172
|
let storiesPaths = await getStoriesPathsFromConfig({
|
|
170
173
|
stories: mainConfig.stories,
|
|
@@ -178,11 +181,14 @@ var getStorybookData = async ({
|
|
|
178
181
|
storiesPaths
|
|
179
182
|
});
|
|
180
183
|
logger.debug("Getting Storybook version...");
|
|
181
|
-
let
|
|
184
|
+
let versionInstalled = (await packageManager.getModulePackageJSON("storybook"))?.version;
|
|
182
185
|
return {
|
|
183
186
|
configDir,
|
|
184
187
|
mainConfig,
|
|
185
|
-
|
|
188
|
+
/** The version specifier of Storybook from the user's package.json */
|
|
189
|
+
versionSpecifier,
|
|
190
|
+
/** The version of Storybook installed in the user's project */
|
|
191
|
+
versionInstalled,
|
|
186
192
|
mainConfigPath,
|
|
187
193
|
previewConfigPath,
|
|
188
194
|
packageManager,
|
|
@@ -286,15 +292,15 @@ var processProject = async ({
|
|
|
286
292
|
packageManager,
|
|
287
293
|
previewConfigPath,
|
|
288
294
|
storiesPaths,
|
|
289
|
-
|
|
295
|
+
versionInstalled
|
|
290
296
|
} = await getStorybookData({ configDir });
|
|
291
|
-
logger2.debug(`${name} - Validating before version... ${
|
|
292
|
-
let isCanary = isCanaryVersion(currentCLIVersion) || isCanaryVersion(
|
|
293
|
-
logger2.debug(`${name} - Validating upgrade compatibility...`), validateUpgradeCompatibility(currentCLIVersion,
|
|
297
|
+
logger2.debug(`${name} - Validating before version... ${versionInstalled}`), validateVersion(versionInstalled);
|
|
298
|
+
let isCanary = isCanaryVersion(currentCLIVersion) || isCanaryVersion(versionInstalled);
|
|
299
|
+
logger2.debug(`${name} - Validating upgrade compatibility...`), validateUpgradeCompatibility(currentCLIVersion, versionInstalled, isCanary), logger2.debug(`${name} - Fetching NPM version information...`);
|
|
294
300
|
let [latestCLIVersionOnNPM, latestPrereleaseCLIVersionOnNPM] = await Promise.all([
|
|
295
301
|
packageManager.latestVersion("storybook"),
|
|
296
302
|
packageManager.latestVersion("storybook@next")
|
|
297
|
-
]), isCLIOutdated = (0, import_semver.lt)(currentCLIVersion, latestCLIVersionOnNPM), isCLIExactLatest = currentCLIVersion === latestCLIVersionOnNPM, isCLIPrerelease = (0, import_semver.prerelease)(currentCLIVersion) !== null, isCLIExactPrerelease = currentCLIVersion === latestPrereleaseCLIVersionOnNPM, isUpgrade = (0, import_semver.lt)(
|
|
303
|
+
]), isCLIOutdated = (0, import_semver.lt)(currentCLIVersion, latestCLIVersionOnNPM), isCLIExactLatest = currentCLIVersion === latestCLIVersionOnNPM, isCLIPrerelease = (0, import_semver.prerelease)(currentCLIVersion) !== null, isCLIExactPrerelease = currentCLIVersion === latestPrereleaseCLIVersionOnNPM, isUpgrade = (0, import_semver.lt)(versionInstalled, currentCLIVersion), autoblockerCheckResults = null;
|
|
298
304
|
return typeof mainConfig != "boolean" && typeof mainConfigPath < "u" && !options.force && (logger2.debug(`${name} - Evaluating blockers...`), autoblockerCheckResults = await autoblock({
|
|
299
305
|
packageManager,
|
|
300
306
|
configDir: resolvedConfigDir,
|
|
@@ -310,7 +316,7 @@ var processProject = async ({
|
|
|
310
316
|
isCLIPrerelease,
|
|
311
317
|
isCLIExactLatest,
|
|
312
318
|
isUpgrade,
|
|
313
|
-
beforeVersion,
|
|
319
|
+
beforeVersion: versionInstalled,
|
|
314
320
|
currentCLIVersion,
|
|
315
321
|
latestCLIVersionOnNPM,
|
|
316
322
|
isCLIExactPrerelease,
|
|
@@ -325,7 +331,7 @@ var processProject = async ({
|
|
|
325
331
|
};
|
|
326
332
|
}
|
|
327
333
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
328
|
-
let { default: pLimit } = await import("./p-limit-
|
|
334
|
+
let { default: pLimit } = await import("./p-limit-ICE233A3.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
329
335
|
(configDir) => limit(
|
|
330
336
|
() => processProject({
|
|
331
337
|
configDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-KMR4OZOD.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_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-YRRW4M4U.js";
|
|
25
|
+
import "./chunk-KMR4OZOD.js";
|
|
26
26
|
export {
|
|
27
27
|
convertPathToPattern,
|
|
28
28
|
generateGlobTasks,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.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-KMR4OZOD.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gb1oi0sqajn from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -25,18 +25,18 @@ import {
|
|
|
25
25
|
shortenPath,
|
|
26
26
|
updateMainConfig,
|
|
27
27
|
upgradeStorybookDependencies
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VEA2W3SG.js";
|
|
29
29
|
import {
|
|
30
30
|
slash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YRRW4M4U.js";
|
|
32
32
|
import {
|
|
33
33
|
require_semver
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QUMK3IUF.js";
|
|
35
35
|
import {
|
|
36
36
|
__commonJS,
|
|
37
37
|
__require,
|
|
38
38
|
__toESM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KMR4OZOD.js";
|
|
40
40
|
|
|
41
41
|
// ../../node_modules/envinfo/dist/envinfo.js
|
|
42
42
|
var require_envinfo = __commonJS({
|
|
@@ -4761,7 +4761,7 @@ function leven(first, second, options) {
|
|
|
4761
4761
|
var import_picocolors16 = __toESM(require_picocolors(), 1);
|
|
4762
4762
|
|
|
4763
4763
|
// package.json
|
|
4764
|
-
var version = "10.1.0-beta.
|
|
4764
|
+
var version = "10.1.0-beta.5";
|
|
4765
4765
|
|
|
4766
4766
|
// src/add.ts
|
|
4767
4767
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -5468,9 +5468,9 @@ var doctor = async ({
|
|
|
5468
5468
|
packageManager: packageManagerName
|
|
5469
5469
|
}) => {
|
|
5470
5470
|
logger2.step("Checking the health of your Storybook..");
|
|
5471
|
-
let diagnosticResults = [], packageManager, configDir,
|
|
5471
|
+
let diagnosticResults = [], packageManager, configDir, versionInstalled, mainConfig;
|
|
5472
5472
|
try {
|
|
5473
|
-
({ packageManager, configDir,
|
|
5473
|
+
({ packageManager, configDir, versionInstalled, mainConfig } = await getStorybookData({
|
|
5474
5474
|
configDir: userSpecifiedConfigDir,
|
|
5475
5475
|
packageManagerName
|
|
5476
5476
|
}));
|
|
@@ -5491,7 +5491,7 @@ var doctor = async ({
|
|
|
5491
5491
|
{
|
|
5492
5492
|
configDir,
|
|
5493
5493
|
packageManager,
|
|
5494
|
-
storybookVersion,
|
|
5494
|
+
storybookVersion: versionInstalled,
|
|
5495
5495
|
mainConfig
|
|
5496
5496
|
}
|
|
5497
5497
|
]);
|
|
@@ -5624,7 +5624,7 @@ import { logger as logger3 } from "storybook/internal/node-logger";
|
|
|
5624
5624
|
import { promises as fs } from "fs";
|
|
5625
5625
|
var maxConcurrentTasks = Math.max(1, os.cpus().length - 1);
|
|
5626
5626
|
async function runCodemod(globPattern = "**/*.stories.*", transform, { dryRun = !1, skipFormatting = !1 } = {}) {
|
|
5627
|
-
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-
|
|
5627
|
+
let modifiedCount = 0, unmodifiedCount = 0, errorCount = 0, { globby } = await import("./globby-PZC2RBSM.js"), files = await globby(slash(globPattern), {
|
|
5628
5628
|
followSymbolicLinks: !0,
|
|
5629
5629
|
ignore: ["**/node_modules/**", "**/dist/**", "**/storybook-static/**", "**/build/**"]
|
|
5630
5630
|
});
|
|
@@ -5635,7 +5635,7 @@ Please try a different pattern.
|
|
|
5635
5635
|
`
|
|
5636
5636
|
), new Error("No files matched");
|
|
5637
5637
|
try {
|
|
5638
|
-
let pLimit = (await import("./p-limit-
|
|
5638
|
+
let pLimit = (await import("./p-limit-ICE233A3.js")).default, limit = pLimit(maxConcurrentTasks);
|
|
5639
5639
|
await Promise.all(
|
|
5640
5640
|
files.map(
|
|
5641
5641
|
(file) => limit(async () => {
|
|
@@ -6395,7 +6395,7 @@ var addonA11yParameters = {
|
|
|
6395
6395
|
errors.push({ file: previewFileToUpdate, error });
|
|
6396
6396
|
}
|
|
6397
6397
|
}
|
|
6398
|
-
let { default: pLimit } = await import("./p-limit-
|
|
6398
|
+
let { default: pLimit } = await import("./p-limit-ICE233A3.js"), limit = pLimit(10);
|
|
6399
6399
|
if (await Promise.all(
|
|
6400
6400
|
storyFilesToUpdate.map(
|
|
6401
6401
|
(file) => limit(async () => {
|
|
@@ -6549,7 +6549,7 @@ var addonGlobalsApi = {
|
|
|
6549
6549
|
}
|
|
6550
6550
|
};
|
|
6551
6551
|
async function transformStoryFiles(files, options, dryRun) {
|
|
6552
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6552
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ICE233A3.js"), limit = pLimit(10);
|
|
6553
6553
|
return await Promise.all(
|
|
6554
6554
|
files.map(
|
|
6555
6555
|
(file) => limit(async () => {
|
|
@@ -6741,7 +6741,7 @@ function transformPackageJson(content) {
|
|
|
6741
6741
|
return hasChanges ? JSON.stringify(packageJson, null, 2) : null;
|
|
6742
6742
|
}
|
|
6743
6743
|
var transformPackageJsonFiles = async (files, dryRun) => {
|
|
6744
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
6744
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ICE233A3.js"), limit = pLimit(10);
|
|
6745
6745
|
return await Promise.all(
|
|
6746
6746
|
files.map(
|
|
6747
6747
|
(file) => limit(async () => {
|
|
@@ -6780,7 +6780,7 @@ var transformPackageJsonFiles = async (files, dryRun) => {
|
|
|
6780
6780
|
dryRun
|
|
6781
6781
|
);
|
|
6782
6782
|
errors.push(...packageJsonErrors);
|
|
6783
|
-
let { globby } = await import("./globby-
|
|
6783
|
+
let { globby } = await import("./globby-PZC2RBSM.js"), configFiles = await globby([`${configDir}/**/*`]), importErrors = await transformImportFiles(
|
|
6784
6784
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
6785
6785
|
{
|
|
6786
6786
|
...consolidatedPackages,
|
|
@@ -7124,7 +7124,7 @@ var transformMainConfig = async (mainConfigPath, dryRun) => {
|
|
|
7124
7124
|
logger11.step("Migrating from @storybook/nextjs to @storybook/nextjs-vite..."), dryRun ? logger11.debug("Dry run: Skipping package.json updates.") : (logger11.debug("Updating package.json files..."), await packageManager.removeDependencies(["@storybook/nextjs"]), await packageManager.addDependencies({ type: "devDependencies", skipInstall: !0 }, [
|
|
7125
7125
|
`@storybook/nextjs-vite@${storybookVersion}`
|
|
7126
7126
|
])), mainConfigPath && (logger11.debug("Updating main config file..."), await transformMainConfig(mainConfigPath, dryRun)), logger11.debug("Scanning and updating import statements...");
|
|
7127
|
-
let { globby } = await import("./globby-
|
|
7127
|
+
let { globby } = await import("./globby-PZC2RBSM.js"), configFiles = await globby([`${configDir}/**/*`]), allFiles = [...storiesPaths, ...configFiles].filter(Boolean), transformErrors = await transformImportFiles2(
|
|
7128
7128
|
allFiles,
|
|
7129
7129
|
{
|
|
7130
7130
|
"@storybook/nextjs": "@storybook/nextjs-vite"
|
|
@@ -7276,18 +7276,11 @@ var consolidatedAddons = {
|
|
|
7276
7276
|
dryRun,
|
|
7277
7277
|
packageManager,
|
|
7278
7278
|
configDir,
|
|
7279
|
-
storybookVersion,
|
|
7280
7279
|
storiesPaths,
|
|
7281
7280
|
mainConfigPath,
|
|
7282
7281
|
previewConfigPath
|
|
7283
7282
|
}) {
|
|
7284
|
-
let {
|
|
7285
|
-
hasEssentials,
|
|
7286
|
-
hasDocsDisabled,
|
|
7287
|
-
hasDocsAddon,
|
|
7288
|
-
additionalAddonsToRemove,
|
|
7289
|
-
essentialsOptions
|
|
7290
|
-
} = result;
|
|
7283
|
+
let { hasEssentials, hasDocsDisabled, additionalAddonsToRemove, essentialsOptions } = result;
|
|
7291
7284
|
if (!(!hasEssentials && additionalAddonsToRemove.length === 0) && !dryRun) {
|
|
7292
7285
|
hasEssentials && await removeAddon5("@storybook/addon-essentials", {
|
|
7293
7286
|
configDir,
|
|
@@ -7340,7 +7333,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7340
7333
|
let regex = new RegExp(`(['"])${renderer}(['"])`, "g");
|
|
7341
7334
|
return regex.test(source) ? source.replace(regex, `$1${framework}$2`) : null;
|
|
7342
7335
|
}, transformSourceFiles = async (files, renderer, framework, dryRun) => {
|
|
7343
|
-
let errors = [], { default: pLimit } = await import("./p-limit-
|
|
7336
|
+
let errors = [], { default: pLimit } = await import("./p-limit-ICE233A3.js"), limit = pLimit(10);
|
|
7344
7337
|
return await Promise.all(
|
|
7345
7338
|
files.map(
|
|
7346
7339
|
(file) => limit(async () => {
|
|
@@ -7407,7 +7400,7 @@ var getAllDependencies = (packageJson) => Object.keys({
|
|
|
7407
7400
|
continue;
|
|
7408
7401
|
logger13.debug(`
|
|
7409
7402
|
Migrating ${rendererPackage} to ${selectedFramework}`);
|
|
7410
|
-
let { globby } = await import("./globby-
|
|
7403
|
+
let { globby } = await import("./globby-PZC2RBSM.js"), configFiles = await globby([`${configDir}/**/*`]);
|
|
7411
7404
|
await transformSourceFiles(
|
|
7412
7405
|
[...storiesPaths, ...configFiles].filter(Boolean),
|
|
7413
7406
|
rendererPackage,
|
|
@@ -7437,7 +7430,7 @@ async function renameInFile(filePath, oldText, newText) {
|
|
|
7437
7430
|
}
|
|
7438
7431
|
var getDotStorybookReferences = async (searchDir) => {
|
|
7439
7432
|
try {
|
|
7440
|
-
let { globby } = await import("./globby-
|
|
7433
|
+
let { globby } = await import("./globby-PZC2RBSM.js"), { readFile: readFile10 } = await import("node:fs/promises"), files = await globby(`${searchDir}/**/*`, {
|
|
7441
7434
|
onlyFiles: !0,
|
|
7442
7435
|
gitignore: !0
|
|
7443
7436
|
}), referencedFiles = [];
|
|
@@ -7458,7 +7451,7 @@ var getDotStorybookReferences = async (searchDir) => {
|
|
|
7458
7451
|
async check({ packageManager, mainConfigPath }) {
|
|
7459
7452
|
if (!packageManager.getAllDependencies()["@storybook/react-native"])
|
|
7460
7453
|
return null;
|
|
7461
|
-
let projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join2(projectDir, ".storybook"), rnStorybookDir = join2(projectDir, ".rnstorybook"), { globby } = await import("./globby-
|
|
7454
|
+
let projectDir = mainConfigPath ? join2(mainConfigPath, "..", "..") : process.cwd(), storybookDir = join2(projectDir, ".storybook"), rnStorybookDir = join2(projectDir, ".rnstorybook"), { globby } = await import("./globby-PZC2RBSM.js"), requiresFiles = await globby(join2(storybookDir, "storybook.requires.*"));
|
|
7462
7455
|
return existsSync2(storybookDir) && requiresFiles.length > 0 && !existsSync2(rnStorybookDir) ? { storybookDir, rnStorybookDir } : null;
|
|
7463
7456
|
},
|
|
7464
7457
|
prompt() {
|
|
@@ -7668,7 +7661,7 @@ var logAvailableMigrations = () => {
|
|
|
7668
7661
|
mainConfig,
|
|
7669
7662
|
mainConfigPath,
|
|
7670
7663
|
previewConfigPath,
|
|
7671
|
-
|
|
7664
|
+
versionInstalled,
|
|
7672
7665
|
configDir,
|
|
7673
7666
|
packageManager,
|
|
7674
7667
|
storiesPaths
|
|
@@ -7676,15 +7669,14 @@ var logAvailableMigrations = () => {
|
|
|
7676
7669
|
configDir: options.configDir,
|
|
7677
7670
|
packageManagerName: options.packageManager
|
|
7678
7671
|
});
|
|
7679
|
-
if (!
|
|
7672
|
+
if (!versionInstalled)
|
|
7680
7673
|
throw new Error("Could not determine Storybook version");
|
|
7681
7674
|
if (!mainConfigPath)
|
|
7682
7675
|
throw new Error("Could not determine main config path");
|
|
7683
7676
|
let outcome = await automigrate({
|
|
7684
7677
|
...options,
|
|
7685
7678
|
packageManager,
|
|
7686
|
-
storybookVersion,
|
|
7687
|
-
beforeVersion: storybookVersion,
|
|
7679
|
+
storybookVersion: versionInstalled,
|
|
7688
7680
|
mainConfigPath,
|
|
7689
7681
|
mainConfig,
|
|
7690
7682
|
previewConfigPath,
|
|
@@ -7714,7 +7706,6 @@ var logAvailableMigrations = () => {
|
|
|
7714
7706
|
mainConfigPath,
|
|
7715
7707
|
previewConfigPath,
|
|
7716
7708
|
storybookVersion,
|
|
7717
|
-
beforeVersion,
|
|
7718
7709
|
renderer: rendererPackage,
|
|
7719
7710
|
skipInstall,
|
|
7720
7711
|
hideMigrationSummary = !1,
|
|
@@ -7751,7 +7742,6 @@ var logAvailableMigrations = () => {
|
|
|
7751
7742
|
mainConfig,
|
|
7752
7743
|
mainConfigPath,
|
|
7753
7744
|
storybookVersion,
|
|
7754
|
-
beforeVersion,
|
|
7755
7745
|
isUpgrade: !!isUpgrade,
|
|
7756
7746
|
dryRun,
|
|
7757
7747
|
yes,
|
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_gb1oi0sqajn from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_gb1oi0sqajn from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_gb1oi0sqajn from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_gb1oi0sqajn.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gb1oi0sqajn.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_gb1oi0sqajn.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -19,4 +19,4 @@ var [majorNodeVersion, minorNodeVersion] = process.versions.node.split(".").map(
|
|
|
19
19
|
dedent`To run Storybook, you need Node.js version 20.19+ or 22.12+.
|
|
20
20
|
You are currently running Node.js ${process.version}. Please upgrade your Node.js installation.`
|
|
21
21
|
), process.exit(1));
|
|
22
|
-
import("../_node-chunks/run-
|
|
22
|
+
import("../_node-chunks/run-ZDKLGQCP.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.1.0-beta.
|
|
3
|
+
"version": "10.1.0-beta.5",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@storybook/codemod": "10.1.0-beta.
|
|
44
|
+
"@storybook/codemod": "10.1.0-beta.5",
|
|
45
45
|
"@types/semver": "^7.3.4",
|
|
46
46
|
"commander": "^14.0.1",
|
|
47
|
-
"create-storybook": "10.1.0-beta.
|
|
47
|
+
"create-storybook": "10.1.0-beta.5",
|
|
48
48
|
"jscodeshift": "^0.15.1",
|
|
49
|
-
"storybook": "10.1.0-beta.
|
|
49
|
+
"storybook": "10.1.0-beta.5",
|
|
50
50
|
"ts-dedent": "^2.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_h424wtfjq5 from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_h424wtfjq5 from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_h424wtfjq5 from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_h424wtfjq5.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_h424wtfjq5.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_h424wtfjq5.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|