@shopify/cli 3.59.2 → 3.60.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/assets/cli-ruby/lib/project_types/extension/models/specification_handlers/theme_app_extension.rb +1 -1
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +1 -1
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/extension/syncer/extension_serve_job.rb +1 -18
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_middleware.rb +1 -1
- package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/proxy_test.rb +21 -8
- package/dist/{chokidar-DGBVSVUZ.js → chokidar-DOC6OXDL.js} +3 -3
- package/dist/chunk-23EONB5V.js +2488 -0
- package/dist/{chunk-XCEBJ6L5.js → chunk-2EVDXDJS.js} +2 -2
- package/dist/{chunk-HJFYBTAC.js → chunk-2T7IS53S.js} +4 -4
- package/dist/{chunk-AXXAG7WU.js → chunk-3JLUTHGR.js} +1 -1
- package/dist/{chunk-7ZP3BQHT.js → chunk-3MBQVTEX.js} +1 -1
- package/dist/{chunk-RYC5LFN2.js → chunk-3RAXFENB.js} +3 -3
- package/dist/{chunk-3MMF34G4.js → chunk-4AOK4O3R.js} +14196 -14093
- package/dist/{chunk-3SWG3WX6.js → chunk-4HU62A6V.js} +4 -4
- package/dist/{chunk-Z2X3TPD2.js → chunk-55F2DQCB.js} +9 -2487
- package/dist/{chunk-7D6QIBBS.js → chunk-5R5555YE.js} +2 -2
- package/dist/{chunk-UNTYMY4S.js → chunk-7ORYLSDK.js} +2 -2
- package/dist/{chunk-WBWFZ6IT.js → chunk-7P2SWIQY.js} +1 -1
- package/dist/{chunk-563LJHWO.js → chunk-7VU6FOLD.js} +6 -6
- package/dist/{chunk-OEX6JDK6.js → chunk-B4622FYO.js} +2 -2
- package/dist/{chunk-SMULJJG3.js → chunk-BE73NZXB.js} +1 -1
- package/dist/{chunk-X7CGNCLO.js → chunk-BIDUT2RV.js} +3 -3
- package/dist/{chunk-RLXHXFCQ.js → chunk-BSOZ6PRB.js} +2 -2
- package/dist/{chunk-UBA54P7M.js → chunk-BUQTR47W.js} +5 -5
- package/dist/{chunk-NHMTG3XR.js → chunk-DQNIIVBG.js} +3 -3
- package/dist/{chunk-3IZNRZAA.js → chunk-EANTE4MT.js} +5 -5
- package/dist/{chunk-JCAIZOYO.js → chunk-FBB6KUZG.js} +1 -1
- package/dist/{chunk-SA32EMWV.js → chunk-FQIRJADJ.js} +1 -1
- package/dist/{chunk-55MPIQCI.js → chunk-FVRSV2AX.js} +2 -2
- package/dist/{chunk-YLPWACJJ.js → chunk-FWGRGI4R.js} +1 -1
- package/dist/{chunk-C3M3CYNZ.js → chunk-G56QICQP.js} +3 -3
- package/dist/{chunk-M336AND6.js → chunk-G6FN5VUE.js} +2 -2
- package/dist/{chunk-566AK3QG.js → chunk-GXPKATXW.js} +1 -1
- package/dist/{chunk-CXG2USMP.js → chunk-IUHH3PST.js} +1 -1
- package/dist/{chunk-55S3HB3L.js → chunk-IZU2AQEQ.js} +2 -2
- package/dist/{chunk-Q3AO7F62.js → chunk-KDOLMUJB.js} +1 -1
- package/dist/{chunk-LAEBMOYT.js → chunk-KEIEB4WC.js} +4 -4
- package/dist/{chunk-7ILHA2ZK.js → chunk-LDKJK42D.js} +14 -11
- package/dist/{chunk-6MJ52OLD.js → chunk-LKGDG6WW.js} +1 -1
- package/dist/{chunk-BVGYIZ3O.js → chunk-M63RTPGR.js} +0 -7
- package/dist/chunk-MSXPXGEQ.js +176 -0
- package/dist/{chunk-7NHPEC6Q.js → chunk-NAXATNVY.js} +9 -9
- package/dist/{chunk-PKIEJXSZ.js → chunk-NQYIB3IR.js} +3 -3
- package/dist/{chunk-QI5VKSMW.js → chunk-OVPEO3GL.js} +2 -2
- package/dist/{chunk-DBIH5B5S.js → chunk-PU5KGSLR.js} +3 -3
- package/dist/{chunk-WI3E2P3B.js → chunk-QTHWTF4X.js} +2 -2
- package/dist/{chunk-5RBKPYJP.js → chunk-RNLLSL24.js} +14 -10
- package/dist/{chunk-CYG4QPQ3.js → chunk-RQ24VTW4.js} +1 -1
- package/dist/{chunk-K7PV6FRP.js → chunk-RZVQGETB.js} +7 -7
- package/dist/{chunk-BQXMYE7I.js → chunk-T3QDR67D.js} +5 -5
- package/dist/{chunk-7SNGGY5B.js → chunk-TMGCRPEZ.js} +1 -1
- package/dist/{chunk-3CU2FNWB.js → chunk-TZ5DL7CA.js} +3 -3
- package/dist/{chunk-7RWKDDVY.js → chunk-U2VYZHIW.js} +5 -5
- package/dist/{chunk-G3E6ZMTC.js → chunk-URD52LAO.js} +2 -2
- package/dist/{chunk-LOF3ZXQM.js → chunk-VNBOO6TJ.js} +64 -2
- package/dist/{chunk-5KLK7XCS.js → chunk-W7VW72CK.js} +4 -4
- package/dist/{chunk-P52UWCZD.js → chunk-WCNR75S2.js} +1 -1
- package/dist/{chunk-WASVWBNY.js → chunk-Y4AOSTJD.js} +20 -16
- package/dist/{chunk-5XSLB6YF.js → chunk-YVHTE4VJ.js} +3 -3
- package/dist/{chunk-SWLATKE3.js → chunk-ZCRCEEIR.js} +4 -4
- package/dist/{chunk-3GNPZUJY.js → chunk-ZLSD2RNR.js} +14 -13
- package/dist/cli/commands/auth/logout.js +28 -28
- package/dist/cli/commands/auth/logout.test.js +30 -30
- package/dist/cli/commands/debug/command-flags.js +26 -26
- package/dist/cli/commands/demo/catalog.js +28 -28
- package/dist/cli/commands/demo/generate-file.js +29 -29
- package/dist/cli/commands/demo/index.js +27 -27
- package/dist/cli/commands/demo/print-ai-prompt.js +29 -29
- package/dist/cli/commands/docs/generate.js +26 -26
- package/dist/cli/commands/docs/generate.js.map +1 -1
- package/dist/cli/commands/docs/generate.test.js +30 -27
- package/dist/cli/commands/help.js +26 -26
- package/dist/cli/commands/hydrogen/init.js +26 -26
- package/dist/cli/commands/kitchen-sink/async.js +27 -27
- package/dist/cli/commands/kitchen-sink/async.test.js +28 -28
- package/dist/cli/commands/kitchen-sink/index.js +29 -29
- package/dist/cli/commands/kitchen-sink/index.test.js +30 -30
- package/dist/cli/commands/kitchen-sink/prompts.js +27 -27
- package/dist/cli/commands/kitchen-sink/prompts.test.js +28 -28
- package/dist/cli/commands/kitchen-sink/static.js +27 -27
- package/dist/cli/commands/kitchen-sink/static.test.js +28 -28
- package/dist/cli/commands/search.js +27 -27
- package/dist/cli/commands/upgrade.js +26 -26
- package/dist/cli/commands/upgrade.test.js +4 -4
- package/dist/cli/commands/version.js +27 -27
- package/dist/cli/commands/version.test.js +28 -28
- package/dist/cli/services/commands/search.js +16 -17
- package/dist/cli/services/commands/search.test.js +17 -18
- package/dist/cli/services/commands/version.js +19 -19
- package/dist/cli/services/commands/version.test.js +21 -21
- package/dist/cli/services/demo.js +17 -18
- package/dist/cli/services/demo.test.js +18 -19
- package/dist/cli/services/kitchen-sink/async.js +16 -17
- package/dist/cli/services/kitchen-sink/prompts.js +16 -17
- package/dist/cli/services/kitchen-sink/static.js +16 -17
- package/dist/cli/services/upgrade.js +18 -18
- package/dist/cli/services/upgrade.test.js +21 -21
- package/dist/{constants-OQPDSWGZ.js → constants-3B4PKIC7.js} +4 -4
- package/dist/{custom-oclif-loader-KO5GEFDA.js → custom-oclif-loader-2FLACCMK.js} +15 -16
- package/dist/{del-HVOV3MSN.js → del-5I7QSZXM.js} +7 -8
- package/dist/{devtools-SPNRC62Y.js → devtools-KQM4GF6J.js} +1 -1
- package/dist/error-handler-RU2ELIV6.js +37 -0
- package/dist/hooks/init.js +15 -16
- package/dist/hooks/postrun.js +23 -23
- package/dist/hooks/prerun.js +19 -19
- package/dist/{http-proxy-UXKO35LH.js → http-proxy-42DFA6MY.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +160611 -159975
- package/dist/index.js.map +1 -1
- package/dist/{lib-2EBQB76J.js → lib-AAMRQUES.js} +3 -3
- package/dist/lib-KV4KCWH7.js +11 -0
- package/dist/{local-P227YBVR.js → local-IWFESFES.js} +15 -16
- package/dist/{magic-string.es-XWLPTYL2.js → magic-string.es-6WMSFIAX.js} +1 -1
- package/dist/{multipart-parser-KUMTOIY4.js → multipart-parser-O2BQODS2.js} +2 -2
- package/dist/{node-package-manager-ES5NCVEG.js → node-package-manager-HBYFQNJQ.js} +17 -17
- package/dist/npa-VW3Y6UCQ.js +2262 -0
- package/dist/{open-4QOBUNAV.js → open-B7XFJJCK.js} +2 -2
- package/dist/out-MH5VOFOS.js +6 -0
- package/dist/{path-NJJ6ID3F.js → path-HO4HBKK5.js} +3 -3
- package/dist/system-KY2XFEXZ.js +28 -0
- package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +1 -1
- package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-3V5SZVHP.js → ui-MN3VE2TA.js} +15 -16
- package/oclif.manifest.json +115 -30
- package/package.json +27 -8
- package/dist/assets/cli-ruby/test/shopify-cli/theme/extension/syncer_test.rb +0 -82
- package/dist/chunk-F6GZ5SSL.js +0 -69
- package/dist/error-handler-QEGFFBIC.js +0 -37
- package/dist/favicon-4808307e.ico +0 -0
- package/dist/index-878807df.js +0 -5
- package/dist/index-a69a7f3d.js +0 -7
- package/dist/index-e6f8190d.js +0 -953
- package/dist/lib-ZHR6CBL4.js +0 -12
- package/dist/out-K5X4ON7U.js +0 -6
- package/dist/package-9a1ede4a.json +0 -268
- package/dist/shell-FSGSHXVH.js +0 -2517
- package/dist/style-49513a24.css +0 -58
- package/dist/system-IG66OLS6.js +0 -29
- package/dist/yarn-e8df42e5.js +0 -31
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_once
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LKGDG6WW.js";
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y4AOSTJD.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BUQTR47W.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2EVDXDJS.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
CancelExecution,
|
|
@@ -24,26 +24,26 @@ import {
|
|
|
24
24
|
printEventsJson,
|
|
25
25
|
require_stacktracey,
|
|
26
26
|
shouldReportError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
28
28
|
import {
|
|
29
29
|
bugsnagApiKey
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OVPEO3GL.js";
|
|
31
31
|
import {
|
|
32
32
|
require_lib
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4AOK4O3R.js";
|
|
34
34
|
import {
|
|
35
35
|
cwd,
|
|
36
36
|
isAbsolutePath,
|
|
37
37
|
joinPath,
|
|
38
38
|
normalizePath,
|
|
39
39
|
relativePath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-G6FN5VUE.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
init_cjs_shims
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-M63RTPGR.js";
|
|
47
47
|
|
|
48
48
|
// ../../node_modules/.pnpm/stackframe@1.3.4/node_modules/stackframe/stackframe.js
|
|
49
49
|
var require_stackframe = __commonJS({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FVRSV2AX.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VU6FOLD.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M63RTPGR.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/kitchen-sink/prompts.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4HU62A6V.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VU6FOLD.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M63RTPGR.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/version.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
require_glob_parent,
|
|
4
4
|
require_picomatch,
|
|
5
5
|
require_utils
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RQ24VTW4.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__require,
|
|
10
10
|
init_cjs_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M63RTPGR.js";
|
|
12
12
|
|
|
13
13
|
// ../../node_modules/.pnpm/fast-glob@3.3.1/node_modules/fast-glob/out/utils/array.js
|
|
14
14
|
var require_array = __commonJS({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7VU6FOLD.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-G6FN5VUE.js";
|
|
14
14
|
import {
|
|
15
15
|
init_cjs_shims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M63RTPGR.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/docs/generate.ts
|
|
19
19
|
init_cjs_shims();
|
|
@@ -42,7 +42,7 @@ var DocsGenerate = class extends base_command_default {
|
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
var hiddenTopics = ["commands", "help", "plugins"];
|
|
45
|
-
var
|
|
45
|
+
var generalTopics = ["config", "auth"];
|
|
46
46
|
function isHidden(command) {
|
|
47
47
|
if (command.hidden) {
|
|
48
48
|
hiddenTopics.push(command.id);
|
|
@@ -68,16 +68,18 @@ async function writeCommandDocumentation(command, { commandName, fileName, inter
|
|
|
68
68
|
description: 'The following flags are available for the \`${commandName}\` command:',
|
|
69
69
|
type: '${interfaceName}',
|
|
70
70
|
},`;
|
|
71
|
-
const description = command.descriptionWithMarkdown ?? command.description ?? command.summary;
|
|
72
|
-
const
|
|
73
|
-
const
|
|
71
|
+
const description = command.descriptionWithMarkdown ?? command.description ?? command.summary ?? "";
|
|
72
|
+
const cleanDescription = description?.replace(/`/g, "\\`").replace(/https:\/\/shopify\.dev/g, "");
|
|
73
|
+
const previewDescription = command.summary ?? description ?? "";
|
|
74
|
+
const cleanPreview = previewDescription.replace(/`/g, "\\`").replace(/https:\/\/shopify\.dev/g, "");
|
|
75
|
+
const category = hasTopic && !generalTopics.includes(topic) ? topic : "general commands";
|
|
74
76
|
const string = `// This is an autogenerated file. Don't edit this file manually.
|
|
75
77
|
import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'
|
|
76
78
|
|
|
77
79
|
const data: ReferenceEntityTemplateSchema = {
|
|
78
80
|
name: '${commandName}',
|
|
79
|
-
description: \`${
|
|
80
|
-
overviewPreviewDescription: \`${
|
|
81
|
+
description: \`${cleanDescription}\`,
|
|
82
|
+
overviewPreviewDescription: \`${cleanPreview}\`,
|
|
81
83
|
type: 'command',
|
|
82
84
|
isVisualComponent: false,
|
|
83
85
|
defaultExample: {
|
|
@@ -115,8 +117,10 @@ async function writeCommandFlagInterface(command, { fileName, interfaceName }) {
|
|
|
115
117
|
const type = flag.type === "option" ? "string" : "''";
|
|
116
118
|
const value = flag.type === "option" ? " <value>" : "";
|
|
117
119
|
const optional = flag.required ? "" : "?";
|
|
120
|
+
const envValue = flag.env !== void 0 ? ` @environment ${flag.env}` : "";
|
|
118
121
|
const flagContent = ` /**
|
|
119
122
|
* ${flagDescription}
|
|
123
|
+
*${envValue}
|
|
120
124
|
*/
|
|
121
125
|
'${char}--${flagName}${value}'${optional}: ${type}`;
|
|
122
126
|
return flagContent;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_zod_to_json_schema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUHH3PST.js";
|
|
4
4
|
import {
|
|
5
5
|
demoStepsSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G56QICQP.js";
|
|
7
7
|
import {
|
|
8
8
|
base_command_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VU6FOLD.js";
|
|
10
10
|
import {
|
|
11
11
|
AbortError,
|
|
12
12
|
fileExists,
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
readFile,
|
|
18
18
|
renderAutocompletePrompt,
|
|
19
19
|
writeFile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
21
21
|
import {
|
|
22
22
|
require_lib
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4AOK4O3R.js";
|
|
24
24
|
import {
|
|
25
25
|
cwd,
|
|
26
26
|
joinPath,
|
|
27
27
|
resolvePath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G6FN5VUE.js";
|
|
29
29
|
import {
|
|
30
30
|
__toESM,
|
|
31
31
|
init_cjs_shims
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-M63RTPGR.js";
|
|
33
33
|
|
|
34
34
|
// src/cli/commands/demo/generate-file.ts
|
|
35
35
|
init_cjs_shims();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
demo
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G56QICQP.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VU6FOLD.js";
|
|
7
7
|
import {
|
|
8
8
|
outputInfo,
|
|
9
9
|
readFile,
|
|
10
10
|
renderAutocompletePrompt
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
12
12
|
import {
|
|
13
13
|
joinPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-G6FN5VUE.js";
|
|
15
15
|
import {
|
|
16
16
|
init_cjs_shims
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M63RTPGR.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/demo/catalog.ts
|
|
20
20
|
init_cjs_shims();
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__require,
|
|
4
4
|
__toESM,
|
|
5
5
|
init_cjs_shims
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M63RTPGR.js";
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js
|
|
9
9
|
var require_ponyfill_es2018 = __commonJS({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_once,
|
|
3
3
|
require_wrappy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LKGDG6WW.js";
|
|
5
5
|
import {
|
|
6
6
|
require_balanced_match
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VNBOO6TJ.js";
|
|
8
8
|
import {
|
|
9
9
|
__commonJS,
|
|
10
10
|
__require,
|
|
11
11
|
init_cjs_shims
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M63RTPGR.js";
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js
|
|
15
15
|
var require_old = __commonJS({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_zod_to_json_schema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IUHH3PST.js";
|
|
4
4
|
import {
|
|
5
5
|
demoStepsSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G56QICQP.js";
|
|
7
7
|
import {
|
|
8
8
|
base_command_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VU6FOLD.js";
|
|
10
10
|
import {
|
|
11
11
|
outputInfo,
|
|
12
12
|
renderInfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M63RTPGR.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/demo/print-ai-prompt.ts
|
|
20
20
|
init_cjs_shims();
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
execa,
|
|
3
3
|
outputContent,
|
|
4
4
|
outputDebug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
6
6
|
import {
|
|
7
7
|
init_cjs_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M63RTPGR.js";
|
|
9
9
|
|
|
10
10
|
// ../cli-kit/src/public/node/os.ts
|
|
11
11
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_merge2,
|
|
3
3
|
require_out
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QTHWTF4X.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require,
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M63RTPGR.js";
|
|
10
10
|
|
|
11
11
|
// ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
|
|
12
12
|
var require_slash = __commonJS({
|
|
@@ -831,7 +831,69 @@ var require_indent_string = __commonJS({
|
|
|
831
831
|
}
|
|
832
832
|
});
|
|
833
833
|
|
|
834
|
+
// ../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
835
|
+
var require_balanced_match = __commonJS({
|
|
836
|
+
"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports, module) {
|
|
837
|
+
"use strict";
|
|
838
|
+
init_cjs_shims();
|
|
839
|
+
module.exports = balanced;
|
|
840
|
+
function balanced(a, b, str) {
|
|
841
|
+
if (a instanceof RegExp)
|
|
842
|
+
a = maybeMatch(a, str);
|
|
843
|
+
if (b instanceof RegExp)
|
|
844
|
+
b = maybeMatch(b, str);
|
|
845
|
+
var r = range(a, b, str);
|
|
846
|
+
return r && {
|
|
847
|
+
start: r[0],
|
|
848
|
+
end: r[1],
|
|
849
|
+
pre: str.slice(0, r[0]),
|
|
850
|
+
body: str.slice(r[0] + a.length, r[1]),
|
|
851
|
+
post: str.slice(r[1] + b.length)
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
function maybeMatch(reg, str) {
|
|
855
|
+
var m = str.match(reg);
|
|
856
|
+
return m ? m[0] : null;
|
|
857
|
+
}
|
|
858
|
+
balanced.range = range;
|
|
859
|
+
function range(a, b, str) {
|
|
860
|
+
var begs, beg, left, right, result;
|
|
861
|
+
var ai = str.indexOf(a);
|
|
862
|
+
var bi = str.indexOf(b, ai + 1);
|
|
863
|
+
var i = ai;
|
|
864
|
+
if (ai >= 0 && bi > 0) {
|
|
865
|
+
if (a === b) {
|
|
866
|
+
return [ai, bi];
|
|
867
|
+
}
|
|
868
|
+
begs = [];
|
|
869
|
+
left = str.length;
|
|
870
|
+
while (i >= 0 && !result) {
|
|
871
|
+
if (i == ai) {
|
|
872
|
+
begs.push(i);
|
|
873
|
+
ai = str.indexOf(a, i + 1);
|
|
874
|
+
} else if (begs.length == 1) {
|
|
875
|
+
result = [begs.pop(), bi];
|
|
876
|
+
} else {
|
|
877
|
+
beg = begs.pop();
|
|
878
|
+
if (beg < left) {
|
|
879
|
+
left = beg;
|
|
880
|
+
right = bi;
|
|
881
|
+
}
|
|
882
|
+
bi = str.indexOf(b, i + 1);
|
|
883
|
+
}
|
|
884
|
+
i = ai < bi && ai >= 0 ? ai : bi;
|
|
885
|
+
}
|
|
886
|
+
if (begs.length) {
|
|
887
|
+
result = [left, right];
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
return result;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
|
|
834
895
|
export {
|
|
896
|
+
require_balanced_match,
|
|
835
897
|
require_slash,
|
|
836
898
|
require_globby,
|
|
837
899
|
require_indent_string
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-55F2DQCB.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
22
22
|
moduleDirectory
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-G6FN5VUE.js";
|
|
24
24
|
import {
|
|
25
25
|
init_cjs_shims
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-M63RTPGR.js";
|
|
27
27
|
|
|
28
28
|
// src/cli/services/upgrade.ts
|
|
29
29
|
init_cjs_shims();
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
FormData as FormData2,
|
|
3
3
|
fetch_blob_default,
|
|
4
4
|
formDataToBlob
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TMGCRPEZ.js";
|
|
6
6
|
import {
|
|
7
7
|
getEnvironmentData,
|
|
8
8
|
getSensitiveEnvironmentData
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BUQTR47W.js";
|
|
10
10
|
import {
|
|
11
11
|
platformAndArch
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-URD52LAO.js";
|
|
13
13
|
import {
|
|
14
14
|
CLI_KIT_VERSION
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2EVDXDJS.js";
|
|
16
16
|
import {
|
|
17
17
|
require_semver
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-23EONB5V.js";
|
|
19
19
|
import {
|
|
20
20
|
AbortError,
|
|
21
21
|
AbortSilentError,
|
|
@@ -48,24 +48,24 @@ import {
|
|
|
48
48
|
spinFqdn,
|
|
49
49
|
touchFile,
|
|
50
50
|
useEmbeddedThemeCLI
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
52
52
|
import {
|
|
53
53
|
envPaths,
|
|
54
54
|
environmentVariables,
|
|
55
55
|
pathConstants,
|
|
56
56
|
systemEnvironmentVariables
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-OVPEO3GL.js";
|
|
58
58
|
import {
|
|
59
59
|
cwd,
|
|
60
60
|
dirname,
|
|
61
61
|
joinPath
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-G6FN5VUE.js";
|
|
63
63
|
import {
|
|
64
64
|
__commonJS,
|
|
65
65
|
__require,
|
|
66
66
|
__toESM,
|
|
67
67
|
init_cjs_shims
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-M63RTPGR.js";
|
|
69
69
|
|
|
70
70
|
// ../../node_modules/.pnpm/extract-files@9.0.0/node_modules/extract-files/public/ReactNativeFile.js
|
|
71
71
|
var require_ReactNativeFile = __commonJS({
|
|
@@ -48863,7 +48863,7 @@ var Body = class {
|
|
|
48863
48863
|
}
|
|
48864
48864
|
return formData2;
|
|
48865
48865
|
}
|
|
48866
|
-
const { toFormData } = await import("./multipart-parser-
|
|
48866
|
+
const { toFormData } = await import("./multipart-parser-O2BQODS2.js");
|
|
48867
48867
|
return toFormData(this.body, ct);
|
|
48868
48868
|
}
|
|
48869
48869
|
/**
|
|
@@ -50518,8 +50518,12 @@ async function buildPayload({ config, errorMessage, exitMode }) {
|
|
|
50518
50518
|
}
|
|
50519
50519
|
const { startCommand, startArgs, startTime } = commandStartOptions;
|
|
50520
50520
|
const currentTime = (/* @__PURE__ */ new Date()).getTime();
|
|
50521
|
-
const { "@shopify/
|
|
50522
|
-
|
|
50521
|
+
const { "@shopify/cli": internalPluginsPublic, ...externalPluginsPublic } = await fanoutHooks(
|
|
50522
|
+
config,
|
|
50523
|
+
"public_command_metadata",
|
|
50524
|
+
{}
|
|
50525
|
+
);
|
|
50526
|
+
const { "@shopify/cli": internalPluginsSensitive, ...externalPluginsSensitive } = await fanoutHooks(
|
|
50523
50527
|
config,
|
|
50524
50528
|
"sensitive_command_metadata",
|
|
50525
50529
|
{}
|
|
@@ -50549,7 +50553,7 @@ async function buildPayload({ config, errorMessage, exitMode }) {
|
|
|
50549
50553
|
node_version: process.version.replace("v", ""),
|
|
50550
50554
|
is_employee: await isShopify(),
|
|
50551
50555
|
...environmentData,
|
|
50552
|
-
...
|
|
50556
|
+
...internalPluginsPublic,
|
|
50553
50557
|
...publicMetadata,
|
|
50554
50558
|
cmd_all_timing_active_ms: totalTimeWithoutSubtimers,
|
|
50555
50559
|
cmd_all_exit: exitMode
|
|
@@ -50558,14 +50562,14 @@ async function buildPayload({ config, errorMessage, exitMode }) {
|
|
|
50558
50562
|
args: startArgs.join(" "),
|
|
50559
50563
|
cmd_all_environment_flags: environmentFlags,
|
|
50560
50564
|
error_message: errorMessage,
|
|
50561
|
-
...
|
|
50565
|
+
...internalPluginsSensitive,
|
|
50562
50566
|
...sensitiveEnvironmentData,
|
|
50563
50567
|
metadata: JSON.stringify({
|
|
50564
50568
|
...sensitiveMetadata,
|
|
50565
50569
|
extraPublic: {
|
|
50566
|
-
...
|
|
50570
|
+
...externalPluginsPublic
|
|
50567
50571
|
},
|
|
50568
|
-
extraSensitive: { ...
|
|
50572
|
+
extraSensitive: { ...externalPluginsSensitive }
|
|
50569
50573
|
})
|
|
50570
50574
|
}
|
|
50571
50575
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BSOZ6PRB.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VU6FOLD.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M63RTPGR.js";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/kitchen-sink/async.ts
|
|
12
12
|
init_cjs_shims();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7VU6FOLD.js";
|
|
4
4
|
import {
|
|
5
5
|
packageManagerFromUserAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-55F2DQCB.js";
|
|
7
7
|
import {
|
|
8
8
|
currentProcessIsGlobal,
|
|
9
9
|
inferPackageManagerForGlobalCLI,
|
|
10
10
|
renderInfo
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
12
12
|
import {
|
|
13
13
|
init_cjs_shims
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M63RTPGR.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/upgrade.ts
|
|
17
17
|
init_cjs_shims();
|