@shopify/cli 3.79.1 → 3.80.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/{chokidar-OATAHMV6.js → chokidar-TTCYG5AA.js} +3 -3
- package/dist/{chokidar-BLUAYFAB.js → chokidar-XUA2BN3J.js} +3 -3
- package/dist/{chunk-XXUOBZLX.js → chunk-2YZW7TJK.js} +3 -3
- package/dist/{chunk-DZ7XZDWD.js → chunk-37WBE3RC.js} +3 -3
- package/dist/{chunk-MW7RWHY5.js → chunk-3GXB4ZRP.js} +4 -4
- package/dist/{chunk-ZMHZBZMW.js → chunk-3MQT2ETC.js} +4 -4
- package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
- package/dist/{chunk-UTDSSCPI.js → chunk-5AFYDRV4.js} +886 -574
- package/dist/{chunk-IW2W7BT2.js → chunk-6LR4FWOA.js} +3 -3
- package/dist/{chunk-CFWBUC64.js → chunk-7H74TBA2.js} +3 -3
- package/dist/{chunk-B3YWYURY.js → chunk-7IK72W75.js} +3 -3
- package/dist/{chunk-4YS5JU6T.js → chunk-AO63XITX.js} +3 -3
- package/dist/{chunk-QV4LZSZK.js → chunk-AZ6Y4YZT.js} +103 -92
- package/dist/{chunk-3ZBLWNTJ.js → chunk-BUJJ6TMB.js} +4 -4
- package/dist/{chunk-Z5MHHPBU.js → chunk-EDUZEBZD.js} +4 -4
- package/dist/{chunk-MKNQBR63.js → chunk-F43GEFQ6.js} +3 -3
- package/dist/{chunk-EMPP4I5H.js → chunk-F7J5CUMZ.js} +2 -2
- package/dist/{chunk-WZ257YHY.js → chunk-G4BLVBQD.js} +4 -4
- package/dist/{chunk-NBCIERDR.js → chunk-GD4RPFTP.js} +4 -4
- package/dist/{chunk-5B4X6PWS.js → chunk-GFHULNRP.js} +8 -8
- package/dist/{chunk-7ZJSTNNB.js → chunk-GTREEQHM.js} +5 -5
- package/dist/{chunk-ZNGCM64E.js → chunk-H352PF4V.js} +59 -24
- package/dist/{chunk-R65RM3GF.js → chunk-IDQNIJ3J.js} +5 -5
- package/dist/{chunk-PFMD3KQP.js → chunk-JH7IS4YF.js} +2 -2
- package/dist/{chunk-GINKNYRN.js → chunk-JSVOLQ6E.js} +6 -6
- package/dist/{chunk-7BFQPX6U.js → chunk-MMX2XAE3.js} +5 -5
- package/dist/{chunk-IHRJ645Y.js → chunk-MWIL24VU.js} +3 -3
- package/dist/{chunk-JED5Q5EJ.js → chunk-NRK4JPTC.js} +5 -5
- package/dist/{chunk-WMOUKE4L.js → chunk-NWFRDDT5.js} +11 -11
- package/dist/{chunk-GI77RADE.js → chunk-OGBA25HE.js} +3 -3
- package/dist/{chunk-MP5RLDFN.js → chunk-OWRPRJTD.js} +2 -2
- package/dist/{chunk-B67HZYEC.js → chunk-PAKKG4IK.js} +9 -9
- package/dist/{chunk-OP4DJUZ6.js → chunk-PCSYEXIP.js} +6 -6
- package/dist/{chunk-2BQWY5ZH.js → chunk-R3CVGGX7.js} +2 -2
- package/dist/{chunk-2DHJN6XL.js → chunk-REH3UHFP.js} +2 -2
- package/dist/{chunk-KPKJOJKL.js → chunk-S5NF3A56.js} +3 -3
- package/dist/{chunk-L7AFSENO.js → chunk-SUFYMVTC.js} +2 -2
- package/dist/{chunk-JA4N4NXM.js → chunk-TC3YYLZY.js} +4 -4
- package/dist/{chunk-5DBS6QOU.js → chunk-TJM3YBLQ.js} +2 -2
- package/dist/{chunk-QJMVJ2YT.js → chunk-VR4MPAR3.js} +7 -7
- package/dist/{chunk-VTNMKNMC.js → chunk-XYKT7ZUU.js} +2 -2
- package/dist/{chunk-H44KHRQ3.js → chunk-XZ7LRLSW.js} +7 -7
- package/dist/{chunk-73GDKVV2.js → chunk-YPF3IQMR.js} +2 -2
- package/dist/{chunk-Y53XECL6.js → chunk-ZEM3T4UY.js} +1 -7
- package/dist/cli/commands/auth/logout.js +16 -16
- package/dist/cli/commands/auth/logout.test.js +18 -18
- package/dist/cli/commands/cache/clear.js +15 -15
- package/dist/cli/commands/debug/command-flags.js +15 -15
- package/dist/cli/commands/docs/generate.js +15 -15
- package/dist/cli/commands/docs/generate.test.js +16 -16
- package/dist/cli/commands/help.js +15 -15
- package/dist/cli/commands/kitchen-sink/async.js +16 -16
- package/dist/cli/commands/kitchen-sink/async.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/index.js +18 -18
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +16 -16
- package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -17
- package/dist/cli/commands/kitchen-sink/static.js +16 -16
- package/dist/cli/commands/kitchen-sink/static.test.js +17 -17
- package/dist/cli/commands/notifications/generate.js +16 -16
- package/dist/cli/commands/notifications/list.js +16 -16
- package/dist/cli/commands/search.js +16 -16
- package/dist/cli/commands/upgrade.js +16 -16
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +16 -16
- package/dist/cli/commands/version.test.js +17 -17
- package/dist/cli/services/commands/notifications.js +11 -11
- package/dist/cli/services/commands/search.js +7 -7
- package/dist/cli/services/commands/search.test.js +8 -8
- package/dist/cli/services/commands/version.js +8 -8
- package/dist/cli/services/commands/version.test.js +10 -10
- package/dist/cli/services/kitchen-sink/async.js +7 -7
- package/dist/cli/services/kitchen-sink/prompts.js +7 -7
- package/dist/cli/services/kitchen-sink/static.js +7 -7
- package/dist/cli/services/upgrade.js +8 -8
- package/dist/cli/services/upgrade.test.js +10 -10
- package/dist/{custom-oclif-loader-MZ3GZ32O.js → custom-oclif-loader-HQIYD7VA.js} +7 -7
- package/dist/data/filters.json +108 -1
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +143 -1
- package/dist/data/setting.json +6 -1
- package/dist/data/tags.json +30 -18
- package/dist/{del-2SYBVRHB.js → del-YIU34DZ5.js} +4 -4
- package/dist/{devtools-BA4WST2D.js → devtools-EVCDECOU.js} +2 -2
- package/dist/{devtools-6LOQORRT.js → devtools-J4QAI6HR.js} +2 -2
- package/dist/{error-handler-MTFIQP6U.js → error-handler-BQ3ZQYX7.js} +13 -13
- package/dist/hooks/postrun.js +11 -11
- package/dist/hooks/prerun.js +14 -13
- package/dist/{http-proxy-L3MCJRQS.js → http-proxy-KGLXPNEY.js} +1 -9
- package/dist/index.js +153372 -16081
- package/dist/{lib-MWWAATIC.js → lib-MIBR2T7P.js} +5 -5
- package/dist/{local-34IWAIJY.js → local-F5VFMUS5.js} +7 -7
- package/dist/{morph-MDY3DSJL.js → morph-EB6ON4RE.js} +45 -45
- package/dist/{node-6M2Y6S6K.js → node-NS4BEHX4.js} +17 -17
- package/dist/{node-package-manager-S5BR3SQ7.js → node-package-manager-XTTAGATX.js} +8 -8
- package/dist/out-5KP5WGIK.js +7 -0
- package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-FJ2QLK3P.js → ui-A4PGXQX4.js} +7 -7
- package/dist/{workerd-N5O22HSJ.js → workerd-WQC6GRYP.js} +17 -17
- package/oclif.manifest.json +5 -21
- package/package.json +7 -7
- package/dist/out-AZBX4ITJ.js +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R3CVGGX7.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5AFYDRV4.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
@@ -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-BUJJ6TMB.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3MQT2ETC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AZ6Y4YZT.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-EDUZEBZD.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YPF3IQMR.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.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-F43GEFQ6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-X7YTIMNN.js";
|
|
4
4
|
import {
|
|
5
5
|
require_picomatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7IK72W75.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__require,
|
|
@@ -494,4 +494,4 @@ export {
|
|
|
494
494
|
require_anymatch,
|
|
495
495
|
require_is_binary_path
|
|
496
496
|
};
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-F7J5CUMZ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6LR4FWOA.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AZ6Y4YZT.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
22
22
|
moduleDirectory
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-57Q6OQG4.js";
|
|
24
24
|
import {
|
|
25
25
|
init_cjs_shims
|
|
26
26
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
|
|
|
139
139
|
export {
|
|
140
140
|
upgrade
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-G4BLVBQD.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2YZW7TJK.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AZ6Y4YZT.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-GD4RPFTP.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6LR4FWOA.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AZ6Y4YZT.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5AFYDRV4.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-BQ3ZQYX7.js"), { isDevelopment } = await import("./local-F5VFMUS5.js"), oclif = await import("./lib-MIBR2T7P.js"), { ShopifyConfig } = await import("./custom-oclif-loader-HQIYD7VA.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-A4PGXQX4.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-XTTAGATX.js"), { moduleDirectory } = await import("./path-2K5HIMHZ.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-GFHULNRP.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-REH3UHFP.js";
|
|
4
4
|
import {
|
|
5
5
|
staticService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YPF3IQMR.js";
|
|
7
7
|
import {
|
|
8
8
|
asyncTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JH7IS4YF.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XZ7LRLSW.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-GTREEQHM.js.map
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
ensureAuthenticatedAdmin,
|
|
9
9
|
ensureAuthenticatedBusinessPlatform,
|
|
10
10
|
logout
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3MQT2ETC.js";
|
|
12
12
|
import {
|
|
13
13
|
base_command_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
15
15
|
import {
|
|
16
16
|
fanoutHooks,
|
|
17
17
|
requestIdsCollection
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PCSYEXIP.js";
|
|
19
19
|
import {
|
|
20
20
|
businessPlatformFqdn,
|
|
21
21
|
normalizeStoreFqdn,
|
|
22
22
|
partnersFqdn
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NWFRDDT5.js";
|
|
24
24
|
import {
|
|
25
25
|
ClientError,
|
|
26
26
|
GraphQLClient,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
retryAwareRequest,
|
|
35
35
|
sanitizeURL,
|
|
36
36
|
sanitizedHeadersOutput
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NRK4JPTC.js";
|
|
38
38
|
import {
|
|
39
39
|
CLI_KIT_VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SUFYMVTC.js";
|
|
41
41
|
import {
|
|
42
42
|
cacheRetrieveOrRepopulate,
|
|
43
43
|
findUpAndReadPackageJson,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
readAndParsePackageJson,
|
|
48
48
|
timeIntervalToMilliseconds,
|
|
49
49
|
writePackageJSON
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6LR4FWOA.js";
|
|
51
51
|
import {
|
|
52
52
|
AbortError,
|
|
53
53
|
BugError,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
source_default,
|
|
88
88
|
stringifyMessage,
|
|
89
89
|
writeFile
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-AZ6Y4YZT.js";
|
|
91
91
|
import {
|
|
92
92
|
basename,
|
|
93
93
|
cwd,
|
|
@@ -97,10 +97,10 @@ import {
|
|
|
97
97
|
relativePath,
|
|
98
98
|
relativizePath,
|
|
99
99
|
resolvePath
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-57Q6OQG4.js";
|
|
101
101
|
import {
|
|
102
102
|
require_lib
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-5AFYDRV4.js";
|
|
104
104
|
import {
|
|
105
105
|
require_source_map_support
|
|
106
106
|
} from "./chunk-G5R6YD27.js";
|
|
@@ -1918,7 +1918,7 @@ var require_third_party = __commonJS({
|
|
|
1918
1918
|
return l = (2 - s) * v, lmin = (2 - s) * vmin, sl = s * vmin, sl /= lmin <= 1 ? lmin : 2 - lmin, sl = sl || 0, l /= 2, [h, sl * 100, l * 100];
|
|
1919
1919
|
}, convert.hwb.rgb = function(hwb) {
|
|
1920
1920
|
var h = hwb[0] / 360, wh = hwb[1] / 100, bl = hwb[2] / 100, ratio = wh + bl, i, v, f, n;
|
|
1921
|
-
ratio > 1 && (wh /= ratio, bl /= ratio), i = Math.floor(6 * h), v = 1 - bl, f = 6 * h - i, i & 1 && (f = 1 - f), n = wh + f * (v - wh);
|
|
1921
|
+
ratio > 1 && (wh /= ratio, bl /= ratio), i = Math.floor(6 * h), v = 1 - bl, f = 6 * h - i, (i & 1) !== 0 && (f = 1 - f), n = wh + f * (v - wh);
|
|
1922
1922
|
var r, g, b;
|
|
1923
1923
|
switch (i) {
|
|
1924
1924
|
default:
|
|
@@ -108842,7 +108842,7 @@ var require_prettier = __commonJS({
|
|
|
108842
108842
|
return l = (2 - s) * v, lmin = (2 - s) * vmin, sl = s * vmin, sl /= lmin <= 1 ? lmin : 2 - lmin, sl = sl || 0, l /= 2, [h, sl * 100, l * 100];
|
|
108843
108843
|
}, convert.hwb.rgb = function(hwb) {
|
|
108844
108844
|
var h = hwb[0] / 360, wh = hwb[1] / 100, bl = hwb[2] / 100, ratio = wh + bl, i, v, f, n;
|
|
108845
|
-
ratio > 1 && (wh /= ratio, bl /= ratio), i = Math.floor(6 * h), v = 1 - bl, f = 6 * h - i, i & 1 && (f = 1 - f), n = wh + f * (v - wh);
|
|
108845
|
+
ratio > 1 && (wh /= ratio, bl /= ratio), i = Math.floor(6 * h), v = 1 - bl, f = 6 * h - i, (i & 1) !== 0 && (f = 1 - f), n = wh + f * (v - wh);
|
|
108846
108846
|
var r, g, b;
|
|
108847
108847
|
switch (i) {
|
|
108848
108848
|
default:
|
|
@@ -111933,7 +111933,7 @@ ${frame}`), highlighted ? chalk.reset(frame) : frame;
|
|
|
111933
111933
|
exports22.isInteger = (num) => typeof num == "number" ? Number.isInteger(num) : typeof num == "string" && num.trim() !== "" ? Number.isInteger(Number(num)) : !1, exports22.find = (node, type) => node.nodes.find((node2) => node2.type === type), exports22.exceedsLimit = (min, max, step = 1, limit) => limit === !1 || !exports22.isInteger(min) || !exports22.isInteger(max) ? !1 : (Number(max) - Number(min)) / Number(step) >= limit, exports22.escapeNode = (block, n = 0, type) => {
|
|
111934
111934
|
let node = block.nodes[n];
|
|
111935
111935
|
node && (type && node.type === type || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
|
|
111936
|
-
}, exports22.encloseBrace = (node) => node.type !== "brace"
|
|
111936
|
+
}, exports22.encloseBrace = (node) => node.type !== "brace" ? !1 : node.commas >> 0 + node.ranges >> 0 === 0 ? (node.invalid = !0, !0) : !1, exports22.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : block.commas >> 0 + block.ranges >> 0 === 0 || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1, exports22.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0, exports22.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []), exports22.flatten = (...args) => {
|
|
111937
111937
|
let result = [], flat = (arr) => {
|
|
111938
111938
|
for (let i = 0; i < arr.length; i++) {
|
|
111939
111939
|
let ele = arr[i];
|
|
@@ -135807,7 +135807,7 @@ init_cjs_shims();
|
|
|
135807
135807
|
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
|
|
135808
135808
|
init_cjs_shims();
|
|
135809
135809
|
async function transpileFile(code, filepath, keepTypes = !0) {
|
|
135810
|
-
let { transpileTs } = await import("./morph-
|
|
135810
|
+
let { transpileTs } = await import("./morph-EB6ON4RE.js");
|
|
135811
135811
|
return transpileTs(code, filepath, keepTypes);
|
|
135812
135812
|
}
|
|
135813
135813
|
|
|
@@ -136542,21 +136542,50 @@ Request ID: ${requestId}
|
|
|
136542
136542
|
}
|
|
136543
136543
|
|
|
136544
136544
|
// ../cli-kit/dist/public/node/api/graphql.js
|
|
136545
|
-
async function
|
|
136546
|
-
let
|
|
136545
|
+
async function createGraphQLClient({ url, addedHeaders, token }) {
|
|
136546
|
+
let headers = {
|
|
136547
136547
|
...addedHeaders,
|
|
136548
136548
|
...buildHeaders(token)
|
|
136549
|
+
}, clientOptions = { agent: await httpsAgent(), headers };
|
|
136550
|
+
return {
|
|
136551
|
+
client: new GraphQLClient(url, clientOptions),
|
|
136552
|
+
headers
|
|
136549
136553
|
};
|
|
136554
|
+
}
|
|
136555
|
+
async function performGraphQLRequest(options2) {
|
|
136556
|
+
let { token, addedHeaders, queryAsString, variables, api, url, responseOptions, unauthorizedHandler, cacheOptions } = options2, requestBehaviour = requestMode(options2.preferredBehaviour ?? "default"), { headers, client } = await createGraphQLClient({ url, addedHeaders, token });
|
|
136550
136557
|
debugLogRequestInfo(api, queryAsString, url, variables, headers);
|
|
136551
|
-
let
|
|
136558
|
+
let rawGraphQLRequest = async () => {
|
|
136552
136559
|
let fullResponse;
|
|
136553
136560
|
try {
|
|
136554
136561
|
return client.requestConfig.signal = abortSignalFromRequestBehaviour(requestBehaviour), fullResponse = await client.rawRequest(queryAsString, variables), await logLastRequestIdFromResponse(fullResponse), fullResponse;
|
|
136555
136562
|
} catch (error) {
|
|
136556
136563
|
throw error instanceof ClientError && await logLastRequestIdFromResponse(error.response), error;
|
|
136557
136564
|
}
|
|
136558
|
-
},
|
|
136559
|
-
let
|
|
136565
|
+
}, simpleUnauthorizedHandler = unauthorizedHandler?.type === "simple" ? unauthorizedHandler.handler : void 0, tokenRefreshHandler = unauthorizedHandler?.type === "token_refresh" ? unauthorizedHandler.handler : void 0, tokenRefreshUnauthorizedHandlerFunction = tokenRefreshHandler ? async () => {
|
|
136566
|
+
let refreshTokenResult = await tokenRefreshHandler();
|
|
136567
|
+
if (refreshTokenResult.token) {
|
|
136568
|
+
let { client: newClient, headers: newHeaders } = await createGraphQLClient({
|
|
136569
|
+
url,
|
|
136570
|
+
addedHeaders,
|
|
136571
|
+
token: refreshTokenResult.token
|
|
136572
|
+
});
|
|
136573
|
+
return client = newClient, headers = newHeaders, !0;
|
|
136574
|
+
} else
|
|
136575
|
+
return !1;
|
|
136576
|
+
} : void 0, request = () => retryAwareRequest({ request: rawGraphQLRequest, url, ...requestBehaviour }, responseOptions?.handleErrors === !1 ? void 0 : errorHandler(api), simpleUnauthorizedHandler), executeWithTimer = () => runWithTimer("cmd_all_timing_network_ms")(async () => {
|
|
136577
|
+
let response;
|
|
136578
|
+
try {
|
|
136579
|
+
response = await request();
|
|
136580
|
+
} catch (error) {
|
|
136581
|
+
if (error instanceof ClientError && error.response.status === 401 && tokenRefreshUnauthorizedHandlerFunction)
|
|
136582
|
+
if (await tokenRefreshUnauthorizedHandlerFunction())
|
|
136583
|
+
response = await request();
|
|
136584
|
+
else
|
|
136585
|
+
throw error;
|
|
136586
|
+
else
|
|
136587
|
+
throw error;
|
|
136588
|
+
}
|
|
136560
136589
|
return responseOptions?.onResponse && responseOptions.onResponse(response), response.data;
|
|
136561
136590
|
});
|
|
136562
136591
|
if (cacheOptions === void 0)
|
|
@@ -136950,28 +136979,30 @@ async function setupRequest(token) {
|
|
|
136950
136979
|
responseOptions: { onResponse: handleDeprecations }
|
|
136951
136980
|
};
|
|
136952
136981
|
}
|
|
136953
|
-
async function partnersRequest(query, token, variables, cacheOptions, preferredBehaviour) {
|
|
136982
|
+
async function partnersRequest(query, token, variables, cacheOptions, preferredBehaviour, unauthorizedHandler) {
|
|
136954
136983
|
let opts = await setupRequest(token);
|
|
136955
136984
|
return limiter.schedule(() => graphqlRequest({
|
|
136956
136985
|
...opts,
|
|
136957
136986
|
query,
|
|
136958
136987
|
variables,
|
|
136959
136988
|
cacheOptions,
|
|
136960
|
-
preferredBehaviour
|
|
136989
|
+
preferredBehaviour,
|
|
136990
|
+
unauthorizedHandler
|
|
136961
136991
|
}));
|
|
136962
136992
|
}
|
|
136963
136993
|
var generateFetchAppLogUrl = async (cursor, filters) => {
|
|
136964
136994
|
let url = `https://${await partnersFqdn()}/app_logs/poll`;
|
|
136965
136995
|
return addCursorAndFiltersToAppLogsUrl(url, cursor, filters);
|
|
136966
136996
|
};
|
|
136967
|
-
async function partnersRequestDoc(query, token, variables, preferredBehaviour) {
|
|
136997
|
+
async function partnersRequestDoc(query, token, variables, preferredBehaviour, unauthorizedHandler) {
|
|
136968
136998
|
try {
|
|
136969
136999
|
let opts = await setupRequest(token);
|
|
136970
137000
|
return limiter.schedule(() => graphqlRequestDoc({
|
|
136971
137001
|
...opts,
|
|
136972
137002
|
query,
|
|
136973
137003
|
variables,
|
|
136974
|
-
preferredBehaviour
|
|
137004
|
+
preferredBehaviour,
|
|
137005
|
+
unauthorizedHandler
|
|
136975
137006
|
}));
|
|
136976
137007
|
} catch (error) {
|
|
136977
137008
|
if (error.errors?.[0]?.extensions?.type === "unsupported_client_version") {
|
|
@@ -140873,6 +140904,9 @@ async function ensureIsClean(directory) {
|
|
|
140873
140904
|
async function isClean(directory) {
|
|
140874
140905
|
return (await esm_default({ baseDir: directory }).status()).isClean();
|
|
140875
140906
|
}
|
|
140907
|
+
async function getLatestTag(directory) {
|
|
140908
|
+
return (await esm_default({ baseDir: directory }).tags()).latest;
|
|
140909
|
+
}
|
|
140876
140910
|
|
|
140877
140911
|
// ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
|
|
140878
140912
|
init_cjs_shims();
|
|
@@ -142437,6 +142471,7 @@ export {
|
|
|
142437
142471
|
GitDirectoryNotCleanError,
|
|
142438
142472
|
ensureIsClean,
|
|
142439
142473
|
isClean,
|
|
142474
|
+
getLatestTag,
|
|
142440
142475
|
execAsync,
|
|
142441
142476
|
supressNodeExperimentalWarnings,
|
|
142442
142477
|
isHydrogenMonorepo,
|
|
@@ -142558,4 +142593,4 @@ export {
|
|
|
142558
142593
|
getDebugBannerLine,
|
|
142559
142594
|
getUtilityBannerlines
|
|
142560
142595
|
};
|
|
142561
|
-
//# sourceMappingURL=chunk-
|
|
142596
|
+
//# sourceMappingURL=chunk-H352PF4V.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MMX2XAE3.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.js";
|
|
7
7
|
import {
|
|
8
8
|
sendErrorToBugsnag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PAKKG4IK.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5AFYDRV4.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM,
|
|
15
15
|
init_cjs_shims
|
|
@@ -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-IDQNIJ3J.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AZ6Y4YZT.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-JH7IS4YF.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NRK4JPTC.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUFYMVTC.js";
|
|
9
9
|
import {
|
|
10
10
|
cacheRetrieve,
|
|
11
11
|
cacheStore,
|
|
12
12
|
versionSatisfies
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LR4FWOA.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-AZ6Y4YZT.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-BQ3ZQYX7.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-JSVOLQ6E.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JSVOLQ6E.js";
|
|
6
6
|
import {
|
|
7
7
|
randomUUID
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NRK4JPTC.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SUFYMVTC.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-AZ6Y4YZT.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-MMX2XAE3.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7H74TBA2.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ7LRLSW.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-MWIL24VU.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-SUFYMVTC.js";
|
|
9
9
|
import {
|
|
10
10
|
Environment,
|
|
11
11
|
environmentVariables,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
serviceEnvironment,
|
|
19
19
|
sleep,
|
|
20
20
|
systemEnvironmentVariables
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AZ6Y4YZT.js";
|
|
22
22
|
import {
|
|
23
23
|
sniffForJson
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-57Q6OQG4.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__require,
|
|
@@ -14557,7 +14557,7 @@ var require_lib = __commonJS({
|
|
|
14557
14557
|
return options.globals ? options.globals.Number(value) : Number(value);
|
|
14558
14558
|
}
|
|
14559
14559
|
function evenRound(x) {
|
|
14560
|
-
return x > 0 && x % 1 === 0.5 &&
|
|
14560
|
+
return x > 0 && x % 1 === 0.5 && (x & 1) === 0 || x < 0 && x % 1 === -0.5 && (x & 1) === 1 ? censorNegativeZero(Math.floor(x)) : censorNegativeZero(Math.round(x));
|
|
14561
14561
|
}
|
|
14562
14562
|
function integerPart(n) {
|
|
14563
14563
|
return censorNegativeZero(Math.trunc(n));
|
|
@@ -31452,4 +31452,4 @@ mime-types/index.js:
|
|
|
31452
31452
|
* MIT Licensed
|
|
31453
31453
|
*)
|
|
31454
31454
|
*/
|
|
31455
|
-
//# sourceMappingURL=chunk-
|
|
31455
|
+
//# sourceMappingURL=chunk-NRK4JPTC.js.map
|