storybook 10.0.0-beta.1 → 10.0.0-beta.3
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/{builder-manager-EXW4ETLN.js → builder-manager-DXAEQZJB.js} +16 -16
- package/dist/_node-chunks/{camelcase-VZZFWA2L.js → camelcase-CMMT6PHY.js} +7 -7
- package/dist/_node-chunks/{chunk-U45F2NP6.js → chunk-3SUJKLRV.js} +7 -7
- package/dist/_node-chunks/{chunk-5ZX5SJOP.js → chunk-4TGAX5W7.js} +7 -7
- package/dist/_node-chunks/{chunk-GVCXNIAA.js → chunk-5XVEWBRA.js} +143 -15
- package/dist/_node-chunks/{chunk-EDBXIJN5.js → chunk-6Z44ODDR.js} +7 -7
- package/dist/_node-chunks/{chunk-5V6QH7WC.js → chunk-7EGB7ALG.js} +7 -7
- package/dist/_node-chunks/{chunk-2QZOLZDJ.js → chunk-AKW5OJ2T.js} +9 -9
- package/dist/_node-chunks/chunk-ALWVSNSK.js +62 -0
- package/dist/_node-chunks/{chunk-WDKWVNL2.js → chunk-BV4J7FF6.js} +7 -7
- package/dist/_node-chunks/{chunk-F5J33SXQ.js → chunk-CNKVQCQJ.js} +7 -7
- package/dist/_node-chunks/{chunk-EO4S3VXL.js → chunk-DNOOZ2LS.js} +58 -47
- package/dist/_node-chunks/{chunk-3SGKBLOL.js → chunk-EI44VA3U.js} +8 -8
- package/dist/_node-chunks/{chunk-ICPKUV5G.js → chunk-EVY6P65U.js} +7 -7
- package/dist/_node-chunks/{chunk-CM3UGTR5.js → chunk-IA7M33LK.js} +7 -7
- package/dist/_node-chunks/{chunk-XTSBFCVE.js → chunk-ICETGZAR.js} +7 -7
- package/dist/_node-chunks/chunk-ICFGNVW7.js +1476 -0
- package/dist/_node-chunks/{chunk-PL2PKDRO.js → chunk-KQXC7XVZ.js} +16 -16
- package/dist/_node-chunks/{chunk-32JYCD74.js → chunk-LRQFELIZ.js} +8 -8
- package/dist/_node-chunks/{chunk-LAUOYAOX.js → chunk-MHNUEOON.js} +7 -7
- package/dist/_node-chunks/{chunk-24TGL6EX.js → chunk-MVPVYHBT.js} +7 -7
- package/dist/_node-chunks/{chunk-PMEEE3UE.js → chunk-PA26PSV2.js} +7 -7
- package/dist/_node-chunks/{chunk-FZP2YGG3.js → chunk-PAZJQ2GH.js} +7 -7
- package/dist/_node-chunks/{chunk-QC5FE2D7.js → chunk-PK6SVDYW.js} +7 -7
- package/dist/_node-chunks/{chunk-2G5THETV.js → chunk-QI3AVWUV.js} +12 -12
- package/dist/_node-chunks/{chunk-VNLBDN2Z.js → chunk-R6TLLF24.js} +6 -6
- package/dist/_node-chunks/{chunk-3ZKQWDCG.js → chunk-RUCPXDO3.js} +8 -8
- package/dist/_node-chunks/{chunk-4WNZYNQY.js → chunk-SHXAIHPO.js} +7 -7
- package/dist/_node-chunks/{chunk-WP7DV5JT.js → chunk-TL5RNPZW.js} +10 -10
- package/dist/_node-chunks/{chunk-QJTT4OC2.js → chunk-VDFQYNPZ.js} +8 -8
- package/dist/_node-chunks/{chunk-V2ZF4DUD.js → chunk-WELIADWR.js} +9 -9
- package/dist/_node-chunks/{chunk-6CCUFDHU.js → chunk-WRSYICUI.js} +7 -7
- package/dist/_node-chunks/{chunk-SUMFFLGF.js → chunk-XRAB2RZN.js} +6 -6
- package/dist/_node-chunks/chunk-YRXKNGPR.js +18 -0
- package/dist/_node-chunks/{default-browser-id-JNATP42X.js → default-browser-id-2X5XLPPS.js} +7 -7
- package/dist/_node-chunks/{dist-VZL6D6Y3.js → dist-JSBOOVQK.js} +9 -9
- package/dist/_node-chunks/{globby-GZXJJ4W6.js → globby-YYTLHNUO.js} +9 -9
- package/dist/_node-chunks/{lib-PHT5GCV2.js → lib-DJHADRPZ.js} +11 -11
- package/dist/_node-chunks/{mdx-N42X6CFJ-EPDIV4A2.js → mdx-N42X6CFJ-WT6XCDU6.js} +8 -8
- package/dist/_node-chunks/{p-limit-AJIFSZTI.js → p-limit-HTXI4SGX.js} +8 -8
- package/dist/_node-chunks/{plugin-3VI56CEF.js → plugin-NNRMQ2YK.js} +10 -10
- package/dist/_node-chunks/{plugin-AV4OEKYM.js → plugin-W22F3FQV.js} +10 -10
- package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-E7J5FKLA.js → webpack-inject-mocker-runtime-plugin-VFNVWMAM.js} +10 -10
- package/dist/_node-chunks/{webpack-mock-plugin-VTYGW7HO.js → webpack-mock-plugin-Q4ED2M25.js} +9 -9
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +11 -11
- package/dist/bin/dispatcher.js +11 -11
- package/dist/bin/loader.js +8 -8
- package/dist/cli/index.js +20 -20
- package/dist/common/index.js +22 -22
- package/dist/components/index.d.ts +228 -1
- package/dist/core-server/index.d.ts +515 -14
- package/dist/core-server/index.js +36 -36
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +22 -31
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
- package/dist/csf/index.js +7 -1
- package/dist/csf-tools/index.d.ts +34 -0
- package/dist/csf-tools/index.js +9 -9
- package/dist/manager/globals-runtime.js +3 -2
- package/dist/manager/runtime.js +1 -12
- package/dist/manager-api/index.d.ts +501 -0
- package/dist/manager-api/index.js +1 -1
- package/dist/manager-errors.d.ts +501 -0
- package/dist/node-logger/index.js +14 -14
- package/dist/preview/runtime.js +9 -2
- package/dist/preview-errors.d.ts +501 -0
- package/dist/router/index.d.ts +668 -10
- package/dist/server-errors.d.ts +501 -0
- package/dist/server-errors.js +10 -10
- package/dist/telemetry/index.js +25 -25
- package/dist/test/index.js +2 -1
- package/dist/types/index.d.ts +523 -9
- package/package.json +2 -4
- package/dist/_node-chunks/chunk-GE6I3YYG.js +0 -62
- package/dist/_node-chunks/chunk-KXCNXWXI.js +0 -18
- package/dist/_node-chunks/chunk-ZMV3WY6R.js +0 -9845
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.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_picomatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PAZJQ2GH.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./chunk-ZMV3WY6R.js";
|
|
16
|
+
resolveModulePath
|
|
17
|
+
} from "./chunk-ICFGNVW7.js";
|
|
19
18
|
import {
|
|
20
19
|
versions_default
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ALWVSNSK.js";
|
|
22
21
|
import {
|
|
23
22
|
BUN_LOCKFILE,
|
|
24
23
|
BUN_LOCKFILE_BINARY,
|
|
@@ -30,42 +29,42 @@ import {
|
|
|
30
29
|
getProjectRoot,
|
|
31
30
|
normalizeStoryPath,
|
|
32
31
|
require_cross_spawn
|
|
33
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WELIADWR.js";
|
|
34
33
|
import {
|
|
35
34
|
findUp,
|
|
36
35
|
findUpMultipleSync,
|
|
37
36
|
findUpSync,
|
|
38
37
|
locatePathSync
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VDFQYNPZ.js";
|
|
40
39
|
import {
|
|
41
40
|
invariant
|
|
42
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-IA7M33LK.js";
|
|
43
42
|
import {
|
|
44
43
|
importModule,
|
|
45
44
|
resolvePackageDir,
|
|
46
45
|
safeResolveModule
|
|
47
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LRQFELIZ.js";
|
|
48
47
|
import {
|
|
49
48
|
join,
|
|
50
49
|
parse,
|
|
51
50
|
resolve
|
|
52
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EVY6P65U.js";
|
|
53
52
|
import {
|
|
54
53
|
require_prompts
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-ICETGZAR.js";
|
|
56
55
|
import {
|
|
57
56
|
glob,
|
|
58
57
|
globSync
|
|
59
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-MVPVYHBT.js";
|
|
60
59
|
import {
|
|
61
60
|
slash
|
|
62
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WRSYICUI.js";
|
|
63
62
|
import {
|
|
64
63
|
require_dist
|
|
65
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BV4J7FF6.js";
|
|
66
65
|
import {
|
|
67
66
|
require_picocolors
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7EGB7ALG.js";
|
|
69
68
|
import {
|
|
70
69
|
__commonJS,
|
|
71
70
|
__esm,
|
|
@@ -74,7 +73,7 @@ import {
|
|
|
74
73
|
__require,
|
|
75
74
|
__toCommonJS,
|
|
76
75
|
__toESM
|
|
77
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-XRAB2RZN.js";
|
|
78
77
|
|
|
79
78
|
// ../node_modules/common-path-prefix/index.js
|
|
80
79
|
var require_common_path_prefix = __commonJS({
|
|
@@ -88,13 +87,13 @@ var require_common_path_prefix = __commonJS({
|
|
|
88
87
|
}
|
|
89
88
|
return DEFAULT_SEPARATOR;
|
|
90
89
|
}, "determineSeparator");
|
|
91
|
-
module.exports = /* @__PURE__ */ __name(function commonPathPrefix2(paths,
|
|
90
|
+
module.exports = /* @__PURE__ */ __name(function commonPathPrefix2(paths, sep3 = determineSeparator(paths)) {
|
|
92
91
|
const [first = "", ...remaining] = paths;
|
|
93
92
|
if (first === "" || remaining.length === 0) return "";
|
|
94
|
-
const parts = first.split(
|
|
93
|
+
const parts = first.split(sep3);
|
|
95
94
|
let endOfPrefix = parts.length;
|
|
96
95
|
for (const path4 of remaining) {
|
|
97
|
-
const compare = path4.split(
|
|
96
|
+
const compare = path4.split(sep3);
|
|
98
97
|
for (let i = 0; i < endOfPrefix; i++) {
|
|
99
98
|
if (compare[i] !== parts[i]) {
|
|
100
99
|
endOfPrefix = i;
|
|
@@ -102,8 +101,8 @@ var require_common_path_prefix = __commonJS({
|
|
|
102
101
|
}
|
|
103
102
|
if (endOfPrefix === 0) return "";
|
|
104
103
|
}
|
|
105
|
-
const prefix = parts.slice(0, endOfPrefix).join(
|
|
106
|
-
return prefix.endsWith(
|
|
104
|
+
const prefix = parts.slice(0, endOfPrefix).join(sep3);
|
|
105
|
+
return prefix.endsWith(sep3) ? prefix : prefix + sep3;
|
|
107
106
|
}, "commonPathPrefix");
|
|
108
107
|
}
|
|
109
108
|
});
|
|
@@ -10662,6 +10661,18 @@ function getInterpretedFile(pathToFile) {
|
|
|
10662
10661
|
}
|
|
10663
10662
|
__name(getInterpretedFile, "getInterpretedFile");
|
|
10664
10663
|
|
|
10664
|
+
// src/common/utils/strip-abs-node-modules-path.ts
|
|
10665
|
+
import { posix, sep } from "node:path";
|
|
10666
|
+
function normalizePath(id) {
|
|
10667
|
+
return posix.normalize(slash(id));
|
|
10668
|
+
}
|
|
10669
|
+
__name(normalizePath, "normalizePath");
|
|
10670
|
+
function stripAbsNodeModulesPath(absPath) {
|
|
10671
|
+
const splits = absPath.split(`node_modules${sep}`);
|
|
10672
|
+
return normalizePath(splits[splits.length - 1]);
|
|
10673
|
+
}
|
|
10674
|
+
__name(stripAbsNodeModulesPath, "stripAbsNodeModulesPath");
|
|
10675
|
+
|
|
10665
10676
|
// src/common/utils/validate-configuration-files.ts
|
|
10666
10677
|
import { resolve as resolve2 } from "node:path";
|
|
10667
10678
|
import { once } from "storybook/internal/node-logger";
|
|
@@ -10719,10 +10730,10 @@ var resolveAddonName = /* @__PURE__ */ __name((configDir, name, options) => {
|
|
|
10719
10730
|
if (managerFile || previewFile || presetFile) {
|
|
10720
10731
|
const previewAnnotations = [];
|
|
10721
10732
|
if (previewFile) {
|
|
10722
|
-
const parsedPreviewFile =
|
|
10723
|
-
if (parsedPreviewFile
|
|
10733
|
+
const parsedPreviewFile = stripAbsNodeModulesPath(previewFile);
|
|
10734
|
+
if (parsedPreviewFile !== previewFile) {
|
|
10724
10735
|
previewAnnotations.push({
|
|
10725
|
-
bare:
|
|
10736
|
+
bare: parsedPreviewFile,
|
|
10726
10737
|
absolute: previewFile
|
|
10727
10738
|
});
|
|
10728
10739
|
} else {
|
|
@@ -12151,11 +12162,11 @@ __name(getBuilderOptions, "getBuilderOptions");
|
|
|
12151
12162
|
var import_ts_dedent3 = __toESM(require_dist(), 1);
|
|
12152
12163
|
|
|
12153
12164
|
// src/common/utils/normalize-path.ts
|
|
12154
|
-
import { posix } from "node:path";
|
|
12155
|
-
function
|
|
12156
|
-
return
|
|
12165
|
+
import { posix as posix2 } from "node:path";
|
|
12166
|
+
function normalizePath2(p) {
|
|
12167
|
+
return posix2.normalize(p.replace(/\\/g, "/"));
|
|
12157
12168
|
}
|
|
12158
|
-
__name(
|
|
12169
|
+
__name(normalizePath2, "normalizePath");
|
|
12159
12170
|
|
|
12160
12171
|
// src/common/utils/get-framework-name.ts
|
|
12161
12172
|
async function getFrameworkName(options) {
|
|
@@ -12171,7 +12182,7 @@ async function getFrameworkName(options) {
|
|
|
12171
12182
|
}
|
|
12172
12183
|
__name(getFrameworkName, "getFrameworkName");
|
|
12173
12184
|
var extractProperFrameworkName = /* @__PURE__ */ __name((framework) => {
|
|
12174
|
-
const normalizedPath =
|
|
12185
|
+
const normalizedPath = normalizePath2(framework);
|
|
12175
12186
|
const frameworkName = Object.keys(frameworkPackages).find((pkg) => normalizedPath.endsWith(pkg));
|
|
12176
12187
|
return frameworkName ?? framework;
|
|
12177
12188
|
}, "extractProperFrameworkName");
|
|
@@ -12641,7 +12652,7 @@ function validateFrameworkName(frameworkName) {
|
|
|
12641
12652
|
return;
|
|
12642
12653
|
}
|
|
12643
12654
|
try {
|
|
12644
|
-
|
|
12655
|
+
resolveModulePath(join8(frameworkName, "preset"), {
|
|
12645
12656
|
extensions: [".mjs", ".js", ".cjs"],
|
|
12646
12657
|
conditions: ["node", "import", "require"]
|
|
12647
12658
|
});
|
|
@@ -12749,8 +12760,8 @@ var userOrAutoTitleFromSpecifier = /* @__PURE__ */ __name((fileName, entry, user
|
|
|
12749
12760
|
}, "userOrAutoTitleFromSpecifier");
|
|
12750
12761
|
|
|
12751
12762
|
// src/common/utils/posix.ts
|
|
12752
|
-
import { posix as posixPath, sep } from "node:path";
|
|
12753
|
-
var
|
|
12763
|
+
import { posix as posixPath, sep as sep2 } from "node:path";
|
|
12764
|
+
var posix3 = /* @__PURE__ */ __name((localPath, seperator = sep2) => localPath.split(seperator).filter(Boolean).join(posixPath.sep), "posix");
|
|
12754
12765
|
|
|
12755
12766
|
// src/common/utils/get-story-id.ts
|
|
12756
12767
|
async function getStoryId(data, options) {
|
|
@@ -12783,7 +12794,7 @@ function getStoryTitle({
|
|
|
12783
12794
|
workingDir
|
|
12784
12795
|
});
|
|
12785
12796
|
const relativePath = relative3(workingDir, storyFilePath);
|
|
12786
|
-
const importPath =
|
|
12797
|
+
const importPath = posix3(normalizeStoryPath2(relativePath));
|
|
12787
12798
|
return normalizedStories.map((normalizeStory) => userOrAutoTitleFromSpecifier(importPath, normalizeStory, userTitle)).filter(Boolean)[0];
|
|
12788
12799
|
}
|
|
12789
12800
|
__name(getStoryTitle, "getStoryTitle");
|
|
@@ -12801,7 +12812,7 @@ var getAddonNames = /* @__PURE__ */ __name((mainConfig) => {
|
|
|
12801
12812
|
if (name.startsWith(".")) {
|
|
12802
12813
|
return void 0;
|
|
12803
12814
|
}
|
|
12804
|
-
name =
|
|
12815
|
+
name = normalizePath2(name);
|
|
12805
12816
|
name = name.replace(/.*node_modules\//, "");
|
|
12806
12817
|
return name.replace(/\/dist\/.*$/, "").replace(/\.[mc]?[tj]?sx?$/, "").replace(/\/register$/, "").replace(/\/manager$/, "").replace(/\/preset$/, "");
|
|
12807
12818
|
});
|
|
@@ -14213,7 +14224,7 @@ var JsPackageManagerFactory = class {
|
|
|
14213
14224
|
}
|
|
14214
14225
|
};
|
|
14215
14226
|
function hasNPM(cwd2) {
|
|
14216
|
-
const npmVersionCommand = (0, import_cross_spawn.sync)("npm
|
|
14227
|
+
const npmVersionCommand = (0, import_cross_spawn.sync)("npm --version", {
|
|
14217
14228
|
cwd: cwd2,
|
|
14218
14229
|
shell: true,
|
|
14219
14230
|
env: {
|
|
@@ -14225,7 +14236,7 @@ function hasNPM(cwd2) {
|
|
|
14225
14236
|
}
|
|
14226
14237
|
__name(hasNPM, "hasNPM");
|
|
14227
14238
|
function hasBun(cwd2) {
|
|
14228
|
-
const pnpmVersionCommand = (0, import_cross_spawn.sync)("bun
|
|
14239
|
+
const pnpmVersionCommand = (0, import_cross_spawn.sync)("bun --version", {
|
|
14229
14240
|
cwd: cwd2,
|
|
14230
14241
|
shell: true,
|
|
14231
14242
|
env: {
|
|
@@ -14237,7 +14248,7 @@ function hasBun(cwd2) {
|
|
|
14237
14248
|
}
|
|
14238
14249
|
__name(hasBun, "hasBun");
|
|
14239
14250
|
function hasPNPM(cwd2) {
|
|
14240
|
-
const pnpmVersionCommand = (0, import_cross_spawn.sync)("pnpm
|
|
14251
|
+
const pnpmVersionCommand = (0, import_cross_spawn.sync)("pnpm --version", {
|
|
14241
14252
|
cwd: cwd2,
|
|
14242
14253
|
shell: true,
|
|
14243
14254
|
env: {
|
|
@@ -14249,7 +14260,7 @@ function hasPNPM(cwd2) {
|
|
|
14249
14260
|
}
|
|
14250
14261
|
__name(hasPNPM, "hasPNPM");
|
|
14251
14262
|
function getYarnVersion(cwd2) {
|
|
14252
|
-
const yarnVersionCommand = (0, import_cross_spawn.sync)("yarn
|
|
14263
|
+
const yarnVersionCommand = (0, import_cross_spawn.sync)("yarn --version", {
|
|
14253
14264
|
cwd: cwd2,
|
|
14254
14265
|
shell: true,
|
|
14255
14266
|
env: {
|
|
@@ -14282,7 +14293,7 @@ async function scanAndTransformFiles({
|
|
|
14282
14293
|
initial: defaultGlob
|
|
14283
14294
|
});
|
|
14284
14295
|
console.log("Scanning for affected files...");
|
|
14285
|
-
const globby = (await import("./globby-
|
|
14296
|
+
const globby = (await import("./globby-YYTLHNUO.js")).globby;
|
|
14286
14297
|
const sourceFiles = await globby([glob2], {
|
|
14287
14298
|
...commonGlobOptions(""),
|
|
14288
14299
|
ignore: ["**/node_modules/**"],
|
|
@@ -14312,7 +14323,7 @@ function transformImports(source, renamedImports) {
|
|
|
14312
14323
|
__name(transformImports, "transformImports");
|
|
14313
14324
|
var transformImportFiles = /* @__PURE__ */ __name(async (files, renamedImports, dryRun) => {
|
|
14314
14325
|
const errors = [];
|
|
14315
|
-
const { default: pLimit } = await import("./p-limit-
|
|
14326
|
+
const { default: pLimit } = await import("./p-limit-HTXI4SGX.js");
|
|
14316
14327
|
const limit = pLimit(10);
|
|
14317
14328
|
await Promise.all(
|
|
14318
14329
|
files.map(
|
|
@@ -14398,7 +14409,7 @@ export {
|
|
|
14398
14409
|
validateFrameworkName,
|
|
14399
14410
|
satisfies2 as satisfies,
|
|
14400
14411
|
formatFileContent,
|
|
14401
|
-
|
|
14412
|
+
posix3 as posix,
|
|
14402
14413
|
getStoryId,
|
|
14403
14414
|
getStoryTitle,
|
|
14404
14415
|
getAddonNames,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
join,
|
|
17
17
|
normalize,
|
|
18
18
|
resolve
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EVY6P65U.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XRAB2RZN.js";
|
|
23
23
|
|
|
24
24
|
// src/core-server/mocking-utils/resolve.ts
|
|
25
25
|
import { readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XRAB2RZN.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
17
17
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XRAB2RZN.js";
|
|
15
15
|
|
|
16
16
|
// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
17
17
|
var isProduction = process.env.NODE_ENV === "production";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6q9nmfaplv7 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6q9nmfaplv7 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6q9nmfaplv7 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6q9nmfaplv7.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6q9nmfaplv7.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6q9nmfaplv7.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
|
__name,
|
|
15
15
|
__require
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XRAB2RZN.js";
|
|
17
17
|
|
|
18
18
|
// ../node_modules/kleur/index.js
|
|
19
19
|
var require_kleur = __commonJS({
|