@shopify/cli 3.59.0 → 3.59.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/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +17 -12
- package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/api.rb +3 -1
- 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/integration_test.rb +1 -1
- package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/proxy_test.rb +14 -14
- package/dist/assets/cli-ruby/test/shopify-cli/theme/repl/api_test.rb +3 -2
- package/dist/{chunk-HYTSORDJ.js → chunk-46VGUYHL.js} +4 -4
- package/dist/{chunk-A3PWVEGU.js → chunk-474I4TNL.js} +1 -1
- package/dist/{chunk-MALZ76OP.js → chunk-5FVTOE7H.js} +3 -3
- package/dist/{chunk-24HS7TWV.js → chunk-5PRVQL5W.js} +1 -1
- package/dist/{chunk-PIMN67IT.js → chunk-5Q5JPLAQ.js} +3 -3
- package/dist/{chunk-3N5TYEOJ.js → chunk-6VZG567Q.js} +1 -1
- package/dist/{chunk-5Y3PYHUV.js → chunk-AIMRWD2B.js} +1 -1
- package/dist/{chunk-3FAYPDRE.js → chunk-BQPGK47Z.js} +3 -3
- package/dist/{chunk-VRVCUORY.js → chunk-DNXLPUNM.js} +1 -1
- package/dist/{chunk-LX5XSNJA.js → chunk-E5SJTLHV.js} +2 -2
- package/dist/{chunk-WOXAXDMN.js → chunk-EEBRWEML.js} +2 -2
- package/dist/{chunk-IQHXR2SR.js → chunk-GUG5KVQ6.js} +2 -2
- package/dist/{chunk-RY6HWBIC.js → chunk-JSBTYUEY.js} +2 -2
- package/dist/{chunk-IEB4F2KL.js → chunk-KHNWSWRU.js} +4 -4
- package/dist/{chunk-W6C6L4NU.js → chunk-KVSDXR4N.js} +2 -2
- package/dist/{chunk-VIZQZ55O.js → chunk-M4KCCI7R.js} +5 -5
- package/dist/{chunk-X6A6KRIL.js → chunk-NEHSJUDS.js} +1 -1
- package/dist/{chunk-AL5Y74NR.js → chunk-OPMRCCAR.js} +1 -1
- package/dist/{chunk-UNHOUSEY.js → chunk-Q4XYWLXO.js} +3 -3
- package/dist/{chunk-5INB6W36.js → chunk-QL4CKEQX.js} +2 -2
- package/dist/{chunk-4B2YUKUA.js → chunk-QUG53NP3.js} +3 -3
- package/dist/{chunk-S7GFY3LX.js → chunk-RDH73H62.js} +2 -2
- package/dist/{chunk-OK52H3G3.js → chunk-RJ2SJHQV.js} +1 -1
- package/dist/{chunk-O54SR2VW.js → chunk-VU576BU3.js} +1 -1
- package/dist/{chunk-YFA2TIGX.js → chunk-VZSOGTSS.js} +2 -2
- package/dist/{chunk-LKVSWZE2.js → chunk-W7UHREAK.js} +5 -5
- package/dist/{chunk-5RO6P4KC.js → chunk-WF3T42FP.js} +3 -3
- package/dist/{chunk-Q4DJPQVJ.js → chunk-WLI2DSQT.js} +1 -1
- package/dist/{chunk-O6G6LT7G.js → chunk-XDRGS6BV.js} +3 -3
- package/dist/{chunk-LXSVXK4X.js → chunk-XPPFOOYS.js} +2 -2
- package/dist/{chunk-VQ7HIBHK.js → chunk-YIDMIL55.js} +1 -1
- package/dist/cli/commands/auth/logout.js +9 -9
- package/dist/cli/commands/auth/logout.test.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +9 -9
- package/dist/cli/commands/demo/catalog.js +10 -10
- package/dist/cli/commands/demo/generate-file.js +10 -10
- package/dist/cli/commands/demo/index.js +9 -9
- package/dist/cli/commands/demo/print-ai-prompt.js +10 -10
- package/dist/cli/commands/docs/generate.js +9 -9
- package/dist/cli/commands/docs/generate.test.js +9 -9
- package/dist/cli/commands/help.js +9 -9
- package/dist/cli/commands/hydrogen/init.js +9 -9
- package/dist/cli/commands/kitchen-sink/async.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/index.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.js +10 -10
- package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.js +10 -10
- package/dist/cli/commands/kitchen-sink/static.test.js +10 -10
- package/dist/cli/commands/search.js +10 -10
- package/dist/cli/commands/upgrade.js +9 -9
- package/dist/cli/commands/version.js +10 -10
- package/dist/cli/commands/version.test.js +10 -10
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/demo.js +2 -2
- package/dist/cli/services/demo.test.js +2 -2
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-UTMYCFLJ.js → custom-oclif-loader-PEDCR5Q4.js} +1 -1
- package/dist/{error-handler-MZEB7CLD.js → error-handler-RT4TFLRY.js} +7 -7
- package/dist/hooks/init.js +1 -1
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +35 -35
- package/dist/{local-SH2XLH36.js → local-4BEULIQX.js} +1 -1
- package/dist/{node-package-manager-6XDVWLBL.js → node-package-manager-2NYMYQSZ.js} +2 -2
- package/dist/{system-CVNXYMLE.js → system-6RRP4ATR.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-4BJ4KPWN.js → ui-AMNHFGRM.js} +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
} from "./chunk-3CU2FNWB.js";
|
|
10
10
|
import {
|
|
11
11
|
KitchenSinkStatic
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GUG5KVQ6.js";
|
|
13
13
|
import {
|
|
14
14
|
Search
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-E5SJTLHV.js";
|
|
16
|
+
import "./chunk-DNXLPUNM.js";
|
|
17
17
|
import {
|
|
18
18
|
Upgrade
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5Q5JPLAQ.js";
|
|
20
20
|
import {
|
|
21
21
|
Version
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-VZSOGTSS.js";
|
|
23
|
+
import "./chunk-BQPGK47Z.js";
|
|
24
24
|
import {
|
|
25
25
|
HelpCommand
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WLI2DSQT.js";
|
|
27
27
|
import {
|
|
28
28
|
Init
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RDH73H62.js";
|
|
30
30
|
import {
|
|
31
31
|
KitchenSinkAsync
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-JSBTYUEY.js";
|
|
33
|
+
import "./chunk-5PRVQL5W.js";
|
|
34
|
+
import "./chunk-AIMRWD2B.js";
|
|
35
35
|
import {
|
|
36
36
|
KitchenSinkPrompts
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-EEBRWEML.js";
|
|
38
|
+
import "./chunk-YIDMIL55.js";
|
|
39
39
|
import {
|
|
40
40
|
FunctionUploadUrlGenerateMutation,
|
|
41
41
|
LocalStorage,
|
|
@@ -57,24 +57,24 @@ import {
|
|
|
57
57
|
partnersRequest,
|
|
58
58
|
require_lib as require_lib3,
|
|
59
59
|
shopifyDevelopersFqdn
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-M4KCCI7R.js";
|
|
61
61
|
import {
|
|
62
62
|
setNextDeprecationDate
|
|
63
63
|
} from "./chunk-Q3AO7F62.js";
|
|
64
64
|
import {
|
|
65
65
|
CommandFlags
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-XPPFOOYS.js";
|
|
67
67
|
import {
|
|
68
68
|
Catalog
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-Q4XYWLXO.js";
|
|
70
70
|
import {
|
|
71
71
|
GenerateFile
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-XDRGS6BV.js";
|
|
73
73
|
import {
|
|
74
74
|
PrintAIPrompt
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-QUG53NP3.js";
|
|
76
76
|
import "./chunk-CXG2USMP.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-OPMRCCAR.js";
|
|
78
78
|
import {
|
|
79
79
|
deepStrict,
|
|
80
80
|
errorsToString,
|
|
@@ -82,15 +82,15 @@ import {
|
|
|
82
82
|
} from "./chunk-WBWFZ6IT.js";
|
|
83
83
|
import {
|
|
84
84
|
DocsGenerate
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-KVSDXR4N.js";
|
|
86
86
|
import {
|
|
87
87
|
base_command_default,
|
|
88
88
|
decodeToml,
|
|
89
89
|
encodeToml
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-WF3T42FP.js";
|
|
91
91
|
import {
|
|
92
92
|
require_end_of_stream
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-46VGUYHL.js";
|
|
94
94
|
import {
|
|
95
95
|
require_once
|
|
96
96
|
} from "./chunk-6MJ52OLD.js";
|
|
@@ -111,20 +111,20 @@ import {
|
|
|
111
111
|
require_lib as require_lib2,
|
|
112
112
|
require_mime_types,
|
|
113
113
|
version
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-W7UHREAK.js";
|
|
115
115
|
import "./chunk-7SNGGY5B.js";
|
|
116
116
|
import {
|
|
117
117
|
fileHash,
|
|
118
118
|
hashString,
|
|
119
119
|
randomUUID
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-5FVTOE7H.js";
|
|
121
121
|
import {
|
|
122
122
|
platformAndArch,
|
|
123
123
|
username
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-VU576BU3.js";
|
|
125
125
|
import {
|
|
126
126
|
CLI_KIT_VERSION
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-474I4TNL.js";
|
|
128
128
|
import {
|
|
129
129
|
UnknownPackageManagerError,
|
|
130
130
|
addNPMDependenciesIfNeeded,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
require_semver,
|
|
145
145
|
usesWorkspaces,
|
|
146
146
|
writePackageJSON
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-RJ2SJHQV.js";
|
|
148
148
|
import {
|
|
149
149
|
AbortController,
|
|
150
150
|
AbortError,
|
|
@@ -306,7 +306,7 @@ import {
|
|
|
306
306
|
use_stdin_default,
|
|
307
307
|
writeFile,
|
|
308
308
|
writeFileSync
|
|
309
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-6VZG567Q.js";
|
|
310
310
|
import "./chunk-SA32EMWV.js";
|
|
311
311
|
import {
|
|
312
312
|
require_graceful_fs
|
|
@@ -194808,7 +194808,7 @@ async function warnIfOldNodeVersion() {
|
|
|
194808
194808
|
const nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
194809
194809
|
const currentSupportedNodeVersion = 18;
|
|
194810
194810
|
if (nodeMajorVersion < currentSupportedNodeVersion) {
|
|
194811
|
-
const { renderWarning: renderWarning2 } = await import("./ui-
|
|
194811
|
+
const { renderWarning: renderWarning2 } = await import("./ui-AMNHFGRM.js");
|
|
194812
194812
|
renderWarning2({
|
|
194813
194813
|
headline: "Upgrade to a supported Node version now.",
|
|
194814
194814
|
body: [
|
|
@@ -194842,10 +194842,10 @@ async function runCLI(options) {
|
|
|
194842
194842
|
setupEnvironmentVariables(options);
|
|
194843
194843
|
forceNoColor();
|
|
194844
194844
|
await warnIfOldNodeVersion();
|
|
194845
|
-
const { errorHandler } = await import("./error-handler-
|
|
194846
|
-
const { isDevelopment } = await import("./local-
|
|
194845
|
+
const { errorHandler } = await import("./error-handler-RT4TFLRY.js");
|
|
194846
|
+
const { isDevelopment } = await import("./local-4BEULIQX.js");
|
|
194847
194847
|
const oclif = await import("./lib-ZHR6CBL4.js");
|
|
194848
|
-
const { ShopifyConfig } = await import("./custom-oclif-loader-
|
|
194848
|
+
const { ShopifyConfig } = await import("./custom-oclif-loader-PEDCR5Q4.js");
|
|
194849
194849
|
if (isDevelopment()) {
|
|
194850
194850
|
oclif.default.settings.debug = true;
|
|
194851
194851
|
}
|
|
@@ -194863,7 +194863,7 @@ async function runCLI(options) {
|
|
|
194863
194863
|
async function useLocalCLIIfDetected(filepath) {
|
|
194864
194864
|
const { environmentVariables: environmentVariables2 } = await import("./constants-OQPDSWGZ.js");
|
|
194865
194865
|
const { joinPath: join7 } = await import("./path-NJJ6ID3F.js");
|
|
194866
|
-
const { exec: exec2 } = await import("./system-
|
|
194866
|
+
const { exec: exec2 } = await import("./system-6RRP4ATR.js");
|
|
194867
194867
|
if (!isTruthy(process.env[environmentVariables2.enableCliRedirect]))
|
|
194868
194868
|
return false;
|
|
194869
194869
|
if (isTruthy(process.env[environmentVariables2.skipCliRedirect]))
|
|
@@ -194887,7 +194887,7 @@ async function useLocalCLIIfDetected(filepath) {
|
|
|
194887
194887
|
return true;
|
|
194888
194888
|
}
|
|
194889
194889
|
async function localCliPackage() {
|
|
194890
|
-
const { captureOutput } = await import("./system-
|
|
194890
|
+
const { captureOutput } = await import("./system-6RRP4ATR.js");
|
|
194891
194891
|
let npmListOutput = "";
|
|
194892
194892
|
let localShopifyCLI = {};
|
|
194893
194893
|
try {
|
|
@@ -205804,7 +205804,7 @@ var Push = class extends ThemeCommand {
|
|
|
205804
205804
|
return;
|
|
205805
205805
|
}
|
|
205806
205806
|
const developmentThemeManager = new DevelopmentThemeManager(adminSession);
|
|
205807
|
-
if (!flags.stable) {
|
|
205807
|
+
if (!flags.stable && !flags.password) {
|
|
205808
205808
|
const { live, development, unpublished, path: path3, nodelete, theme, publish: publish2, json, force: force2, ignore, only } = flags;
|
|
205809
205809
|
let selectedTheme;
|
|
205810
205810
|
if (unpublished) {
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
usesWorkspaces,
|
|
26
26
|
writePackageJSON,
|
|
27
27
|
yarnLockfile
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-RJ2SJHQV.js";
|
|
29
|
+
import "./chunk-6VZG567Q.js";
|
|
30
30
|
import "./chunk-SA32EMWV.js";
|
|
31
31
|
import "./chunk-JCAIZOYO.js";
|
|
32
32
|
import "./chunk-QI5VKSMW.js";
|