@shopify/create-app 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-RJBI6YFS.js → chunk-APC5TGT7.js} +7 -6
- package/dist/{chunk-WQCCLXI7.js → chunk-BRA57BDM.js} +19 -5
- package/dist/{chunk-FCIA744E.js → chunk-F7XIUISB.js} +746 -39
- package/dist/{chunk-B5LO3WJB.js → chunk-GYAMBODZ.js} +5 -5
- package/dist/{chunk-MF4CX3X6.js → chunk-I5QSPA3G.js} +5 -5
- package/dist/{chunk-RYX6V56V.js → chunk-XCAGLQZT.js} +2 -2
- package/dist/{custom-oclif-loader-LXS4HBQJ.js → custom-oclif-loader-U7MCMR24.js} +2 -2
- package/dist/{error-handler-G5J6DOZD.js → error-handler-M3MNE2JX.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +10757 -7450
- package/dist/{local-RYSKTBRK.js → local-ZJSQNOBS.js} +2 -2
- package/dist/{node-package-manager-D7PK6JFG.js → node-package-manager-ZPABMQVG.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-DQWEZ5S5.js → ui-5P6JUXXH.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ To work with themes, the CLI needs to be installed globally with:
|
|
|
41
41
|
|
|
42
42
|
You can also use do it through Homebrew on macOS: `brew tap shopify/shopify && brew install shopify-cli`
|
|
43
43
|
|
|
44
|
-
Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/themes/tools/cli)
|
|
44
|
+
Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/storefronts/themes/tools/cli)
|
|
45
45
|
|
|
46
46
|
<p> </p>
|
|
47
47
|
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F7XIUISB.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XCAGLQZT.js";
|
|
11
11
|
import {
|
|
12
12
|
alwaysLogAnalytics,
|
|
13
13
|
alwaysLogMetrics,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
outputDebug,
|
|
25
25
|
outputToken,
|
|
26
26
|
reportingRateLimit
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BRA57BDM.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__esm,
|
|
@@ -15473,7 +15473,7 @@ init_cjs_shims();
|
|
|
15473
15473
|
|
|
15474
15474
|
// ../cli-kit/dist/public/node/monorail.js
|
|
15475
15475
|
init_cjs_shims();
|
|
15476
|
-
var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.
|
|
15476
|
+
var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.19", publishedCommandNames = /* @__PURE__ */ new Set();
|
|
15477
15477
|
async function publishMonorailEvent(schemaId, publicData, sensitiveData) {
|
|
15478
15478
|
let commandName = publicData.command;
|
|
15479
15479
|
if (commandName && typeof commandName == "string") {
|
|
@@ -15652,7 +15652,8 @@ var instrumentationScope = "opentelemetry-js-shopify-web", BaseOtelService = cla
|
|
|
15652
15652
|
// ensures an new object is created so we don't mutate the original
|
|
15653
15653
|
{ ...labels }
|
|
15654
15654
|
);
|
|
15655
|
-
"record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({})
|
|
15655
|
+
"record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({}).catch(() => {
|
|
15656
|
+
});
|
|
15656
15657
|
};
|
|
15657
15658
|
record(firstValue, firstLabels), this.metrics.set(metricName, record);
|
|
15658
15659
|
});
|
|
@@ -15926,4 +15927,4 @@ export {
|
|
|
15926
15927
|
requestIdsCollection,
|
|
15927
15928
|
reportAnalyticsEvent
|
|
15928
15929
|
};
|
|
15929
|
-
//# sourceMappingURL=chunk-
|
|
15930
|
+
//# sourceMappingURL=chunk-APC5TGT7.js.map
|
|
@@ -23231,7 +23231,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
23231
23231
|
try {
|
|
23232
23232
|
await getAndSet();
|
|
23233
23233
|
} catch (error) {
|
|
23234
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
23234
|
+
let { sendErrorToBugsnag } = await import("./error-handler-M3MNE2JX.js");
|
|
23235
23235
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
23236
23236
|
}
|
|
23237
23237
|
}, durationStack = [];
|
|
@@ -27860,7 +27860,7 @@ function asHumanFriendlyArray(items) {
|
|
|
27860
27860
|
}
|
|
27861
27861
|
|
|
27862
27862
|
// ../cli-kit/dist/public/common/string.js
|
|
27863
|
-
var import_change_case = __toESM(require_dist16()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
27863
|
+
var import_change_case = __toESM(require_dist16(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
27864
27864
|
"commercial",
|
|
27865
27865
|
"profitable",
|
|
27866
27866
|
"amortizable",
|
|
@@ -29015,7 +29015,7 @@ This usually happens when running a command non-interactively, for example in a
|
|
|
29015
29015
|
}
|
|
29016
29016
|
|
|
29017
29017
|
// ../cli-kit/dist/public/node/error.js
|
|
29018
|
-
var import_core = __toESM(require_lib()
|
|
29018
|
+
var import_core = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
29019
29019
|
(function(FatalErrorType2) {
|
|
29020
29020
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
29021
29021
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -31794,6 +31794,17 @@ function matchGlob(key, pattern, options) {
|
|
|
31794
31794
|
function readdir(path8) {
|
|
31795
31795
|
return fsReaddir(path8);
|
|
31796
31796
|
}
|
|
31797
|
+
async function copyDirectoryContents(srcDir, destDir) {
|
|
31798
|
+
if (!await fileExists(srcDir))
|
|
31799
|
+
throw new Error(`Source directory ${srcDir} does not exist`);
|
|
31800
|
+
await fileExists(destDir) || await mkdir(destDir);
|
|
31801
|
+
let items = await glob(joinPath(srcDir, "**/*")), filesToCopy = [];
|
|
31802
|
+
for (let item of items) {
|
|
31803
|
+
let relativePath = item.replace(srcDir, "").replace(/^[/\\]/, ""), destPath = joinPath(destDir, relativePath);
|
|
31804
|
+
filesToCopy.push(copyFile(item, destPath));
|
|
31805
|
+
}
|
|
31806
|
+
await Promise.all(filesToCopy);
|
|
31807
|
+
}
|
|
31797
31808
|
|
|
31798
31809
|
// ../cli-kit/dist/private/node/constants.js
|
|
31799
31810
|
init_cjs_shims();
|
|
@@ -32169,7 +32180,6 @@ export {
|
|
|
32169
32180
|
require_getTag,
|
|
32170
32181
|
require_baseIsEqual,
|
|
32171
32182
|
require_arrayMap,
|
|
32172
|
-
require_toString,
|
|
32173
32183
|
require_castPath,
|
|
32174
32184
|
require_toKey,
|
|
32175
32185
|
require_baseGet,
|
|
@@ -32232,6 +32242,7 @@ export {
|
|
|
32232
32242
|
findPathUp,
|
|
32233
32243
|
matchGlob,
|
|
32234
32244
|
readdir,
|
|
32245
|
+
copyDirectoryContents,
|
|
32235
32246
|
envPaths,
|
|
32236
32247
|
logsFolder,
|
|
32237
32248
|
environmentVariables,
|
|
@@ -32300,6 +32311,8 @@ export {
|
|
|
32300
32311
|
Static,
|
|
32301
32312
|
use_stdin_default,
|
|
32302
32313
|
use_input_default,
|
|
32314
|
+
use_stdout_default,
|
|
32315
|
+
measure_element_default,
|
|
32303
32316
|
Link,
|
|
32304
32317
|
outputToken,
|
|
32305
32318
|
formatPackageManagerCommand,
|
|
@@ -32340,6 +32353,7 @@ export {
|
|
|
32340
32353
|
ConcurrentOutput,
|
|
32341
32354
|
render2 as render,
|
|
32342
32355
|
handleCtrlC,
|
|
32356
|
+
TabularData,
|
|
32343
32357
|
Alert,
|
|
32344
32358
|
useAbortSignal,
|
|
32345
32359
|
require_baseForOwn,
|
|
@@ -32451,4 +32465,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32451
32465
|
* LICENSE file in the root directory of this source tree.
|
|
32452
32466
|
*)
|
|
32453
32467
|
*/
|
|
32454
|
-
//# sourceMappingURL=chunk-
|
|
32468
|
+
//# sourceMappingURL=chunk-BRA57BDM.js.map
|