@shopify/cli 3.91.1 → 3.92.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/bin/run.js +2 -2
- package/dist/assets/dev-console/extensions/dev-console/assets/{index-0hw3R_TS.css → index-DISeE29z.css} +1 -1
- package/dist/assets/dev-console/extensions/dev-console/assets/{index-C12jKScn.js → index-WDo4Zf8i.js} +10 -10
- package/dist/assets/dev-console/index.html +2 -2
- package/dist/{chunk-5JYQJQ2E.js → chunk-42GAT4OC.js} +2 -2
- package/dist/{chunk-FKP67FZI.js → chunk-67BH5NUT.js} +3 -3
- package/dist/{chunk-RKFRXKFE.js → chunk-6FKKSH4P.js} +3 -3
- package/dist/{chunk-E4GUDBAR.js → chunk-6O2ILC2V.js} +17171 -13653
- package/dist/{chunk-OIUDJFV2.js → chunk-7H2O5J4R.js} +12 -5
- package/dist/{chunk-VUYVHHZY.js → chunk-7QAT7P3M.js} +4 -4
- package/dist/{chunk-Z5FK5H2M.js → chunk-AVEWTIFC.js} +7 -7
- package/dist/{chunk-VRUH5BDH.js → chunk-C74PXA4B.js} +4 -4
- package/dist/{chunk-E44JKFB6.js → chunk-CLJTWTB3.js} +2 -2
- package/dist/{chunk-K52ORY26.js → chunk-DM56XRBC.js} +7 -7
- package/dist/{chunk-77BDQRQW.js → chunk-E7IWFBAC.js} +6 -6
- package/dist/{chunk-TY5YKCUW.js → chunk-ESKZOJHR.js} +5 -5
- package/dist/{chunk-HTGTTXQL.js → chunk-EURIZXCA.js} +7 -17
- package/dist/{chunk-CEUL3KX5.js → chunk-EZZRDRCA.js} +7757 -6910
- package/dist/{chunk-SUFC4ISB.js → chunk-FESVG7HJ.js} +6 -6
- package/dist/{chunk-ZLV2A27J.js → chunk-FNFU6QXG.js} +2 -2
- package/dist/{chunk-PCNR4TMY.js → chunk-GUCQ3JUX.js} +5 -5
- package/dist/{chunk-EG6MBBEN.js → chunk-H4D3T5OG.js} +14 -1
- package/dist/{chunk-SJXHR42U.js → chunk-HG2B3F2E.js} +2 -2
- package/dist/{chunk-5ZDTGPNX.js → chunk-HOCBMVPF.js} +3 -3
- package/dist/{chunk-DUNGALP3.js → chunk-IJLB2OZD.js} +3 -3
- package/dist/{chunk-WDYPK6VH.js → chunk-JOUJHIPW.js} +5 -5
- package/dist/{chunk-QFO7QSBW.js → chunk-JW4Y5WPI.js} +4 -4
- package/dist/{chunk-I23GZAC4.js → chunk-KQU2IAXJ.js} +6 -7
- package/dist/{chunk-SVV4RJVX.js → chunk-LM5QFSME.js} +4 -4
- package/dist/{chunk-ATQVKUJC.js → chunk-M7TUKQMY.js} +4 -4
- package/dist/{chunk-RLJICWO6.js → chunk-NE5FI6FS.js} +4 -4
- package/dist/{chunk-LFMBIRVC.js → chunk-NG44KZZS.js} +3 -3
- package/dist/{chunk-HOIU6WRE.js → chunk-NK4SILXH.js} +3 -3
- package/dist/{chunk-IUKBWIQY.js → chunk-NQTUC6ZO.js} +3 -3
- package/dist/{chunk-HAG3HJ2V.js → chunk-O3GDENDY.js} +35 -47
- package/dist/{chunk-54FE2FGU.js → chunk-Q7FGFF32.js} +2 -2
- package/dist/{chunk-ITTNM7I4.js → chunk-QJQS7BBK.js} +2 -2
- package/dist/{chunk-DR5R5UTE.js → chunk-SMO4IV7V.js} +6 -6
- package/dist/{chunk-NYP3N62G.js → chunk-T5M3A5TW.js} +2 -2
- package/dist/{chunk-2YAGQHB2.js → chunk-TC5DUCXE.js} +3 -3
- package/dist/{chunk-XDCBS7SY.js → chunk-UL2FJ5NI.js} +3 -3
- package/dist/{chunk-KV3364EL.js → chunk-USGISM5H.js} +1 -1
- package/dist/{chunk-R622IPZN.js → chunk-WXB4MZ4Q.js} +3 -3
- package/dist/{chunk-K45ALTZ7.js → chunk-YDQVL7CP.js} +3 -3
- package/dist/{chunk-463KYFYO.js → chunk-YUJEBN2A.js} +2 -2
- package/dist/{chunk-TH7ZYYDZ.js → chunk-ZN7BY463.js} +1144 -79
- package/dist/{chunk-A2CZGTAP.js → chunk-ZVE6VSBX.js} +109 -165
- package/dist/cli/commands/auth/login.js +10 -10
- package/dist/cli/commands/auth/login.test.js +12 -12
- package/dist/cli/commands/auth/logout.js +10 -10
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +11 -11
- package/dist/cli/commands/doctor-release/doctor-release.js +10 -10
- package/dist/cli/commands/doctor-release/theme/index.js +16 -16
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +12 -12
- package/dist/cli/services/commands/notifications.js +9 -9
- package/dist/cli/services/commands/search.js +5 -5
- package/dist/cli/services/commands/search.test.js +6 -6
- package/dist/cli/services/commands/version.js +6 -6
- package/dist/cli/services/commands/version.test.js +8 -8
- package/dist/cli/services/doctor-release/context.js +2 -2
- package/dist/cli/services/doctor-release/theme/runner.js +9 -9
- package/dist/cli/services/doctor-release/theme/tests/init.js +6 -6
- package/dist/cli/services/doctor-release/theme/tests/push.js +6 -6
- package/dist/cli/services/kitchen-sink/async.js +5 -5
- package/dist/cli/services/kitchen-sink/prompts.js +5 -5
- package/dist/cli/services/kitchen-sink/static.js +5 -5
- package/dist/{custom-oclif-loader-AAJZ7WBW.js → custom-oclif-loader-MKZUUH3S.js} +5 -5
- package/dist/{devtools-BAOTGU3O.js → devtools-PI7DMKVT.js} +4 -4
- package/dist/{error-handler-GSQRFK57.js → error-handler-STUDJHBV.js} +8 -8
- package/dist/hooks/postrun.js +8 -8
- package/dist/hooks/prerun.js +9 -9
- package/dist/index.js +68763 -58537
- package/dist/{lib-HAW436ZI.js → lib-R4TQWF6K.js} +3 -3
- package/dist/{local-GOP2BHNI.js → local-SJCC5BYA.js} +5 -5
- package/dist/{morph-7WAMUK6I.js → morph-32Y5BUJM.js} +9 -9
- package/dist/{node-package-manager-W4R4DUTE.js → node-package-manager-2L2NJGLS.js} +6 -6
- package/dist/{path-GB4VIEM6.js → path-H3TILUQU.js} +4 -2
- package/dist/{prettier-5ODD6NHV.js → prettier-4RCJTIXY.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-VRLRLHWH.js → ui-ER5WOAGG.js} +5 -5
- package/dist/{workerd-AO3T6IIJ.js → workerd-KQSXBLVM.js} +13 -13
- package/oclif.manifest.json +6 -6
- package/package.json +7 -59
- package/dist/chunk-2EQNSO7C.js +0 -142
- package/dist/cli/services/upgrade.d.ts +0 -5
- package/dist/cli/services/upgrade.js +0 -21
- package/dist/cli/services/upgrade.test.js +0 -171
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O3GDENDY.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T5M3A5TW.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-6O2ILC2V.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-STUDJHBV.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-FESVG7HJ.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
renderConcurrent,
|
|
6
6
|
renderSingleTask,
|
|
7
7
|
renderTasks
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6O2ILC2V.js";
|
|
9
9
|
import {
|
|
10
10
|
init_cjs_shims
|
|
11
11
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -59,4 +59,4 @@ async function asyncTasks() {
|
|
|
59
59
|
export {
|
|
60
60
|
asyncTasks
|
|
61
61
|
};
|
|
62
|
-
//# sourceMappingURL=chunk-
|
|
62
|
+
//# sourceMappingURL=chunk-FNFU6QXG.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
getNotifications,
|
|
4
4
|
stringifyFilters
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FESVG7HJ.js";
|
|
6
6
|
import {
|
|
7
7
|
randomUUID
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T5M3A5TW.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-6O2ILC2V.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-GUCQ3JUX.js.map
|
|
@@ -122,6 +122,15 @@ var _EXTNAME_RE = /.(\.[^./]+)$/, extname = function(p) {
|
|
|
122
122
|
var basename = function(p, extension) {
|
|
123
123
|
let lastSegment = normalizeWindowsPath(p).split("/").pop();
|
|
124
124
|
return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
|
|
125
|
+
}, parse = function(p) {
|
|
126
|
+
let root = normalizeWindowsPath(p).split("/").shift() || "/", base = basename(p), extension = extname(base);
|
|
127
|
+
return {
|
|
128
|
+
root,
|
|
129
|
+
dir: dirname(p),
|
|
130
|
+
base,
|
|
131
|
+
ext: extension,
|
|
132
|
+
name: base.slice(0, base.length - extension.length)
|
|
133
|
+
};
|
|
125
134
|
};
|
|
126
135
|
|
|
127
136
|
// ../cli-kit/dist/public/node/path.js
|
|
@@ -150,6 +159,9 @@ function basename2(path2, ext) {
|
|
|
150
159
|
function extname2(path2) {
|
|
151
160
|
return extname(path2);
|
|
152
161
|
}
|
|
162
|
+
function parsePath(path2) {
|
|
163
|
+
return parse(path2);
|
|
164
|
+
}
|
|
153
165
|
function relativizePath(path2, dir = cwd2()) {
|
|
154
166
|
let result = (0, import_commondir.default)([path2, dir]), relativePath2 = relative(dir, path2), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
|
|
155
167
|
return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path2 : relativePath2;
|
|
@@ -186,6 +198,7 @@ export {
|
|
|
186
198
|
dirname2 as dirname,
|
|
187
199
|
basename2 as basename,
|
|
188
200
|
extname2 as extname,
|
|
201
|
+
parsePath,
|
|
189
202
|
relativizePath,
|
|
190
203
|
isSubpath,
|
|
191
204
|
moduleDirectory,
|
|
@@ -193,4 +206,4 @@ export {
|
|
|
193
206
|
sniffForPath,
|
|
194
207
|
sniffForJson
|
|
195
208
|
};
|
|
196
|
-
//# sourceMappingURL=chunk-
|
|
209
|
+
//# sourceMappingURL=chunk-H4D3T5OG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DoctorSuite
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7H2O5J4R.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -33,4 +33,4 @@ var ThemePushTests = class extends DoctorSuite {
|
|
|
33
33
|
export {
|
|
34
34
|
ThemePushTests
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-HG2B3F2E.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AVEWTIFC.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var ClearCache = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
ClearCache
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-HOCBMVPF.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O3GDENDY.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6O2ILC2V.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-IJLB2OZD.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YUJEBN2A.js";
|
|
4
4
|
import {
|
|
5
5
|
asyncTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FNFU6QXG.js";
|
|
7
7
|
import {
|
|
8
8
|
prompts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-42GAT4OC.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KQU2IAXJ.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-JOUJHIPW.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
outputResult,
|
|
6
6
|
renderTable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6O2ILC2V.js";
|
|
8
8
|
import {
|
|
9
9
|
require_lib
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EZZRDRCA.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_cjs_shims
|
|
@@ -84,4 +84,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
|
|
|
84
84
|
export {
|
|
85
85
|
CommandFlags
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-JW4Y5WPI.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setCurrentCommandId,
|
|
3
3
|
showNotificationsIfNeeded
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FESVG7HJ.js";
|
|
5
5
|
import {
|
|
6
6
|
errorHandler,
|
|
7
7
|
hashString,
|
|
8
8
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
10
10
|
import {
|
|
11
11
|
AbortError,
|
|
12
12
|
addPublicMetadata,
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
renderWarning,
|
|
23
23
|
terminalSupportsPrompting,
|
|
24
24
|
underscore
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6O2ILC2V.js";
|
|
26
26
|
import {
|
|
27
27
|
require_lib
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EZZRDRCA.js";
|
|
29
29
|
import {
|
|
30
30
|
cwd
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-H4D3T5OG.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
@@ -1578,7 +1578,6 @@ var import_core = __toESM(require_lib()), BaseCommand = class extends import_cor
|
|
|
1578
1578
|
]
|
|
1579
1579
|
});
|
|
1580
1580
|
}
|
|
1581
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
1582
1581
|
exitWithTimestampWhenEnvVariablePresent() {
|
|
1583
1582
|
isTruthy(process.env.SHOPIFY_CLI_ENV_STARTUP_PERFORMANCE_RUN) && (outputResult(`
|
|
1584
1583
|
SHOPIFY_CLI_TIMESTAMP_START
|
|
@@ -1707,4 +1706,4 @@ export {
|
|
|
1707
1706
|
noDefaultsOptions,
|
|
1708
1707
|
base_command_default
|
|
1709
1708
|
};
|
|
1710
|
-
//# sourceMappingURL=chunk-
|
|
1709
|
+
//# sourceMappingURL=chunk-KQU2IAXJ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q7FGFF32.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EZZRDRCA.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-LM5QFSME.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
logout
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6O2ILC2V.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-M7TUKQMY.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cliInstallCommand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IJLB2OZD.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
7
7
|
import {
|
|
8
8
|
renderInfo
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6O2ILC2V.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-NE5FI6FS.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asyncTasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FNFU6QXG.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkAsync
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-NG44KZZS.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUCQ3JUX.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
Generate
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-NK4SILXH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
canRunDoctorRelease,
|
|
6
6
|
renderInfo
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6O2ILC2V.js";
|
|
8
8
|
import {
|
|
9
9
|
init_cjs_shims
|
|
10
10
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -36,4 +36,4 @@ var DoctorRelease = class extends base_command_default {
|
|
|
36
36
|
export {
|
|
37
37
|
DoctorRelease
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-NQTUC6ZO.js.map
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
BugError,
|
|
5
5
|
captureOutput,
|
|
6
6
|
envPaths,
|
|
7
|
+
environmentVariables,
|
|
7
8
|
exec,
|
|
8
9
|
fileExists,
|
|
9
10
|
fileHasWritePermissions,
|
|
@@ -20,17 +21,16 @@ import {
|
|
|
20
21
|
runWithTimer,
|
|
21
22
|
unixFileIsOwnedByCurrentUser,
|
|
22
23
|
writeFile
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6O2ILC2V.js";
|
|
24
25
|
import {
|
|
25
26
|
require_semver
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EZZRDRCA.js";
|
|
27
28
|
import {
|
|
28
29
|
dirname,
|
|
29
30
|
joinPath
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-H4D3T5OG.js";
|
|
31
32
|
import {
|
|
32
33
|
__commonJS,
|
|
33
|
-
__export,
|
|
34
34
|
__require,
|
|
35
35
|
__toESM,
|
|
36
36
|
init_cjs_shims
|
|
@@ -9012,44 +9012,24 @@ var require_registry_auth_token = __commonJS({
|
|
|
9012
9012
|
});
|
|
9013
9013
|
|
|
9014
9014
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
9015
|
-
var node_package_manager_exports = {};
|
|
9016
|
-
__export(node_package_manager_exports, {
|
|
9017
|
-
FindUpAndReadPackageJsonNotFoundError: () => FindUpAndReadPackageJsonNotFoundError,
|
|
9018
|
-
PackageJsonNotFoundError: () => PackageJsonNotFoundError,
|
|
9019
|
-
UnknownPackageManagerError: () => UnknownPackageManagerError,
|
|
9020
|
-
addNPMDependencies: () => addNPMDependencies,
|
|
9021
|
-
addNPMDependenciesIfNeeded: () => addNPMDependenciesIfNeeded,
|
|
9022
|
-
addNPMDependenciesWithoutVersionIfNeeded: () => addNPMDependenciesWithoutVersionIfNeeded,
|
|
9023
|
-
addResolutionOrOverride: () => addResolutionOrOverride,
|
|
9024
|
-
bunLockfile: () => bunLockfile,
|
|
9025
|
-
checkForCachedNewVersion: () => checkForCachedNewVersion,
|
|
9026
|
-
checkForNewVersion: () => checkForNewVersion,
|
|
9027
|
-
findUpAndReadPackageJson: () => findUpAndReadPackageJson,
|
|
9028
|
-
getDependencies: () => getDependencies,
|
|
9029
|
-
getPackageManager: () => getPackageManager,
|
|
9030
|
-
getPackageName: () => getPackageName,
|
|
9031
|
-
getPackageVersion: () => getPackageVersion,
|
|
9032
|
-
inferPackageManager: () => inferPackageManager,
|
|
9033
|
-
installNPMDependenciesRecursively: () => installNPMDependenciesRecursively,
|
|
9034
|
-
installNodeModules: () => installNodeModules,
|
|
9035
|
-
lockfiles: () => lockfiles,
|
|
9036
|
-
lockfilesByManager: () => lockfilesByManager,
|
|
9037
|
-
npmLockfile: () => npmLockfile,
|
|
9038
|
-
packageManager: () => packageManager,
|
|
9039
|
-
packageManagerFromUserAgent: () => packageManagerFromUserAgent,
|
|
9040
|
-
pnpmLockfile: () => pnpmLockfile,
|
|
9041
|
-
pnpmWorkspaceFile: () => pnpmWorkspaceFile,
|
|
9042
|
-
readAndParsePackageJson: () => readAndParsePackageJson,
|
|
9043
|
-
usesWorkspaces: () => usesWorkspaces,
|
|
9044
|
-
versionSatisfies: () => versionSatisfies,
|
|
9045
|
-
writePackageJSON: () => writePackageJSON,
|
|
9046
|
-
yarnLockfile: () => yarnLockfile
|
|
9047
|
-
});
|
|
9048
9015
|
init_cjs_shims();
|
|
9049
9016
|
|
|
9050
9017
|
// ../cli-kit/dist/private/node/conf-store.js
|
|
9051
9018
|
init_cjs_shims();
|
|
9052
9019
|
|
|
9020
|
+
// ../cli-kit/dist/private/node/context/service.js
|
|
9021
|
+
init_cjs_shims();
|
|
9022
|
+
var Environment;
|
|
9023
|
+
(function(Environment2) {
|
|
9024
|
+
Environment2.Local = "local", Environment2.Production = "production";
|
|
9025
|
+
})(Environment || (Environment = {}));
|
|
9026
|
+
function serviceEnvironment(env = process.env) {
|
|
9027
|
+
return env[environmentVariables.serviceEnv] === "local" ? Environment.Local : Environment.Production;
|
|
9028
|
+
}
|
|
9029
|
+
function isLocalEnvironment(env = process.env) {
|
|
9030
|
+
return serviceEnvironment(env) === Environment.Local;
|
|
9031
|
+
}
|
|
9032
|
+
|
|
9053
9033
|
// ../cli-kit/dist/public/node/local-storage.js
|
|
9054
9034
|
init_cjs_shims();
|
|
9055
9035
|
|
|
@@ -9910,23 +9890,29 @@ var _instance;
|
|
|
9910
9890
|
function cliKitStore() {
|
|
9911
9891
|
return _instance || (_instance = new LocalStorage({ projectName: `shopify-cli-kit${isUnitTest() ? "-test" : ""}` })), _instance;
|
|
9912
9892
|
}
|
|
9893
|
+
function sessionStoreKey() {
|
|
9894
|
+
return isLocalEnvironment() ? "devSessionStore" : "sessionStore";
|
|
9895
|
+
}
|
|
9896
|
+
function currentSessionIdKey() {
|
|
9897
|
+
return isLocalEnvironment() ? "currentDevSessionId" : "currentSessionId";
|
|
9898
|
+
}
|
|
9913
9899
|
function getSessions(config = cliKitStore()) {
|
|
9914
|
-
return outputDebug(outputContent`Getting session store...`), config.get(
|
|
9900
|
+
return outputDebug(outputContent`Getting session store...`), config.get(sessionStoreKey());
|
|
9915
9901
|
}
|
|
9916
9902
|
function setSessions(session, config = cliKitStore()) {
|
|
9917
|
-
outputDebug(outputContent`Setting session store...`), config.set(
|
|
9903
|
+
outputDebug(outputContent`Setting session store...`), config.set(sessionStoreKey(), session);
|
|
9918
9904
|
}
|
|
9919
9905
|
function removeSessions(config = cliKitStore()) {
|
|
9920
|
-
outputDebug(outputContent`Removing session store...`), config.delete(
|
|
9906
|
+
outputDebug(outputContent`Removing session store...`), config.delete(sessionStoreKey());
|
|
9921
9907
|
}
|
|
9922
9908
|
function getCurrentSessionId(config = cliKitStore()) {
|
|
9923
|
-
return outputDebug(outputContent`Getting current session ID...`), config.get(
|
|
9909
|
+
return outputDebug(outputContent`Getting current session ID...`), config.get(currentSessionIdKey());
|
|
9924
9910
|
}
|
|
9925
9911
|
function setCurrentSessionId(sessionId, config = cliKitStore()) {
|
|
9926
|
-
outputDebug(outputContent`Setting current session ID...`), config.set(
|
|
9912
|
+
outputDebug(outputContent`Setting current session ID...`), config.set(currentSessionIdKey(), sessionId);
|
|
9927
9913
|
}
|
|
9928
9914
|
function removeCurrentSessionId(config = cliKitStore()) {
|
|
9929
|
-
outputDebug(outputContent`Removing current session ID...`), config.delete(
|
|
9915
|
+
outputDebug(outputContent`Removing current session ID...`), config.delete(currentSessionIdKey());
|
|
9930
9916
|
}
|
|
9931
9917
|
async function cacheRetrieveOrRepopulate(key, fn, timeout, config = cliKitStore()) {
|
|
9932
9918
|
let cached = cacheRetrieve(key, config);
|
|
@@ -13720,7 +13706,7 @@ async function latestVersion(packageName, options) {
|
|
|
13720
13706
|
}
|
|
13721
13707
|
|
|
13722
13708
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
13723
|
-
var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
|
|
13709
|
+
var import_semver3 = __toESM(require_semver(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
|
|
13724
13710
|
yarn: yarnLockfile,
|
|
13725
13711
|
npm: npmLockfile,
|
|
13726
13712
|
pnpm: pnpmLockfile,
|
|
@@ -13958,6 +13944,9 @@ function inferPackageManager(optionsPackageManager, env = process.env) {
|
|
|
13958
13944
|
}
|
|
13959
13945
|
|
|
13960
13946
|
export {
|
|
13947
|
+
Environment,
|
|
13948
|
+
serviceEnvironment,
|
|
13949
|
+
isLocalEnvironment,
|
|
13961
13950
|
require_ajv,
|
|
13962
13951
|
LocalStorage,
|
|
13963
13952
|
getSessions,
|
|
@@ -14002,8 +13991,7 @@ export {
|
|
|
14002
13991
|
findUpAndReadPackageJson,
|
|
14003
13992
|
addResolutionOrOverride,
|
|
14004
13993
|
writePackageJSON,
|
|
14005
|
-
inferPackageManager
|
|
14006
|
-
node_package_manager_exports
|
|
13994
|
+
inferPackageManager
|
|
14007
13995
|
};
|
|
14008
13996
|
/*! Bundled license information:
|
|
14009
13997
|
|
|
@@ -14035,4 +14023,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
14035
14023
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14036
14024
|
*)
|
|
14037
14025
|
*/
|
|
14038
|
-
//# sourceMappingURL=chunk-
|
|
14026
|
+
//# sourceMappingURL=chunk-O3GDENDY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6O2ILC2V.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -15,4 +15,4 @@ async function searchService(query) {
|
|
|
15
15
|
export {
|
|
16
16
|
searchService
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-Q7FGFF32.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cwd
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H4D3T5OG.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -20,4 +20,4 @@ function createDoctorContext(options) {
|
|
|
20
20
|
export {
|
|
21
21
|
createDoctorContext
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-QJQS7BBK.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQU2IAXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureAuthenticatedUser,
|
|
6
6
|
fetch2 as fetch,
|
|
7
7
|
findSessionByAlias,
|
|
8
8
|
getSessionAlias,
|
|
9
9
|
identityFqdn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZVE6VSBX.js";
|
|
11
11
|
import {
|
|
12
12
|
setCurrentSessionId
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O3GDENDY.js";
|
|
14
14
|
import {
|
|
15
15
|
outputCompleted,
|
|
16
16
|
renderSelectPrompt
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6O2ILC2V.js";
|
|
18
18
|
import {
|
|
19
19
|
require_lib
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EZZRDRCA.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM,
|
|
23
23
|
init_cjs_shims
|
|
@@ -84,4 +84,4 @@ export {
|
|
|
84
84
|
promptSessionSelect,
|
|
85
85
|
Login
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-SMO4IV7V.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/dist/public/common/version.js
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.
|
|
7
|
+
var CLI_KIT_VERSION = "3.92.1";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-T5M3A5TW.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-67BH5NUT.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KQU2IAXJ.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-TC5DUCXE.js.map
|