storybook 9.0.0-alpha.6 → 9.0.0-alpha.8
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 +96 -96
- package/dist/common/index.js +96 -96
- package/dist/core-server/index.cjs +2690 -2615
- package/dist/core-server/index.d.ts +206 -1
- package/dist/core-server/index.js +2894 -2819
- package/dist/instrumenter/index.cjs +1784 -1546
- package/dist/instrumenter/index.js +2219 -2053
- package/dist/manager/globals-module-info.cjs +11 -5
- package/dist/manager/globals-module-info.js +10 -4
- package/dist/manager/globals-runtime.js +22009 -23692
- package/dist/manager/runtime.js +2366 -2344
- package/dist/manager-api/index.cjs +1205 -1137
- package/dist/manager-api/index.d.ts +269 -7
- package/dist/manager-api/index.js +958 -890
- package/dist/preview/runtime.js +14915 -16665
- package/dist/preview-api/index.d.ts +67 -66
- package/dist/telemetry/index.cjs +1083 -2010
- package/dist/telemetry/index.d.ts +25 -4
- package/dist/telemetry/index.js +1118 -2041
- package/dist/test/index.cjs +12572 -11930
- package/dist/test/index.js +12542 -11972
- package/dist/test/preview.cjs +1466 -1467
- package/dist/test/preview.js +4 -5
- package/dist/test/spy.cjs +11 -12
- package/dist/test/spy.js +14 -15
- package/dist/types/index.d.ts +245 -1
- package/package.json +5 -5
package/dist/common/index.js
CHANGED
|
@@ -11497,69 +11497,69 @@ var nB = j((Ot) => {
|
|
|
11497
11497
|
|
|
11498
11498
|
// src/common/versions.ts
|
|
11499
11499
|
var Me = {
|
|
11500
|
-
"@storybook/addon-a11y": "9.0.0-alpha.
|
|
11501
|
-
"@storybook/addon-backgrounds": "9.0.0-alpha.
|
|
11502
|
-
"@storybook/addon-controls": "9.0.0-alpha.
|
|
11503
|
-
"@storybook/addon-docs": "9.0.0-alpha.
|
|
11504
|
-
"@storybook/addon-essentials": "9.0.0-alpha.
|
|
11505
|
-
"@storybook/addon-mdx-gfm": "9.0.0-alpha.
|
|
11506
|
-
"@storybook/addon-highlight": "9.0.0-alpha.
|
|
11507
|
-
"@storybook/addon-interactions": "9.0.0-alpha.
|
|
11508
|
-
"@storybook/addon-jest": "9.0.0-alpha.
|
|
11509
|
-
"@storybook/addon-links": "9.0.0-alpha.
|
|
11510
|
-
"@storybook/addon-measure": "9.0.0-alpha.
|
|
11511
|
-
"@storybook/addon-onboarding": "9.0.0-alpha.
|
|
11512
|
-
"@storybook/addon-outline": "9.0.0-alpha.
|
|
11513
|
-
"@storybook/addon-storysource": "9.0.0-alpha.
|
|
11514
|
-
"@storybook/addon-test": "9.0.0-alpha.
|
|
11515
|
-
"@storybook/addon-themes": "9.0.0-alpha.
|
|
11516
|
-
"@storybook/addon-toolbars": "9.0.0-alpha.
|
|
11517
|
-
"@storybook/addon-viewport": "9.0.0-alpha.
|
|
11518
|
-
"@storybook/builder-vite": "9.0.0-alpha.
|
|
11519
|
-
"@storybook/builder-webpack5": "9.0.0-alpha.
|
|
11520
|
-
storybook: "9.0.0-alpha.
|
|
11521
|
-
"@storybook/angular": "9.0.0-alpha.
|
|
11522
|
-
"@storybook/ember": "9.0.0-alpha.
|
|
11523
|
-
"@storybook/experimental-nextjs-vite": "9.0.0-alpha.
|
|
11524
|
-
"@storybook/html-vite": "9.0.0-alpha.
|
|
11525
|
-
"@storybook/html-webpack5": "9.0.0-alpha.
|
|
11526
|
-
"@storybook/nextjs": "9.0.0-alpha.
|
|
11527
|
-
"@storybook/preact-vite": "9.0.0-alpha.
|
|
11528
|
-
"@storybook/preact-webpack5": "9.0.0-alpha.
|
|
11529
|
-
"@storybook/react-native-web-vite": "9.0.0-alpha.
|
|
11530
|
-
"@storybook/react-vite": "9.0.0-alpha.
|
|
11531
|
-
"@storybook/react-webpack5": "9.0.0-alpha.
|
|
11532
|
-
"@storybook/server-webpack5": "9.0.0-alpha.
|
|
11533
|
-
"@storybook/svelte-vite": "9.0.0-alpha.
|
|
11534
|
-
"@storybook/svelte-webpack5": "9.0.0-alpha.
|
|
11535
|
-
"@storybook/sveltekit": "9.0.0-alpha.
|
|
11536
|
-
"@storybook/vue3-vite": "9.0.0-alpha.
|
|
11537
|
-
"@storybook/vue3-webpack5": "9.0.0-alpha.
|
|
11538
|
-
"@storybook/web-components-vite": "9.0.0-alpha.
|
|
11539
|
-
"@storybook/web-components-webpack5": "9.0.0-alpha.
|
|
11540
|
-
"@storybook/blocks": "9.0.0-alpha.
|
|
11541
|
-
sb: "9.0.0-alpha.
|
|
11542
|
-
"@storybook/cli": "9.0.0-alpha.
|
|
11543
|
-
"@storybook/codemod": "9.0.0-alpha.
|
|
11544
|
-
"@storybook/core-webpack": "9.0.0-alpha.
|
|
11545
|
-
"create-storybook": "9.0.0-alpha.
|
|
11546
|
-
"@storybook/csf-plugin": "9.0.0-alpha.
|
|
11547
|
-
"@storybook/react-dom-shim": "9.0.0-alpha.
|
|
11548
|
-
"@storybook/source-loader": "9.0.0-alpha.
|
|
11549
|
-
"@storybook/preset-create-react-app": "9.0.0-alpha.
|
|
11550
|
-
"@storybook/preset-html-webpack": "9.0.0-alpha.
|
|
11551
|
-
"@storybook/preset-preact-webpack": "9.0.0-alpha.
|
|
11552
|
-
"@storybook/preset-react-webpack": "9.0.0-alpha.
|
|
11553
|
-
"@storybook/preset-server-webpack": "9.0.0-alpha.
|
|
11554
|
-
"@storybook/preset-svelte-webpack": "9.0.0-alpha.
|
|
11555
|
-
"@storybook/preset-vue3-webpack": "9.0.0-alpha.
|
|
11556
|
-
"@storybook/html": "9.0.0-alpha.
|
|
11557
|
-
"@storybook/preact": "9.0.0-alpha.
|
|
11558
|
-
"@storybook/react": "9.0.0-alpha.
|
|
11559
|
-
"@storybook/server": "9.0.0-alpha.
|
|
11560
|
-
"@storybook/svelte": "9.0.0-alpha.
|
|
11561
|
-
"@storybook/vue3": "9.0.0-alpha.
|
|
11562
|
-
"@storybook/web-components": "9.0.0-alpha.
|
|
11500
|
+
"@storybook/addon-a11y": "9.0.0-alpha.8",
|
|
11501
|
+
"@storybook/addon-backgrounds": "9.0.0-alpha.8",
|
|
11502
|
+
"@storybook/addon-controls": "9.0.0-alpha.8",
|
|
11503
|
+
"@storybook/addon-docs": "9.0.0-alpha.8",
|
|
11504
|
+
"@storybook/addon-essentials": "9.0.0-alpha.8",
|
|
11505
|
+
"@storybook/addon-mdx-gfm": "9.0.0-alpha.8",
|
|
11506
|
+
"@storybook/addon-highlight": "9.0.0-alpha.8",
|
|
11507
|
+
"@storybook/addon-interactions": "9.0.0-alpha.8",
|
|
11508
|
+
"@storybook/addon-jest": "9.0.0-alpha.8",
|
|
11509
|
+
"@storybook/addon-links": "9.0.0-alpha.8",
|
|
11510
|
+
"@storybook/addon-measure": "9.0.0-alpha.8",
|
|
11511
|
+
"@storybook/addon-onboarding": "9.0.0-alpha.8",
|
|
11512
|
+
"@storybook/addon-outline": "9.0.0-alpha.8",
|
|
11513
|
+
"@storybook/addon-storysource": "9.0.0-alpha.8",
|
|
11514
|
+
"@storybook/addon-test": "9.0.0-alpha.8",
|
|
11515
|
+
"@storybook/addon-themes": "9.0.0-alpha.8",
|
|
11516
|
+
"@storybook/addon-toolbars": "9.0.0-alpha.8",
|
|
11517
|
+
"@storybook/addon-viewport": "9.0.0-alpha.8",
|
|
11518
|
+
"@storybook/builder-vite": "9.0.0-alpha.8",
|
|
11519
|
+
"@storybook/builder-webpack5": "9.0.0-alpha.8",
|
|
11520
|
+
storybook: "9.0.0-alpha.8",
|
|
11521
|
+
"@storybook/angular": "9.0.0-alpha.8",
|
|
11522
|
+
"@storybook/ember": "9.0.0-alpha.8",
|
|
11523
|
+
"@storybook/experimental-nextjs-vite": "9.0.0-alpha.8",
|
|
11524
|
+
"@storybook/html-vite": "9.0.0-alpha.8",
|
|
11525
|
+
"@storybook/html-webpack5": "9.0.0-alpha.8",
|
|
11526
|
+
"@storybook/nextjs": "9.0.0-alpha.8",
|
|
11527
|
+
"@storybook/preact-vite": "9.0.0-alpha.8",
|
|
11528
|
+
"@storybook/preact-webpack5": "9.0.0-alpha.8",
|
|
11529
|
+
"@storybook/react-native-web-vite": "9.0.0-alpha.8",
|
|
11530
|
+
"@storybook/react-vite": "9.0.0-alpha.8",
|
|
11531
|
+
"@storybook/react-webpack5": "9.0.0-alpha.8",
|
|
11532
|
+
"@storybook/server-webpack5": "9.0.0-alpha.8",
|
|
11533
|
+
"@storybook/svelte-vite": "9.0.0-alpha.8",
|
|
11534
|
+
"@storybook/svelte-webpack5": "9.0.0-alpha.8",
|
|
11535
|
+
"@storybook/sveltekit": "9.0.0-alpha.8",
|
|
11536
|
+
"@storybook/vue3-vite": "9.0.0-alpha.8",
|
|
11537
|
+
"@storybook/vue3-webpack5": "9.0.0-alpha.8",
|
|
11538
|
+
"@storybook/web-components-vite": "9.0.0-alpha.8",
|
|
11539
|
+
"@storybook/web-components-webpack5": "9.0.0-alpha.8",
|
|
11540
|
+
"@storybook/blocks": "9.0.0-alpha.8",
|
|
11541
|
+
sb: "9.0.0-alpha.8",
|
|
11542
|
+
"@storybook/cli": "9.0.0-alpha.8",
|
|
11543
|
+
"@storybook/codemod": "9.0.0-alpha.8",
|
|
11544
|
+
"@storybook/core-webpack": "9.0.0-alpha.8",
|
|
11545
|
+
"create-storybook": "9.0.0-alpha.8",
|
|
11546
|
+
"@storybook/csf-plugin": "9.0.0-alpha.8",
|
|
11547
|
+
"@storybook/react-dom-shim": "9.0.0-alpha.8",
|
|
11548
|
+
"@storybook/source-loader": "9.0.0-alpha.8",
|
|
11549
|
+
"@storybook/preset-create-react-app": "9.0.0-alpha.8",
|
|
11550
|
+
"@storybook/preset-html-webpack": "9.0.0-alpha.8",
|
|
11551
|
+
"@storybook/preset-preact-webpack": "9.0.0-alpha.8",
|
|
11552
|
+
"@storybook/preset-react-webpack": "9.0.0-alpha.8",
|
|
11553
|
+
"@storybook/preset-server-webpack": "9.0.0-alpha.8",
|
|
11554
|
+
"@storybook/preset-svelte-webpack": "9.0.0-alpha.8",
|
|
11555
|
+
"@storybook/preset-vue3-webpack": "9.0.0-alpha.8",
|
|
11556
|
+
"@storybook/html": "9.0.0-alpha.8",
|
|
11557
|
+
"@storybook/preact": "9.0.0-alpha.8",
|
|
11558
|
+
"@storybook/react": "9.0.0-alpha.8",
|
|
11559
|
+
"@storybook/server": "9.0.0-alpha.8",
|
|
11560
|
+
"@storybook/svelte": "9.0.0-alpha.8",
|
|
11561
|
+
"@storybook/vue3": "9.0.0-alpha.8",
|
|
11562
|
+
"@storybook/web-components": "9.0.0-alpha.8"
|
|
11563
11563
|
};
|
|
11564
11564
|
|
|
11565
11565
|
// src/common/presets.ts
|
|
@@ -17668,7 +17668,7 @@ import { existsSync as fs, readFileSync as Nd } from "node:fs";
|
|
|
17668
17668
|
import { readFile as kd, writeFile as Md } from "node:fs/promises";
|
|
17669
17669
|
import { dirname as Rd, resolve as bd } from "node:path";
|
|
17670
17670
|
|
|
17671
|
-
// node_modules/execa/index.js
|
|
17671
|
+
// ../node_modules/execa/index.js
|
|
17672
17672
|
var zE = CA(Hg(), 1);
|
|
17673
17673
|
import { Buffer as md } from "node:buffer";
|
|
17674
17674
|
import yd from "node:path";
|
|
@@ -17683,12 +17683,12 @@ function jg(r) {
|
|
|
17683
17683
|
}
|
|
17684
17684
|
g(jg, "stripFinalNewline");
|
|
17685
17685
|
|
|
17686
|
-
// node_modules/npm-run-path/index.js
|
|
17686
|
+
// ../node_modules/execa/node_modules/npm-run-path/index.js
|
|
17687
17687
|
import Mi from "node:process";
|
|
17688
17688
|
import yr from "node:path";
|
|
17689
17689
|
import Iw from "node:url";
|
|
17690
17690
|
|
|
17691
|
-
// node_modules/path-key/index.js
|
|
17691
|
+
// ../node_modules/execa/node_modules/path-key/index.js
|
|
17692
17692
|
function ki(r = {}) {
|
|
17693
17693
|
let {
|
|
17694
17694
|
env: A = process.env,
|
|
@@ -17698,7 +17698,7 @@ function ki(r = {}) {
|
|
|
17698
17698
|
}
|
|
17699
17699
|
g(ki, "pathKey");
|
|
17700
17700
|
|
|
17701
|
-
// node_modules/npm-run-path/index.js
|
|
17701
|
+
// ../node_modules/execa/node_modules/npm-run-path/index.js
|
|
17702
17702
|
function aw(r = {}) {
|
|
17703
17703
|
let {
|
|
17704
17704
|
cwd: A = Mi.cwd(),
|
|
@@ -17717,7 +17717,7 @@ function CE({ env: r = Mi.env, ...A } = {}) {
|
|
|
17717
17717
|
}
|
|
17718
17718
|
g(CE, "npmRunPathEnv");
|
|
17719
17719
|
|
|
17720
|
-
// node_modules/mimic-fn/index.js
|
|
17720
|
+
// ../node_modules/execa/node_modules/mimic-fn/index.js
|
|
17721
17721
|
var Ew = /* @__PURE__ */ g((r, A, e, t) => {
|
|
17722
17722
|
if (e === "length" || e === "prototype" || e === "arguments" || e === "caller")
|
|
17723
17723
|
return;
|
|
@@ -17743,7 +17743,7 @@ function qg(r, A, { ignoreNonConfigurable: e = !1 } = {}) {
|
|
|
17743
17743
|
}
|
|
17744
17744
|
g(qg, "mimicFunction");
|
|
17745
17745
|
|
|
17746
|
-
// node_modules/onetime/index.js
|
|
17746
|
+
// ../node_modules/execa/node_modules/onetime/index.js
|
|
17747
17747
|
var Ri = /* @__PURE__ */ new WeakMap(), IE = /* @__PURE__ */ g((r, A = {}) => {
|
|
17748
17748
|
if (typeof r != "function")
|
|
17749
17749
|
throw new TypeError("Expected a function");
|
|
@@ -17763,13 +17763,13 @@ IE.callCount = (r) => {
|
|
|
17763
17763
|
};
|
|
17764
17764
|
var aE = IE;
|
|
17765
17765
|
|
|
17766
|
-
// node_modules/execa/lib/error.js
|
|
17766
|
+
// ../node_modules/execa/lib/error.js
|
|
17767
17767
|
import Fw from "node:process";
|
|
17768
17768
|
|
|
17769
|
-
// node_modules/human-signals/build/src/main.js
|
|
17769
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/main.js
|
|
17770
17770
|
import { constants as pw } from "node:os";
|
|
17771
17771
|
|
|
17772
|
-
// node_modules/human-signals/build/src/realtime.js
|
|
17772
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/realtime.js
|
|
17773
17773
|
var EE = /* @__PURE__ */ g(() => {
|
|
17774
17774
|
let r = zg - cE + 1;
|
|
17775
17775
|
return Array.from({ length: r }, fw);
|
|
@@ -17781,10 +17781,10 @@ var EE = /* @__PURE__ */ g(() => {
|
|
|
17781
17781
|
standard: "posix"
|
|
17782
17782
|
}), "getRealtimeSignal"), cE = 34, zg = 64;
|
|
17783
17783
|
|
|
17784
|
-
// node_modules/human-signals/build/src/signals.js
|
|
17784
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/signals.js
|
|
17785
17785
|
import { constants as ww } from "node:os";
|
|
17786
17786
|
|
|
17787
|
-
// node_modules/human-signals/build/src/core.js
|
|
17787
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/core.js
|
|
17788
17788
|
var BE = [
|
|
17789
17789
|
{
|
|
17790
17790
|
name: "SIGHUP",
|
|
@@ -18057,7 +18057,7 @@ var BE = [
|
|
|
18057
18057
|
}
|
|
18058
18058
|
];
|
|
18059
18059
|
|
|
18060
|
-
// node_modules/human-signals/build/src/signals.js
|
|
18060
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/signals.js
|
|
18061
18061
|
var Wg = /* @__PURE__ */ g(() => {
|
|
18062
18062
|
let r = EE();
|
|
18063
18063
|
return [...BE, ...r].map(dw);
|
|
@@ -18075,7 +18075,7 @@ var Wg = /* @__PURE__ */ g(() => {
|
|
|
18075
18075
|
return { name: r, number: I ? s : A, description: e, supported: I, action: t, forced: i, standard: o };
|
|
18076
18076
|
}, "normalizeSignal");
|
|
18077
18077
|
|
|
18078
|
-
// node_modules/human-signals/build/src/main.js
|
|
18078
|
+
// ../node_modules/execa/node_modules/human-signals/build/src/main.js
|
|
18079
18079
|
var mw = /* @__PURE__ */ g(() => {
|
|
18080
18080
|
let r = Wg();
|
|
18081
18081
|
return Object.fromEntries(r.map(yw));
|
|
@@ -18115,7 +18115,7 @@ var mw = /* @__PURE__ */ g(() => {
|
|
|
18115
18115
|
return e !== void 0 ? e : A.find((t) => t.number === r);
|
|
18116
18116
|
}, "findSignalByNumber"), p0 = Dw();
|
|
18117
18117
|
|
|
18118
|
-
// node_modules/execa/lib/error.js
|
|
18118
|
+
// ../node_modules/execa/lib/error.js
|
|
18119
18119
|
var Nw = /* @__PURE__ */ g(({ timedOut: r, timeout: A, errorCode: e, signal: t, signalDescription: i, exitCode: o, isCanceled: s }) => r ? `\
|
|
18120
18120
|
timed out after ${A} milliseconds` : s ? "was canceled" : e !== void 0 ? `failed with ${e}` : t !== void 0 ? `was killed with ${t} (${i})` :
|
|
18121
18121
|
o !== void 0 ? `failed with exit code ${o}` : "failed", "getErrorPrefix"), Dr = /* @__PURE__ */ g(({
|
|
@@ -18142,7 +18142,7 @@ ${t.message}` : U, M = [T, A, r].filter(Boolean).join(`
|
|
|
18142
18142
|
bufferedData, t.failed = !0, t.timedOut = !!E, t.isCanceled = B, t.killed = h && !E, t;
|
|
18143
18143
|
}, "makeError");
|
|
18144
18144
|
|
|
18145
|
-
// node_modules/execa/lib/stdio.js
|
|
18145
|
+
// ../node_modules/execa/lib/stdio.js
|
|
18146
18146
|
var bi = ["stdin", "stdout", "stderr"], kw = /* @__PURE__ */ g((r) => bi.some((A) => r[A] !== void 0), "hasAlias"), hE = /* @__PURE__ */ g((r) => {
|
|
18147
18147
|
if (!r)
|
|
18148
18148
|
return;
|
|
@@ -18159,10 +18159,10 @@ var bi = ["stdin", "stdout", "stderr"], kw = /* @__PURE__ */ g((r) => bi.some((A
|
|
|
18159
18159
|
return Array.from({ length: e }, (t, i) => A[i]);
|
|
18160
18160
|
}, "normalizeStdio");
|
|
18161
18161
|
|
|
18162
|
-
// node_modules/execa/lib/kill.js
|
|
18162
|
+
// ../node_modules/execa/lib/kill.js
|
|
18163
18163
|
import bw from "node:os";
|
|
18164
18164
|
|
|
18165
|
-
// node_modules/signal-exit/dist/mjs/signals.js
|
|
18165
|
+
// ../node_modules/execa/node_modules/signal-exit/dist/mjs/signals.js
|
|
18166
18166
|
var It = [];
|
|
18167
18167
|
It.push("SIGHUP", "SIGINT", "SIGTERM");
|
|
18168
18168
|
process.platform !== "win32" && It.push(
|
|
@@ -18182,7 +18182,7 @@ process.platform !== "win32" && It.push(
|
|
|
18182
18182
|
);
|
|
18183
18183
|
process.platform === "linux" && It.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
|
|
18184
18184
|
|
|
18185
|
-
// node_modules/signal-exit/dist/mjs/index.js
|
|
18185
|
+
// ../node_modules/execa/node_modules/signal-exit/dist/mjs/index.js
|
|
18186
18186
|
var Li = /* @__PURE__ */ g((r) => !!r && typeof r == "object" && typeof r.removeListener == "function" && typeof r.emit == "function" && typeof r.
|
|
18187
18187
|
reallyExit == "function" && typeof r.listeners == "function" && typeof r.kill == "function" && typeof r.pid == "number" && typeof r.on == "f\
|
|
18188
18188
|
unction", "processOk"), Xg = Symbol.for("signal-exit emitter"), Vg = globalThis, Mw = Object.defineProperty.bind(Object), Zg = class {
|
|
@@ -18355,7 +18355,7 @@ unction", "processOk"), Xg = Symbol.for("signal-exit emitter"), Vg = globalThis,
|
|
|
18355
18355
|
unload: L0
|
|
18356
18356
|
} = Rw(Li(es) ? new As(es) : new $g());
|
|
18357
18357
|
|
|
18358
|
-
// node_modules/execa/lib/kill.js
|
|
18358
|
+
// ../node_modules/execa/lib/kill.js
|
|
18359
18359
|
var Lw = 1e3 * 5, uE = /* @__PURE__ */ g((r, A = "SIGTERM", e = {}) => {
|
|
18360
18360
|
let t = r(A);
|
|
18361
18361
|
return Yw(r, A, e, t), t;
|
|
@@ -18402,11 +18402,11 @@ var Lw = 1e3 * 5, uE = /* @__PURE__ */ g((r, A = "SIGTERM", e = {}) => {
|
|
|
18402
18402
|
});
|
|
18403
18403
|
}, "setExitHandler");
|
|
18404
18404
|
|
|
18405
|
-
// node_modules/execa/lib/pipe.js
|
|
18405
|
+
// ../node_modules/execa/lib/pipe.js
|
|
18406
18406
|
import { createWriteStream as xw } from "node:fs";
|
|
18407
18407
|
import { ChildProcess as Pw } from "node:child_process";
|
|
18408
18408
|
|
|
18409
|
-
// node_modules/is-stream/index.js
|
|
18409
|
+
// ../node_modules/execa/node_modules/is-stream/index.js
|
|
18410
18410
|
function Ui(r) {
|
|
18411
18411
|
return r !== null && typeof r == "object" && typeof r.pipe == "function";
|
|
18412
18412
|
}
|
|
@@ -18416,7 +18416,7 @@ function ts(r) {
|
|
|
18416
18416
|
}
|
|
18417
18417
|
g(ts, "isWritableStream");
|
|
18418
18418
|
|
|
18419
|
-
// node_modules/execa/lib/pipe.js
|
|
18419
|
+
// ../node_modules/execa/lib/pipe.js
|
|
18420
18420
|
var Ow = /* @__PURE__ */ g((r) => r instanceof Pw && typeof r.then == "function", "isExecaChildProcess"), rs = /* @__PURE__ */ g((r, A, e) => {
|
|
18421
18421
|
if (typeof e == "string")
|
|
18422
18422
|
return r[A].pipe(xw(e)), r;
|
|
@@ -18432,11 +18432,11 @@ var Ow = /* @__PURE__ */ g((r) => r instanceof Pw && typeof r.then == "function"
|
|
|
18432
18432
|
all !== void 0 && (r.pipeAll = rs.bind(void 0, r, "all"));
|
|
18433
18433
|
}, "addPipeMethods");
|
|
18434
18434
|
|
|
18435
|
-
// node_modules/execa/lib/stream.js
|
|
18435
|
+
// ../node_modules/execa/lib/stream.js
|
|
18436
18436
|
import { createReadStream as sd, readFileSync as nd } from "node:fs";
|
|
18437
18437
|
import { setTimeout as Cd } from "node:timers/promises";
|
|
18438
18438
|
|
|
18439
|
-
// node_modules/get-stream/source/contents.js
|
|
18439
|
+
// ../node_modules/execa/node_modules/get-stream/source/contents.js
|
|
18440
18440
|
var Sr = /* @__PURE__ */ g(async (r, { init: A, convertChunk: e, getSize: t, truncateChunk: i, addChunk: o, getFinalChunk: s, finalize: I }, {
|
|
18441
18441
|
maxBuffer: E = Number.POSITIVE_INFINITY } = {}) => {
|
|
18442
18442
|
if (!Tw(r))
|
|
@@ -18487,13 +18487,13 @@ cIterable"), Hw = /* @__PURE__ */ g((r) => {
|
|
|
18487
18487
|
}
|
|
18488
18488
|
};
|
|
18489
18489
|
|
|
18490
|
-
// node_modules/get-stream/source/utils.js
|
|
18490
|
+
// ../node_modules/execa/node_modules/get-stream/source/utils.js
|
|
18491
18491
|
var is = /* @__PURE__ */ g((r) => r, "identity"), os = /* @__PURE__ */ g(() => {
|
|
18492
18492
|
}, "noop"), gs = /* @__PURE__ */ g(({ contents: r }) => r, "getContentsProp"), Ji = /* @__PURE__ */ g((r) => {
|
|
18493
18493
|
throw new Error(`Streams in object mode are not supported: ${String(r)}`);
|
|
18494
18494
|
}, "throwObjectStream"), vi = /* @__PURE__ */ g((r) => r.length, "getLengthProp");
|
|
18495
18495
|
|
|
18496
|
-
// node_modules/get-stream/source/array-buffer.js
|
|
18496
|
+
// ../node_modules/execa/node_modules/get-stream/source/array-buffer.js
|
|
18497
18497
|
async function ss(r, A) {
|
|
18498
18498
|
return Sr(r, Ad, A);
|
|
18499
18499
|
}
|
|
@@ -18533,7 +18533,7 @@ Xw = /* @__PURE__ */ g((r, { contents: A, length: e }, t) => {
|
|
|
18533
18533
|
finalize: $w
|
|
18534
18534
|
};
|
|
18535
18535
|
|
|
18536
|
-
// node_modules/get-stream/source/buffer.js
|
|
18536
|
+
// ../node_modules/execa/node_modules/get-stream/source/buffer.js
|
|
18537
18537
|
async function xi(r, A) {
|
|
18538
18538
|
if (!("Buffer" in globalThis))
|
|
18539
18539
|
throw new Error("getStreamAsBuffer() is only supported in Node.js");
|
|
@@ -18546,7 +18546,7 @@ async function xi(r, A) {
|
|
|
18546
18546
|
g(xi, "getStreamAsBuffer");
|
|
18547
18547
|
var RE = /* @__PURE__ */ g((r) => globalThis.Buffer.from(r), "arrayBufferToNodeBuffer");
|
|
18548
18548
|
|
|
18549
|
-
// node_modules/get-stream/source/string.js
|
|
18549
|
+
// ../node_modules/execa/node_modules/get-stream/source/string.js
|
|
18550
18550
|
async function ns(r, A) {
|
|
18551
18551
|
return Sr(r, od, A);
|
|
18552
18552
|
}
|
|
@@ -18573,7 +18573,7 @@ decode(r, { stream: !0 }), "useTextDecoder"), td = /* @__PURE__ */ g((r, { conte
|
|
|
18573
18573
|
finalize: gs
|
|
18574
18574
|
};
|
|
18575
18575
|
|
|
18576
|
-
// node_modules/execa/lib/stream.js
|
|
18576
|
+
// ../node_modules/execa/lib/stream.js
|
|
18577
18577
|
var YE = CA(LE(), 1);
|
|
18578
18578
|
var UE = /* @__PURE__ */ g((r) => {
|
|
18579
18579
|
if (r !== void 0)
|
|
@@ -18621,7 +18621,7 @@ async ({ stdout: r, stderr: A, all: e }, { encoding: t, buffer: i, maxBuffer: o
|
|
|
18621
18621
|
}
|
|
18622
18622
|
}, "getSpawnedResult");
|
|
18623
18623
|
|
|
18624
|
-
// node_modules/execa/lib/promise.js
|
|
18624
|
+
// ../node_modules/execa/lib/promise.js
|
|
18625
18625
|
var cd = (async () => {
|
|
18626
18626
|
})().constructor.prototype, Bd = ["then", "catch", "finally"].map((r) => [
|
|
18627
18627
|
r,
|
|
@@ -18641,7 +18641,7 @@ var cd = (async () => {
|
|
|
18641
18641
|
});
|
|
18642
18642
|
}), "getSpawnedPromise");
|
|
18643
18643
|
|
|
18644
|
-
// node_modules/execa/lib/command.js
|
|
18644
|
+
// ../node_modules/execa/lib/command.js
|
|
18645
18645
|
import { Buffer as Qd } from "node:buffer";
|
|
18646
18646
|
import { ChildProcess as hd } from "node:child_process";
|
|
18647
18647
|
var TE = /* @__PURE__ */ g((r, A = []) => Array.isArray(A) ? [r, ...A] : [r], "normalizeArgs"), ld = /^[\w.-]+$/, ud = /* @__PURE__ */ g((r) => typeof r !=
|
|
@@ -18693,7 +18693,7 @@ d"), cs = /* @__PURE__ */ g((r, A) => TE(r, A).map((e) => ud(e)).join(" "), "get
|
|
|
18693
18693
|
return e;
|
|
18694
18694
|
}, "parseTemplates");
|
|
18695
18695
|
|
|
18696
|
-
// node_modules/execa/lib/verbose.js
|
|
18696
|
+
// ../node_modules/execa/lib/verbose.js
|
|
18697
18697
|
import { debuglog as wd } from "node:util";
|
|
18698
18698
|
import dd from "node:process";
|
|
18699
18699
|
var jE = wd("execa").enabled, Oi = /* @__PURE__ */ g((r, A) => String(r).padStart(A, "0"), "padField"), pd = /* @__PURE__ */ g(() => {
|
|
@@ -18704,7 +18704,7 @@ var jE = wd("execa").enabled, Oi = /* @__PURE__ */ g((r, A) => String(r).padStar
|
|
|
18704
18704
|
`);
|
|
18705
18705
|
}, "logCommand");
|
|
18706
18706
|
|
|
18707
|
-
// node_modules/execa/index.js
|
|
18707
|
+
// ../node_modules/execa/index.js
|
|
18708
18708
|
var Dd = 1e3 * 1e3 * 100, Sd = /* @__PURE__ */ g(({ env: r, extendEnv: A, preferLocal: e, localDir: t, execPath: i }) => {
|
|
18709
18709
|
let o = A ? { ..._i.env, ...r } : r;
|
|
18710
18710
|
return e ? CE({ env: o, cwd: t, execPath: i }) : o;
|