@shopify/cli 3.81.1 → 3.82.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-O66CPW2Z.js → chunk-25WAB7NJ.js} +2 -2
- package/dist/{chunk-2Y3UFXD6.js → chunk-3Q5VPXT5.js} +16 -9
- package/dist/{chunk-ZARNHYRC.js → chunk-6AJRDC5C.js} +3 -3
- package/dist/{chunk-JKKYVUPT.js → chunk-6C6ZDQRA.js} +2 -2
- package/dist/{chunk-GMFX4XJF.js → chunk-74CFIJBV.js} +3 -3
- package/dist/{chunk-5RPSJUXQ.js → chunk-7MYG46RI.js} +6 -6
- package/dist/{chunk-E6T6HFSE.js → chunk-7ZNBHIYT.js} +5 -5
- package/dist/{chunk-H37YPI3Y.js → chunk-AJDONTSK.js} +3 -3
- package/dist/{chunk-5LMBCQDG.js → chunk-BSTZYPZU.js} +10 -10
- package/dist/{chunk-DDYH6337.js → chunk-CFNCXOAV.js} +2 -2
- package/dist/{chunk-B44H2P6E.js → chunk-EEYW5FSA.js} +3 -3
- package/dist/{chunk-JV3N43QW.js → chunk-FYDURVQO.js} +4 -4
- package/dist/{chunk-WSP4T6BG.js → chunk-HOYO6JKN.js} +3 -3
- package/dist/{chunk-6GAIDVJR.js → chunk-JLJTVUDK.js} +11 -6
- package/dist/{chunk-X2GG47RT.js → chunk-JLKSXSVY.js} +3 -3
- package/dist/{chunk-PINTEIWG.js → chunk-KB5GMUHY.js} +6 -6
- package/dist/{chunk-CN7P6XXP.js → chunk-KUAANQ7T.js} +4 -4
- package/dist/{chunk-NZVDI2PG.js → chunk-MFC6MLP7.js} +3 -3
- package/dist/{chunk-R7PQLQRT.js → chunk-MSSZWK63.js} +4 -4
- package/dist/{chunk-OU2VE5NL.js → chunk-MWVORSD7.js} +6 -6
- package/dist/{chunk-5NWUTFCV.js → chunk-PRSTYBLZ.js} +3 -3
- package/dist/{chunk-5OBLOY7U.js → chunk-QEIHQ2YM.js} +2 -2
- package/dist/{chunk-27MYZBXV.js → chunk-QIECGUO5.js} +3 -3
- package/dist/{chunk-6CJ6BGWA.js → chunk-R2LEUYIF.js} +3 -3
- package/dist/{chunk-5CZUSVND.js → chunk-RLS2ONCK.js} +2 -2
- package/dist/{chunk-B5JZHKPR.js → chunk-TCCRXQUU.js} +3 -3
- package/dist/{chunk-6NGGBF47.js → chunk-UQXK6QDK.js} +3 -3
- package/dist/{chunk-PLXKIAXS.js → chunk-VWOOMRYF.js} +4 -4
- package/dist/{chunk-VANXFY34.js → chunk-WDBIXJF6.js} +2 -2
- package/dist/{chunk-ALHM5GST.js → chunk-XYELYAVC.js} +5 -5
- package/dist/{chunk-SOZ33QZX.js → chunk-YPSBMB7C.js} +2 -2
- package/dist/{chunk-KJXXNUND.js → chunk-YUBYB2KK.js} +10 -8
- package/dist/{chunk-NEQJPNB5.js → chunk-YUXFQXPK.js} +7 -7
- package/dist/{chunk-I2M5KL5Z.js → chunk-ZBSES4JU.js} +3 -3
- package/dist/cli/commands/auth/logout.js +11 -11
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +10 -10
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- package/dist/cli/services/commands/notifications.js +6 -6
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +4 -4
- package/dist/{custom-oclif-loader-7E5Z2M56.js → custom-oclif-loader-BEAC6M5I.js} +2 -2
- package/dist/{error-handler-GHVJK7OK.js → error-handler-AW3QCINN.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +271 -175
- package/dist/{local-GLHD5LYH.js → local-ZIKS25AW.js} +2 -2
- package/dist/{node-OFSPLONP.js → node-GHBQEWAW.js} +12 -12
- package/dist/{node-package-manager-K7DEALW5.js → node-package-manager-T3RQZ6EF.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-G7IYCY5T.js → ui-NKEN4MZY.js} +2 -2
- package/dist/{workerd-IDTCFUND.js → workerd-BCMLUCF7.js} +12 -12
- package/oclif.manifest.json +84 -12
- package/package.json +6 -6
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
9
9
|
import {
|
|
10
10
|
init_cjs_shims
|
|
11
11
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -175,4 +175,4 @@ async function prompts() {
|
|
|
175
175
|
export {
|
|
176
176
|
prompts
|
|
177
177
|
};
|
|
178
|
-
//# sourceMappingURL=chunk-
|
|
178
|
+
//# sourceMappingURL=chunk-25WAB7NJ.js.map
|
|
@@ -29422,7 +29422,7 @@ function formatSection(title, body) {
|
|
|
29422
29422
|
}
|
|
29423
29423
|
|
|
29424
29424
|
// ../cli-kit/dist/public/node/error.js
|
|
29425
|
-
var import_core2 = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
29425
|
+
var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
|
|
29426
29426
|
(function(FatalErrorType2) {
|
|
29427
29427
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
29428
29428
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -29550,7 +29550,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29550
29550
|
try {
|
|
29551
29551
|
await getAndSet();
|
|
29552
29552
|
} catch (error) {
|
|
29553
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29553
|
+
let { sendErrorToBugsnag } = await import("./error-handler-AW3QCINN.js");
|
|
29554
29554
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29555
29555
|
}
|
|
29556
29556
|
}, durationStack = [];
|
|
@@ -30656,10 +30656,17 @@ function Item({ item, previousItem, isSelected, highlightedTerm, enableShortcuts
|
|
|
30656
30656
|
);
|
|
30657
30657
|
}
|
|
30658
30658
|
var MAX_AVAILABLE_LINES = 25;
|
|
30659
|
-
function SelectInputInner({ items: rawItems, initialItems = rawItems, onChange, enableShortcuts = !0, focus = !0, emptyMessage = "No items to select.", defaultValue, highlightedTerm, loading = !1, errorMessage, hasMorePages = !1, morePagesMessage, availableLines = MAX_AVAILABLE_LINES, onSubmit, inputFixedAreaRef }, ref) {
|
|
30659
|
+
function SelectInputInner({ items: rawItems, initialItems = rawItems, onChange, enableShortcuts = !0, focus = !0, emptyMessage = "No items to select.", defaultValue, highlightedTerm, loading = !1, errorMessage, hasMorePages = !1, morePagesMessage, availableLines = MAX_AVAILABLE_LINES, onSubmit, inputFixedAreaRef, groupOrder }, ref) {
|
|
30660
30660
|
let noItems = !1;
|
|
30661
30661
|
rawItems.length === 0 && (rawItems = [{ label: emptyMessage, value: null, disabled: !0 }], noItems = !0);
|
|
30662
|
-
let hasAnyGroup = rawItems.some((item) => typeof item.group < "u"), items = (0, import_sortBy.default)(rawItems,
|
|
30662
|
+
let hasAnyGroup = rawItems.some((item) => typeof item.group < "u"), items = (0, import_sortBy.default)(rawItems, (item) => {
|
|
30663
|
+
if (!item.group)
|
|
30664
|
+
return Number.MAX_SAFE_INTEGER + 1;
|
|
30665
|
+
if (!groupOrder)
|
|
30666
|
+
return Number.MAX_SAFE_INTEGER;
|
|
30667
|
+
let index = groupOrder.indexOf(item.group);
|
|
30668
|
+
return index === -1 ? Number.MAX_SAFE_INTEGER : index;
|
|
30669
|
+
}), itemsHaveKeys = items.some((item) => typeof item.key < "u" && item.key.length > 0);
|
|
30663
30670
|
itemsHaveKeys && validateKeys(items);
|
|
30664
30671
|
let availableLinesToUse = Math.min(availableLines, MAX_AVAILABLE_LINES);
|
|
30665
30672
|
function maximumLinesLostToGroups(items2) {
|
|
@@ -30823,7 +30830,7 @@ var PromptLayout = ({ message, infoTable, abortSignal, infoMessage, header, stat
|
|
|
30823
30830
|
|
|
30824
30831
|
// ../cli-kit/dist/private/node/ui/components/SelectPrompt.js
|
|
30825
30832
|
var import_react49 = __toESM(require_react(), 1);
|
|
30826
|
-
function SelectPrompt({ message, choices, infoTable, infoMessage, onSubmit, defaultValue, abortSignal }) {
|
|
30833
|
+
function SelectPrompt({ message, choices, infoTable, infoMessage, onSubmit, defaultValue, abortSignal, groupOrder }) {
|
|
30827
30834
|
if (choices.length === 0)
|
|
30828
30835
|
throw new Error("SelectPrompt requires at least one choice");
|
|
30829
30836
|
let { exit: unmountInk } = use_app_default(), { promptState, setPromptState, answer, setAnswer } = usePrompt({
|
|
@@ -30833,7 +30840,7 @@ function SelectPrompt({ message, choices, infoTable, infoMessage, onSubmit, defa
|
|
|
30833
30840
|
}, [setAnswer, setPromptState]);
|
|
30834
30841
|
return (0, import_react49.useEffect)(() => {
|
|
30835
30842
|
promptState === PromptState.Submitted && answer && (unmountInk(), onSubmit(answer.value));
|
|
30836
|
-
}, [answer, onSubmit, promptState, unmountInk]), import_react49.default.createElement(PromptLayout, { message, state: promptState, submittedAnswerLabel: answer?.label, infoTable, infoMessage, abortSignal, input: import_react49.default.createElement(SelectInput, { defaultValue, items: choices, onSubmit: submitAnswer }) });
|
|
30843
|
+
}, [answer, onSubmit, promptState, unmountInk]), import_react49.default.createElement(PromptLayout, { message, state: promptState, submittedAnswerLabel: answer?.label, infoTable, infoMessage, abortSignal, input: import_react49.default.createElement(SelectInput, { defaultValue, items: choices, onSubmit: submitAnswer, groupOrder }) });
|
|
30837
30844
|
}
|
|
30838
30845
|
|
|
30839
30846
|
// ../cli-kit/dist/private/node/ui/components/Tasks.js
|
|
@@ -31040,7 +31047,7 @@ function debounce(func, wait, options) {
|
|
|
31040
31047
|
// ../cli-kit/dist/private/node/ui/components/AutocompletePrompt.js
|
|
31041
31048
|
var import_react54 = __toESM(require_react(), 1);
|
|
31042
31049
|
var MIN_NUMBER_OF_ITEMS_FOR_SEARCH = 5;
|
|
31043
|
-
function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, hasMorePages: initialHasMorePages = !1, abortSignal, infoMessage }) {
|
|
31050
|
+
function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, hasMorePages: initialHasMorePages = !1, abortSignal, infoMessage, groupOrder }) {
|
|
31044
31051
|
let { exit: unmountInk } = use_app_default(), [searchTerm, setSearchTerm] = (0, import_react54.useState)(""), [searchResults, setSearchResults] = (0, import_react54.useState)(choices), canSearch = choices.length > MIN_NUMBER_OF_ITEMS_FOR_SEARCH, [hasMorePages, setHasMorePages] = (0, import_react54.useState)(initialHasMorePages), { promptState, setPromptState, answer, setAnswer } = usePrompt({
|
|
31045
31052
|
initialAnswer: void 0
|
|
31046
31053
|
}), paginatedSearch = (0, import_react54.useCallback)(async (term) => await search(term), [search]), submitAnswer = (0, import_react54.useCallback)((answer2) => {
|
|
@@ -31068,7 +31075,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
31068
31075
|
import_react54.default.createElement(TextInput, { value: searchTerm, onChange: (term) => {
|
|
31069
31076
|
setSearchTerm(term), term.length > 0 ? debounceSearch(term) : (debounceSearch.cancel(), setPromptState(PromptState.Idle), setSearchResults(choices));
|
|
31070
31077
|
}, placeholder: "Type to search..." })
|
|
31071
|
-
) : null, submittedAnswerLabel: answer?.label, input: import_react54.default.createElement(SelectInput, { items: searchResults, initialItems: choices, enableShortcuts: !1, emptyMessage: "No results found.", highlightedTerm: searchTerm, loading: promptState === PromptState.Loading, errorMessage: promptState === PromptState.Error ? "There has been an error while searching. Please try again later." : void 0, hasMorePages, morePagesMessage: "Find what you're looking for by typing its name.", onSubmit: submitAnswer }) });
|
|
31078
|
+
) : null, submittedAnswerLabel: answer?.label, input: import_react54.default.createElement(SelectInput, { items: searchResults, initialItems: choices, enableShortcuts: !1, emptyMessage: "No results found.", highlightedTerm: searchTerm, loading: promptState === PromptState.Loading, errorMessage: promptState === PromptState.Error ? "There has been an error while searching. Please try again later." : void 0, hasMorePages, morePagesMessage: "Find what you're looking for by typing its name.", onSubmit: submitAnswer, groupOrder }) });
|
|
31072
31079
|
}
|
|
31073
31080
|
|
|
31074
31081
|
// ../cli-kit/dist/public/node/ui.js
|
|
@@ -31545,4 +31552,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31545
31552
|
* LICENSE file in the root directory of this source tree.
|
|
31546
31553
|
*)
|
|
31547
31554
|
*/
|
|
31548
|
-
//# sourceMappingURL=chunk-
|
|
31555
|
+
//# sourceMappingURL=chunk-3Q5VPXT5.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
22
22
|
import {
|
|
23
23
|
require_semver
|
|
24
24
|
} from "./chunk-HMDWNGIV.js";
|
|
@@ -13636,7 +13636,7 @@ async function latestVersion(packageName, options) {
|
|
|
13636
13636
|
}
|
|
13637
13637
|
|
|
13638
13638
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
13639
|
-
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 = {
|
|
13639
|
+
var import_semver3 = __toESM(require_semver(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
|
|
13640
13640
|
yarn: yarnLockfile,
|
|
13641
13641
|
npm: npmLockfile,
|
|
13642
13642
|
pnpm: pnpmLockfile,
|
|
@@ -13948,4 +13948,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13948
13948
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13949
13949
|
*)
|
|
13950
13950
|
*/
|
|
13951
|
-
//# sourceMappingURL=chunk-
|
|
13951
|
+
//# sourceMappingURL=chunk-6AJRDC5C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YUBYB2KK.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
6
|
} from "./chunk-LPU2VGJR.js";
|
|
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
46
46
|
export {
|
|
47
47
|
HelpCommand
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-6C6ZDQRA.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QEIHQ2YM.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkAsync
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-74CFIJBV.js.map
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getEnvironmentData,
|
|
3
3
|
getLastSeenUserIdAfterAuth,
|
|
4
4
|
getSensitiveEnvironmentData
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JLJTVUDK.js";
|
|
6
6
|
import {
|
|
7
7
|
fetch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QIECGUO5.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CFNCXOAV.js";
|
|
12
12
|
import {
|
|
13
13
|
runWithRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6AJRDC5C.js";
|
|
15
15
|
import {
|
|
16
16
|
alwaysLogAnalytics,
|
|
17
17
|
alwaysLogMetrics,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
outputDebug,
|
|
29
29
|
outputToken,
|
|
30
30
|
reportingRateLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__esm,
|
|
@@ -15930,4 +15930,4 @@ export {
|
|
|
15930
15930
|
requestIdsCollection,
|
|
15931
15931
|
reportAnalyticsEvent
|
|
15932
15932
|
};
|
|
15933
|
-
//# sourceMappingURL=chunk-
|
|
15933
|
+
//# sourceMappingURL=chunk-7MYG46RI.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-25WAB7NJ.js";
|
|
4
4
|
import {
|
|
5
5
|
staticService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RLS2ONCK.js";
|
|
7
7
|
import {
|
|
8
8
|
asyncTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QEIHQ2YM.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YUBYB2KK.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-7ZNBHIYT.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6AJRDC5C.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-AJDONTSK.js.map
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
ensureAuthenticatedAdmin,
|
|
6
6
|
ensureAuthenticatedBusinessPlatform,
|
|
7
7
|
logout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MSSZWK63.js";
|
|
9
9
|
import {
|
|
10
10
|
base_command_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YUBYB2KK.js";
|
|
12
12
|
import {
|
|
13
13
|
fanoutHooks,
|
|
14
14
|
requestIdsCollection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7MYG46RI.js";
|
|
16
16
|
import {
|
|
17
17
|
businessPlatformFqdn,
|
|
18
18
|
normalizeStoreFqdn,
|
|
19
19
|
partnersFqdn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JLJTVUDK.js";
|
|
21
21
|
import {
|
|
22
22
|
ClientError,
|
|
23
23
|
GraphQLClient,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
retryAwareRequest,
|
|
32
32
|
sanitizeURL,
|
|
33
33
|
sanitizedHeadersOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QIECGUO5.js";
|
|
35
35
|
import {
|
|
36
36
|
CLI_KIT_VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CFNCXOAV.js";
|
|
38
38
|
import {
|
|
39
39
|
cacheRetrieveOrRepopulate,
|
|
40
40
|
findUpAndReadPackageJson,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
readAndParsePackageJson,
|
|
45
45
|
timeIntervalToMilliseconds,
|
|
46
46
|
writePackageJSON
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6AJRDC5C.js";
|
|
48
48
|
import {
|
|
49
49
|
AbortError,
|
|
50
50
|
BugError,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
source_default,
|
|
85
85
|
stringifyMessage,
|
|
86
86
|
writeFile
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
88
88
|
import {
|
|
89
89
|
basename,
|
|
90
90
|
cwd,
|
|
@@ -136966,7 +136966,7 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
|
|
|
136966
136966
|
};
|
|
136967
136967
|
|
|
136968
136968
|
// ../cli-kit/dist/public/node/api/partners.js
|
|
136969
|
-
var import_bottleneck = __toESM(require_lib2()), limiter = new import_bottleneck.default({
|
|
136969
|
+
var import_bottleneck = __toESM(require_lib2(), 1), limiter = new import_bottleneck.default({
|
|
136970
136970
|
minTime: 150,
|
|
136971
136971
|
maxConcurrent: 10
|
|
136972
136972
|
});
|
|
@@ -142602,4 +142602,4 @@ export {
|
|
|
142602
142602
|
getDebugBannerLine,
|
|
142603
142603
|
getUtilityBannerlines
|
|
142604
142604
|
};
|
|
142605
|
-
//# sourceMappingURL=chunk-
|
|
142605
|
+
//# sourceMappingURL=chunk-BSTZYPZU.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.82.0";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-CFNCXOAV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDBIXJF6.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
9
|
} from "./chunk-LPU2VGJR.js";
|
|
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
|
|
|
48
48
|
export {
|
|
49
49
|
Search
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-EEYW5FSA.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XYELYAVC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
sendErrorToBugsnag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MWVORSD7.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
12
|
} from "./chunk-LPU2VGJR.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-FYDURVQO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLS2ONCK.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-HOYO6JKN.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
nonRandomUUID,
|
|
8
8
|
shopifyFetch,
|
|
9
9
|
z
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QIECGUO5.js";
|
|
11
11
|
import {
|
|
12
12
|
getPackageManager,
|
|
13
13
|
getSession,
|
|
14
14
|
packageManagerFromUserAgent,
|
|
15
15
|
removeSession,
|
|
16
16
|
setSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6AJRDC5C.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
BugError,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
sessionConstants,
|
|
46
46
|
spinFqdn,
|
|
47
47
|
themeToken
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd
|
|
51
51
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -921,11 +921,16 @@ async function remove() {
|
|
|
921
921
|
// ../cli-kit/dist/private/node/session/device-authorization.js
|
|
922
922
|
init_cjs_shims();
|
|
923
923
|
async function requestDeviceAuthorization(scopes) {
|
|
924
|
-
let fqdn = await identityFqdn(), queryParams = { client_id: clientId(), scope: scopes.join(" ") }, url4 = `https://${fqdn}/oauth/device_authorization`,
|
|
924
|
+
let fqdn = await identityFqdn(), queryParams = { client_id: clientId(), scope: scopes.join(" ") }, url4 = `https://${fqdn}/oauth/device_authorization`, response = await shopifyFetch(url4, {
|
|
925
925
|
method: "POST",
|
|
926
926
|
headers: { "Content-type": "application/x-www-form-urlencoded" },
|
|
927
927
|
body: convertRequestToParams(queryParams)
|
|
928
|
-
})
|
|
928
|
+
}), jsonResult;
|
|
929
|
+
try {
|
|
930
|
+
jsonResult = await response.json();
|
|
931
|
+
} catch {
|
|
932
|
+
throw new BugError("Received unexpected response from the authorization service. If this issue persists, please contact support at https://help.shopify.com");
|
|
933
|
+
}
|
|
929
934
|
if (outputDebug(outputContent`Received device authorization code: ${outputToken.json(jsonResult)}`), !jsonResult.device_code || !jsonResult.verification_uri_complete)
|
|
930
935
|
throw new BugError("Failed to start authorization process");
|
|
931
936
|
if (outputInfo(`
|
|
@@ -1206,4 +1211,4 @@ export {
|
|
|
1206
1211
|
getEnvironmentData,
|
|
1207
1212
|
getSensitiveEnvironmentData
|
|
1208
1213
|
};
|
|
1209
|
-
//# sourceMappingURL=chunk-
|
|
1214
|
+
//# sourceMappingURL=chunk-JLJTVUDK.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YUBYB2KK.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
writeCommandFlagInterface,
|
|
119
119
|
writeCommandUsageExampleFile
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-JLKSXSVY.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QIECGUO5.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CFNCXOAV.js";
|
|
9
9
|
import {
|
|
10
10
|
cacheRetrieve,
|
|
11
11
|
cacheStore,
|
|
12
12
|
versionSatisfies
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6AJRDC5C.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-3Q5VPXT5.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-AW3QCINN.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-KB5GMUHY.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MSSZWK63.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3Q5VPXT5.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-KUAANQ7T.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UQXK6QDK.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.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-MFC6MLP7.js.map
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
remove,
|
|
9
9
|
setLastSeenAuthMethod,
|
|
10
10
|
setLastSeenUserIdAfterAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JLJTVUDK.js";
|
|
12
12
|
import {
|
|
13
13
|
getPartnersToken,
|
|
14
14
|
nonRandomUUID
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QIECGUO5.js";
|
|
16
16
|
import {
|
|
17
17
|
BugError,
|
|
18
18
|
outputContent,
|
|
19
19
|
outputDebug,
|
|
20
20
|
outputToken
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
22
22
|
import {
|
|
23
23
|
init_cjs_shims
|
|
24
24
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
ensureAuthenticatedBusinessPlatform,
|
|
118
118
|
logout
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-MSSZWK63.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7MYG46RI.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JLJTVUDK.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CFNCXOAV.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithRateLimit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6AJRDC5C.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
reportingRateLimit,
|
|
29
29
|
require_stacktracey,
|
|
30
30
|
shouldReportErrorAsUnexpected
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
32
32
|
import {
|
|
33
33
|
cwd,
|
|
34
34
|
isAbsolutePath,
|
|
@@ -2149,4 +2149,4 @@ export {
|
|
|
2149
2149
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2150
2150
|
addBugsnagMetadata
|
|
2151
2151
|
};
|
|
2152
|
-
//# sourceMappingURL=chunk-
|
|
2152
|
+
//# sourceMappingURL=chunk-MWVORSD7.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-25WAB7NJ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUBYB2KK.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-PRSTYBLZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -43,4 +43,4 @@ async function asyncTasks() {
|
|
|
43
43
|
export {
|
|
44
44
|
asyncTasks
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-QEIHQ2YM.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CFNCXOAV.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
11
|
environmentVariables,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
serviceEnvironment,
|
|
19
19
|
sleep,
|
|
20
20
|
systemEnvironmentVariables
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3Q5VPXT5.js";
|
|
22
22
|
import {
|
|
23
23
|
sniffForJson
|
|
24
24
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -31449,4 +31449,4 @@ mime-types/index.js:
|
|
|
31449
31449
|
* MIT Licensed
|
|
31450
31450
|
*)
|
|
31451
31451
|
*/
|
|
31452
|
-
//# sourceMappingURL=chunk-
|
|
31452
|
+
//# sourceMappingURL=chunk-QIECGUO5.js.map
|