@storybook/addon-vitest 0.0.0-pr-32051-sha-e639acf8 → 0.0.0-pr-31819-sha-5cf3c40a

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.
Files changed (41) hide show
  1. package/dist/_browser-chunks/chunk-A47P2DCZ.js +11 -0
  2. package/dist/_browser-chunks/chunk-VMSW5DPM.js +60 -0
  3. package/dist/_node-chunks/chunk-C4NXJJA3.js +324 -0
  4. package/dist/_node-chunks/chunk-CIKGVIS6.js +223 -0
  5. package/dist/_node-chunks/chunk-JSCRRX7J.js +81 -0
  6. package/dist/_node-chunks/chunk-KVKHJ5OL.js +46 -0
  7. package/dist/_node-chunks/chunk-L5EWH7GC.js +5002 -0
  8. package/dist/_node-chunks/chunk-N3OFRDD3.js +80 -0
  9. package/dist/_node-chunks/chunk-RCVH25XB.js +1598 -0
  10. package/dist/_node-chunks/chunk-W26ZMSD3.js +143 -0
  11. package/dist/index.js +9 -6
  12. package/dist/manager.js +5571 -8
  13. package/dist/node/coverage-reporter.js +1395 -4
  14. package/dist/node/vitest.js +563 -17
  15. package/dist/postinstall.js +1170 -93
  16. package/dist/preset.js +268 -32
  17. package/dist/vitest-plugin/global-setup.js +146 -6
  18. package/dist/vitest-plugin/index.js +2589 -43
  19. package/dist/vitest-plugin/setup-file.js +28 -9
  20. package/dist/vitest-plugin/test-utils.js +68 -8
  21. package/manager.js +1 -1
  22. package/package.json +16 -89
  23. package/preset.js +1 -1
  24. package/dist/chunk-55WZLVGN.mjs +0 -11
  25. package/dist/chunk-JKRQGT2U.mjs +0 -10
  26. package/dist/index.mjs +0 -5
  27. package/dist/node/coverage-reporter.d.ts +0 -184
  28. package/dist/node/coverage-reporter.mjs +0 -12
  29. package/dist/node/vitest.d.ts +0 -2
  30. package/dist/node/vitest.mjs +0 -19
  31. package/dist/vitest-plugin/global-setup.d.ts +0 -6
  32. package/dist/vitest-plugin/global-setup.mjs +0 -13
  33. package/dist/vitest-plugin/index.mjs +0 -28
  34. package/dist/vitest-plugin/setup-file.d.ts +0 -14
  35. package/dist/vitest-plugin/setup-file.mjs +0 -9
  36. package/dist/vitest-plugin/test-utils.d.ts +0 -20
  37. package/dist/vitest-plugin/test-utils.mjs +0 -8
  38. package/manager.mjs +0 -1
  39. package/postinstall.js +0 -1
  40. package/postinstall.mjs +0 -1
  41. package/preset.mjs +0 -1
@@ -0,0 +1,80 @@
1
+ import CJS_COMPAT_NODE_URL from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE from "node:module";
4
+
5
+ const __filename = CJS_COMPAT_NODE_URL.fileURLToPath(import.meta.url);
6
+ const __dirname = CJS_COMPAT_NODE_PATH.dirname(__filename);
7
+ const require = CJS_COMPAT_NODE_MODULE.createRequire(import.meta.url);
8
+ // ------------------------------------------------------------
9
+ // end of CJS compatibility banner, injected by Storybook's esbuild configuration
10
+ // ------------------------------------------------------------
11
+ import {
12
+ a as t,
13
+ c as o
14
+ } from "./chunk-KVKHJ5OL.js";
15
+
16
+ // ../../node_modules/picocolors/picocolors.js
17
+ var d = o((c, h) => {
18
+ var l = process || {}, n = l.argv || [], g = l.env || {}, B = !(g.NO_COLOR || n.includes("--no-color")) && (!!g.FORCE_COLOR || n.includes("--color") || l.platform === "win32" || (l.stdout || {}).isTTY && g.TERM !== "dumb" || !!g.CI), u = /* @__PURE__ */ t((m, b, i = m) => (e) => {
19
+ let r = "" + e, x = r.indexOf(b, m.length);
20
+ return ~x ? m + s(r, b, i, x) + b : m + r + b;
21
+ }, "formatter"), s = /* @__PURE__ */ t((m, b, i, e) => {
22
+ let r = "", x = 0;
23
+ do
24
+ r += m.substring(x, e) + i, x = e + b.length, e = m.indexOf(b, x);
25
+ while (~e);
26
+ return r + m.substring(x);
27
+ }, "replaceClose"), a = /* @__PURE__ */ t((m = B) => {
28
+ let b = m ? u : () => String;
29
+ return {
30
+ isColorSupported: m,
31
+ reset: b("\x1B[0m", "\x1B[0m"),
32
+ bold: b("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
33
+ dim: b("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
34
+ italic: b("\x1B[3m", "\x1B[23m"),
35
+ underline: b("\x1B[4m", "\x1B[24m"),
36
+ inverse: b("\x1B[7m", "\x1B[27m"),
37
+ hidden: b("\x1B[8m", "\x1B[28m"),
38
+ strikethrough: b("\x1B[9m", "\x1B[29m"),
39
+ black: b("\x1B[30m", "\x1B[39m"),
40
+ red: b("\x1B[31m", "\x1B[39m"),
41
+ green: b("\x1B[32m", "\x1B[39m"),
42
+ yellow: b("\x1B[33m", "\x1B[39m"),
43
+ blue: b("\x1B[34m", "\x1B[39m"),
44
+ magenta: b("\x1B[35m", "\x1B[39m"),
45
+ cyan: b("\x1B[36m", "\x1B[39m"),
46
+ white: b("\x1B[37m", "\x1B[39m"),
47
+ gray: b("\x1B[90m", "\x1B[39m"),
48
+ bgBlack: b("\x1B[40m", "\x1B[49m"),
49
+ bgRed: b("\x1B[41m", "\x1B[49m"),
50
+ bgGreen: b("\x1B[42m", "\x1B[49m"),
51
+ bgYellow: b("\x1B[43m", "\x1B[49m"),
52
+ bgBlue: b("\x1B[44m", "\x1B[49m"),
53
+ bgMagenta: b("\x1B[45m", "\x1B[49m"),
54
+ bgCyan: b("\x1B[46m", "\x1B[49m"),
55
+ bgWhite: b("\x1B[47m", "\x1B[49m"),
56
+ blackBright: b("\x1B[90m", "\x1B[39m"),
57
+ redBright: b("\x1B[91m", "\x1B[39m"),
58
+ greenBright: b("\x1B[92m", "\x1B[39m"),
59
+ yellowBright: b("\x1B[93m", "\x1B[39m"),
60
+ blueBright: b("\x1B[94m", "\x1B[39m"),
61
+ magentaBright: b("\x1B[95m", "\x1B[39m"),
62
+ cyanBright: b("\x1B[96m", "\x1B[39m"),
63
+ whiteBright: b("\x1B[97m", "\x1B[39m"),
64
+ bgBlackBright: b("\x1B[100m", "\x1B[49m"),
65
+ bgRedBright: b("\x1B[101m", "\x1B[49m"),
66
+ bgGreenBright: b("\x1B[102m", "\x1B[49m"),
67
+ bgYellowBright: b("\x1B[103m", "\x1B[49m"),
68
+ bgBlueBright: b("\x1B[104m", "\x1B[49m"),
69
+ bgMagentaBright: b("\x1B[105m", "\x1B[49m"),
70
+ bgCyanBright: b("\x1B[106m", "\x1B[49m"),
71
+ bgWhiteBright: b("\x1B[107m", "\x1B[49m")
72
+ };
73
+ }, "createColors");
74
+ h.exports = a();
75
+ h.exports.createColors = a;
76
+ });
77
+
78
+ export {
79
+ d as a
80
+ };