@shopify/cli 3.87.3 → 3.88.0
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/{chunk-K3QUVRXP.js → chunk-4ISFA2N3.js} +7 -9
- package/dist/{chunk-ACKJZVCL.js → chunk-4NQZXGUR.js} +4 -4
- package/dist/{chunk-NNTH6AEG.js → chunk-5BHU3PRC.js} +66 -29
- package/dist/{chunk-CSO5DFF2.js → chunk-5OVH24W5.js} +6 -6
- package/dist/{chunk-4F4IVLTB.js → chunk-6GKJAGTG.js} +2 -2
- package/dist/{chunk-J73WL72Y.js → chunk-6O34ZV3A.js} +4 -4
- package/dist/{chunk-OCWC32QS.js → chunk-6XQFNXU3.js} +19 -3
- package/dist/{chunk-RJKK7K6X.js → chunk-7U3KXZYU.js} +4 -4
- package/dist/{chunk-K2X6UJVZ.js → chunk-CCYDP5TC.js} +5 -5
- package/dist/{chunk-H6WW6MWB.js → chunk-DGWEIWJA.js} +4 -6
- package/dist/{chunk-Y2JP6WFP.js → chunk-EG6MBBEN.js} +2 -2
- package/dist/{chunk-A6E7B6XB.js → chunk-GZ3PD27A.js} +4 -4
- package/dist/{chunk-Z73KRL3H.js → chunk-GZARFYAY.js} +4 -4
- package/dist/{chunk-NSANDJUY.js → chunk-HM34WS7W.js} +3 -3
- package/dist/{chunk-I752CMIK.js → chunk-HQJPNVYR.js} +6 -6
- package/dist/{chunk-IB6NP25Z.js → chunk-IVWPL6RQ.js} +3 -3
- package/dist/{chunk-Q2KZZA6O.js → chunk-J7U35MPX.js} +5 -5
- package/dist/chunk-JO4W7S44.js +52891 -0
- package/dist/{chunk-4L44SUG6.js → chunk-K5F7HNJN.js} +3 -3
- package/dist/{chunk-OOAEGWMD.js → chunk-KF76XPVO.js} +3 -3
- package/dist/{chunk-MLMRBYBI.js → chunk-KVDUU7LU.js} +2 -2
- package/dist/{chunk-BSSK7ILG.js → chunk-LBA6IB72.js} +4 -4
- package/dist/{chunk-YBOPHHFE.js → chunk-OUR7YOZK.js} +2 -2
- package/dist/{chunk-TKNKDDI6.js → chunk-QRIP3SU2.js} +7 -7
- package/dist/{chunk-4ELQWJMW.js → chunk-SATLZT2F.js} +2 -2
- package/dist/{chunk-75XYQNOQ.js → chunk-SMXARNZJ.js} +3 -3
- package/dist/{chunk-BFB3EWBI.js → chunk-TF4AQQB4.js} +6 -6
- package/dist/{chunk-BK4YVK65.js → chunk-TPVWZRBE.js} +3 -3
- package/dist/{chunk-L3HBLUKR.js → chunk-TQWSBJX3.js} +3 -3
- package/dist/{chunk-BJ2JLRYU.js → chunk-TZSBI4FY.js} +8 -10
- package/dist/{chunk-BANYBFYN.js → chunk-UBFTWR2L.js} +2 -2
- package/dist/{chunk-FBYYZLCV.js → chunk-VH47P2IR.js} +3 -3
- package/dist/{chunk-B4D6TOK6.js → chunk-YBRRA3G2.js} +2 -2
- package/dist/{chunk-Z66S347F.js → chunk-ZKOCRU7F.js} +3 -3
- package/dist/cli/commands/auth/login.js +9 -11
- package/dist/cli/commands/auth/login.test.js +10 -12
- package/dist/cli/commands/auth/logout.js +9 -11
- package/dist/cli/commands/auth/logout.test.js +10 -12
- package/dist/cli/commands/cache/clear.js +9 -11
- package/dist/cli/commands/debug/command-flags.js +9 -11
- package/dist/cli/commands/docs/generate.js +9 -11
- package/dist/cli/commands/docs/generate.test.js +9 -11
- package/dist/cli/commands/help.js +9 -11
- package/dist/cli/commands/kitchen-sink/async.js +10 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +10 -12
- package/dist/cli/commands/kitchen-sink/index.js +12 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +12 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +10 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -12
- package/dist/cli/commands/kitchen-sink/static.js +10 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +10 -12
- package/dist/cli/commands/notifications/generate.js +10 -12
- package/dist/cli/commands/notifications/list.js +10 -12
- package/dist/cli/commands/search.js +10 -12
- package/dist/cli/commands/upgrade.js +10 -12
- package/dist/cli/commands/version.js +10 -12
- package/dist/cli/commands/version.test.js +10 -12
- package/dist/cli/services/commands/notifications.js +7 -7
- package/dist/cli/services/commands/search.js +3 -3
- package/dist/cli/services/commands/search.test.js +3 -3
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/kitchen-sink/async.js +3 -3
- package/dist/cli/services/kitchen-sink/prompts.js +3 -3
- package/dist/cli/services/kitchen-sink/static.js +3 -3
- package/dist/cli/services/upgrade.js +4 -4
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-EHUMDLZH.js → custom-oclif-loader-EAWHI4I3.js} +3 -3
- package/dist/{error-handler-TO5BVWHB.js → error-handler-WZR7CPYT.js} +7 -9
- package/dist/hooks/postrun.js +6 -8
- package/dist/hooks/prerun.js +9 -10
- package/dist/index.js +1912 -908
- package/dist/{local-CL3CXR56.js → local-P2SS6AIS.js} +3 -3
- package/dist/{node-package-manager-HD4DHKA3.js → node-package-manager-FZWNOAYQ.js} +4 -4
- package/dist/{path-COZT77T2.js → path-GB4VIEM6.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-5UW2YC2R.js → ui-5RSPUMJS.js} +3 -3
- package/dist/{workerd-4WLENU33.js → workerd-K73DK5CH.js} +10 -12
- package/oclif.manifest.json +327 -19
- package/package.json +6 -6
- package/dist/chunk-6LJXPTJR.js +0 -32171
- package/dist/chunk-D3KGAWF7.js +0 -16100
- package/dist/chunk-XASA3QI4.js +0 -4674
|
@@ -3,18 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-EFOOQV72.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
fanoutHooks
|
|
9
|
-
} from "./chunk-D3KGAWF7.js";
|
|
6
|
+
} from "./chunk-TF4AQQB4.js";
|
|
10
7
|
import {
|
|
11
8
|
businessPlatformRequest,
|
|
12
9
|
ensureAuthenticatedAdmin,
|
|
13
10
|
ensureAuthenticatedBusinessPlatform,
|
|
11
|
+
fanoutHooks,
|
|
14
12
|
graphqlRequest,
|
|
15
13
|
logout,
|
|
16
14
|
normalizeStoreFqdn
|
|
17
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JO4W7S44.js";
|
|
18
16
|
import {
|
|
19
17
|
findUpAndReadPackageJson,
|
|
20
18
|
getPackageManager,
|
|
@@ -22,7 +20,7 @@ import {
|
|
|
22
20
|
packageManagerFromUserAgent,
|
|
23
21
|
readAndParsePackageJson,
|
|
24
22
|
writePackageJSON
|
|
25
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GZARFYAY.js";
|
|
26
24
|
import {
|
|
27
25
|
AbortError,
|
|
28
26
|
BugError,
|
|
@@ -62,7 +60,7 @@ import {
|
|
|
62
60
|
runWithTimer,
|
|
63
61
|
source_default,
|
|
64
62
|
writeFile
|
|
65
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-5BHU3PRC.js";
|
|
66
64
|
import {
|
|
67
65
|
require_ansi_escapes,
|
|
68
66
|
require_ansi_styles,
|
|
@@ -102,7 +100,7 @@ import {
|
|
|
102
100
|
relativePath,
|
|
103
101
|
relativizePath,
|
|
104
102
|
resolvePath
|
|
105
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-EG6MBBEN.js";
|
|
106
104
|
import {
|
|
107
105
|
__commonJS,
|
|
108
106
|
__require,
|
|
@@ -153037,4 +153035,4 @@ export {
|
|
|
153037
153035
|
getDebugBannerLine,
|
|
153038
153036
|
getUtilityBannerlines
|
|
153039
153037
|
};
|
|
153040
|
-
//# sourceMappingURL=chunk-
|
|
153038
|
+
//# sourceMappingURL=chunk-4ISFA2N3.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TF4AQQB4.js";
|
|
4
4
|
import {
|
|
5
5
|
logout
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JO4W7S44.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5BHU3PRC.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Logout
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-4NQZXGUR.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
normalizePath,
|
|
30
30
|
relativizePath,
|
|
31
31
|
sniffForPath
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EG6MBBEN.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__esm,
|
|
@@ -23134,6 +23134,7 @@ var environmentVariables = {
|
|
|
23134
23134
|
themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
|
|
23135
23135
|
json: "SHOPIFY_FLAG_JSON",
|
|
23136
23136
|
neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API",
|
|
23137
|
+
usePartnersApi: "SHOPIFY_CLI_USE_PARTNERS_API",
|
|
23137
23138
|
skipNetworkLevelRetry: "SHOPIFY_CLI_SKIP_NETWORK_LEVEL_RETRY",
|
|
23138
23139
|
maxRequestTimeForNetworkCalls: "SHOPIFY_CLI_MAX_REQUEST_TIME_FOR_NETWORK_CALLS"
|
|
23139
23140
|
}, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
|
|
@@ -23402,6 +23403,22 @@ function normalizeDelimitedString(delimitedString, delimiter2 = ",") {
|
|
|
23402
23403
|
let sortedItems = delimitedString.split(delimiter2).map((value) => value.trim()).filter((value) => value !== "").sort();
|
|
23403
23404
|
return [...new Set(sortedItems)].join(delimiter2);
|
|
23404
23405
|
}
|
|
23406
|
+
function timeAgo(from, to) {
|
|
23407
|
+
let seconds = Math.floor((to.getTime() - from.getTime()) / 1e3);
|
|
23408
|
+
if (seconds < 60)
|
|
23409
|
+
return `${formatTimeUnit(seconds, "second")} ago`;
|
|
23410
|
+
let minutes = Math.floor(seconds / 60);
|
|
23411
|
+
if (minutes < 60)
|
|
23412
|
+
return `${formatTimeUnit(minutes, "minute")} ago`;
|
|
23413
|
+
let hours = Math.floor(minutes / 60);
|
|
23414
|
+
if (hours < 24)
|
|
23415
|
+
return `${formatTimeUnit(hours, "hour")} ago`;
|
|
23416
|
+
let days = Math.floor(hours / 24);
|
|
23417
|
+
return `${formatTimeUnit(days, "day")} ago`;
|
|
23418
|
+
}
|
|
23419
|
+
function formatTimeUnit(count, unit) {
|
|
23420
|
+
return `${count} ${unit}${count === 1 ? "" : "s"}`;
|
|
23421
|
+
}
|
|
23405
23422
|
|
|
23406
23423
|
// ../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/esm.mjs
|
|
23407
23424
|
init_cjs_shims();
|
|
@@ -24560,7 +24577,7 @@ minimatch.unescape = unescape2;
|
|
|
24560
24577
|
// ../cli-kit/dist/public/node/fs.js
|
|
24561
24578
|
var import_fast_glob = __toESM(require_out());
|
|
24562
24579
|
import { mkdirSync as fsMkdirSync, readFileSync as fsReadFileSync, writeFileSync as fsWriteFileSync, appendFileSync as fsAppendFileSync, statSync as fsStatSync, createReadStream as fsCreateReadStream, createWriteStream as fsCreateWriteStream, constants as fsConstants, existsSync as fsFileExistsSync, unlinkSync as fsUnlinkSync, accessSync, statSync } from "fs";
|
|
24563
|
-
import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir } from "fs/promises";
|
|
24580
|
+
import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir, symlink as fsSymlink } from "fs/promises";
|
|
24564
24581
|
async function inTemporaryDirectory(callback) {
|
|
24565
24582
|
return temporaryDirectoryTask(callback);
|
|
24566
24583
|
}
|
|
@@ -24607,6 +24624,15 @@ async function removeFile(path8) {
|
|
|
24607
24624
|
async function renameFile(from, to) {
|
|
24608
24625
|
outputDebug(outputContent`Renaming file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await fsRename(from, to);
|
|
24609
24626
|
}
|
|
24627
|
+
async function symlink(target, path8) {
|
|
24628
|
+
outputDebug(outputContent`Creating symbolic link from ${outputToken.path(path8)} to ${outputToken.path(target)}...`);
|
|
24629
|
+
let type = "file";
|
|
24630
|
+
try {
|
|
24631
|
+
(await fsLstat(target)).isDirectory() && (type = "junction");
|
|
24632
|
+
} catch {
|
|
24633
|
+
}
|
|
24634
|
+
await fsSymlink(target, path8, type);
|
|
24635
|
+
}
|
|
24610
24636
|
function removeFileSync(path8) {
|
|
24611
24637
|
outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
|
|
24612
24638
|
}
|
|
@@ -24712,17 +24738,6 @@ function matchGlob(key, pattern, options) {
|
|
|
24712
24738
|
function readdir(path8) {
|
|
24713
24739
|
return fsReaddir(path8);
|
|
24714
24740
|
}
|
|
24715
|
-
async function copyDirectoryContents(srcDir, destDir) {
|
|
24716
|
-
if (!await fileExists(srcDir))
|
|
24717
|
-
throw new Error(`Source directory ${srcDir} does not exist`);
|
|
24718
|
-
await fileExists(destDir) || await mkdir(destDir);
|
|
24719
|
-
let items = await glob(joinPath(srcDir, "**/*")), filesToCopy = [];
|
|
24720
|
-
for (let item of items) {
|
|
24721
|
-
let relativePath = item.replace(srcDir, "").replace(/^[/\\]/, ""), destPath = joinPath(destDir, relativePath);
|
|
24722
|
-
filesToCopy.push(copyFile(item, destPath));
|
|
24723
|
-
}
|
|
24724
|
-
await Promise.all(filesToCopy);
|
|
24725
|
-
}
|
|
24726
24741
|
|
|
24727
24742
|
// ../cli-kit/dist/public/node/system.js
|
|
24728
24743
|
init_cjs_shims();
|
|
@@ -25710,6 +25725,7 @@ function makeUsernameFromId(userId) {
|
|
|
25710
25725
|
|
|
25711
25726
|
// ../cli-kit/dist/public/node/system.js
|
|
25712
25727
|
var import_which = __toESM(require_lib2());
|
|
25728
|
+
import { fstatSync } from "fs";
|
|
25713
25729
|
async function openURL(url) {
|
|
25714
25730
|
let externalOpen = await import("./open-BHIF7E3E.js");
|
|
25715
25731
|
try {
|
|
@@ -25794,6 +25810,23 @@ function isCI() {
|
|
|
25794
25810
|
async function isWsl() {
|
|
25795
25811
|
return (await import("./is-wsl-YAJ3DFN7.js")).default;
|
|
25796
25812
|
}
|
|
25813
|
+
function isStdinPiped() {
|
|
25814
|
+
try {
|
|
25815
|
+
let stats = fstatSync(0);
|
|
25816
|
+
return stats.isFIFO() || stats.isFile();
|
|
25817
|
+
} catch {
|
|
25818
|
+
return !1;
|
|
25819
|
+
}
|
|
25820
|
+
}
|
|
25821
|
+
async function readStdinString() {
|
|
25822
|
+
if (!isStdinPiped())
|
|
25823
|
+
return;
|
|
25824
|
+
let data = "";
|
|
25825
|
+
process.stdin.setEncoding("utf8");
|
|
25826
|
+
for await (let chunk of process.stdin)
|
|
25827
|
+
data += String(chunk);
|
|
25828
|
+
return data.trim();
|
|
25829
|
+
}
|
|
25797
25830
|
|
|
25798
25831
|
// ../../node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
|
|
25799
25832
|
init_cjs_shims();
|
|
@@ -30238,7 +30271,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
30238
30271
|
try {
|
|
30239
30272
|
await getAndSet();
|
|
30240
30273
|
} catch (error) {
|
|
30241
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
30274
|
+
let { sendErrorToBugsnag } = await import("./error-handler-WZR7CPYT.js");
|
|
30242
30275
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
30243
30276
|
}
|
|
30244
30277
|
}, durationStack = [];
|
|
@@ -31654,7 +31687,10 @@ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal,
|
|
|
31654
31687
|
}
|
|
31655
31688
|
}), useExitOnCtrlC();
|
|
31656
31689
|
let { isAborted } = useAbortSignal(abortSignal);
|
|
31657
|
-
|
|
31690
|
+
if (silent)
|
|
31691
|
+
return null;
|
|
31692
|
+
let title = typeof currentTask.title == "string" ? currentTask.title : currentTask.title.value;
|
|
31693
|
+
return state === TasksState.Loading && !isAborted ? import_react53.default.createElement(LoadingBar, { title, noColor, noProgressBar }) : null;
|
|
31658
31694
|
}
|
|
31659
31695
|
|
|
31660
31696
|
// ../cli-kit/dist/private/node/ui/components/TextPrompt.js
|
|
@@ -31796,15 +31832,15 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
31796
31832
|
// ../cli-kit/dist/private/node/ui/components/SingleTask.js
|
|
31797
31833
|
init_cjs_shims();
|
|
31798
31834
|
var import_react56 = __toESM(require_react(), 1);
|
|
31799
|
-
var SingleTask = ({
|
|
31800
|
-
let [isDone, setIsDone] = (0, import_react56.useState)(!1), { exit: unmountInk } = use_app_default();
|
|
31835
|
+
var SingleTask = ({ task, title, onComplete, noColor }) => {
|
|
31836
|
+
let [status, setStatus] = (0, import_react56.useState)(title), [isDone, setIsDone] = (0, import_react56.useState)(!1), { exit: unmountInk } = use_app_default();
|
|
31801
31837
|
return useExitOnCtrlC(), (0, import_react56.useEffect)(() => {
|
|
31802
|
-
|
|
31803
|
-
setIsDone(!0), unmountInk();
|
|
31838
|
+
task(setStatus).then((result) => {
|
|
31839
|
+
setIsDone(!0), onComplete?.(result), unmountInk();
|
|
31804
31840
|
}).catch((error) => {
|
|
31805
31841
|
setIsDone(!0), unmountInk(error);
|
|
31806
31842
|
});
|
|
31807
|
-
}, [
|
|
31843
|
+
}, [task, unmountInk, onComplete]), isDone ? null : import_react56.default.createElement(LoadingBar, { title: status.value, noColor });
|
|
31808
31844
|
};
|
|
31809
31845
|
|
|
31810
31846
|
// ../cli-kit/dist/public/node/ui.js
|
|
@@ -31897,15 +31933,13 @@ async function renderTasks(tasks, { renderOptions, noProgressBar } = {}) {
|
|
|
31897
31933
|
}).catch(reject);
|
|
31898
31934
|
});
|
|
31899
31935
|
}
|
|
31900
|
-
async function renderSingleTask({ title,
|
|
31901
|
-
|
|
31902
|
-
render2(import_react57.default.createElement(SingleTask, { title,
|
|
31936
|
+
async function renderSingleTask({ title, task, renderOptions }) {
|
|
31937
|
+
return new Promise((resolve, reject) => {
|
|
31938
|
+
render2(import_react57.default.createElement(SingleTask, { title, task, onComplete: resolve }), {
|
|
31903
31939
|
...renderOptions,
|
|
31904
31940
|
exitOnCtrlC: !1
|
|
31905
|
-
})
|
|
31906
|
-
|
|
31907
|
-
]);
|
|
31908
|
-
return taskResult;
|
|
31941
|
+
}).catch(reject);
|
|
31942
|
+
});
|
|
31909
31943
|
}
|
|
31910
31944
|
async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
|
|
31911
31945
|
return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
|
|
@@ -32071,6 +32105,7 @@ export {
|
|
|
32071
32105
|
joinWithAnd,
|
|
32072
32106
|
pascalize,
|
|
32073
32107
|
normalizeDelimitedString,
|
|
32108
|
+
timeAgo,
|
|
32074
32109
|
useAbortSignal,
|
|
32075
32110
|
require_baseForOwn,
|
|
32076
32111
|
require_baseEach,
|
|
@@ -32116,6 +32151,7 @@ export {
|
|
|
32116
32151
|
terminalSupportsPrompting,
|
|
32117
32152
|
isCI,
|
|
32118
32153
|
isWsl,
|
|
32154
|
+
readStdinString,
|
|
32119
32155
|
localCLIVersion,
|
|
32120
32156
|
globalCLIVersion,
|
|
32121
32157
|
isPreReleaseVersion,
|
|
@@ -32123,6 +32159,7 @@ export {
|
|
|
32123
32159
|
installGlobalShopifyCLI,
|
|
32124
32160
|
installGlobalCLIPrompt,
|
|
32125
32161
|
inferPackageManagerForGlobalCLI,
|
|
32162
|
+
TokenizedString,
|
|
32126
32163
|
outputToken,
|
|
32127
32164
|
formatPackageManagerCommand,
|
|
32128
32165
|
outputContent,
|
|
@@ -32155,6 +32192,7 @@ export {
|
|
|
32155
32192
|
mkdirSync,
|
|
32156
32193
|
removeFile,
|
|
32157
32194
|
renameFile,
|
|
32195
|
+
symlink,
|
|
32158
32196
|
removeFileSync,
|
|
32159
32197
|
rmdir,
|
|
32160
32198
|
isDirectory,
|
|
@@ -32179,7 +32217,6 @@ export {
|
|
|
32179
32217
|
findPathUp,
|
|
32180
32218
|
matchGlob,
|
|
32181
32219
|
readdir,
|
|
32182
|
-
copyDirectoryContents,
|
|
32183
32220
|
isTerminalInteractive,
|
|
32184
32221
|
homeDirectory,
|
|
32185
32222
|
isDevelopment,
|
|
@@ -32292,4 +32329,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32292
32329
|
* LICENSE file in the root directory of this source tree.
|
|
32293
32330
|
*)
|
|
32294
32331
|
*/
|
|
32295
|
-
//# sourceMappingURL=chunk-
|
|
32332
|
+
//# sourceMappingURL=chunk-5BHU3PRC.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JO4W7S44.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GZARFYAY.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6GKJAGTG.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
exec,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
renderError,
|
|
20
20
|
renderInfo,
|
|
21
21
|
renderWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5BHU3PRC.js";
|
|
23
23
|
import {
|
|
24
24
|
init_cjs_shims
|
|
25
25
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
87
87
|
throw new AbortSilentError();
|
|
88
88
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
89
89
|
outputDebug(errorMessage);
|
|
90
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
90
|
+
let { sendErrorToBugsnag } = await import("./error-handler-WZR7CPYT.js");
|
|
91
91
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -200,4 +200,4 @@ export {
|
|
|
200
200
|
fetchNotificationsInBackground,
|
|
201
201
|
stringifyFilters
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-5OVH24W5.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/dist/public/common/version.js
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.
|
|
7
|
+
var CLI_KIT_VERSION = "3.88.0";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-6GKJAGTG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K5F7HNJN.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TF4AQQB4.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5BHU3PRC.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
Upgrade
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-6O34ZV3A.js.map
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
+
TokenizedString,
|
|
3
|
+
outputContent,
|
|
4
|
+
outputToken,
|
|
2
5
|
renderConcurrent,
|
|
6
|
+
renderSingleTask,
|
|
3
7
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5BHU3PRC.js";
|
|
5
9
|
import {
|
|
6
10
|
init_cjs_shims
|
|
7
11
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -37,10 +41,22 @@ async function asyncTasks() {
|
|
|
37
41
|
await new Promise((resolve) => setTimeout(resolve, 2e3));
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
|
-
])
|
|
44
|
+
]), await renderSingleTask({
|
|
45
|
+
title: new TokenizedString("Importing data"),
|
|
46
|
+
task: async (updateStatus) => {
|
|
47
|
+
for (let i = 1; i <= 10; i++) {
|
|
48
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
49
|
+
let status = outputContent`Importing data ${outputToken.italic(
|
|
50
|
+
outputContent`(${outputToken.green(i.toString())} complete)`
|
|
51
|
+
)}`;
|
|
52
|
+
updateStatus(status);
|
|
53
|
+
}
|
|
54
|
+
return "completed";
|
|
55
|
+
}
|
|
56
|
+
});
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
export {
|
|
44
60
|
asyncTasks
|
|
45
61
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
62
|
+
//# sourceMappingURL=chunk-6XQFNXU3.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TF4AQQB4.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5BHU3PRC.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EG6MBBEN.js";
|
|
14
14
|
import {
|
|
15
15
|
init_cjs_shims
|
|
16
16
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
writeCommandFlagInterface,
|
|
119
119
|
writeCommandUsageExampleFile
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-7U3KXZYU.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5OVH24W5.js";
|
|
6
6
|
import {
|
|
7
7
|
randomUUID
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JO4W7S44.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6GKJAGTG.js";
|
|
12
12
|
import {
|
|
13
13
|
outputInfo,
|
|
14
14
|
renderSelectPrompt,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderTable,
|
|
17
17
|
renderTextPrompt,
|
|
18
18
|
writeFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5BHU3PRC.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
22
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
generate,
|
|
104
104
|
list
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-CCYDP5TC.js.map
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
+
getNextDeprecationDate,
|
|
2
3
|
reportAnalyticsEvent
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
getNextDeprecationDate
|
|
6
|
-
} from "./chunk-XASA3QI4.js";
|
|
4
|
+
} from "./chunk-JO4W7S44.js";
|
|
7
5
|
import {
|
|
8
6
|
addSensitiveMetadata,
|
|
9
7
|
getAllSensitiveMetadata,
|
|
10
8
|
outputDebug,
|
|
11
9
|
renderWarning
|
|
12
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5BHU3PRC.js";
|
|
13
11
|
import {
|
|
14
12
|
init_cjs_shims
|
|
15
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -77,4 +75,4 @@ export {
|
|
|
77
75
|
postRunHookHasCompleted,
|
|
78
76
|
hook
|
|
79
77
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-DGWEIWJA.js.map
|
|
@@ -30,7 +30,7 @@ var require_commondir = __commonJS({
|
|
|
30
30
|
|
|
31
31
|
// ../cli-kit/dist/public/node/path.js
|
|
32
32
|
init_cjs_shims();
|
|
33
|
-
var import_commondir = __toESM(require_commondir()
|
|
33
|
+
var import_commondir = __toESM(require_commondir());
|
|
34
34
|
|
|
35
35
|
// ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
|
|
36
36
|
init_cjs_shims();
|
|
@@ -193,4 +193,4 @@ export {
|
|
|
193
193
|
sniffForPath,
|
|
194
194
|
sniffForJson
|
|
195
195
|
};
|
|
196
|
-
//# sourceMappingURL=chunk-
|
|
196
|
+
//# sourceMappingURL=chunk-EG6MBBEN.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CCYDP5TC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TF4AQQB4.js";
|
|
7
7
|
import {
|
|
8
8
|
sendErrorToBugsnag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TZSBI4FY.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
12
|
} from "./chunk-VLBE545G.js";
|
|
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
|
|
|
49
49
|
export {
|
|
50
50
|
List
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-GZ3PD27A.js.map
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
runWithTimer,
|
|
21
21
|
unixFileIsOwnedByCurrentUser,
|
|
22
22
|
writeFile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5BHU3PRC.js";
|
|
24
24
|
import {
|
|
25
25
|
require_semver
|
|
26
26
|
} from "./chunk-HMDWNGIV.js";
|
|
27
27
|
import {
|
|
28
28
|
dirname,
|
|
29
29
|
joinPath
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EG6MBBEN.js";
|
|
31
31
|
import {
|
|
32
32
|
__commonJS,
|
|
33
33
|
__export,
|
|
@@ -13720,7 +13720,7 @@ async function latestVersion(packageName, options) {
|
|
|
13720
13720
|
}
|
|
13721
13721
|
|
|
13722
13722
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
13723
|
-
var import_semver3 = __toESM(require_semver()
|
|
13723
|
+
var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
|
|
13724
13724
|
yarn: yarnLockfile,
|
|
13725
13725
|
npm: npmLockfile,
|
|
13726
13726
|
pnpm: pnpmLockfile,
|
|
@@ -14035,4 +14035,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
14035
14035
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14036
14036
|
*)
|
|
14037
14037
|
*/
|
|
14038
|
-
//# sourceMappingURL=chunk-
|
|
14038
|
+
//# sourceMappingURL=chunk-GZARFYAY.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVWPL6RQ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TF4AQQB4.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
|
|
|
22
22
|
export {
|
|
23
23
|
Version
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-HM34WS7W.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TF4AQQB4.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureAuthenticatedUser,
|
|
6
|
-
fetch,
|
|
6
|
+
fetch2 as fetch,
|
|
7
7
|
findSessionByAlias,
|
|
8
8
|
getSessionAlias,
|
|
9
9
|
identityFqdn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JO4W7S44.js";
|
|
11
11
|
import {
|
|
12
12
|
setCurrentSessionId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GZARFYAY.js";
|
|
14
14
|
import {
|
|
15
15
|
outputCompleted,
|
|
16
16
|
renderSelectPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5BHU3PRC.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib
|
|
20
20
|
} from "./chunk-VLBE545G.js";
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
promptSessionSelect,
|
|
85
85
|
Login
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-HQJPNVYR.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6GKJAGTG.js";
|
|
4
4
|
import {
|
|
5
5
|
outputResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5BHU3PRC.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -17,4 +17,4 @@ async function versionService() {
|
|
|
17
17
|
export {
|
|
18
18
|
versionService
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-IVWPL6RQ.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6XQFNXU3.js";
|
|
4
4
|
import {
|
|
5
5
|
prompts
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YBRRA3G2.js";
|
|
7
7
|
import {
|
|
8
8
|
staticService
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OUR7YOZK.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TF4AQQB4.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
|
|
|
34
34
|
export {
|
|
35
35
|
KitchenSinkAll
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-J7U35MPX.js.map
|