@shopify/cli 3.80.7 → 3.81.1
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/assets/dev-console/extensions/dev-console/assets/index-ohOjvIJh.js +64 -0
- package/dist/assets/dev-console/index.html +1 -1
- package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +921 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +0 -35
- package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/Footer.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +6 -1
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/entry.server.tsx +4 -9
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +1 -1
- package/dist/assets/hydrogen/starter/app/root.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +4 -4
- package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +7 -1
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +2 -7
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes.ts +2 -2
- package/dist/assets/hydrogen/starter/env.d.ts +2 -12
- package/dist/assets/hydrogen/starter/eslint.config.js +0 -2
- package/dist/assets/hydrogen/starter/package.json +12 -11
- package/dist/assets/hydrogen/starter/server.ts +5 -2
- package/dist/assets/hydrogen/starter/tsconfig.json +6 -18
- package/dist/assets/hydrogen/starter/vite.config.ts +24 -3
- package/dist/assets/hydrogen/tailwind/package.json +1 -4
- package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/layout.jsx +7 -1
- package/dist/assets/hydrogen/virtual-routes/routes/index.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/routes/subrequest-profiler.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/virtual-root-with-layout.jsx +1 -1
- package/dist/assets/hydrogen/virtual-routes/virtual-root.jsx +1 -1
- package/dist/assets/hydrogen/vite/vite.config.js +1 -1
- package/dist/{chunk-TNF6QFVZ.js → chunk-27MYZBXV.js} +28 -31
- package/dist/{chunk-63DIRIVX.js → chunk-2Y3UFXD6.js} +242 -216
- package/dist/{chunk-YQXBJZRZ.js → chunk-5CZUSVND.js} +2 -2
- package/dist/{chunk-TMYCLPMW.js → chunk-5LMBCQDG.js} +544 -336
- package/dist/{chunk-KGZTFG3M.js → chunk-5NWUTFCV.js} +3 -3
- package/dist/{chunk-JRAEVQWT.js → chunk-5OBLOY7U.js} +2 -2
- package/dist/{chunk-RJJFC36J.js → chunk-5RPSJUXQ.js} +28 -28
- package/dist/{chunk-5K4EFFDY.js → chunk-6CJ6BGWA.js} +9 -8
- package/dist/{chunk-OQ7ZCSZM.js → chunk-6GAIDVJR.js} +8 -6
- package/dist/{chunk-PJZWUPY4.js → chunk-6NGGBF47.js} +5 -5
- package/dist/{chunk-XZM7J5LL.js → chunk-ALHM5GST.js} +5 -5
- package/dist/{chunk-ECV2CLGW.js → chunk-B44H2P6E.js} +4 -4
- package/dist/{chunk-T6CKLCY3.js → chunk-B5JZHKPR.js} +3 -3
- package/dist/{chunk-IHC7Q4LY.js → chunk-CN7P6XXP.js} +4 -4
- package/dist/{chunk-TJM3YBLQ.js → chunk-CTFDRWUN.js} +15 -12
- package/dist/{chunk-HWRJLLWI.js → chunk-DDYH6337.js} +2 -2
- package/dist/{chunk-NY2OPNXU.js → chunk-E6T6HFSE.js} +5 -5
- package/dist/{chunk-CDBXAE2F.js → chunk-EG6MBBEN.js} +99 -11
- package/dist/{chunk-OWRPRJTD.js → chunk-FAITFLRX.js} +2 -2
- package/dist/{chunk-ZOUELNMC.js → chunk-GMFX4XJF.js} +3 -3
- package/dist/{chunk-2W6OLZFD.js → chunk-H37YPI3Y.js} +3 -3
- package/dist/{chunk-RJ4CN43L.js → chunk-I2M5KL5Z.js} +4 -4
- package/dist/{chunk-VYIBTTN2.js → chunk-JKKYVUPT.js} +3 -3
- package/dist/{chunk-QPXAGLXJ.js → chunk-JV3N43QW.js} +5 -5
- package/dist/{chunk-NSTNFY7W.js → chunk-KJXXNUND.js} +45 -23
- package/dist/{chunk-5AFYDRV4.js → chunk-LPU2VGJR.js} +42 -507
- package/dist/{chunk-KUZYMDX4.js → chunk-NEQJPNB5.js} +8 -8
- package/dist/{chunk-5YH5HMRM.js → chunk-NZVDI2PG.js} +3 -3
- package/dist/{chunk-W4ZWJMX2.js → chunk-O66CPW2Z.js} +2 -2
- package/dist/{chunk-PDNRVFZE.js → chunk-OU2VE5NL.js} +16 -11
- package/dist/{chunk-RFO2FC5M.js → chunk-PINTEIWG.js} +6 -6
- package/dist/{chunk-JDRMHPFL.js → chunk-PLXKIAXS.js} +4 -4
- package/dist/{chunk-MQCYR4KR.js → chunk-R7PQLQRT.js} +4 -4
- package/dist/{chunk-MSHN7O5N.js → chunk-SOZ33QZX.js} +2 -2
- package/dist/{chunk-LQ2ZKVR6.js → chunk-UMUTXITN.js} +87 -4
- package/dist/chunk-V67D4V7T.js +107 -0
- package/dist/{chunk-77RMKCKT.js → chunk-VANXFY34.js} +2 -2
- package/dist/chunk-W5G2YPO2.js +11805 -0
- package/dist/{chunk-3DYG3ZWU.js → chunk-WSP4T6BG.js} +3 -3
- package/dist/{chunk-JU6SOKDJ.js → chunk-X2GG47RT.js} +4 -4
- package/dist/{chunk-HYECXSZG.js → chunk-ZARNHYRC.js} +276 -77
- package/dist/cli/commands/auth/logout.js +16 -17
- package/dist/cli/commands/auth/logout.test.js +18 -19
- package/dist/cli/commands/cache/clear.js +15 -16
- package/dist/cli/commands/debug/command-flags.js +15 -16
- package/dist/cli/commands/docs/generate.js +15 -16
- package/dist/cli/commands/docs/generate.test.js +16 -17
- package/dist/cli/commands/help.js +15 -16
- package/dist/cli/commands/kitchen-sink/async.js +16 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/index.js +18 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -20
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
- package/dist/cli/commands/kitchen-sink/static.js +16 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
- package/dist/cli/commands/notifications/generate.js +16 -17
- package/dist/cli/commands/notifications/list.js +16 -17
- package/dist/cli/commands/search.js +16 -17
- package/dist/cli/commands/upgrade.js +16 -17
- package/dist/cli/commands/upgrade.test.js +1 -2
- package/dist/cli/commands/version.js +16 -17
- package/dist/cli/commands/version.test.js +17 -18
- package/dist/cli/services/commands/notifications.js +11 -12
- package/dist/cli/services/commands/search.js +7 -8
- package/dist/cli/services/commands/search.test.js +8 -9
- package/dist/cli/services/commands/version.js +8 -9
- package/dist/cli/services/commands/version.test.js +10 -11
- package/dist/cli/services/kitchen-sink/async.js +7 -8
- package/dist/cli/services/kitchen-sink/prompts.js +7 -8
- package/dist/cli/services/kitchen-sink/static.js +7 -8
- package/dist/cli/services/upgrade.js +8 -9
- package/dist/cli/services/upgrade.test.js +10 -11
- package/dist/{custom-oclif-loader-XTWWK7GM.js → custom-oclif-loader-7E5Z2M56.js} +7 -8
- package/dist/{del-YIU34DZ5.js → del-4JSTEFDW.js} +3 -3
- package/dist/{devtools-J4QAI6HR.js → devtools-LDCSRUXB.js} +4 -4
- package/dist/{error-handler-MIQWANES.js → error-handler-GHVJK7OK.js} +13 -14
- package/dist/hooks/postrun.js +11 -12
- package/dist/hooks/prerun.js +12 -13
- package/dist/{http-proxy-KGLXPNEY.js → http-proxy-LHSVRGJ5.js} +14 -10
- package/dist/index.js +153266 -162667
- package/dist/{lib-MIBR2T7P.js → lib-2ZBT3UR2.js} +5 -5
- package/dist/{local-OL4QQF7A.js → local-GLHD5LYH.js} +9 -14
- package/dist/{magic-string.es-BSVDQOZI.js → magic-string.es-UZAAPNRE.js} +42 -36
- package/dist/{morph-3VOLMA55.js → morph-DFRO3NRL.js} +10 -10
- package/dist/node-OFSPLONP.js +164 -0
- package/dist/{node-package-manager-YZ7SC7JY.js → node-package-manager-K7DEALW5.js} +8 -9
- package/dist/{out-5KP5WGIK.js → out-NKJPLKLB.js} +2 -2
- package/dist/{path-2K5HIMHZ.js → path-GB4VIEM6.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-UMSB2BWG.js → ui-G7IYCY5T.js} +7 -10
- package/dist/{workerd-K4ZX64LQ.js → workerd-IDTCFUND.js} +18 -20
- package/oclif.manifest.json +29 -9
- package/package.json +10 -11
- package/dist/assets/dev-console/extensions/dev-console/assets/index-CqNhY1h-.js +0 -64
- package/dist/assets/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +0 -52
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
- package/dist/assets/hydrogen/starter/react-router.config.ts +0 -7
- package/dist/chunk-3I3GQNEW.js +0 -95
- package/dist/chunk-57Q6OQG4.js +0 -111
- package/dist/chunk-ZEM3T4UY.js +0 -10590
- package/dist/toml-patch-wasm-J5VGG6WG.js +0 -140
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KJXXNUND.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZARNHYRC.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2Y3UFXD6.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LPU2VGJR.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims
|
|
@@ -26,7 +26,7 @@ init_cjs_shims();
|
|
|
26
26
|
init_cjs_shims();
|
|
27
27
|
import { fileURLToPath } from "node:url";
|
|
28
28
|
async function launchCLI(options) {
|
|
29
|
-
let { errorHandler } = await import("./error-handler-
|
|
29
|
+
let { errorHandler } = await import("./error-handler-GHVJK7OK.js"), { isDevelopment } = await import("./local-GLHD5LYH.js"), oclif = await import("./lib-2ZBT3UR2.js"), { ShopifyConfig } = await import("./custom-oclif-loader-7E5Z2M56.js");
|
|
30
30
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
31
31
|
try {
|
|
32
32
|
let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
|
|
|
41
41
|
async function exitIfOldNodeVersion(versions = process.versions) {
|
|
42
42
|
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
43
43
|
if (nodeMajorVersion < 18) {
|
|
44
|
-
let { renderError } = await import("./ui-
|
|
44
|
+
let { renderError } = await import("./ui-G7IYCY5T.js");
|
|
45
45
|
renderError({
|
|
46
46
|
headline: "Upgrade to a supported Node version now.",
|
|
47
47
|
body: [
|
|
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
68
68
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
|
|
69
69
|
}
|
|
70
70
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
71
|
-
let { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
71
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-K7DEALW5.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
72
72
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
73
73
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
74
74
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
jsonFlag,
|
|
118
118
|
ClearCache
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-NEQJPNB5.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6NGGBF47.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KJXXNUND.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-NZVDI2PG.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2Y3UFXD6.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-O66CPW2Z.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RPSJUXQ.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6GAIDVJR.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DDYH6337.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithRateLimit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZARNHYRC.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -28,17 +28,17 @@ import {
|
|
|
28
28
|
reportingRateLimit,
|
|
29
29
|
require_stacktracey,
|
|
30
30
|
shouldReportErrorAsUnexpected
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2Y3UFXD6.js";
|
|
32
32
|
import {
|
|
33
33
|
cwd,
|
|
34
34
|
isAbsolutePath,
|
|
35
35
|
joinPath,
|
|
36
36
|
normalizePath,
|
|
37
37
|
relativePath
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-EG6MBBEN.js";
|
|
39
39
|
import {
|
|
40
40
|
require_lib
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LPU2VGJR.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__require,
|
|
@@ -352,11 +352,16 @@ var require_end_of_stream = __commonJS({
|
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
// ../../node_modules/.pnpm/pump@3.0.
|
|
355
|
+
// ../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js
|
|
356
356
|
var require_pump = __commonJS({
|
|
357
|
-
"../../node_modules/.pnpm/pump@3.0.
|
|
357
|
+
"../../node_modules/.pnpm/pump@3.0.2/node_modules/pump/index.js"(exports, module) {
|
|
358
358
|
init_cjs_shims();
|
|
359
|
-
var once = require_once(), eos = require_end_of_stream(), fs
|
|
359
|
+
var once = require_once(), eos = require_end_of_stream(), fs;
|
|
360
|
+
try {
|
|
361
|
+
fs = __require("fs");
|
|
362
|
+
} catch {
|
|
363
|
+
}
|
|
364
|
+
var noop = function() {
|
|
360
365
|
}, ancient = /^v?\.0/.test(process.version), isFn = function(fn) {
|
|
361
366
|
return typeof fn == "function";
|
|
362
367
|
}, isFS = function(stream) {
|
|
@@ -2144,4 +2149,4 @@ export {
|
|
|
2144
2149
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2145
2150
|
addBugsnagMetadata
|
|
2146
2151
|
};
|
|
2147
|
-
//# sourceMappingURL=chunk-
|
|
2152
|
+
//# sourceMappingURL=chunk-OU2VE5NL.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-27MYZBXV.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DDYH6337.js";
|
|
9
9
|
import {
|
|
10
10
|
cacheRetrieve,
|
|
11
11
|
cacheStore,
|
|
12
12
|
versionSatisfies
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZARNHYRC.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-2Y3UFXD6.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-GHVJK7OK.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-PINTEIWG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H37YPI3Y.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KJXXNUND.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2Y3UFXD6.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-PLXKIAXS.js.map
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
remove,
|
|
9
9
|
setLastSeenAuthMethod,
|
|
10
10
|
setLastSeenUserIdAfterAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6GAIDVJR.js";
|
|
12
12
|
import {
|
|
13
13
|
getPartnersToken,
|
|
14
14
|
nonRandomUUID
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-27MYZBXV.js";
|
|
16
16
|
import {
|
|
17
17
|
BugError,
|
|
18
18
|
outputContent,
|
|
19
19
|
outputDebug,
|
|
20
20
|
outputToken
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2Y3UFXD6.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-R7PQLQRT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2Y3UFXD6.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-SOZ33QZX.js.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
require_supports_color
|
|
3
|
-
} from "./chunk-3I3GQNEW.js";
|
|
4
1
|
import {
|
|
5
2
|
__commonJS,
|
|
6
3
|
__require,
|
|
@@ -334,6 +331,90 @@ var require_browser = __commonJS({
|
|
|
334
331
|
}
|
|
335
332
|
});
|
|
336
333
|
|
|
334
|
+
// ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
335
|
+
var require_has_flag = __commonJS({
|
|
336
|
+
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
|
|
337
|
+
"use strict";
|
|
338
|
+
init_cjs_shims();
|
|
339
|
+
module.exports = (flag, argv = process.argv) => {
|
|
340
|
+
let prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--");
|
|
341
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
|
|
346
|
+
// ../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js
|
|
347
|
+
var require_supports_color = __commonJS({
|
|
348
|
+
"../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports, module) {
|
|
349
|
+
"use strict";
|
|
350
|
+
init_cjs_shims();
|
|
351
|
+
var os = __require("os"), tty = __require("tty"), hasFlag = require_has_flag(), { env } = process, flagForceColor;
|
|
352
|
+
hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1);
|
|
353
|
+
function envForceColor() {
|
|
354
|
+
if ("FORCE_COLOR" in env)
|
|
355
|
+
return env.FORCE_COLOR === "true" ? 1 : env.FORCE_COLOR === "false" ? 0 : env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
356
|
+
}
|
|
357
|
+
function translateLevel(level) {
|
|
358
|
+
return level === 0 ? !1 : {
|
|
359
|
+
level,
|
|
360
|
+
hasBasic: !0,
|
|
361
|
+
has256: level >= 2,
|
|
362
|
+
has16m: level >= 3
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
function supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
|
|
366
|
+
let noFlagForceColor = envForceColor();
|
|
367
|
+
noFlagForceColor !== void 0 && (flagForceColor = noFlagForceColor);
|
|
368
|
+
let forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
369
|
+
if (forceColor === 0)
|
|
370
|
+
return 0;
|
|
371
|
+
if (sniffFlags) {
|
|
372
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor"))
|
|
373
|
+
return 3;
|
|
374
|
+
if (hasFlag("color=256"))
|
|
375
|
+
return 2;
|
|
376
|
+
}
|
|
377
|
+
if (haveStream && !streamIsTTY && forceColor === void 0)
|
|
378
|
+
return 0;
|
|
379
|
+
let min = forceColor || 0;
|
|
380
|
+
if (env.TERM === "dumb")
|
|
381
|
+
return min;
|
|
382
|
+
if (process.platform === "win32") {
|
|
383
|
+
let osRelease = os.release().split(".");
|
|
384
|
+
return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
|
|
385
|
+
}
|
|
386
|
+
if ("CI" in env)
|
|
387
|
+
return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship" ? 1 : min;
|
|
388
|
+
if ("TEAMCITY_VERSION" in env)
|
|
389
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
390
|
+
if (env.COLORTERM === "truecolor")
|
|
391
|
+
return 3;
|
|
392
|
+
if ("TERM_PROGRAM" in env) {
|
|
393
|
+
let version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
394
|
+
switch (env.TERM_PROGRAM) {
|
|
395
|
+
case "iTerm.app":
|
|
396
|
+
return version >= 3 ? 3 : 2;
|
|
397
|
+
case "Apple_Terminal":
|
|
398
|
+
return 2;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || "COLORTERM" in env ? 1 : min;
|
|
402
|
+
}
|
|
403
|
+
function getSupportLevel(stream, options = {}) {
|
|
404
|
+
let level = supportsColor(stream, {
|
|
405
|
+
streamIsTTY: stream && stream.isTTY,
|
|
406
|
+
...options
|
|
407
|
+
});
|
|
408
|
+
return translateLevel(level);
|
|
409
|
+
}
|
|
410
|
+
module.exports = {
|
|
411
|
+
supportsColor: getSupportLevel,
|
|
412
|
+
stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
|
|
413
|
+
stderr: getSupportLevel({ isTTY: tty.isatty(2) })
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
|
|
337
418
|
// ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js
|
|
338
419
|
var require_node = __commonJS({
|
|
339
420
|
"../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js"(exports, module) {
|
|
@@ -490,7 +571,9 @@ var require_src = __commonJS({
|
|
|
490
571
|
});
|
|
491
572
|
|
|
492
573
|
export {
|
|
574
|
+
require_has_flag,
|
|
493
575
|
require_ms,
|
|
576
|
+
require_supports_color,
|
|
494
577
|
require_src
|
|
495
578
|
};
|
|
496
|
-
//# sourceMappingURL=chunk-
|
|
579
|
+
//# sourceMappingURL=chunk-UMUTXITN.js.map
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_cjs_shims
|
|
3
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
4
|
+
|
|
5
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_700217a4222a08650099cd57a51aa579/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
6
|
+
init_cjs_shims();
|
|
7
|
+
|
|
8
|
+
// ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
|
|
9
|
+
init_cjs_shims();
|
|
10
|
+
import net from "node:net";
|
|
11
|
+
import os from "node:os";
|
|
12
|
+
var Locked = class extends Error {
|
|
13
|
+
constructor(port) {
|
|
14
|
+
super(`${port} is locked`);
|
|
15
|
+
}
|
|
16
|
+
}, lockedPorts = {
|
|
17
|
+
old: /* @__PURE__ */ new Set(),
|
|
18
|
+
young: /* @__PURE__ */ new Set()
|
|
19
|
+
}, releaseOldLockedPortsIntervalMs = 1e3 * 15, minPort = 1024, maxPort = 65535, timeout, getLocalHosts = () => {
|
|
20
|
+
let interfaces = os.networkInterfaces(), results = /* @__PURE__ */ new Set([void 0, "0.0.0.0"]);
|
|
21
|
+
for (let _interface of Object.values(interfaces))
|
|
22
|
+
for (let config of _interface)
|
|
23
|
+
results.add(config.address);
|
|
24
|
+
return results;
|
|
25
|
+
}, checkAvailablePort = (options) => new Promise((resolve, reject) => {
|
|
26
|
+
let server = net.createServer();
|
|
27
|
+
server.unref(), server.on("error", reject), server.listen(options, () => {
|
|
28
|
+
let { port } = server.address();
|
|
29
|
+
server.close(() => {
|
|
30
|
+
resolve(port);
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}), getAvailablePort = async (options, hosts) => {
|
|
34
|
+
if (options.host || options.port === 0)
|
|
35
|
+
return checkAvailablePort(options);
|
|
36
|
+
for (let host of hosts)
|
|
37
|
+
try {
|
|
38
|
+
await checkAvailablePort({ port: options.port, host });
|
|
39
|
+
} catch (error) {
|
|
40
|
+
if (!["EADDRNOTAVAIL", "EINVAL"].includes(error.code))
|
|
41
|
+
throw error;
|
|
42
|
+
}
|
|
43
|
+
return options.port;
|
|
44
|
+
}, portCheckSequence = function* (ports) {
|
|
45
|
+
ports && (yield* ports), yield 0;
|
|
46
|
+
};
|
|
47
|
+
async function getPorts(options) {
|
|
48
|
+
let ports, exclude = /* @__PURE__ */ new Set();
|
|
49
|
+
if (options && (options.port && (ports = typeof options.port == "number" ? [options.port] : options.port), options.exclude)) {
|
|
50
|
+
let excludeIterable = options.exclude;
|
|
51
|
+
if (typeof excludeIterable[Symbol.iterator] != "function")
|
|
52
|
+
throw new TypeError("The `exclude` option must be an iterable.");
|
|
53
|
+
for (let element of excludeIterable) {
|
|
54
|
+
if (typeof element != "number")
|
|
55
|
+
throw new TypeError("Each item in the `exclude` option must be a number corresponding to the port you want excluded.");
|
|
56
|
+
if (!Number.isSafeInteger(element))
|
|
57
|
+
throw new TypeError(`Number ${element} in the exclude option is not a safe integer and can't be used`);
|
|
58
|
+
}
|
|
59
|
+
exclude = new Set(excludeIterable);
|
|
60
|
+
}
|
|
61
|
+
timeout === void 0 && (timeout = setTimeout(() => {
|
|
62
|
+
timeout = void 0, lockedPorts.old = lockedPorts.young, lockedPorts.young = /* @__PURE__ */ new Set();
|
|
63
|
+
}, releaseOldLockedPortsIntervalMs), timeout.unref && timeout.unref());
|
|
64
|
+
let hosts = getLocalHosts();
|
|
65
|
+
for (let port of portCheckSequence(ports))
|
|
66
|
+
try {
|
|
67
|
+
if (exclude.has(port))
|
|
68
|
+
continue;
|
|
69
|
+
let availablePort = await getAvailablePort({ ...options, port }, hosts);
|
|
70
|
+
for (; lockedPorts.old.has(availablePort) || lockedPorts.young.has(availablePort); ) {
|
|
71
|
+
if (port !== 0)
|
|
72
|
+
throw new Locked(port);
|
|
73
|
+
availablePort = await getAvailablePort({ ...options, port }, hosts);
|
|
74
|
+
}
|
|
75
|
+
return lockedPorts.young.add(availablePort), availablePort;
|
|
76
|
+
} catch (error) {
|
|
77
|
+
if (!["EADDRINUSE", "EACCES"].includes(error.code) && !(error instanceof Locked))
|
|
78
|
+
throw error;
|
|
79
|
+
}
|
|
80
|
+
throw new Error("No available ports found");
|
|
81
|
+
}
|
|
82
|
+
function portNumbers(from, to) {
|
|
83
|
+
if (!Number.isInteger(from) || !Number.isInteger(to))
|
|
84
|
+
throw new TypeError("`from` and `to` must be integer numbers");
|
|
85
|
+
if (from < minPort || from > maxPort)
|
|
86
|
+
throw new RangeError(`'from' must be between ${minPort} and ${maxPort}`);
|
|
87
|
+
if (to < minPort || to > maxPort)
|
|
88
|
+
throw new RangeError(`'to' must be between ${minPort} and ${maxPort}`);
|
|
89
|
+
if (from > to)
|
|
90
|
+
throw new RangeError("`to` must be greater than or equal to `from`");
|
|
91
|
+
return function* (from2, to2) {
|
|
92
|
+
for (let port = from2; port <= to2; port++)
|
|
93
|
+
yield port;
|
|
94
|
+
}(from, to);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_700217a4222a08650099cd57a51aa579/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
|
|
98
|
+
function findPort(portPreference, range = 100) {
|
|
99
|
+
return getPorts({
|
|
100
|
+
port: portNumbers(portPreference, portPreference + range)
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export {
|
|
105
|
+
findPort
|
|
106
|
+
};
|
|
107
|
+
//# sourceMappingURL=chunk-V67D4V7T.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2Y3UFXD6.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-VANXFY34.js.map
|