@storybook/cli 11.0.0-alpha.5 → 11.0.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_node-chunks/{block-create-react-app-MUJEAJWZ.js → block-create-react-app-WKHHADM4.js} +8 -8
- package/dist/_node-chunks/{block-dependencies-versions-NO7SGHPX.js → block-dependencies-versions-27KW67SX.js} +11 -11
- package/dist/_node-chunks/{block-experimental-addon-test-P5AIPERY.js → block-experimental-addon-test-N7KCMWRE.js} +9 -9
- package/dist/_node-chunks/{block-major-version-WWI2WIS2.js → block-major-version-J6AVFJZW.js} +9 -9
- package/dist/_node-chunks/{block-node-version-43NYZKC4.js → block-node-version-C2L5XHUW.js} +8 -8
- package/dist/_node-chunks/{block-react-legacy-root-api-4JKQEIN5.js → block-react-legacy-root-api-ICQ6ZL4I.js} +8 -8
- package/dist/_node-chunks/{block-webpack5-frameworks-ELINHXW5.js → block-webpack5-frameworks-FIWTCLDF.js} +11 -11
- package/dist/_node-chunks/chunk-4ENQP5RB.js +11 -0
- package/dist/_node-chunks/{chunk-SJEUIQ46.js → chunk-FWESDDOE.js} +6 -6
- package/dist/_node-chunks/{chunk-2MUKNWW5.js → chunk-TN7W2H4Z.js} +44 -39
- package/dist/_node-chunks/{chunk-7BUFIZL4.js → chunk-XI7I7UPG.js} +7 -7
- package/dist/_node-chunks/{chunk-AGADK3RL.js → chunk-ZSKFJUTC.js} +7 -7
- package/dist/_node-chunks/{globby-6YVPAXG5.js → globby-QGVHATI2.js} +8 -8
- package/dist/_node-chunks/{p-limit-GSIPL3UA.js → p-limit-TRSAPTRX.js} +7 -7
- package/dist/_node-chunks/{run-ZECBPVC4.js → run-CCGS4PIS.js} +1590 -1453
- package/dist/bin/index.js +7 -7
- package/package.json +4 -4
- package/dist/_node-chunks/chunk-4GUNVUYY.js +0 -11
package/dist/_node-chunks/{block-create-react-app-MUJEAJWZ.js → block-create-react-app-WKHHADM4.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4ENQP5RB.js";
|
|
13
|
+
import "./chunk-FWESDDOE.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-create-react-app.ts
|
|
16
16
|
import { dedent } from "ts-dedent";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-TN7W2H4Z.js";
|
|
15
|
+
import "./chunk-ZSKFJUTC.js";
|
|
16
|
+
import "./chunk-XI7I7UPG.js";
|
|
17
|
+
import "./chunk-4ENQP5RB.js";
|
|
18
|
+
import "./chunk-FWESDDOE.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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
|
require_semver
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XI7I7UPG.js";
|
|
15
|
+
import "./chunk-4ENQP5RB.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FWESDDOE.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-WWI2WIS2.js → block-major-version-J6AVFJZW.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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
|
require_semver
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-XI7I7UPG.js";
|
|
15
|
+
import "./chunk-4ENQP5RB.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FWESDDOE.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-major-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4ENQP5RB.js";
|
|
13
|
+
import "./chunk-FWESDDOE.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-node-version.ts
|
|
16
16
|
import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4ENQP5RB.js";
|
|
13
|
+
import "./chunk-FWESDDOE.js";
|
|
14
14
|
|
|
15
15
|
// src/autoblock/block-react-legacy-root-api.ts
|
|
16
16
|
import { dedent } from "ts-dedent";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-TN7W2H4Z.js";
|
|
15
|
+
import "./chunk-ZSKFJUTC.js";
|
|
16
|
+
import "./chunk-XI7I7UPG.js";
|
|
17
|
+
import "./chunk-4ENQP5RB.js";
|
|
18
|
+
import "./chunk-FWESDDOE.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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_p28xbsg3xzj.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZSKFJUTC.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XI7I7UPG.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FWESDDOE.js";
|
|
23
23
|
|
|
24
24
|
// ../../../node_modules/picocolors/picocolors.js
|
|
25
25
|
var require_picocolors = __commonJS({
|
|
@@ -134,13 +134,13 @@ var import_picocolors = __toESM(require_picocolors(), 1), import_semver = __toES
|
|
|
134
134
|
// src/autoblock/index.ts
|
|
135
135
|
var blockers = () => [
|
|
136
136
|
// add/remove blockers here
|
|
137
|
-
import("./block-dependencies-versions-
|
|
138
|
-
import("./block-create-react-app-
|
|
139
|
-
import("./block-node-version-
|
|
140
|
-
import("./block-webpack5-frameworks-
|
|
141
|
-
import("./block-major-version-
|
|
142
|
-
import("./block-experimental-addon-test-
|
|
143
|
-
import("./block-react-legacy-root-api-
|
|
137
|
+
import("./block-dependencies-versions-27KW67SX.js"),
|
|
138
|
+
import("./block-create-react-app-WKHHADM4.js"),
|
|
139
|
+
import("./block-node-version-C2L5XHUW.js"),
|
|
140
|
+
import("./block-webpack5-frameworks-FIWTCLDF.js"),
|
|
141
|
+
import("./block-major-version-J6AVFJZW.js"),
|
|
142
|
+
import("./block-experimental-addon-test-N7KCMWRE.js"),
|
|
143
|
+
import("./block-react-legacy-root-api-ICQ6ZL4I.js")
|
|
144
144
|
], autoblock = async (options, list = blockers()) => list.length === 0 ? null : await Promise.all(
|
|
145
145
|
list.map(async (i) => {
|
|
146
146
|
let blocker = (await i).blocker;
|
|
@@ -155,6 +155,12 @@ import { getStorybookData } from "storybook/internal/cli";
|
|
|
155
155
|
var getFrameworkPackageName = (mainConfig) => {
|
|
156
156
|
let packageNameOrPath = typeof mainConfig?.framework == "string" ? mainConfig.framework : mainConfig?.framework?.name;
|
|
157
157
|
return packageNameOrPath ? extractFrameworkPackageName(packageNameOrPath) : null;
|
|
158
|
+
}, getRendererName = (mainConfig) => {
|
|
159
|
+
let frameworkPackageName = getFrameworkPackageName(mainConfig);
|
|
160
|
+
if (!frameworkPackageName)
|
|
161
|
+
return null;
|
|
162
|
+
let frameworkName = frameworkPackages[frameworkPackageName];
|
|
163
|
+
return frameworkToRenderer[frameworkName];
|
|
158
164
|
};
|
|
159
165
|
|
|
160
166
|
// src/util.ts
|
|
@@ -261,7 +267,7 @@ var processProject = async ({
|
|
|
261
267
|
};
|
|
262
268
|
}
|
|
263
269
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
264
|
-
let { default: pLimit } = await import("./p-limit-
|
|
270
|
+
let { default: pLimit } = await import("./p-limit-TRSAPTRX.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
265
271
|
(configDir) => limit(
|
|
266
272
|
() => processProject({
|
|
267
273
|
configDir,
|
|
@@ -325,28 +331,26 @@ var processProject = async ({
|
|
|
325
331
|
generateUpgradeSpecs(packageJson.devDependencies, config),
|
|
326
332
|
generateUpgradeSpecs(packageJson.peerDependencies, config)
|
|
327
333
|
]);
|
|
328
|
-
logger.debug(JSON.stringify({ upgradedDependencies }, null, 2)), logger.debug(JSON.stringify({ upgradedDevDependencies }, null, 2)), logger.debug(JSON.stringify({ upgradedPeerDependencies }, null, 2))
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
type
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
upgradedPeerDependencies
|
|
349
|
-
);
|
|
334
|
+
logger.debug(JSON.stringify({ upgradedDependencies }, null, 2)), logger.debug(JSON.stringify({ upgradedDevDependencies }, null, 2)), logger.debug(JSON.stringify({ upgradedPeerDependencies }, null, 2));
|
|
335
|
+
let upgrades = [
|
|
336
|
+
["dependencies", upgradedDependencies],
|
|
337
|
+
["devDependencies", upgradedDevDependencies],
|
|
338
|
+
["peerDependencies", upgradedPeerDependencies]
|
|
339
|
+
];
|
|
340
|
+
for (let [type, specifiers] of upgrades) {
|
|
341
|
+
let directSpecifiers = packageManager.writeCatalogUpgrades(
|
|
342
|
+
specifiers,
|
|
343
|
+
packageJson[type] ?? {}
|
|
344
|
+
);
|
|
345
|
+
await packageManager.addDependencies(
|
|
346
|
+
{
|
|
347
|
+
type,
|
|
348
|
+
skipInstall: !0,
|
|
349
|
+
packageJsonInfo: JsPackageManager.getPackageJsonInfo(packageJsonPath)
|
|
350
|
+
},
|
|
351
|
+
directSpecifiers
|
|
352
|
+
);
|
|
353
|
+
}
|
|
350
354
|
}
|
|
351
355
|
}, formatProjectDirectories = (projectData, modifier) => projectData.length === 0 ? "" : projectData.map((project) => project.configDir).map((dir) => `${modifier} ${import_picocolors.default.cyan(shortenPath(dir))}`).join(`
|
|
352
356
|
`), shortenPath = (path) => {
|
|
@@ -503,6 +507,7 @@ After addressing this, you can try running the upgrade command again. You can al
|
|
|
503
507
|
export {
|
|
504
508
|
require_picocolors,
|
|
505
509
|
getFrameworkPackageName,
|
|
510
|
+
getRendererName,
|
|
506
511
|
getStorybookData,
|
|
507
512
|
up,
|
|
508
513
|
findOutdatedPackage,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-FWESDDOE.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-FWESDDOE.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-ZSKFJUTC.js";
|
|
25
|
+
import "./chunk-FWESDDOE.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_vxh3qha62y from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_vxh3qha62y from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_vxh3qha62y from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_vxh3qha62y.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_vxh3qha62y.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_vxh3qha62y.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-FWESDDOE.js";
|
|
13
13
|
|
|
14
14
|
// ../../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|