@shopify/cli 3.83.3 → 3.84.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/README.md +1 -1
- package/dist/{chunk-U7OT774M.js → chunk-2HA6WHOK.js} +2 -2
- package/dist/{chunk-MGI52UZC.js → chunk-2M63OZ6L.js} +3 -3
- package/dist/{chunk-CC4H7OAW.js → chunk-42TDSAFO.js} +3 -3
- package/dist/{chunk-6QJUUGM2.js → chunk-4JIM2QT7.js} +4 -4
- package/dist/{chunk-SBU6S5G7.js → chunk-57KJCVB5.js} +2 -2
- package/dist/{chunk-FE35FSRC.js → chunk-5G56F2K6.js} +7 -7
- package/dist/{chunk-EG4X7G4K.js → chunk-77NCO4UD.js} +3 -3
- package/dist/{chunk-WROAVXGY.js → chunk-7AEOEVGT.js} +3 -3
- package/dist/{chunk-Q6VEUT5Q.js → chunk-DNXNKHZO.js} +2 -2
- package/dist/{chunk-XFK3CKIN.js → chunk-DSKW7GLZ.js} +5 -5
- package/dist/{chunk-DRATBB26.js → chunk-DVZ22YSP.js} +748 -38
- package/dist/{chunk-ZLYK26OR.js → chunk-ES5N6OQW.js} +4 -4
- package/dist/{chunk-JEQ7HZCS.js → chunk-FUWTEDP2.js} +13 -13
- package/dist/{chunk-S5JEIN5Q.js → chunk-FYGQPHYH.js} +2 -2
- package/dist/{chunk-VQ6DWYP7.js → chunk-GWETXJR2.js} +6 -6
- package/dist/{chunk-45OTXKBK.js → chunk-IM2PF4V5.js} +2 -2
- package/dist/{chunk-WHCXZSKH.js → chunk-IRF44N7J.js} +3 -3
- package/dist/{chunk-VRECY72K.js → chunk-JB4IBM6F.js} +2 -2
- package/dist/{chunk-ZE4NKLTB.js → chunk-JJH27HLJ.js} +3 -3
- package/dist/{chunk-VCN6UBNT.js → chunk-JNDSQA4U.js} +3 -3
- package/dist/{chunk-3EURRQ7K.js → chunk-K5XXB73S.js} +9 -8
- package/dist/{chunk-YYAMP36W.js → chunk-KS7CKFXX.js} +5 -5
- package/dist/{chunk-GGCRQOED.js → chunk-MCEP4L5M.js} +3 -3
- package/dist/{chunk-EYZZIYQJ.js → chunk-MQQ5ZTSK.js} +4 -4
- package/dist/{chunk-2MEZBZGZ.js → chunk-N2463ZYG.js} +2 -2
- package/dist/{chunk-WGMFODN6.js → chunk-NBOUUR2C.js} +3 -3
- package/dist/{chunk-AQDVU7OK.js → chunk-PQCWFPSI.js} +7 -7
- package/dist/{chunk-ZZGNTCPD.js → chunk-QO4ILPU2.js} +3 -3
- package/dist/{chunk-JWJ2ZR5V.js → chunk-R3FZ7BFA.js} +3 -3
- package/dist/{chunk-UNQM4BV5.js → chunk-SKEV2KRG.js} +18 -4
- package/dist/{chunk-FHOKC4TU.js → chunk-T4K4LRMO.js} +4 -4
- package/dist/{chunk-BXBJI6XD.js → chunk-TW3OHW6H.js} +6 -6
- package/dist/{chunk-HFQX4JZY.js → chunk-Y4JV2C2F.js} +3 -3
- package/dist/{chunk-RBL7EMA5.js → chunk-YQVYH3XF.js} +9 -10
- package/dist/cli/commands/auth/logout.js +11 -11
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +10 -10
- 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 +10 -10
- 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 +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- 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/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- package/dist/cli/services/commands/notifications.js +6 -6
- 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 +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- 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 +4 -4
- package/dist/configs/all.yml +4 -4
- package/dist/configs/recommended.yml +4 -4
- package/dist/{custom-oclif-loader-FOBJVOKU.js → custom-oclif-loader-LOMFS5PB.js} +2 -2
- package/dist/data/filters.json +10 -10
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +162 -10
- package/dist/data/setting.json +7 -2
- package/dist/data/shopify_system_translations.json +265 -21
- package/dist/data/tags.json +1 -1
- package/dist/data/targetted_block_entry.json +2 -2
- package/dist/data/theme_block_entry.json +2 -2
- package/dist/{error-handler-VBQPBASZ.js → error-handler-TQKQ3EAE.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +161500 -161854
- package/dist/{local-3V2H6DEQ.js → local-76WZCPFM.js} +2 -2
- package/dist/{node-package-manager-3VOZDWRH.js → node-package-manager-OCGFQDFC.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-MKD65UA4.js → ui-A52PK2HZ.js} +2 -2
- package/dist/{workerd-EQ7HXYPK.js → workerd-PHNPZMMV.js} +12 -12
- package/oclif.manifest.json +20 -10
- package/package.json +7 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
list
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSKW7GLZ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TW3OHW6H.js";
|
|
7
7
|
import {
|
|
8
8
|
sendErrorToBugsnag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5G56F2K6.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
12
|
} from "./chunk-3FBDJEGD.js";
|
|
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
|
|
|
49
49
|
export {
|
|
50
50
|
List
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-ES5N6OQW.js.map
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
ensureAuthenticatedAdmin,
|
|
6
6
|
ensureAuthenticatedBusinessPlatform,
|
|
7
7
|
logout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YQVYH3XF.js";
|
|
9
9
|
import {
|
|
10
10
|
base_command_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TW3OHW6H.js";
|
|
12
12
|
import {
|
|
13
13
|
fanoutHooks,
|
|
14
14
|
requestIdsCollection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K5XXB73S.js";
|
|
16
16
|
import {
|
|
17
17
|
businessPlatformFqdn,
|
|
18
18
|
normalizeStoreFqdn,
|
|
19
19
|
partnersFqdn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-T4K4LRMO.js";
|
|
21
21
|
import {
|
|
22
22
|
ClientError,
|
|
23
23
|
GraphQLClient,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
retryAwareRequest,
|
|
32
32
|
sanitizeURL,
|
|
33
33
|
sanitizedHeadersOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DVZ22YSP.js";
|
|
35
35
|
import {
|
|
36
36
|
CLI_KIT_VERSION
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FYGQPHYH.js";
|
|
38
38
|
import {
|
|
39
39
|
cacheRetrieveOrRepopulate,
|
|
40
40
|
findUpAndReadPackageJson,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
readAndParsePackageJson,
|
|
45
45
|
timeIntervalToMilliseconds,
|
|
46
46
|
writePackageJSON
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-IRF44N7J.js";
|
|
48
48
|
import {
|
|
49
49
|
AbortError,
|
|
50
50
|
BugError,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
source_default,
|
|
84
84
|
stringifyMessage,
|
|
85
85
|
writeFile
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-SKEV2KRG.js";
|
|
87
87
|
import {
|
|
88
88
|
basename,
|
|
89
89
|
cwd,
|
|
@@ -136546,12 +136546,12 @@ async function createGraphQLClient({ url, addedHeaders, token }) {
|
|
|
136546
136546
|
};
|
|
136547
136547
|
}
|
|
136548
136548
|
async function performGraphQLRequest(options2) {
|
|
136549
|
-
let { token, addedHeaders, queryAsString, variables, api, url, responseOptions, unauthorizedHandler, cacheOptions } = options2,
|
|
136549
|
+
let { token, addedHeaders, queryAsString, variables, api, url, responseOptions, unauthorizedHandler, cacheOptions } = options2, behaviour = requestMode(options2.preferredBehaviour ?? "default"), { headers, client } = await createGraphQLClient({ url, addedHeaders, token });
|
|
136550
136550
|
debugLogRequestInfo(api, queryAsString, url, variables, headers);
|
|
136551
136551
|
let rawGraphQLRequest = async () => {
|
|
136552
136552
|
let fullResponse;
|
|
136553
136553
|
try {
|
|
136554
|
-
return client.requestConfig.signal = abortSignalFromRequestBehaviour(
|
|
136554
|
+
return client.requestConfig.signal = abortSignalFromRequestBehaviour(behaviour), fullResponse = await client.rawRequest(queryAsString, variables), await logLastRequestIdFromResponse(fullResponse), fullResponse;
|
|
136555
136555
|
} catch (error) {
|
|
136556
136556
|
throw error instanceof ClientError && await logLastRequestIdFromResponse(error.response), error;
|
|
136557
136557
|
}
|
|
@@ -136566,7 +136566,7 @@ async function performGraphQLRequest(options2) {
|
|
|
136566
136566
|
return client = newClient, headers = newHeaders, !0;
|
|
136567
136567
|
} else
|
|
136568
136568
|
return !1;
|
|
136569
|
-
} : void 0, request = () => retryAwareRequest({ request: rawGraphQLRequest, url, ...
|
|
136569
|
+
} : void 0, request = () => retryAwareRequest({ request: rawGraphQLRequest, url, ...behaviour }, responseOptions?.handleErrors === !1 ? void 0 : errorHandler(api)), executeWithTimer = () => runWithTimer("cmd_all_timing_network_ms")(async () => {
|
|
136570
136570
|
let response;
|
|
136571
136571
|
try {
|
|
136572
136572
|
response = await request();
|
|
@@ -136959,7 +136959,7 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
|
|
|
136959
136959
|
};
|
|
136960
136960
|
|
|
136961
136961
|
// ../cli-kit/dist/public/node/api/partners.js
|
|
136962
|
-
var import_bottleneck = __toESM(require_lib2()
|
|
136962
|
+
var import_bottleneck = __toESM(require_lib2()), limiter = new import_bottleneck.default({
|
|
136963
136963
|
minTime: 150,
|
|
136964
136964
|
maxConcurrent: 10
|
|
136965
136965
|
});
|
|
@@ -142434,4 +142434,4 @@ export {
|
|
|
142434
142434
|
getDebugBannerLine,
|
|
142435
142435
|
getUtilityBannerlines
|
|
142436
142436
|
};
|
|
142437
|
-
//# sourceMappingURL=chunk-
|
|
142437
|
+
//# sourceMappingURL=chunk-FUWTEDP2.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.84.1";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-FYGQPHYH.js.map
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
fetch,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DVZ22YSP.js";
|
|
6
6
|
import {
|
|
7
7
|
CLI_KIT_VERSION
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FYGQPHYH.js";
|
|
9
9
|
import {
|
|
10
10
|
cacheRetrieve,
|
|
11
11
|
cacheStore,
|
|
12
12
|
versionSatisfies
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IRF44N7J.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-SKEV2KRG.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-TQKQ3EAE.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-GWETXJR2.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
renderSuccess,
|
|
8
8
|
renderTable,
|
|
9
9
|
renderWarning
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SKEV2KRG.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -203,4 +203,4 @@ async function staticService() {
|
|
|
203
203
|
export {
|
|
204
204
|
staticService
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-IM2PF4V5.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SKEV2KRG.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
@@ -13636,7 +13636,7 @@ async function latestVersion(packageName, options) {
|
|
|
13636
13636
|
}
|
|
13637
13637
|
|
|
13638
13638
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
13639
|
-
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 = {
|
|
13639
|
+
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 = {
|
|
13640
13640
|
yarn: yarnLockfile,
|
|
13641
13641
|
npm: npmLockfile,
|
|
13642
13642
|
pnpm: pnpmLockfile,
|
|
@@ -13948,4 +13948,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13948
13948
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13949
13949
|
*)
|
|
13950
13950
|
*/
|
|
13951
|
-
//# sourceMappingURL=chunk-
|
|
13951
|
+
//# sourceMappingURL=chunk-IRF44N7J.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openURL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SKEV2KRG.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-JB4IBM6F.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
findUpAndReadPackageJson,
|
|
5
5
|
getPackageManager,
|
|
6
6
|
usesWorkspaces
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IRF44N7J.js";
|
|
8
8
|
import {
|
|
9
9
|
AbortError,
|
|
10
10
|
exec,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
outputSuccess,
|
|
16
16
|
outputToken,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SKEV2KRG.js";
|
|
19
19
|
import {
|
|
20
20
|
dirname,
|
|
21
21
|
joinPath,
|
|
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
|
|
|
139
139
|
export {
|
|
140
140
|
upgrade
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-JJH27HLJ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSKW7GLZ.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TW3OHW6H.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-JNDSQA4U.js.map
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
getEnvironmentData,
|
|
3
3
|
getLastSeenUserIdAfterAuth,
|
|
4
4
|
getSensitiveEnvironmentData
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-T4K4LRMO.js";
|
|
6
6
|
import {
|
|
7
7
|
fetch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DVZ22YSP.js";
|
|
9
9
|
import {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FYGQPHYH.js";
|
|
12
12
|
import {
|
|
13
13
|
runWithRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IRF44N7J.js";
|
|
15
15
|
import {
|
|
16
16
|
alwaysLogAnalytics,
|
|
17
17
|
alwaysLogMetrics,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
outputDebug,
|
|
29
29
|
outputToken,
|
|
30
30
|
reportingRateLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SKEV2KRG.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__esm,
|
|
@@ -15477,7 +15477,7 @@ init_cjs_shims();
|
|
|
15477
15477
|
|
|
15478
15478
|
// ../cli-kit/dist/public/node/monorail.js
|
|
15479
15479
|
init_cjs_shims();
|
|
15480
|
-
var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.
|
|
15480
|
+
var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.19", publishedCommandNames = /* @__PURE__ */ new Set();
|
|
15481
15481
|
async function publishMonorailEvent(schemaId, publicData, sensitiveData) {
|
|
15482
15482
|
let commandName = publicData.command;
|
|
15483
15483
|
if (commandName && typeof commandName == "string") {
|
|
@@ -15656,7 +15656,8 @@ var instrumentationScope = "opentelemetry-js-shopify-web", BaseOtelService = cla
|
|
|
15656
15656
|
// ensures an new object is created so we don't mutate the original
|
|
15657
15657
|
{ ...labels }
|
|
15658
15658
|
);
|
|
15659
|
-
"record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({})
|
|
15659
|
+
"record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({}).catch(() => {
|
|
15660
|
+
});
|
|
15660
15661
|
};
|
|
15661
15662
|
record(firstValue, firstLabels), this.metrics.set(metricName, record);
|
|
15662
15663
|
});
|
|
@@ -15930,4 +15931,4 @@ export {
|
|
|
15930
15931
|
requestIdsCollection,
|
|
15931
15932
|
reportAnalyticsEvent
|
|
15932
15933
|
};
|
|
15933
|
-
//# sourceMappingURL=chunk-
|
|
15934
|
+
//# sourceMappingURL=chunk-K5XXB73S.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DNXNKHZO.js";
|
|
4
4
|
import {
|
|
5
5
|
staticService
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IM2PF4V5.js";
|
|
7
7
|
import {
|
|
8
8
|
asyncTasks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-57KJCVB5.js";
|
|
10
10
|
import {
|
|
11
11
|
base_command_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TW3OHW6H.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-KS7CKFXX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TW3OHW6H.js";
|
|
4
4
|
import {
|
|
5
5
|
mkdir,
|
|
6
6
|
outputInfo,
|
|
7
7
|
rmdir,
|
|
8
8
|
writeFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SKEV2KRG.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath
|
|
@@ -118,4 +118,4 @@ export {
|
|
|
118
118
|
writeCommandFlagInterface,
|
|
119
119
|
writeCommandUsageExampleFile
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk-
|
|
121
|
+
//# sourceMappingURL=chunk-MCEP4L5M.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logout
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YQVYH3XF.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TW3OHW6H.js";
|
|
7
7
|
import {
|
|
8
8
|
outputSuccess
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SKEV2KRG.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-MQQ5ZTSK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TW3OHW6H.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
6
|
} from "./chunk-3FBDJEGD.js";
|
|
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
46
46
|
export {
|
|
47
47
|
HelpCommand
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-N2463ZYG.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IM2PF4V5.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TW3OHW6H.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-NBOUUR2C.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TW3OHW6H.js";
|
|
4
4
|
import {
|
|
5
5
|
cacheClear
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRF44N7J.js";
|
|
7
7
|
import {
|
|
8
8
|
environmentVariables,
|
|
9
9
|
isTruthy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SKEV2KRG.js";
|
|
11
11
|
import {
|
|
12
12
|
require_lib
|
|
13
13
|
} from "./chunk-3FBDJEGD.js";
|
|
@@ -26,7 +26,7 @@ init_cjs_shims();
|
|
|
26
26
|
init_cjs_shims();
|
|
27
27
|
import { fileURLToPath } from "node:url";
|
|
28
28
|
async function launchCLI(options) {
|
|
29
|
-
let { errorHandler } = await import("./error-handler-
|
|
29
|
+
let { errorHandler } = await import("./error-handler-TQKQ3EAE.js"), { isDevelopment } = await import("./local-76WZCPFM.js"), oclif = await import("./lib-OSXFX3I2.js"), { ShopifyConfig } = await import("./custom-oclif-loader-LOMFS5PB.js");
|
|
30
30
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
31
31
|
try {
|
|
32
32
|
let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
|
|
|
41
41
|
async function exitIfOldNodeVersion(versions = process.versions) {
|
|
42
42
|
let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
43
43
|
if (nodeMajorVersion < 18) {
|
|
44
|
-
let { renderError } = await import("./ui-
|
|
44
|
+
let { renderError } = await import("./ui-A52PK2HZ.js");
|
|
45
45
|
renderError({
|
|
46
46
|
headline: "Upgrade to a supported Node version now.",
|
|
47
47
|
body: [
|
|
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
68
68
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
|
|
69
69
|
}
|
|
70
70
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
71
|
-
let { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
71
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-OCGFQDFC.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
72
72
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
73
73
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
74
74
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
jsonFlag,
|
|
118
118
|
ClearCache
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-PQCWFPSI.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
searchService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JB4IBM6F.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TW3OHW6H.js";
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
9
|
} from "./chunk-3FBDJEGD.js";
|
|
@@ -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-QO4ILPU2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FYGQPHYH.js";
|
|
4
4
|
import {
|
|
5
5
|
outputResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SKEV2KRG.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -17,4 +17,4 @@ async function versionService() {
|
|
|
17
17
|
export {
|
|
18
18
|
versionService
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-R3FZ7BFA.js.map
|
|
@@ -24528,6 +24528,17 @@ function matchGlob(key, pattern, options) {
|
|
|
24528
24528
|
function readdir(path8) {
|
|
24529
24529
|
return fsReaddir(path8);
|
|
24530
24530
|
}
|
|
24531
|
+
async function copyDirectoryContents(srcDir, destDir) {
|
|
24532
|
+
if (!await fileExists(srcDir))
|
|
24533
|
+
throw new Error(`Source directory ${srcDir} does not exist`);
|
|
24534
|
+
await fileExists(destDir) || await mkdir(destDir);
|
|
24535
|
+
let items = await glob(joinPath(srcDir, "**/*")), filesToCopy = [];
|
|
24536
|
+
for (let item of items) {
|
|
24537
|
+
let relativePath = item.replace(srcDir, "").replace(/^[/\\]/, ""), destPath = joinPath(destDir, relativePath);
|
|
24538
|
+
filesToCopy.push(copyFile(item, destPath));
|
|
24539
|
+
}
|
|
24540
|
+
await Promise.all(filesToCopy);
|
|
24541
|
+
}
|
|
24531
24542
|
|
|
24532
24543
|
// ../cli-kit/dist/private/node/constants.js
|
|
24533
24544
|
init_cjs_shims();
|
|
@@ -30165,7 +30176,7 @@ function formatSection(title, body) {
|
|
|
30165
30176
|
}
|
|
30166
30177
|
|
|
30167
30178
|
// ../cli-kit/dist/public/node/error.js
|
|
30168
|
-
var import_core2 = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
30179
|
+
var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
|
|
30169
30180
|
(function(FatalErrorType2) {
|
|
30170
30181
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
30171
30182
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -30293,7 +30304,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
30293
30304
|
try {
|
|
30294
30305
|
await getAndSet();
|
|
30295
30306
|
} catch (error) {
|
|
30296
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
30307
|
+
let { sendErrorToBugsnag } = await import("./error-handler-TQKQ3EAE.js");
|
|
30297
30308
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
30298
30309
|
}
|
|
30299
30310
|
}, durationStack = [];
|
|
@@ -32008,6 +32019,8 @@ export {
|
|
|
32008
32019
|
Static,
|
|
32009
32020
|
use_stdin_default,
|
|
32010
32021
|
use_input_default,
|
|
32022
|
+
use_stdout_default,
|
|
32023
|
+
measure_element_default,
|
|
32011
32024
|
figures_default,
|
|
32012
32025
|
useConcurrentOutputContext,
|
|
32013
32026
|
ConcurrentOutput,
|
|
@@ -32015,6 +32028,7 @@ export {
|
|
|
32015
32028
|
render2 as render,
|
|
32016
32029
|
handleCtrlC,
|
|
32017
32030
|
Link,
|
|
32031
|
+
TabularData,
|
|
32018
32032
|
Alert,
|
|
32019
32033
|
require_stacktracey,
|
|
32020
32034
|
require_eq,
|
|
@@ -32042,7 +32056,6 @@ export {
|
|
|
32042
32056
|
require_getTag,
|
|
32043
32057
|
require_baseIsEqual,
|
|
32044
32058
|
require_arrayMap,
|
|
32045
|
-
require_toString,
|
|
32046
32059
|
require_castPath,
|
|
32047
32060
|
require_toKey,
|
|
32048
32061
|
require_baseGet,
|
|
@@ -32178,6 +32191,7 @@ export {
|
|
|
32178
32191
|
findPathUp,
|
|
32179
32192
|
matchGlob,
|
|
32180
32193
|
readdir,
|
|
32194
|
+
copyDirectoryContents,
|
|
32181
32195
|
envPaths,
|
|
32182
32196
|
logsFolder,
|
|
32183
32197
|
environmentVariables,
|
|
@@ -32307,4 +32321,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32307
32321
|
* LICENSE file in the root directory of this source tree.
|
|
32308
32322
|
*)
|
|
32309
32323
|
*/
|
|
32310
|
-
//# sourceMappingURL=chunk-
|
|
32324
|
+
//# sourceMappingURL=chunk-SKEV2KRG.js.map
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
nonRandomUUID,
|
|
8
8
|
shopifyFetch,
|
|
9
9
|
z
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DVZ22YSP.js";
|
|
11
11
|
import {
|
|
12
12
|
getPackageManager,
|
|
13
13
|
getSession,
|
|
14
14
|
packageManagerFromUserAgent,
|
|
15
15
|
removeSession,
|
|
16
16
|
setSession
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IRF44N7J.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
BugError,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
sessionConstants,
|
|
46
46
|
spinFqdn,
|
|
47
47
|
themeToken
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SKEV2KRG.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd
|
|
51
51
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -1213,4 +1213,4 @@ export {
|
|
|
1213
1213
|
getEnvironmentData,
|
|
1214
1214
|
getSensitiveEnvironmentData
|
|
1215
1215
|
};
|
|
1216
|
-
//# sourceMappingURL=chunk-
|
|
1216
|
+
//# sourceMappingURL=chunk-T4K4LRMO.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5G56F2K6.js";
|
|
5
5
|
import {
|
|
6
6
|
setCurrentCommandId,
|
|
7
7
|
showNotificationsIfNeeded
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GWETXJR2.js";
|
|
9
9
|
import {
|
|
10
10
|
hashString
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DVZ22YSP.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortError,
|
|
14
14
|
addPublicMetadata,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
renderWarning,
|
|
25
25
|
terminalSupportsPrompting,
|
|
26
26
|
underscore
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SKEV2KRG.js";
|
|
28
28
|
import {
|
|
29
29
|
cwd
|
|
30
30
|
} from "./chunk-EG6MBBEN.js";
|
|
@@ -1504,7 +1504,7 @@ init_cjs_shims();
|
|
|
1504
1504
|
|
|
1505
1505
|
// ../cli-kit/dist/public/node/toml.js
|
|
1506
1506
|
init_cjs_shims();
|
|
1507
|
-
var toml = __toESM(require_toml()
|
|
1507
|
+
var toml = __toESM(require_toml());
|
|
1508
1508
|
function decodeToml(input) {
|
|
1509
1509
|
let normalizedInput = input.replace(/\r\n$/g, `
|
|
1510
1510
|
`);
|
|
@@ -1691,4 +1691,4 @@ export {
|
|
|
1691
1691
|
loadEnvironment,
|
|
1692
1692
|
base_command_default
|
|
1693
1693
|
};
|
|
1694
|
-
//# sourceMappingURL=chunk-
|
|
1694
|
+
//# sourceMappingURL=chunk-TW3OHW6H.js.map
|