@shopify/create-app 3.83.2 → 3.84.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/README.md +1 -1
- package/dist/{chunk-WEQO26H3.js → chunk-FCJKXKY5.js} +5 -5
- package/dist/{chunk-XJRQSTCJ.js → chunk-FZ64J6AA.js} +5 -5
- package/dist/{chunk-W4PJGWPI.js → chunk-G247P2WG.js} +746 -39
- package/dist/{chunk-VSRBOX7L.js → chunk-H7IST3XL.js} +17 -3
- package/dist/{chunk-6PBK5X7C.js → chunk-KXFF4CGE.js} +2 -2
- package/dist/{chunk-YWRAJ7OE.js → chunk-SMNBH5GN.js} +7 -6
- package/dist/{custom-oclif-loader-UUQOJG6O.js → custom-oclif-loader-F65UIOYS.js} +2 -2
- package/dist/{error-handler-6M5U77WT.js → error-handler-EVQNKREX.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +10748 -7468
- package/dist/{local-BCLGICYG.js → local-VKFRWXVO.js} +2 -2
- package/dist/{node-package-manager-SAF5AXSM.js → node-package-manager-VP5J3BKI.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-M3P3UW23.js → ui-JQST66AX.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -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-EVQNKREX.js");
|
|
23235
23235
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
23236
23236
|
}
|
|
23237
23237
|
}, durationStack = [];
|
|
@@ -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-H7IST3XL.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H7IST3XL.js";
|
|
22
22
|
import {
|
|
23
23
|
require_semver
|
|
24
24
|
} from "./chunk-H3GWNOGA.js";
|
|
@@ -13909,4 +13909,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13909
13909
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13910
13910
|
*)
|
|
13911
13911
|
*/
|
|
13912
|
-
//# sourceMappingURL=chunk-
|
|
13912
|
+
//# sourceMappingURL=chunk-KXFF4CGE.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G247P2WG.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KXFF4CGE.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-H7IST3XL.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-SMNBH5GN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-H7IST3XL.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-H3GWNOGA.js";
|
|
@@ -40,4 +40,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
40
40
|
export {
|
|
41
41
|
ShopifyConfig
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
43
|
+
//# sourceMappingURL=custom-oclif-loader-F65UIOYS.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-FZ64J6AA.js";
|
|
8
|
+
import "./chunk-SMNBH5GN.js";
|
|
9
|
+
import "./chunk-G247P2WG.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-KXFF4CGE.js";
|
|
12
|
+
import "./chunk-H7IST3XL.js";
|
|
13
13
|
import "./chunk-H3GWNOGA.js";
|
|
14
14
|
import "./chunk-UMUTXITN.js";
|
|
15
15
|
import "./chunk-Y2JP6WFP.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
26
26
|
sendErrorToBugsnag
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=error-handler-
|
|
28
|
+
//# sourceMappingURL=error-handler-EVQNKREX.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "../chunk-CP3BRHWK.js";
|
|
4
4
|
import {
|
|
5
5
|
reportAnalyticsEvent
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-SMNBH5GN.js";
|
|
7
|
+
import "../chunk-G247P2WG.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-KXFF4CGE.js";
|
|
10
10
|
import {
|
|
11
11
|
addSensitiveMetadata,
|
|
12
12
|
getAllSensitiveMetadata,
|
|
13
13
|
outputDebug,
|
|
14
14
|
renderWarning
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-H7IST3XL.js";
|
|
16
16
|
import "../chunk-H3GWNOGA.js";
|
|
17
17
|
import "../chunk-UMUTXITN.js";
|
|
18
18
|
import "../chunk-Y2JP6WFP.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotificationsInBackground
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FCJKXKY5.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-G247P2WG.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
packageManagerFromUserAgent,
|
|
13
13
|
runAtMinimumInterval
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-KXFF4CGE.js";
|
|
15
15
|
import {
|
|
16
16
|
currentProcessIsGlobal,
|
|
17
17
|
inferPackageManagerForGlobalCLI,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
outputDebug,
|
|
21
21
|
outputToken,
|
|
22
22
|
outputWarn
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-H7IST3XL.js";
|
|
24
24
|
import "../chunk-H3GWNOGA.js";
|
|
25
25
|
import "../chunk-UMUTXITN.js";
|
|
26
26
|
import "../chunk-Y2JP6WFP.js";
|