@storybook/addon-vitest 0.0.0-pr-32717-sha-b8c5e103 → 0.0.0-pr-32795-sha-703de3e4
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/_browser-chunks/chunk-ULSHVN74.js +60 -0
- package/dist/_node-chunks/chunk-747XN6EI.js +45 -0
- package/dist/_node-chunks/chunk-BPXP7UVL.js +138 -0
- package/dist/_node-chunks/chunk-JDE4BF35.js +339 -0
- package/dist/_node-chunks/chunk-NRRINM7F.js +69 -0
- package/dist/_node-chunks/chunk-QOSD4UIX.js +83 -0
- package/dist/_node-chunks/{chunk-7I3XZAZ7.js → chunk-RD2QHO66.js} +15 -24
- package/dist/_node-chunks/chunk-VTQ3WO5J.js +1697 -0
- package/dist/_node-chunks/chunk-X57QJ6N5.js +35 -0
- package/dist/index.js +1 -5
- package/dist/manager.js +163 -354
- package/dist/node/coverage-reporter.js +319 -864
- package/dist/node/vitest.js +190 -466
- package/dist/postinstall.js +633 -1276
- package/dist/preset.js +160 -354
- package/dist/vitest-plugin/global-setup.js +51 -105
- package/dist/vitest-plugin/index.js +1161 -2381
- package/dist/vitest-plugin/setup-file.js +6 -12
- package/dist/vitest-plugin/test-utils.js +31 -71
- package/package.json +7 -3
- package/dist/_browser-chunks/chunk-JK72E6FR.js +0 -6
- package/dist/_browser-chunks/chunk-RPDOPHZX.js +0 -77
- package/dist/_node-chunks/chunk-AKC4U5HL.js +0 -40
- package/dist/_node-chunks/chunk-KSSAW7TR.js +0 -247
- package/dist/_node-chunks/chunk-NGGAGIMA.js +0 -69
- package/dist/_node-chunks/chunk-UJUXFQ2W.js +0 -260
- package/dist/_node-chunks/chunk-WR6HRATV.js +0 -60
- package/dist/_node-chunks/chunk-X4AEIMZO.js +0 -92
- package/dist/_node-chunks/chunk-Y2XQIAV5.js +0 -502
- package/dist/_node-chunks/chunk-ZMWJWQPS.js +0 -50
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_0zbx5fstavco from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_0zbx5fstavco from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_0zbx5fstavco from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_0zbx5fstavco.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_0zbx5fstavco.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_0zbx5fstavco.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-QOSD4UIX.js";
|
|
15
|
+
import {
|
|
16
|
+
require_picocolors
|
|
17
|
+
} from "./chunk-RD2QHO66.js";
|
|
18
|
+
import {
|
|
19
|
+
__toESM
|
|
20
|
+
} from "./chunk-747XN6EI.js";
|
|
21
|
+
|
|
22
|
+
// src/logger.ts
|
|
23
|
+
var import_picocolors = __toESM(require_picocolors(), 1);
|
|
24
|
+
var log = (message) => {
|
|
25
|
+
console.log(`${import_picocolors.default.magenta(ADDON_ID)}: ${message.toString().trim()}`);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// ../../node_modules/es-toolkit/dist/function/noop.mjs
|
|
29
|
+
function noop() {
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export {
|
|
33
|
+
noop,
|
|
34
|
+
log
|
|
35
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__name
|
|
3
|
-
} from "./_browser-chunks/chunk-JK72E6FR.js";
|
|
4
|
-
|
|
5
1
|
// src/index.ts
|
|
6
2
|
import { definePreviewAddon } from "storybook/internal/csf";
|
|
7
|
-
var index_default =
|
|
3
|
+
var index_default = () => definePreviewAddon({});
|
|
8
4
|
export {
|
|
9
5
|
index_default as default
|
|
10
6
|
};
|