@storybook/cli 11.0.0-alpha.6 → 11.0.0-alpha.8
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-WKHHADM4.js → block-create-react-app-7FNU4CBM.js} +8 -8
- package/dist/_node-chunks/{block-dependencies-versions-27KW67SX.js → block-dependencies-versions-3HIVYTAD.js} +21 -12
- package/dist/_node-chunks/{block-experimental-addon-test-N7KCMWRE.js → block-experimental-addon-test-2NBRKH5B.js} +9 -9
- package/dist/_node-chunks/{block-major-version-J6AVFJZW.js → block-major-version-K2Y53V3L.js} +9 -9
- package/dist/_node-chunks/{block-node-version-C2L5XHUW.js → block-node-version-PUUM26IQ.js} +8 -8
- package/dist/_node-chunks/{block-react-legacy-root-api-ICQ6ZL4I.js → block-react-legacy-root-api-ESXDCB2N.js} +8 -8
- package/dist/_node-chunks/{block-webpack5-frameworks-FIWTCLDF.js → block-webpack5-frameworks-M3L7NMZH.js} +11 -11
- package/dist/_node-chunks/{chunk-FWESDDOE.js → chunk-5F2NM7VF.js} +6 -6
- package/dist/_node-chunks/{chunk-TN7W2H4Z.js → chunk-IC37BRUZ.js} +25 -23
- package/dist/_node-chunks/{chunk-XI7I7UPG.js → chunk-J5HVJRFW.js} +7 -7
- package/dist/_node-chunks/chunk-VW3ZGBUF.js +11 -0
- package/dist/_node-chunks/{chunk-ZSKFJUTC.js → chunk-WMRVFXLT.js} +7 -7
- package/dist/_node-chunks/{globby-QGVHATI2.js → globby-7OAS3ZTU.js} +8 -8
- package/dist/_node-chunks/{p-limit-TRSAPTRX.js → p-limit-BO6YVIDZ.js} +7 -7
- package/dist/_node-chunks/{run-CCGS4PIS.js → run-FR35DMP3.js} +2875 -2523
- package/dist/bin/index.js +7 -7
- package/package.json +5 -5
- package/dist/_node-chunks/chunk-4ENQP5RB.js +0 -11
package/dist/_node-chunks/{block-create-react-app-WKHHADM4.js → block-create-react-app-7FNU4CBM.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-VW3ZGBUF.js";
|
|
13
|
+
import "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-IC37BRUZ.js";
|
|
15
|
+
import "./chunk-WMRVFXLT.js";
|
|
16
|
+
import "./chunk-J5HVJRFW.js";
|
|
17
|
+
import "./chunk-VW3ZGBUF.js";
|
|
18
|
+
import "./chunk-5F2NM7VF.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-dependencies-versions.ts
|
|
21
21
|
import { dedent } from "ts-dedent";
|
|
@@ -28,7 +28,7 @@ var minimalVersionsMap = {
|
|
|
28
28
|
"react-dom": "18.0.0",
|
|
29
29
|
svelte: "5.0.0",
|
|
30
30
|
vue: "3.0.0",
|
|
31
|
-
vite: "
|
|
31
|
+
vite: "6.3.0"
|
|
32
32
|
}, conditionalVersionsMap = {
|
|
33
33
|
vitest: { gatedBy: "@storybook/addon-vitest", minimumVersion: "4.0.0" }
|
|
34
34
|
}, blocker = {
|
|
@@ -104,6 +104,15 @@ var minimalVersionsMap = {
|
|
|
104
104
|
`,
|
|
105
105
|
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-require-v18-and-up"
|
|
106
106
|
};
|
|
107
|
+
case "vite":
|
|
108
|
+
return {
|
|
109
|
+
title: "Vite 6.3 or newer required",
|
|
110
|
+
message: dedent`
|
|
111
|
+
Support for Vite < 6.3.0 has been removed.
|
|
112
|
+
Please see the migration guide for more information:
|
|
113
|
+
`,
|
|
114
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#vite-requires-vite-63-or-higher"
|
|
115
|
+
};
|
|
107
116
|
default:
|
|
108
117
|
return {
|
|
109
118
|
title: `${data.packageName} version < ${data.minimumVersion} support removed`,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-J5HVJRFW.js";
|
|
15
|
+
import "./chunk-VW3ZGBUF.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5F2NM7VF.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-J6AVFJZW.js → block-major-version-K2Y53V3L.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-J5HVJRFW.js";
|
|
15
|
+
import "./chunk-VW3ZGBUF.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-VW3ZGBUF.js";
|
|
13
|
+
import "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-VW3ZGBUF.js";
|
|
13
|
+
import "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-IC37BRUZ.js";
|
|
15
|
+
import "./chunk-WMRVFXLT.js";
|
|
16
|
+
import "./chunk-J5HVJRFW.js";
|
|
17
|
+
import "./chunk-VW3ZGBUF.js";
|
|
18
|
+
import "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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_vxh3qha62y.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
globby,
|
|
14
14
|
globbySync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WMRVFXLT.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J5HVJRFW.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__toESM
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5F2NM7VF.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-3HIVYTAD.js"),
|
|
138
|
+
import("./block-create-react-app-7FNU4CBM.js"),
|
|
139
|
+
import("./block-node-version-PUUM26IQ.js"),
|
|
140
|
+
import("./block-webpack5-frameworks-M3L7NMZH.js"),
|
|
141
|
+
import("./block-major-version-K2Y53V3L.js"),
|
|
142
|
+
import("./block-experimental-addon-test-2NBRKH5B.js"),
|
|
143
|
+
import("./block-react-legacy-root-api-ESXDCB2N.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;
|
|
@@ -224,7 +224,7 @@ var processProject = async ({
|
|
|
224
224
|
storiesPaths,
|
|
225
225
|
versionSpecifier,
|
|
226
226
|
versionInstalled
|
|
227
|
-
} = await getStorybookData({ configDir });
|
|
227
|
+
} = await getStorybookData({ configDir, packageManagerName: options.packageManager });
|
|
228
228
|
logger.debug(`${name} - Validating before version... ${versionInstalled}`), validateVersion(versionInstalled);
|
|
229
229
|
let isCanary = isCanaryVersion(currentCLIVersion) || isCanaryVersion(versionInstalled) || isPkgPrNewVersionSpecifier(versionSpecifier);
|
|
230
230
|
logger.debug(`${name} - Validating upgrade compatibility...`), validateUpgradeCompatibility(currentCLIVersion, versionInstalled, isCanary), logger.debug(`${name} - Fetching NPM version information...`);
|
|
@@ -267,7 +267,7 @@ var processProject = async ({
|
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
269
|
}, collectProjects = async (options, configDirs, onProjectScanStart) => {
|
|
270
|
-
let { default: pLimit } = await import("./p-limit-
|
|
270
|
+
let { default: pLimit } = await import("./p-limit-BO6YVIDZ.js"), currentCLIVersion = versions.storybook, limit = pLimit(5), projectPromises = configDirs.map(
|
|
271
271
|
(configDir) => limit(
|
|
272
272
|
() => processProject({
|
|
273
273
|
configDir,
|
|
@@ -286,7 +286,7 @@ var processProject = async ({
|
|
|
286
286
|
isCLIPrerelease,
|
|
287
287
|
isCLIExactPrerelease,
|
|
288
288
|
isCLIExactLatest
|
|
289
|
-
} = config, storybookCoreUpgrades = Object.keys(dependencies).filter(
|
|
289
|
+
} = config, prereleaseModifier = isCLIExactPrerelease && !isCanary ? "^" : "", storybookCoreUpgrades = Object.keys(dependencies).filter(
|
|
290
290
|
(dependency) => dependency in versions
|
|
291
291
|
).map((dependency) => {
|
|
292
292
|
let versionSpec = dependencies[dependency], pkgPrNewSpecifier = getPkgPrNewPackageSpecifier(
|
|
@@ -298,10 +298,12 @@ var processProject = async ({
|
|
|
298
298
|
if (!versionSpec)
|
|
299
299
|
return `${dependency}@${versions[dependency]}`;
|
|
300
300
|
let { modifier } = getVersionModifier(versionSpec);
|
|
301
|
-
return `${dependency}@${isCLIOutdated || isCanary ? "" : modifier}${versions[dependency]}`;
|
|
301
|
+
return `${dependency}@${isCLIPrerelease ? prereleaseModifier : isCLIOutdated || isCanary ? "" : modifier}${versions[dependency]}`;
|
|
302
302
|
}), storybookSatelliteUpgrades = [];
|
|
303
303
|
if (isCLIExactPrerelease || isCLIExactLatest) {
|
|
304
|
-
let satelliteDependencies = Object.keys(dependencies).filter(
|
|
304
|
+
let satelliteDependencies = Object.keys(dependencies).filter(
|
|
305
|
+
(dependency) => isSatelliteAddon(dependency) && !dependencies[dependency]?.startsWith("workspace:")
|
|
306
|
+
);
|
|
305
307
|
if (satelliteDependencies.length > 0)
|
|
306
308
|
try {
|
|
307
309
|
let upgradePromises = satelliteDependencies.map(async (dependency) => {
|
|
@@ -311,8 +313,8 @@ var processProject = async ({
|
|
|
311
313
|
), [mostRecentVersion] = (0, import_semver.rsort)(versions2.filter((version) => version !== null));
|
|
312
314
|
if (!mostRecentVersion)
|
|
313
315
|
return null;
|
|
314
|
-
let { modifier } = getVersionModifier(dependencies[dependency] ?? "");
|
|
315
|
-
return `${dependency}@${
|
|
316
|
+
let { modifier } = getVersionModifier(dependencies[dependency] ?? ""), finalModifier = isCLIPrerelease && (0, import_semver.prerelease)(mostRecentVersion) ? prereleaseModifier : modifier;
|
|
317
|
+
return `${dependency}@${finalModifier}${mostRecentVersion}`;
|
|
316
318
|
} catch {
|
|
317
319
|
return null;
|
|
318
320
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-WMRVFXLT.js";
|
|
25
|
+
import "./chunk-5F2NM7VF.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_kwozah22xdi from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_kwozah22xdi from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_kwozah22xdi from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_kwozah22xdi.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_kwozah22xdi.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_kwozah22xdi.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-5F2NM7VF.js";
|
|
13
13
|
|
|
14
14
|
// ../../../node_modules/yocto-queue/index.js
|
|
15
15
|
var Node = class {
|