@storybook/addon-vitest 0.0.0-pr-32717-sha-8803ec2c → 0.0.0-pr-32859-sha-0ff3fd82
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/chunk-5QWKJDTA.js +2574 -0
- package/dist/_node-chunks/{chunk-J3TMKAGQ.js → chunk-6M6GHGXN.js} +18 -6
- package/dist/_node-chunks/{chunk-RC52X23D.js → chunk-BNGDH3FQ.js} +7 -7
- package/dist/_node-chunks/{chunk-WODMNDRC.js → chunk-GIBMIESY.js} +6 -6
- package/dist/_node-chunks/chunk-KMLD65EU.js +98 -0
- package/dist/_node-chunks/{chunk-HTINZ3Y3.js → chunk-OAIA5C7K.js} +7 -7
- package/dist/_node-chunks/chunk-QNH3623B.js +37 -0
- package/dist/_node-chunks/{chunk-UGJMNNQB.js → chunk-YKP4ELDV.js} +7 -7
- package/dist/manager.js +1 -1
- package/dist/node/coverage-reporter.js +8 -8
- package/dist/node/vitest.js +14 -25
- package/dist/postinstall.js +449 -199
- package/dist/preset.js +15 -2239
- package/dist/vitest-plugin/global-setup.js +7 -7
- package/dist/vitest-plugin/index.js +9 -9
- package/dist/vitest-plugin/setup-file.js +1 -1
- package/package.json +4 -2
- package/dist/_node-chunks/chunk-NXAZJQMW.js +0 -40
- package/dist/_node-chunks/chunk-X5TW6UQ6.js +0 -348
- package/dist/_node-chunks/chunk-ZUDGK5GP.js +0 -60
- /package/dist/_browser-chunks/{chunk-RPDOPHZX.js → chunk-CAYLRBRX.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -36,6 +36,17 @@ var STORYBOOK_ADDON_TEST_CHANNEL = "STORYBOOK_ADDON_TEST_CHANNEL";
|
|
|
36
36
|
var DOCUMENTATION_LINK3 = "writing-tests/integrations/vitest-addon";
|
|
37
37
|
var DOCUMENTATION_FATAL_ERROR_LINK = `${DOCUMENTATION_LINK3}#what-happens-if-vitest-itself-has-an-error`;
|
|
38
38
|
var COVERAGE_DIRECTORY = "coverage";
|
|
39
|
+
var SUPPORTED_FRAMEWORKS = [
|
|
40
|
+
"@storybook/nextjs",
|
|
41
|
+
"@storybook/nextjs-vite",
|
|
42
|
+
"@storybook/react-vite",
|
|
43
|
+
"@storybook/svelte-vite",
|
|
44
|
+
"@storybook/vue3-vite",
|
|
45
|
+
"@storybook/html-vite",
|
|
46
|
+
"@storybook/web-components-vite",
|
|
47
|
+
"@storybook/sveltekit",
|
|
48
|
+
"@storybook/react-native-web-vite"
|
|
49
|
+
];
|
|
39
50
|
var storeOptions = {
|
|
40
51
|
id: ADDON_ID3,
|
|
41
52
|
initialState: {
|
|
@@ -83,6 +94,7 @@ export {
|
|
|
83
94
|
STORYBOOK_ADDON_TEST_CHANNEL,
|
|
84
95
|
DOCUMENTATION_LINK3 as DOCUMENTATION_LINK,
|
|
85
96
|
COVERAGE_DIRECTORY,
|
|
97
|
+
SUPPORTED_FRAMEWORKS,
|
|
86
98
|
storeOptions,
|
|
87
99
|
STORE_CHANNEL_EVENT_NAME,
|
|
88
100
|
STATUS_STORE_CHANNEL_EVENT_NAME,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_d1dfhbqh9bc.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GIBMIESY.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/semver/internal/constants.js
|
|
18
18
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
__name
|
|
14
|
+
} from "./chunk-GIBMIESY.js";
|
|
15
|
+
|
|
16
|
+
// src/utils.ts
|
|
17
|
+
function getAddonNames(mainConfig) {
|
|
18
|
+
const addons = mainConfig.addons || [];
|
|
19
|
+
const addonList = addons.map((addon) => {
|
|
20
|
+
let name = "";
|
|
21
|
+
if (typeof addon === "string") {
|
|
22
|
+
name = addon;
|
|
23
|
+
} else if (typeof addon === "object") {
|
|
24
|
+
name = addon.name;
|
|
25
|
+
}
|
|
26
|
+
return name;
|
|
27
|
+
});
|
|
28
|
+
return addonList.filter((item) => item != null);
|
|
29
|
+
}
|
|
30
|
+
__name(getAddonNames, "getAddonNames");
|
|
31
|
+
function errorToErrorLike(error) {
|
|
32
|
+
return {
|
|
33
|
+
message: error.message,
|
|
34
|
+
name: error.name,
|
|
35
|
+
// avoid duplicating the error message in the stack trace
|
|
36
|
+
stack: error.stack?.replace(error.message, ""),
|
|
37
|
+
cause: error.cause && error.cause instanceof Error ? errorToErrorLike(error.cause) : void 0
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
__name(errorToErrorLike, "errorToErrorLike");
|
|
41
|
+
|
|
42
|
+
// ../../node_modules/empathic/find.mjs
|
|
43
|
+
import { join as join2 } from "node:path";
|
|
44
|
+
import { existsSync, statSync } from "node:fs";
|
|
45
|
+
|
|
46
|
+
// ../../node_modules/empathic/walk.mjs
|
|
47
|
+
import { dirname } from "node:path";
|
|
48
|
+
|
|
49
|
+
// ../../node_modules/empathic/resolve.mjs
|
|
50
|
+
import { isAbsolute, join, resolve } from "node:path";
|
|
51
|
+
function absolute(input, root) {
|
|
52
|
+
return isAbsolute(input) ? input : resolve(root || ".", input);
|
|
53
|
+
}
|
|
54
|
+
__name(absolute, "absolute");
|
|
55
|
+
|
|
56
|
+
// ../../node_modules/empathic/walk.mjs
|
|
57
|
+
function up(base, options) {
|
|
58
|
+
let { last, cwd } = options || {};
|
|
59
|
+
let tmp = absolute(base, cwd);
|
|
60
|
+
let root = absolute(last || "/", cwd);
|
|
61
|
+
let prev, arr = [];
|
|
62
|
+
while (prev !== root) {
|
|
63
|
+
arr.push(tmp);
|
|
64
|
+
tmp = dirname(prev = tmp);
|
|
65
|
+
if (tmp === prev) break;
|
|
66
|
+
}
|
|
67
|
+
return arr;
|
|
68
|
+
}
|
|
69
|
+
__name(up, "up");
|
|
70
|
+
|
|
71
|
+
// ../../node_modules/empathic/find.mjs
|
|
72
|
+
function up2(name, options) {
|
|
73
|
+
let dir, tmp;
|
|
74
|
+
let start = options && options.cwd || "";
|
|
75
|
+
for (dir of up(start, options)) {
|
|
76
|
+
tmp = join2(dir, name);
|
|
77
|
+
if (existsSync(tmp)) return tmp;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
__name(up2, "up");
|
|
81
|
+
function any(names, options) {
|
|
82
|
+
let dir, start = options && options.cwd || "";
|
|
83
|
+
let j = 0, len = names.length, tmp;
|
|
84
|
+
for (dir of up(start, options)) {
|
|
85
|
+
for (j = 0; j < len; j++) {
|
|
86
|
+
tmp = join2(dir, names[j]);
|
|
87
|
+
if (existsSync(tmp)) return tmp;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
__name(any, "any");
|
|
92
|
+
|
|
93
|
+
export {
|
|
94
|
+
getAddonNames,
|
|
95
|
+
errorToErrorLike,
|
|
96
|
+
up2 as up,
|
|
97
|
+
any
|
|
98
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.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-GIBMIESY.js";
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
17
17
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
ADDON_ID
|
|
14
|
+
} from "./chunk-6M6GHGXN.js";
|
|
15
|
+
import {
|
|
16
|
+
require_picocolors
|
|
17
|
+
} from "./chunk-YKP4ELDV.js";
|
|
18
|
+
import {
|
|
19
|
+
__name,
|
|
20
|
+
__toESM
|
|
21
|
+
} from "./chunk-GIBMIESY.js";
|
|
22
|
+
|
|
23
|
+
// src/logger.ts
|
|
24
|
+
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
25
|
+
var log = /* @__PURE__ */ __name((message) => {
|
|
26
|
+
console.log(`${import_picocolors.default.magenta(ADDON_ID)}: ${message.toString().trim()}`);
|
|
27
|
+
}, "log");
|
|
28
|
+
|
|
29
|
+
// ../../node_modules/es-toolkit/dist/function/noop.mjs
|
|
30
|
+
function noop() {
|
|
31
|
+
}
|
|
32
|
+
__name(noop, "noop");
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
noop,
|
|
36
|
+
log
|
|
37
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_d1dfhbqh9bc.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__name
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GIBMIESY.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/picocolors/picocolors.js
|
|
18
18
|
var require_picocolors = __commonJS({
|
package/dist/manager.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.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_gte
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-BNGDH3FQ.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__name,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-GIBMIESY.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/istanbul-lib-report/node_modules/make-dir/index.js
|
|
23
23
|
var require_make_dir = __commonJS({
|
package/dist/node/vitest.js
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_svf4gveizge from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_svf4gveizge from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_svf4gveizge from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_svf4gveizge.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_svf4gveizge.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_svf4gveizge.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
|
log
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-QNH3623B.js";
|
|
15
15
|
import {
|
|
16
|
-
any
|
|
17
|
-
|
|
16
|
+
any,
|
|
17
|
+
errorToErrorLike
|
|
18
|
+
} from "../_node-chunks/chunk-KMLD65EU.js";
|
|
18
19
|
import {
|
|
19
20
|
ADDON_ID,
|
|
20
21
|
COVERAGE_DIRECTORY,
|
|
21
22
|
STATUS_TYPE_ID_A11Y,
|
|
22
23
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
23
24
|
storeOptions
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-6M6GHGXN.js";
|
|
26
|
+
import "../_node-chunks/chunk-YKP4ELDV.js";
|
|
26
27
|
import {
|
|
27
28
|
dirname,
|
|
28
29
|
join,
|
|
29
30
|
normalize,
|
|
30
31
|
path
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
32
|
+
} from "../_node-chunks/chunk-OAIA5C7K.js";
|
|
32
33
|
import {
|
|
33
34
|
__name
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
+
} from "../_node-chunks/chunk-GIBMIESY.js";
|
|
35
36
|
|
|
36
37
|
// src/node/vitest.ts
|
|
37
38
|
import process2 from "node:process";
|
|
@@ -173,18 +174,6 @@ function throttle(func, throttleMs, { signal, edges = ["leading", "trailing"] }
|
|
|
173
174
|
}
|
|
174
175
|
__name(throttle, "throttle");
|
|
175
176
|
|
|
176
|
-
// src/utils.ts
|
|
177
|
-
function errorToErrorLike(error) {
|
|
178
|
-
return {
|
|
179
|
-
message: error.message,
|
|
180
|
-
name: error.name,
|
|
181
|
-
// avoid duplicating the error message in the stack trace
|
|
182
|
-
stack: error.stack?.replace(error.message, ""),
|
|
183
|
-
cause: error.cause && error.cause instanceof Error ? errorToErrorLike(error.cause) : void 0
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
__name(errorToErrorLike, "errorToErrorLike");
|
|
187
|
-
|
|
188
177
|
// src/node/vitest-manager.ts
|
|
189
178
|
import { existsSync } from "node:fs";
|
|
190
179
|
import { getProjectRoot, resolvePathInStorybookCache } from "storybook/internal/common";
|