@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
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__require,
|
|
5
5
|
__toESM,
|
|
6
6
|
init_cjs_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M63RTPGR.js";
|
|
8
8
|
|
|
9
9
|
// ../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js
|
|
10
10
|
var require_ansi_styles = __commonJS({
|
|
@@ -10185,7 +10185,7 @@ function parseErrorStacktrace(e, options = {}) {
|
|
|
10185
10185
|
return stackFrames;
|
|
10186
10186
|
}
|
|
10187
10187
|
async function saveInlineSnapshots(environment, snapshots) {
|
|
10188
|
-
const MagicString = (await import("./magic-string.es-
|
|
10188
|
+
const MagicString = (await import("./magic-string.es-6WMSFIAX.js")).default;
|
|
10189
10189
|
const files = new Set(snapshots.map((i2) => i2.file));
|
|
10190
10190
|
await Promise.all(Array.from(files).map(async (file) => {
|
|
10191
10191
|
const snaps = snapshots.filter((i2) => i2.file === file);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M63RTPGR.js";
|
|
8
8
|
|
|
9
9
|
// ../cli-kit/src/public/node/testing/output.ts
|
|
10
10
|
init_cjs_shims();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NAXATNVY.js";
|
|
5
5
|
import {
|
|
6
6
|
hashString
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BUQTR47W.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
addPublicMetadata,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
renderWarning,
|
|
21
21
|
terminalSupportsRawMode,
|
|
22
22
|
underscore
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
24
24
|
import {
|
|
25
25
|
require_lib
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4AOK4O3R.js";
|
|
27
27
|
import {
|
|
28
28
|
cwd
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-G6FN5VUE.js";
|
|
30
30
|
import {
|
|
31
31
|
__commonJS,
|
|
32
32
|
__require,
|
|
33
33
|
__toESM,
|
|
34
34
|
init_cjs_shims
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-M63RTPGR.js";
|
|
36
36
|
|
|
37
37
|
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js
|
|
38
38
|
var require_parser = __commonJS({
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M63RTPGR.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/services/kitchen-sink/static.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7VU6FOLD.js";
|
|
4
4
|
import {
|
|
5
5
|
exec,
|
|
6
6
|
outputInfo
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
8
8
|
import {
|
|
9
9
|
init_cjs_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M63RTPGR.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/commands/hydrogen/init.ts
|
|
13
13
|
init_cjs_shims();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderConcurrent,
|
|
3
3
|
renderTasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-M63RTPGR.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/services/kitchen-sink/async.ts
|
|
10
10
|
init_cjs_shims();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
platformAndArch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-URD52LAO.js";
|
|
4
4
|
import {
|
|
5
5
|
getPackageManager,
|
|
6
6
|
packageManagerFromUserAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-55F2DQCB.js";
|
|
8
8
|
import {
|
|
9
9
|
addPublicMetadata,
|
|
10
10
|
addSensitiveMetadata,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
cloudEnvironment,
|
|
13
13
|
currentProcessIsGlobal,
|
|
14
14
|
macAddress
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G6FN5VUE.js";
|
|
19
19
|
import {
|
|
20
20
|
init_cjs_shims
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M63RTPGR.js";
|
|
22
22
|
|
|
23
23
|
// ../cli-kit/src/private/node/analytics.ts
|
|
24
24
|
init_cjs_shims();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7VU6FOLD.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4AOK4O3R.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M63RTPGR.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/commands/help.ts
|
|
13
13
|
init_cjs_shims();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B4622FYO.js";
|
|
4
4
|
import {
|
|
5
5
|
asyncTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BSOZ6PRB.js";
|
|
7
7
|
import {
|
|
8
8
|
prompts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FVRSV2AX.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7VU6FOLD.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M63RTPGR.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/kitchen-sink/index.ts
|
|
18
18
|
init_cjs_shims();
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
renderDangerousConfirmationPrompt,
|
|
6
6
|
renderSelectPrompt,
|
|
7
7
|
renderTextPrompt
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
9
9
|
import {
|
|
10
10
|
init_cjs_shims
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M63RTPGR.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/services/kitchen-sink/prompts.ts
|
|
14
14
|
init_cjs_shims();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
z
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7P2SWIQY.js";
|
|
4
4
|
import {
|
|
5
5
|
AbortError,
|
|
6
6
|
BugError,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
renderTextPrompt,
|
|
18
18
|
renderWarning,
|
|
19
19
|
sleep
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
21
21
|
import {
|
|
22
22
|
init_cjs_shims
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M63RTPGR.js";
|
|
24
24
|
|
|
25
25
|
// src/cli/services/demo.ts
|
|
26
26
|
init_cjs_shims();
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
normalize,
|
|
8
8
|
relative,
|
|
9
9
|
resolve
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GXPKATXW.js";
|
|
11
11
|
import {
|
|
12
12
|
__commonJS,
|
|
13
13
|
__require,
|
|
14
14
|
__toESM,
|
|
15
15
|
init_cjs_shims
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M63RTPGR.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
|
|
19
19
|
var require_commondir = __commonJS({
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IZU2AQEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7VU6FOLD.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4AOK4O3R.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_cjs_shims
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-M63RTPGR.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/commands/search.ts
|
|
16
16
|
init_cjs_shims();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setNextDeprecationDate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KDOLMUJB.js";
|
|
4
4
|
import {
|
|
5
5
|
z
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7P2SWIQY.js";
|
|
7
7
|
import {
|
|
8
8
|
base_command_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7VU6FOLD.js";
|
|
10
10
|
import {
|
|
11
11
|
ClientError,
|
|
12
12
|
GraphQLClient,
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
httpsAgent,
|
|
22
22
|
sanitizedHeadersOutput,
|
|
23
23
|
shopifyFetch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Y4AOSTJD.js";
|
|
25
25
|
import {
|
|
26
26
|
base64URLEncode,
|
|
27
27
|
randomBytes,
|
|
28
28
|
randomHex,
|
|
29
29
|
sha256
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BUQTR47W.js";
|
|
31
31
|
import {
|
|
32
32
|
require_semver
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-23EONB5V.js";
|
|
34
34
|
import {
|
|
35
35
|
AbortError,
|
|
36
36
|
BugError,
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
firstPartyDev,
|
|
41
41
|
import_ts_error,
|
|
42
42
|
isSpinEnvironment,
|
|
43
|
+
isTruthy,
|
|
43
44
|
keypress,
|
|
44
45
|
mimicFunction,
|
|
45
46
|
openURL,
|
|
@@ -57,20 +58,20 @@ import {
|
|
|
57
58
|
spinFqdn,
|
|
58
59
|
stringifyMessage,
|
|
59
60
|
useDeviceAuth
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZLSD2RNR.js";
|
|
61
62
|
import {
|
|
62
63
|
envPaths,
|
|
63
64
|
sessionConstants
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-OVPEO3GL.js";
|
|
65
66
|
import {
|
|
66
67
|
moduleDirectory
|
|
67
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-G6FN5VUE.js";
|
|
68
69
|
import {
|
|
69
70
|
__commonJS,
|
|
70
71
|
__require,
|
|
71
72
|
__toESM,
|
|
72
73
|
init_cjs_shims
|
|
73
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-M63RTPGR.js";
|
|
74
75
|
|
|
75
76
|
// ../../node_modules/.pnpm/ajv@8.12.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
76
77
|
var require_code = __commonJS({
|
|
@@ -12835,7 +12836,7 @@ function generateRandomChallengePair() {
|
|
|
12835
12836
|
return { codeVerifier, codeChallenge };
|
|
12836
12837
|
}
|
|
12837
12838
|
async function validateRedirectionPortAvailability(port) {
|
|
12838
|
-
const { killPortProcess } = await import("./lib-
|
|
12839
|
+
const { killPortProcess } = await import("./lib-AAMRQUES.js");
|
|
12839
12840
|
if (await checkPort(port)) {
|
|
12840
12841
|
return;
|
|
12841
12842
|
}
|
|
@@ -13140,6 +13141,8 @@ async function executeCompleteFlow(applications, identityFqdn2) {
|
|
|
13140
13141
|
return session;
|
|
13141
13142
|
}
|
|
13142
13143
|
async function ensureUserHasPartnerAccount(partnersToken) {
|
|
13144
|
+
if (isTruthy(process.env.USE_SHOPIFY_DEVELOPERS_CLIENT))
|
|
13145
|
+
return;
|
|
13143
13146
|
outputDebug(outputContent`Verifying that the user has a Partner organization`);
|
|
13144
13147
|
if (!await hasPartnerAccount(partnersToken)) {
|
|
13145
13148
|
outputInfo(`
|
|
@@ -11,12 +11,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
return require.apply(this, arguments);
|
|
12
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
13
|
});
|
|
14
|
-
var __glob = (map) => (path2) => {
|
|
15
|
-
var fn = map[path2];
|
|
16
|
-
if (fn)
|
|
17
|
-
return fn();
|
|
18
|
-
throw new Error("Module not found in bundle: " + path2);
|
|
19
|
-
};
|
|
20
14
|
var __esm = (fn, res) => function __init() {
|
|
21
15
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
22
16
|
};
|
|
@@ -60,7 +54,6 @@ var init_cjs_shims = __esm({
|
|
|
60
54
|
|
|
61
55
|
export {
|
|
62
56
|
__require,
|
|
63
|
-
__glob,
|
|
64
57
|
__esm,
|
|
65
58
|
__commonJS,
|
|
66
59
|
__export,
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_semver
|
|
3
|
+
} from "./chunk-23EONB5V.js";
|
|
4
|
+
import {
|
|
5
|
+
__commonJS,
|
|
6
|
+
init_cjs_shims
|
|
7
|
+
} from "./chunk-M63RTPGR.js";
|
|
8
|
+
|
|
9
|
+
// ../../node_modules/.pnpm/builtins@5.0.1/node_modules/builtins/index.js
|
|
10
|
+
var require_builtins = __commonJS({
|
|
11
|
+
"../../node_modules/.pnpm/builtins@5.0.1/node_modules/builtins/index.js"(exports, module) {
|
|
12
|
+
"use strict";
|
|
13
|
+
init_cjs_shims();
|
|
14
|
+
var semver = require_semver();
|
|
15
|
+
var permanentModules = [
|
|
16
|
+
"assert",
|
|
17
|
+
"buffer",
|
|
18
|
+
"child_process",
|
|
19
|
+
"cluster",
|
|
20
|
+
"console",
|
|
21
|
+
"constants",
|
|
22
|
+
"crypto",
|
|
23
|
+
"dgram",
|
|
24
|
+
"dns",
|
|
25
|
+
"domain",
|
|
26
|
+
"events",
|
|
27
|
+
"fs",
|
|
28
|
+
"http",
|
|
29
|
+
"https",
|
|
30
|
+
"module",
|
|
31
|
+
"net",
|
|
32
|
+
"os",
|
|
33
|
+
"path",
|
|
34
|
+
"punycode",
|
|
35
|
+
"querystring",
|
|
36
|
+
"readline",
|
|
37
|
+
"repl",
|
|
38
|
+
"stream",
|
|
39
|
+
"string_decoder",
|
|
40
|
+
"sys",
|
|
41
|
+
"timers",
|
|
42
|
+
"tls",
|
|
43
|
+
"tty",
|
|
44
|
+
"url",
|
|
45
|
+
"util",
|
|
46
|
+
"vm",
|
|
47
|
+
"zlib"
|
|
48
|
+
];
|
|
49
|
+
var versionLockedModules = {
|
|
50
|
+
freelist: "<6.0.0",
|
|
51
|
+
v8: ">=1.0.0",
|
|
52
|
+
process: ">=1.1.0",
|
|
53
|
+
inspector: ">=8.0.0",
|
|
54
|
+
async_hooks: ">=8.1.0",
|
|
55
|
+
http2: ">=8.4.0",
|
|
56
|
+
perf_hooks: ">=8.5.0",
|
|
57
|
+
trace_events: ">=10.0.0",
|
|
58
|
+
worker_threads: ">=12.0.0",
|
|
59
|
+
"node:test": ">=18.0.0"
|
|
60
|
+
};
|
|
61
|
+
var experimentalModules = {
|
|
62
|
+
worker_threads: ">=10.5.0",
|
|
63
|
+
wasi: ">=12.16.0",
|
|
64
|
+
diagnostics_channel: "^14.17.0 || >=15.1.0"
|
|
65
|
+
};
|
|
66
|
+
module.exports = ({ version = process.version, experimental = false } = {}) => {
|
|
67
|
+
const builtins = [...permanentModules];
|
|
68
|
+
for (const [name, semverRange] of Object.entries(versionLockedModules)) {
|
|
69
|
+
if (version === "*" || semver.satisfies(version, semverRange)) {
|
|
70
|
+
builtins.push(name);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (experimental) {
|
|
74
|
+
for (const [name, semverRange] of Object.entries(experimentalModules)) {
|
|
75
|
+
if (!builtins.includes(name) && (version === "*" || semver.satisfies(version, semverRange))) {
|
|
76
|
+
builtins.push(name);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return builtins;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
// ../../node_modules/.pnpm/validate-npm-package-name@5.0.0/node_modules/validate-npm-package-name/lib/index.js
|
|
86
|
+
var require_lib = __commonJS({
|
|
87
|
+
"../../node_modules/.pnpm/validate-npm-package-name@5.0.0/node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
|
|
88
|
+
"use strict";
|
|
89
|
+
init_cjs_shims();
|
|
90
|
+
var scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");
|
|
91
|
+
var builtins = require_builtins();
|
|
92
|
+
var blacklist = [
|
|
93
|
+
"node_modules",
|
|
94
|
+
"favicon.ico"
|
|
95
|
+
];
|
|
96
|
+
function validate(name) {
|
|
97
|
+
var warnings = [];
|
|
98
|
+
var errors = [];
|
|
99
|
+
if (name === null) {
|
|
100
|
+
errors.push("name cannot be null");
|
|
101
|
+
return done(warnings, errors);
|
|
102
|
+
}
|
|
103
|
+
if (name === void 0) {
|
|
104
|
+
errors.push("name cannot be undefined");
|
|
105
|
+
return done(warnings, errors);
|
|
106
|
+
}
|
|
107
|
+
if (typeof name !== "string") {
|
|
108
|
+
errors.push("name must be a string");
|
|
109
|
+
return done(warnings, errors);
|
|
110
|
+
}
|
|
111
|
+
if (!name.length) {
|
|
112
|
+
errors.push("name length must be greater than zero");
|
|
113
|
+
}
|
|
114
|
+
if (name.match(/^\./)) {
|
|
115
|
+
errors.push("name cannot start with a period");
|
|
116
|
+
}
|
|
117
|
+
if (name.match(/^_/)) {
|
|
118
|
+
errors.push("name cannot start with an underscore");
|
|
119
|
+
}
|
|
120
|
+
if (name.trim() !== name) {
|
|
121
|
+
errors.push("name cannot contain leading or trailing spaces");
|
|
122
|
+
}
|
|
123
|
+
blacklist.forEach(function(blacklistedName) {
|
|
124
|
+
if (name.toLowerCase() === blacklistedName) {
|
|
125
|
+
errors.push(blacklistedName + " is a blacklisted name");
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
builtins({ version: "*" }).forEach(function(builtin) {
|
|
129
|
+
if (name.toLowerCase() === builtin) {
|
|
130
|
+
warnings.push(builtin + " is a core module name");
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
if (name.length > 214) {
|
|
134
|
+
warnings.push("name can no longer contain more than 214 characters");
|
|
135
|
+
}
|
|
136
|
+
if (name.toLowerCase() !== name) {
|
|
137
|
+
warnings.push("name can no longer contain capital letters");
|
|
138
|
+
}
|
|
139
|
+
if (/[~'!()*]/.test(name.split("/").slice(-1)[0])) {
|
|
140
|
+
warnings.push(`name can no longer contain special characters ("~'!()*")`);
|
|
141
|
+
}
|
|
142
|
+
if (encodeURIComponent(name) !== name) {
|
|
143
|
+
var nameMatch = name.match(scopedPackagePattern);
|
|
144
|
+
if (nameMatch) {
|
|
145
|
+
var user = nameMatch[1];
|
|
146
|
+
var pkg = nameMatch[2];
|
|
147
|
+
if (encodeURIComponent(user) === user && encodeURIComponent(pkg) === pkg) {
|
|
148
|
+
return done(warnings, errors);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
errors.push("name can only contain URL-friendly characters");
|
|
152
|
+
}
|
|
153
|
+
return done(warnings, errors);
|
|
154
|
+
}
|
|
155
|
+
var done = function(warnings, errors) {
|
|
156
|
+
var result = {
|
|
157
|
+
validForNewPackages: errors.length === 0 && warnings.length === 0,
|
|
158
|
+
validForOldPackages: errors.length === 0,
|
|
159
|
+
warnings,
|
|
160
|
+
errors
|
|
161
|
+
};
|
|
162
|
+
if (!result.warnings.length) {
|
|
163
|
+
delete result.warnings;
|
|
164
|
+
}
|
|
165
|
+
if (!result.errors.length) {
|
|
166
|
+
delete result.errors;
|
|
167
|
+
}
|
|
168
|
+
return result;
|
|
169
|
+
};
|
|
170
|
+
module.exports = validate;
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
export {
|
|
175
|
+
require_lib
|
|
176
|
+
};
|