storybook 9.0.0-alpha.8 → 9.0.0-alpha.9
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/bin/index.cjs +63 -63
- package/dist/bin/index.js +63 -63
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/common/index.cjs +179 -165
- package/dist/common/index.d.ts +2 -1
- package/dist/common/index.js +179 -165
- package/dist/core-server/index.cjs +1412 -1390
- package/dist/core-server/index.js +1833 -1812
- package/dist/instrumenter/index.cjs +7 -4
- package/dist/instrumenter/index.js +7 -4
- package/dist/manager/globals-runtime.js +8 -5
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/preview/runtime.js +7 -4
- package/dist/telemetry/index.cjs +33 -33
- package/dist/telemetry/index.js +33 -33
- package/dist/types/index.d.ts +0 -4
- package/package.json +1 -1
|
@@ -3296,10 +3296,13 @@ prototype.toString.call(t) === "[object Module]", "isModule"), ri = /* @__PURE__
|
|
|
3296
3296
|
(a, l) => {
|
|
3297
3297
|
let m = si(e, l);
|
|
3298
3298
|
if (typeof m?.get == "function") {
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3299
|
+
if (m.configurable) {
|
|
3300
|
+
let f = /* @__PURE__ */ c(() => m?.get?.bind(e)?.(), "getter");
|
|
3301
|
+
Object.defineProperty(a, l, {
|
|
3302
|
+
get: /* @__PURE__ */ c(() => this.instrument(f(), { ...n, path: s.concat(l) }, r), "get")
|
|
3303
|
+
});
|
|
3304
|
+
}
|
|
3305
|
+
return a;
|
|
3303
3306
|
}
|
|
3304
3307
|
let p = e[l];
|
|
3305
3308
|
return typeof p != "function" ? (a[l] = this.instrument(p, { ...n, path: s.concat(l) }, r), a) : "__originalFn__" in p && typeof p.__originalFn__ ==
|
|
@@ -4770,10 +4770,13 @@ prototype.toString.call(e) === "[object Module]", "isModule"), Mp = /* @__PURE__
|
|
|
4770
4770
|
(u, a) => {
|
|
4771
4771
|
let f = Fp(t, a);
|
|
4772
4772
|
if (typeof f?.get == "function") {
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4773
|
+
if (f.configurable) {
|
|
4774
|
+
let l = /* @__PURE__ */ i(() => f?.get?.bind(t)?.(), "getter");
|
|
4775
|
+
Object.defineProperty(u, a, {
|
|
4776
|
+
get: /* @__PURE__ */ i(() => this.instrument(l(), { ...r, path: s.concat(a) }, n), "get")
|
|
4777
|
+
});
|
|
4778
|
+
}
|
|
4779
|
+
return u;
|
|
4777
4780
|
}
|
|
4778
4781
|
let y = t[a];
|
|
4779
4782
|
return typeof y != "function" ? (u[a] = this.instrument(y, { ...r, path: s.concat(a) }, n), u) : "__originalFn__" in y && typeof y.__originalFn__ ==
|
|
@@ -58994,7 +58994,7 @@ St();
|
|
|
58994
58994
|
var goe = B(Pa(), 1), xo = B(poe(), 1);
|
|
58995
58995
|
|
|
58996
58996
|
// src/manager-api/version.ts
|
|
58997
|
-
var moe = "9.0.0-alpha.
|
|
58997
|
+
var moe = "9.0.0-alpha.9";
|
|
58998
58998
|
|
|
58999
58999
|
// src/manager-api/modules/versions.ts
|
|
59000
59000
|
var { VERSIONCHECK: AWe } = Z, hoe = (0, goe.default)(1)(() => {
|
|
@@ -69509,10 +69509,13 @@ prototype.toString.call(e) === "[object Module]", "isModule"), Idt = /* @__PURE_
|
|
|
69509
69509
|
(l, u) => {
|
|
69510
69510
|
let c = Mdt(t, u);
|
|
69511
69511
|
if (typeof c?.get == "function") {
|
|
69512
|
-
|
|
69513
|
-
|
|
69514
|
-
|
|
69515
|
-
|
|
69512
|
+
if (c.configurable) {
|
|
69513
|
+
let p = /* @__PURE__ */ a(() => c?.get?.bind(t)?.(), "getter");
|
|
69514
|
+
Object.defineProperty(l, u, {
|
|
69515
|
+
get: /* @__PURE__ */ a(() => this.instrument(p(), { ...r, path: i.concat(u) }, n), "get")
|
|
69516
|
+
});
|
|
69517
|
+
}
|
|
69518
|
+
return l;
|
|
69516
69519
|
}
|
|
69517
69520
|
let d = t[u];
|
|
69518
69521
|
return typeof d != "function" ? (l[u] = this.instrument(d, { ...r, path: i.concat(u) }, n), l) : "__originalFn__" in d && typeof d.__originalFn__ ==
|
|
@@ -10527,7 +10527,7 @@ L(Xt, {
|
|
|
10527
10527
|
var tt = require("@storybook/global"), _o = H($e(), 1), G = H(require("semver"), 1);
|
|
10528
10528
|
|
|
10529
10529
|
// src/manager-api/version.ts
|
|
10530
|
-
var xo = "9.0.0-alpha.
|
|
10530
|
+
var xo = "9.0.0-alpha.9";
|
|
10531
10531
|
|
|
10532
10532
|
// src/manager-api/modules/versions.ts
|
|
10533
10533
|
var { VERSIONCHECK: U0 } = tt.global, Ro = (0, _o.default)(1)(() => {
|
|
@@ -3241,7 +3241,7 @@ import { global as Jt } from "@storybook/global";
|
|
|
3241
3241
|
import F from "semver";
|
|
3242
3242
|
|
|
3243
3243
|
// src/manager-api/version.ts
|
|
3244
|
-
var y0 = "9.0.0-alpha.
|
|
3244
|
+
var y0 = "9.0.0-alpha.9";
|
|
3245
3245
|
|
|
3246
3246
|
// src/manager-api/modules/versions.ts
|
|
3247
3247
|
var { VERSIONCHECK: kn } = Jt, w0 = (0, R0.default)(1)(() => {
|
package/dist/preview/runtime.js
CHANGED
|
@@ -33004,10 +33004,13 @@ prototype.toString.call(e) === "[object Module]", "isModule"), Ile = /* @__PURE_
|
|
|
33004
33004
|
(l, u) => {
|
|
33005
33005
|
let c = Nle(t, u);
|
|
33006
33006
|
if (typeof c?.get == "function") {
|
|
33007
|
-
|
|
33008
|
-
|
|
33009
|
-
|
|
33010
|
-
|
|
33007
|
+
if (c.configurable) {
|
|
33008
|
+
let p = /* @__PURE__ */ o(() => c?.get?.bind(t)?.(), "getter");
|
|
33009
|
+
Object.defineProperty(l, u, {
|
|
33010
|
+
get: /* @__PURE__ */ o(() => this.instrument(p(), { ...r, path: a.concat(u) }, n), "get")
|
|
33011
|
+
});
|
|
33012
|
+
}
|
|
33013
|
+
return l;
|
|
33011
33014
|
}
|
|
33012
33015
|
let d = t[u];
|
|
33013
33016
|
return typeof d != "function" ? (l[u] = this.instrument(d, { ...r, path: a.concat(u) }, n), l) : "__originalFn__" in d && typeof d.__originalFn__ ==
|
package/dist/telemetry/index.cjs
CHANGED
|
@@ -833,7 +833,7 @@ var ho = require("node:path");
|
|
|
833
833
|
// src/telemetry/exec-command-count-lines.ts
|
|
834
834
|
var Kn = require("node:readline");
|
|
835
835
|
|
|
836
|
-
//
|
|
836
|
+
// node_modules/execa/index.js
|
|
837
837
|
var Wn = require("node:buffer"), Hn = d(require("node:path"), 1), Se = d(require("node:child_process"), 1), J = d(require("node:process"), 1),
|
|
838
838
|
Jn = d(Wr(), 1);
|
|
839
839
|
|
|
@@ -845,10 +845,10 @@ function Ze(e) {
|
|
|
845
845
|
}
|
|
846
846
|
o(Ze, "stripFinalNewline");
|
|
847
847
|
|
|
848
|
-
//
|
|
848
|
+
// node_modules/npm-run-path/index.js
|
|
849
849
|
var $ = d(require("node:process"), 1), M = d(require("node:path"), 1), Hr = d(require("node:url"), 1);
|
|
850
850
|
|
|
851
|
-
//
|
|
851
|
+
// node_modules/path-key/index.js
|
|
852
852
|
function ce(e = {}) {
|
|
853
853
|
let {
|
|
854
854
|
env: t = process.env,
|
|
@@ -858,7 +858,7 @@ function ce(e = {}) {
|
|
|
858
858
|
}
|
|
859
859
|
o(ce, "pathKey");
|
|
860
860
|
|
|
861
|
-
//
|
|
861
|
+
// node_modules/npm-run-path/index.js
|
|
862
862
|
function Li(e = {}) {
|
|
863
863
|
let {
|
|
864
864
|
cwd: t = $.default.cwd(),
|
|
@@ -877,7 +877,7 @@ function Jr({ env: e = $.default.env, ...t } = {}) {
|
|
|
877
877
|
}
|
|
878
878
|
o(Jr, "npmRunPathEnv");
|
|
879
879
|
|
|
880
|
-
//
|
|
880
|
+
// node_modules/mimic-fn/index.js
|
|
881
881
|
var Fi = /* @__PURE__ */ o((e, t, r, n) => {
|
|
882
882
|
if (r === "length" || r === "prototype" || r === "arguments" || r === "caller")
|
|
883
883
|
return;
|
|
@@ -903,7 +903,7 @@ function et(e, t, { ignoreNonConfigurable: r = !1 } = {}) {
|
|
|
903
903
|
}
|
|
904
904
|
o(et, "mimicFunction");
|
|
905
905
|
|
|
906
|
-
//
|
|
906
|
+
// node_modules/onetime/index.js
|
|
907
907
|
var ue = /* @__PURE__ */ new WeakMap(), Vr = /* @__PURE__ */ o((e, t = {}) => {
|
|
908
908
|
if (typeof e != "function")
|
|
909
909
|
throw new TypeError("Expected a function");
|
|
@@ -923,13 +923,13 @@ Vr.callCount = (e) => {
|
|
|
923
923
|
};
|
|
924
924
|
var qr = Vr;
|
|
925
925
|
|
|
926
|
-
//
|
|
926
|
+
// node_modules/execa/lib/error.js
|
|
927
927
|
var en = d(require("node:process"), 1);
|
|
928
928
|
|
|
929
|
-
//
|
|
929
|
+
// node_modules/human-signals/build/src/main.js
|
|
930
930
|
var Qr = require("node:os");
|
|
931
931
|
|
|
932
|
-
//
|
|
932
|
+
// node_modules/human-signals/build/src/realtime.js
|
|
933
933
|
var zr = /* @__PURE__ */ o(() => {
|
|
934
934
|
let e = tt - Yr + 1;
|
|
935
935
|
return Array.from({ length: e }, Ji);
|
|
@@ -941,10 +941,10 @@ var zr = /* @__PURE__ */ o(() => {
|
|
|
941
941
|
standard: "posix"
|
|
942
942
|
}), "getRealtimeSignal"), Yr = 34, tt = 64;
|
|
943
943
|
|
|
944
|
-
//
|
|
944
|
+
// node_modules/human-signals/build/src/signals.js
|
|
945
945
|
var Xr = require("node:os");
|
|
946
946
|
|
|
947
|
-
//
|
|
947
|
+
// node_modules/human-signals/build/src/core.js
|
|
948
948
|
var Kr = [
|
|
949
949
|
{
|
|
950
950
|
name: "SIGHUP",
|
|
@@ -1217,7 +1217,7 @@ var Kr = [
|
|
|
1217
1217
|
}
|
|
1218
1218
|
];
|
|
1219
1219
|
|
|
1220
|
-
//
|
|
1220
|
+
// node_modules/human-signals/build/src/signals.js
|
|
1221
1221
|
var rt = /* @__PURE__ */ o(() => {
|
|
1222
1222
|
let e = zr();
|
|
1223
1223
|
return [...Kr, ...e].map(Vi);
|
|
@@ -1235,7 +1235,7 @@ var rt = /* @__PURE__ */ o(() => {
|
|
|
1235
1235
|
return { name: e, number: c ? a : t, description: r, supported: c, action: n, forced: i, standard: s };
|
|
1236
1236
|
}, "normalizeSignal");
|
|
1237
1237
|
|
|
1238
|
-
//
|
|
1238
|
+
// node_modules/human-signals/build/src/main.js
|
|
1239
1239
|
var qi = /* @__PURE__ */ o(() => {
|
|
1240
1240
|
let e = rt();
|
|
1241
1241
|
return Object.fromEntries(e.map(zi));
|
|
@@ -1275,7 +1275,7 @@ var qi = /* @__PURE__ */ o(() => {
|
|
|
1275
1275
|
return r !== void 0 ? r : t.find((n) => n.number === e);
|
|
1276
1276
|
}, "findSignalByNumber"), Dc = Yi();
|
|
1277
1277
|
|
|
1278
|
-
//
|
|
1278
|
+
// node_modules/execa/lib/error.js
|
|
1279
1279
|
var Qi = /* @__PURE__ */ o(({ timedOut: e, timeout: t, errorCode: r, signal: n, signalDescription: i, exitCode: s, isCanceled: a }) => e ? `\
|
|
1280
1280
|
timed out after ${t} milliseconds` : a ? "was canceled" : r !== void 0 ? `failed with ${r}` : n !== void 0 ? `was killed with ${n} (${i})` :
|
|
1281
1281
|
s !== void 0 ? `failed with exit code ${s}` : "failed", "getErrorPrefix"), W = /* @__PURE__ */ o(({
|
|
@@ -1302,7 +1302,7 @@ ${n.message}` : x, j = [v, t, e].filter(Boolean).join(`
|
|
|
1302
1302
|
bufferedData, n.failed = !0, n.timedOut = !!u, n.isCanceled = f, n.killed = l && !u, n;
|
|
1303
1303
|
}, "makeError");
|
|
1304
1304
|
|
|
1305
|
-
//
|
|
1305
|
+
// node_modules/execa/lib/stdio.js
|
|
1306
1306
|
var fe = ["stdin", "stdout", "stderr"], Zi = /* @__PURE__ */ o((e) => fe.some((t) => e[t] !== void 0), "hasAlias"), tn = /* @__PURE__ */ o((e) => {
|
|
1307
1307
|
if (!e)
|
|
1308
1308
|
return;
|
|
@@ -1319,10 +1319,10 @@ var fe = ["stdin", "stdout", "stderr"], Zi = /* @__PURE__ */ o((e) => fe.some((t
|
|
|
1319
1319
|
return Array.from({ length: r }, (n, i) => t[i]);
|
|
1320
1320
|
}, "normalizeStdio");
|
|
1321
1321
|
|
|
1322
|
-
//
|
|
1322
|
+
// node_modules/execa/lib/kill.js
|
|
1323
1323
|
var nn = d(require("node:os"), 1);
|
|
1324
1324
|
|
|
1325
|
-
//
|
|
1325
|
+
// node_modules/signal-exit/dist/mjs/signals.js
|
|
1326
1326
|
var I = [];
|
|
1327
1327
|
I.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
1328
1328
|
process.platform !== "win32" && I.push(
|
|
@@ -1342,7 +1342,7 @@ process.platform !== "win32" && I.push(
|
|
|
1342
1342
|
);
|
|
1343
1343
|
process.platform === "linux" && I.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
1344
1344
|
|
|
1345
|
-
//
|
|
1345
|
+
// node_modules/signal-exit/dist/mjs/index.js
|
|
1346
1346
|
var le = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeListener == "function" && typeof e.emit == "function" && typeof e.
|
|
1347
1347
|
reallyExit == "function" && typeof e.listeners == "function" && typeof e.kill == "function" && typeof e.pid == "number" && typeof e.on == "f\
|
|
1348
1348
|
unction", "processOk"), nt = Symbol.for("signal-exit emitter"), ot = globalThis, es = Object.defineProperty.bind(Object), it = class {
|
|
@@ -1515,7 +1515,7 @@ unction", "processOk"), nt = Symbol.for("signal-exit emitter"), ot = globalThis,
|
|
|
1515
1515
|
unload: Jc
|
|
1516
1516
|
} = ts(le(ct) ? new at(ct) : new st());
|
|
1517
1517
|
|
|
1518
|
-
//
|
|
1518
|
+
// node_modules/execa/lib/kill.js
|
|
1519
1519
|
var rs = 1e3 * 5, on = /* @__PURE__ */ o((e, t = "SIGTERM", r = {}) => {
|
|
1520
1520
|
let n = e(t);
|
|
1521
1521
|
return ns(e, t, r, n), n;
|
|
@@ -1563,10 +1563,10 @@ var rs = 1e3 * 5, on = /* @__PURE__ */ o((e, t = "SIGTERM", r = {}) => {
|
|
|
1563
1563
|
});
|
|
1564
1564
|
}, "setExitHandler");
|
|
1565
1565
|
|
|
1566
|
-
//
|
|
1566
|
+
// node_modules/execa/lib/pipe.js
|
|
1567
1567
|
var fn = require("node:fs"), ln = require("node:child_process");
|
|
1568
1568
|
|
|
1569
|
-
//
|
|
1569
|
+
// node_modules/is-stream/index.js
|
|
1570
1570
|
function me(e) {
|
|
1571
1571
|
return e !== null && typeof e == "object" && typeof e.pipe == "function";
|
|
1572
1572
|
}
|
|
@@ -1576,7 +1576,7 @@ function ut(e) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
o(ut, "isWritableStream");
|
|
1578
1578
|
|
|
1579
|
-
//
|
|
1579
|
+
// node_modules/execa/lib/pipe.js
|
|
1580
1580
|
var cs = /* @__PURE__ */ o((e) => e instanceof ln.ChildProcess && typeof e.then == "function", "isExecaChildProcess"), ft = /* @__PURE__ */ o(
|
|
1581
1581
|
(e, t, r) => {
|
|
1582
1582
|
if (typeof r == "string")
|
|
@@ -1593,10 +1593,10 @@ var cs = /* @__PURE__ */ o((e) => e instanceof ln.ChildProcess && typeof e.then
|
|
|
1593
1593
|
all !== void 0 && (e.pipeAll = ft.bind(void 0, e, "all"));
|
|
1594
1594
|
}, "addPipeMethods");
|
|
1595
1595
|
|
|
1596
|
-
//
|
|
1596
|
+
// node_modules/execa/lib/stream.js
|
|
1597
1597
|
var xe = require("node:fs"), Pn = require("node:timers/promises");
|
|
1598
1598
|
|
|
1599
|
-
//
|
|
1599
|
+
// node_modules/get-stream/source/contents.js
|
|
1600
1600
|
var H = /* @__PURE__ */ o(async (e, { init: t, convertChunk: r, getSize: n, truncateChunk: i, addChunk: s, getFinalChunk: a, finalize: c }, {
|
|
1601
1601
|
maxBuffer: u = Number.POSITIVE_INFINITY } = {}) => {
|
|
1602
1602
|
if (!fs(e))
|
|
@@ -1647,13 +1647,13 @@ cIterable"), ls = /* @__PURE__ */ o((e) => {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
};
|
|
1649
1649
|
|
|
1650
|
-
//
|
|
1650
|
+
// node_modules/get-stream/source/utils.js
|
|
1651
1651
|
var lt = /* @__PURE__ */ o((e) => e, "identity"), pt = /* @__PURE__ */ o(() => {
|
|
1652
1652
|
}, "noop"), mt = /* @__PURE__ */ o(({ contents: e }) => e, "getContentsProp"), ye = /* @__PURE__ */ o((e) => {
|
|
1653
1653
|
throw new Error(`Streams in object mode are not supported: ${String(e)}`);
|
|
1654
1654
|
}, "throwObjectStream"), he = /* @__PURE__ */ o((e) => e.length, "getLengthProp");
|
|
1655
1655
|
|
|
1656
|
-
//
|
|
1656
|
+
// node_modules/get-stream/source/array-buffer.js
|
|
1657
1657
|
async function dt(e, t) {
|
|
1658
1658
|
return H(e, ws, t);
|
|
1659
1659
|
}
|
|
@@ -1693,7 +1693,7 @@ hs = /* @__PURE__ */ o((e, { contents: t, length: r }, n) => {
|
|
|
1693
1693
|
finalize: xs
|
|
1694
1694
|
};
|
|
1695
1695
|
|
|
1696
|
-
//
|
|
1696
|
+
// node_modules/get-stream/source/buffer.js
|
|
1697
1697
|
async function ge(e, t) {
|
|
1698
1698
|
if (!("Buffer" in globalThis))
|
|
1699
1699
|
throw new Error("getStreamAsBuffer() is only supported in Node.js");
|
|
@@ -1706,7 +1706,7 @@ async function ge(e, t) {
|
|
|
1706
1706
|
o(ge, "getStreamAsBuffer");
|
|
1707
1707
|
var Sn = /* @__PURE__ */ o((e) => globalThis.Buffer.from(e), "arrayBufferToNodeBuffer");
|
|
1708
1708
|
|
|
1709
|
-
//
|
|
1709
|
+
// node_modules/get-stream/source/string.js
|
|
1710
1710
|
async function yt(e, t) {
|
|
1711
1711
|
return H(e, vs, t);
|
|
1712
1712
|
}
|
|
@@ -1733,7 +1733,7 @@ decode(e, { stream: !0 }), "useTextDecoder"), ks = /* @__PURE__ */ o((e, { conte
|
|
|
1733
1733
|
finalize: mt
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
|
-
//
|
|
1736
|
+
// node_modules/execa/lib/stream.js
|
|
1737
1737
|
var vn = d(En(), 1);
|
|
1738
1738
|
var Tn = /* @__PURE__ */ o((e) => {
|
|
1739
1739
|
if (e !== void 0)
|
|
@@ -1781,7 +1781,7 @@ async ({ stdout: e, stderr: t, all: r }, { encoding: n, buffer: i, maxBuffer: s
|
|
|
1781
1781
|
}
|
|
1782
1782
|
}, "getSpawnedResult");
|
|
1783
1783
|
|
|
1784
|
-
//
|
|
1784
|
+
// node_modules/execa/lib/promise.js
|
|
1785
1785
|
var Os = (async () => {
|
|
1786
1786
|
})().constructor.prototype, js = ["then", "catch", "finally"].map((e) => [
|
|
1787
1787
|
e,
|
|
@@ -1801,7 +1801,7 @@ var Os = (async () => {
|
|
|
1801
1801
|
});
|
|
1802
1802
|
}), "getSpawnedPromise");
|
|
1803
1803
|
|
|
1804
|
-
//
|
|
1804
|
+
// node_modules/execa/lib/command.js
|
|
1805
1805
|
var Dn = require("node:buffer"), _n = require("node:child_process");
|
|
1806
1806
|
var Mn = /* @__PURE__ */ o((e, t = []) => Array.isArray(t) ? [e, ...t] : [e], "normalizeArgs"), Rs = /^[\w.-]+$/, Ns = /* @__PURE__ */ o((e) => typeof e !=
|
|
1807
1807
|
"string" || Rs.test(e) ? e : `"${e.replaceAll('"', '\\"')}"`, "escapeArg"), xt = /* @__PURE__ */ o((e, t) => Mn(e, t).join(" "), "joinComman\
|
|
@@ -1852,7 +1852,7 @@ d"), wt = /* @__PURE__ */ o((e, t) => Mn(e, t).map((r) => Ns(r)).join(" "), "get
|
|
|
1852
1852
|
return r;
|
|
1853
1853
|
}, "parseTemplates");
|
|
1854
1854
|
|
|
1855
|
-
//
|
|
1855
|
+
// node_modules/execa/lib/verbose.js
|
|
1856
1856
|
var Bn = require("node:util"), Gn = d(require("node:process"), 1);
|
|
1857
1857
|
var Un = (0, Bn.debuglog)("execa").enabled, we = /* @__PURE__ */ o((e, t) => String(e).padStart(t, "0"), "padField"), _s = /* @__PURE__ */ o(
|
|
1858
1858
|
() => {
|
|
@@ -1863,7 +1863,7 @@ var Un = (0, Bn.debuglog)("execa").enabled, we = /* @__PURE__ */ o((e, t) => Str
|
|
|
1863
1863
|
`);
|
|
1864
1864
|
}, "logCommand");
|
|
1865
1865
|
|
|
1866
|
-
//
|
|
1866
|
+
// node_modules/execa/index.js
|
|
1867
1867
|
var Ms = 1e3 * 1e3 * 100, Ls = /* @__PURE__ */ o(({ env: e, extendEnv: t, preferLocal: r, localDir: n, execPath: i }) => {
|
|
1868
1868
|
let s = t ? { ...J.default.env, ...e } : e;
|
|
1869
1869
|
return r ? Jr({ env: s, cwd: n, execPath: i }) : s;
|
package/dist/telemetry/index.js
CHANGED
|
@@ -842,7 +842,7 @@ import { sep as Us } from "node:path";
|
|
|
842
842
|
// src/telemetry/exec-command-count-lines.ts
|
|
843
843
|
import { createInterface as bs } from "node:readline";
|
|
844
844
|
|
|
845
|
-
//
|
|
845
|
+
// node_modules/execa/index.js
|
|
846
846
|
var dn = A(Tr(), 1);
|
|
847
847
|
import { Buffer as ps } from "node:buffer";
|
|
848
848
|
import ms from "node:path";
|
|
@@ -857,12 +857,12 @@ function Fe(e) {
|
|
|
857
857
|
}
|
|
858
858
|
o(Fe, "stripFinalNewline");
|
|
859
859
|
|
|
860
|
-
//
|
|
860
|
+
// node_modules/npm-run-path/index.js
|
|
861
861
|
import Z from "node:process";
|
|
862
862
|
import _ from "node:path";
|
|
863
863
|
import Zo from "node:url";
|
|
864
864
|
|
|
865
|
-
//
|
|
865
|
+
// node_modules/path-key/index.js
|
|
866
866
|
function Q(e = {}) {
|
|
867
867
|
let {
|
|
868
868
|
env: t = process.env,
|
|
@@ -872,7 +872,7 @@ function Q(e = {}) {
|
|
|
872
872
|
}
|
|
873
873
|
o(Q, "pathKey");
|
|
874
874
|
|
|
875
|
-
//
|
|
875
|
+
// node_modules/npm-run-path/index.js
|
|
876
876
|
function ei(e = {}) {
|
|
877
877
|
let {
|
|
878
878
|
cwd: t = Z.cwd(),
|
|
@@ -891,7 +891,7 @@ function Cr({ env: e = Z.env, ...t } = {}) {
|
|
|
891
891
|
}
|
|
892
892
|
o(Cr, "npmRunPathEnv");
|
|
893
893
|
|
|
894
|
-
//
|
|
894
|
+
// node_modules/mimic-fn/index.js
|
|
895
895
|
var ti = /* @__PURE__ */ o((e, t, r, n) => {
|
|
896
896
|
if (r === "length" || r === "prototype" || r === "arguments" || r === "caller")
|
|
897
897
|
return;
|
|
@@ -917,7 +917,7 @@ function Be(e, t, { ignoreNonConfigurable: r = !1 } = {}) {
|
|
|
917
917
|
}
|
|
918
918
|
o(Be, "mimicFunction");
|
|
919
919
|
|
|
920
|
-
//
|
|
920
|
+
// node_modules/onetime/index.js
|
|
921
921
|
var ee = /* @__PURE__ */ new WeakMap(), Ir = /* @__PURE__ */ o((e, t = {}) => {
|
|
922
922
|
if (typeof e != "function")
|
|
923
923
|
throw new TypeError("Expected a function");
|
|
@@ -937,13 +937,13 @@ Ir.callCount = (e) => {
|
|
|
937
937
|
};
|
|
938
938
|
var Ar = Ir;
|
|
939
939
|
|
|
940
|
-
//
|
|
940
|
+
// node_modules/execa/lib/error.js
|
|
941
941
|
import gi from "node:process";
|
|
942
942
|
|
|
943
|
-
//
|
|
943
|
+
// node_modules/human-signals/build/src/main.js
|
|
944
944
|
import { constants as li } from "node:os";
|
|
945
945
|
|
|
946
|
-
//
|
|
946
|
+
// node_modules/human-signals/build/src/realtime.js
|
|
947
947
|
var Or = /* @__PURE__ */ o(() => {
|
|
948
948
|
let e = Ge - jr + 1;
|
|
949
949
|
return Array.from({ length: e }, ci);
|
|
@@ -955,10 +955,10 @@ var Or = /* @__PURE__ */ o(() => {
|
|
|
955
955
|
standard: "posix"
|
|
956
956
|
}), "getRealtimeSignal"), jr = 34, Ge = 64;
|
|
957
957
|
|
|
958
|
-
//
|
|
958
|
+
// node_modules/human-signals/build/src/signals.js
|
|
959
959
|
import { constants as ui } from "node:os";
|
|
960
960
|
|
|
961
|
-
//
|
|
961
|
+
// node_modules/human-signals/build/src/core.js
|
|
962
962
|
var Rr = [
|
|
963
963
|
{
|
|
964
964
|
name: "SIGHUP",
|
|
@@ -1231,7 +1231,7 @@ var Rr = [
|
|
|
1231
1231
|
}
|
|
1232
1232
|
];
|
|
1233
1233
|
|
|
1234
|
-
//
|
|
1234
|
+
// node_modules/human-signals/build/src/signals.js
|
|
1235
1235
|
var Ue = /* @__PURE__ */ o(() => {
|
|
1236
1236
|
let e = Or();
|
|
1237
1237
|
return [...Rr, ...e].map(fi);
|
|
@@ -1249,7 +1249,7 @@ var Ue = /* @__PURE__ */ o(() => {
|
|
|
1249
1249
|
return { name: e, number: c ? a : t, description: r, supported: c, action: n, forced: i, standard: s };
|
|
1250
1250
|
}, "normalizeSignal");
|
|
1251
1251
|
|
|
1252
|
-
//
|
|
1252
|
+
// node_modules/human-signals/build/src/main.js
|
|
1253
1253
|
var pi = /* @__PURE__ */ o(() => {
|
|
1254
1254
|
let e = Ue();
|
|
1255
1255
|
return Object.fromEntries(e.map(mi));
|
|
@@ -1289,7 +1289,7 @@ var pi = /* @__PURE__ */ o(() => {
|
|
|
1289
1289
|
return r !== void 0 ? r : t.find((n) => n.number === e);
|
|
1290
1290
|
}, "findSignalByNumber"), ou = di();
|
|
1291
1291
|
|
|
1292
|
-
//
|
|
1292
|
+
// node_modules/execa/lib/error.js
|
|
1293
1293
|
var bi = /* @__PURE__ */ o(({ timedOut: e, timeout: t, errorCode: r, signal: n, signalDescription: i, exitCode: s, isCanceled: a }) => e ? `\
|
|
1294
1294
|
timed out after ${t} milliseconds` : a ? "was canceled" : r !== void 0 ? `failed with ${r}` : n !== void 0 ? `was killed with ${n} (${i})` :
|
|
1295
1295
|
s !== void 0 ? `failed with exit code ${s}` : "failed", "getErrorPrefix"), M = /* @__PURE__ */ o(({
|
|
@@ -1316,7 +1316,7 @@ ${n.message}` : b, I = [k, t, e].filter(Boolean).join(`
|
|
|
1316
1316
|
bufferedData, n.failed = !0, n.timedOut = !!u, n.isCanceled = f, n.killed = l && !u, n;
|
|
1317
1317
|
}, "makeError");
|
|
1318
1318
|
|
|
1319
|
-
//
|
|
1319
|
+
// node_modules/execa/lib/stdio.js
|
|
1320
1320
|
var te = ["stdin", "stdout", "stderr"], xi = /* @__PURE__ */ o((e) => te.some((t) => e[t] !== void 0), "hasAlias"), Dr = /* @__PURE__ */ o((e) => {
|
|
1321
1321
|
if (!e)
|
|
1322
1322
|
return;
|
|
@@ -1333,10 +1333,10 @@ var te = ["stdin", "stdout", "stderr"], xi = /* @__PURE__ */ o((e) => te.some((t
|
|
|
1333
1333
|
return Array.from({ length: r }, (n, i) => t[i]);
|
|
1334
1334
|
}, "normalizeStdio");
|
|
1335
1335
|
|
|
1336
|
-
//
|
|
1336
|
+
// node_modules/execa/lib/kill.js
|
|
1337
1337
|
import ki from "node:os";
|
|
1338
1338
|
|
|
1339
|
-
//
|
|
1339
|
+
// node_modules/signal-exit/dist/mjs/signals.js
|
|
1340
1340
|
var v = [];
|
|
1341
1341
|
v.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
1342
1342
|
process.platform !== "win32" && v.push(
|
|
@@ -1356,7 +1356,7 @@ process.platform !== "win32" && v.push(
|
|
|
1356
1356
|
);
|
|
1357
1357
|
process.platform === "linux" && v.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
1358
1358
|
|
|
1359
|
-
//
|
|
1359
|
+
// node_modules/signal-exit/dist/mjs/index.js
|
|
1360
1360
|
var re = /* @__PURE__ */ o((e) => !!e && typeof e == "object" && typeof e.removeListener == "function" && typeof e.emit == "function" && typeof e.
|
|
1361
1361
|
reallyExit == "function" && typeof e.listeners == "function" && typeof e.kill == "function" && typeof e.pid == "number" && typeof e.on == "f\
|
|
1362
1362
|
unction", "processOk"), $e = Symbol.for("signal-exit emitter"), We = globalThis, wi = Object.defineProperty.bind(Object), He = class {
|
|
@@ -1529,7 +1529,7 @@ unction", "processOk"), $e = Symbol.for("signal-exit emitter"), We = globalThis,
|
|
|
1529
1529
|
unload: hu
|
|
1530
1530
|
} = Si(re(qe) ? new Ve(qe) : new Je());
|
|
1531
1531
|
|
|
1532
|
-
//
|
|
1532
|
+
// node_modules/execa/lib/kill.js
|
|
1533
1533
|
var Ei = 1e3 * 5, Mr = /* @__PURE__ */ o((e, t = "SIGTERM", r = {}) => {
|
|
1534
1534
|
let n = e(t);
|
|
1535
1535
|
return Pi(e, t, r, n), n;
|
|
@@ -1576,11 +1576,11 @@ var Ei = 1e3 * 5, Mr = /* @__PURE__ */ o((e, t = "SIGTERM", r = {}) => {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
}, "setExitHandler");
|
|
1578
1578
|
|
|
1579
|
-
//
|
|
1579
|
+
// node_modules/execa/lib/pipe.js
|
|
1580
1580
|
import { createWriteStream as Ai } from "node:fs";
|
|
1581
1581
|
import { ChildProcess as Oi } from "node:child_process";
|
|
1582
1582
|
|
|
1583
|
-
//
|
|
1583
|
+
// node_modules/is-stream/index.js
|
|
1584
1584
|
function oe(e) {
|
|
1585
1585
|
return e !== null && typeof e == "object" && typeof e.pipe == "function";
|
|
1586
1586
|
}
|
|
@@ -1590,7 +1590,7 @@ function ze(e) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
o(ze, "isWritableStream");
|
|
1592
1592
|
|
|
1593
|
-
//
|
|
1593
|
+
// node_modules/execa/lib/pipe.js
|
|
1594
1594
|
var ji = /* @__PURE__ */ o((e) => e instanceof Oi && typeof e.then == "function", "isExecaChildProcess"), Ye = /* @__PURE__ */ o((e, t, r) => {
|
|
1595
1595
|
if (typeof r == "string")
|
|
1596
1596
|
return e[t].pipe(Ai(r)), e;
|
|
@@ -1606,11 +1606,11 @@ var ji = /* @__PURE__ */ o((e) => e instanceof Oi && typeof e.then == "function"
|
|
|
1606
1606
|
all !== void 0 && (e.pipeAll = Ye.bind(void 0, e, "all"));
|
|
1607
1607
|
}, "addPipeMethods");
|
|
1608
1608
|
|
|
1609
|
-
//
|
|
1609
|
+
// node_modules/execa/lib/stream.js
|
|
1610
1610
|
import { createReadStream as Ki, readFileSync as Xi } from "node:fs";
|
|
1611
1611
|
import { setTimeout as Qi } from "node:timers/promises";
|
|
1612
1612
|
|
|
1613
|
-
//
|
|
1613
|
+
// node_modules/get-stream/source/contents.js
|
|
1614
1614
|
var L = /* @__PURE__ */ o(async (e, { init: t, convertChunk: r, getSize: n, truncateChunk: i, addChunk: s, getFinalChunk: a, finalize: c }, {
|
|
1615
1615
|
maxBuffer: u = Number.POSITIVE_INFINITY } = {}) => {
|
|
1616
1616
|
if (!Ni(e))
|
|
@@ -1661,13 +1661,13 @@ cIterable"), Di = /* @__PURE__ */ o((e) => {
|
|
|
1661
1661
|
}
|
|
1662
1662
|
};
|
|
1663
1663
|
|
|
1664
|
-
//
|
|
1664
|
+
// node_modules/get-stream/source/utils.js
|
|
1665
1665
|
var Ke = /* @__PURE__ */ o((e) => e, "identity"), Xe = /* @__PURE__ */ o(() => {
|
|
1666
1666
|
}, "noop"), Qe = /* @__PURE__ */ o(({ contents: e }) => e, "getContentsProp"), se = /* @__PURE__ */ o((e) => {
|
|
1667
1667
|
throw new Error(`Streams in object mode are not supported: ${String(e)}`);
|
|
1668
1668
|
}, "throwObjectStream"), ae = /* @__PURE__ */ o((e) => e.length, "getLengthProp");
|
|
1669
1669
|
|
|
1670
|
-
//
|
|
1670
|
+
// node_modules/get-stream/source/array-buffer.js
|
|
1671
1671
|
async function Ze(e, t) {
|
|
1672
1672
|
return L(e, Wi, t);
|
|
1673
1673
|
}
|
|
@@ -1707,7 +1707,7 @@ Bi = /* @__PURE__ */ o((e, { contents: t, length: r }, n) => {
|
|
|
1707
1707
|
finalize: $i
|
|
1708
1708
|
};
|
|
1709
1709
|
|
|
1710
|
-
//
|
|
1710
|
+
// node_modules/get-stream/source/buffer.js
|
|
1711
1711
|
async function ce(e, t) {
|
|
1712
1712
|
if (!("Buffer" in globalThis))
|
|
1713
1713
|
throw new Error("getStreamAsBuffer() is only supported in Node.js");
|
|
@@ -1720,7 +1720,7 @@ async function ce(e, t) {
|
|
|
1720
1720
|
o(ce, "getStreamAsBuffer");
|
|
1721
1721
|
var Kr = /* @__PURE__ */ o((e) => globalThis.Buffer.from(e), "arrayBufferToNodeBuffer");
|
|
1722
1722
|
|
|
1723
|
-
//
|
|
1723
|
+
// node_modules/get-stream/source/string.js
|
|
1724
1724
|
async function et(e, t) {
|
|
1725
1725
|
return L(e, zi, t);
|
|
1726
1726
|
}
|
|
@@ -1747,7 +1747,7 @@ decode(e, { stream: !0 }), "useTextDecoder"), Ji = /* @__PURE__ */ o((e, { conte
|
|
|
1747
1747
|
finalize: Qe
|
|
1748
1748
|
};
|
|
1749
1749
|
|
|
1750
|
-
//
|
|
1750
|
+
// node_modules/execa/lib/stream.js
|
|
1751
1751
|
var Zr = A(Qr(), 1);
|
|
1752
1752
|
var en = /* @__PURE__ */ o((e) => {
|
|
1753
1753
|
if (e !== void 0)
|
|
@@ -1795,7 +1795,7 @@ async ({ stdout: e, stderr: t, all: r }, { encoding: n, buffer: i, maxBuffer: s
|
|
|
1795
1795
|
}
|
|
1796
1796
|
}, "getSpawnedResult");
|
|
1797
1797
|
|
|
1798
|
-
//
|
|
1798
|
+
// node_modules/execa/lib/promise.js
|
|
1799
1799
|
var rs = (async () => {
|
|
1800
1800
|
})().constructor.prototype, ns = ["then", "catch", "finally"].map((e) => [
|
|
1801
1801
|
e,
|
|
@@ -1815,7 +1815,7 @@ var rs = (async () => {
|
|
|
1815
1815
|
});
|
|
1816
1816
|
}), "getSpawnedPromise");
|
|
1817
1817
|
|
|
1818
|
-
//
|
|
1818
|
+
// node_modules/execa/lib/command.js
|
|
1819
1819
|
import { Buffer as os } from "node:buffer";
|
|
1820
1820
|
import { ChildProcess as is } from "node:child_process";
|
|
1821
1821
|
var un = /* @__PURE__ */ o((e, t = []) => Array.isArray(t) ? [e, ...t] : [e], "normalizeArgs"), ss = /^[\w.-]+$/, as = /* @__PURE__ */ o((e) => typeof e !=
|
|
@@ -1867,7 +1867,7 @@ d"), it = /* @__PURE__ */ o((e, t) => un(e, t).map((r) => as(r)).join(" "), "get
|
|
|
1867
1867
|
return r;
|
|
1868
1868
|
}, "parseTemplates");
|
|
1869
1869
|
|
|
1870
|
-
//
|
|
1870
|
+
// node_modules/execa/lib/verbose.js
|
|
1871
1871
|
import { debuglog as us } from "node:util";
|
|
1872
1872
|
import fs from "node:process";
|
|
1873
1873
|
var pn = us("execa").enabled, fe = /* @__PURE__ */ o((e, t) => String(e).padStart(t, "0"), "padField"), ls = /* @__PURE__ */ o(() => {
|
|
@@ -1878,7 +1878,7 @@ var pn = us("execa").enabled, fe = /* @__PURE__ */ o((e, t) => String(e).padStar
|
|
|
1878
1878
|
`);
|
|
1879
1879
|
}, "logCommand");
|
|
1880
1880
|
|
|
1881
|
-
//
|
|
1881
|
+
// node_modules/execa/index.js
|
|
1882
1882
|
var ds = 1e3 * 1e3 * 100, ys = /* @__PURE__ */ o(({ env: e, extendEnv: t, preferLocal: r, localDir: n, execPath: i }) => {
|
|
1883
1883
|
let s = t ? { ...le.env, ...e } : e;
|
|
1884
1884
|
return r ? Cr({ env: s, cwd: n, execPath: i }) : s;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1370,10 +1370,6 @@ interface StorybookConfigRaw {
|
|
|
1370
1370
|
disallowImplicitActionsInRenderV8?: boolean;
|
|
1371
1371
|
/** Enable asynchronous component rendering in React renderer */
|
|
1372
1372
|
experimentalRSC?: boolean;
|
|
1373
|
-
/** Use globals & globalTypes for configuring the viewport addon */
|
|
1374
|
-
viewportStoryGlobals?: boolean;
|
|
1375
|
-
/** Use globals & globalTypes for configuring the backgrounds addon */
|
|
1376
|
-
backgroundsStoryGlobals?: boolean;
|
|
1377
1373
|
/** Set NODE_ENV to development in built Storybooks for better testability and debuggability */
|
|
1378
1374
|
developmentModeForBuild?: boolean;
|
|
1379
1375
|
};
|