@shopify/create-app 3.78.2 → 3.79.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/dist/{chunk-PS6NFRCK.js → chunk-7AOB653K.js} +104 -19
- package/dist/{chunk-EQR72MUQ.js → chunk-BE7EA5HD.js} +10 -6
- package/dist/{chunk-WHWAKQQY.js → chunk-DOJFJSIT.js} +6 -1129
- package/dist/{chunk-NT557SK2.js → chunk-HSB3QV4W.js} +1197 -128
- package/dist/{chunk-HYAKRM37.js → chunk-S6CRGH63.js} +15 -14
- package/dist/{chunk-KNEC3BRF.js → chunk-SKROIF4Z.js} +5 -5
- package/dist/{custom-oclif-loader-4XA4AN34.js → custom-oclif-loader-YVZFS2MG.js} +2 -2
- package/dist/{error-handler-M5SCW37U.js → error-handler-2KYYHHUD.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +17420 -17069
- package/dist/is-wsl-YAJ3DFN7.js +64 -0
- package/dist/{local-ZUDPXH3G.js → local-FKLT6MRX.js} +2 -4
- package/dist/{node-package-manager-FFT43K5J.js → node-package-manager-6MPETXDL.js} +3 -3
- package/dist/toml-patch-wasm-J5VGG6WG.js +140 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-FBSFOBFT.js → ui-O37QGDLX.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
|
+
jsonOutputEnabled,
|
|
3
4
|
z
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7AOB653K.js";
|
|
5
6
|
import {
|
|
6
7
|
cacheRetrieve,
|
|
7
8
|
cacheStore,
|
|
8
9
|
versionSatisfies
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DOJFJSIT.js";
|
|
10
11
|
import {
|
|
11
12
|
AbortSilentError,
|
|
12
13
|
exec,
|
|
13
14
|
isTruthy,
|
|
14
|
-
jsonOutputEnabled,
|
|
15
15
|
outputDebug,
|
|
16
16
|
renderError,
|
|
17
17
|
renderInfo,
|
|
18
18
|
renderWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HSB3QV4W.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
22
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -84,7 +84,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
84
84
|
throw new AbortSilentError();
|
|
85
85
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
86
86
|
outputDebug(errorMessage);
|
|
87
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
87
|
+
let { sendErrorToBugsnag } = await import("./error-handler-2KYYHHUD.js");
|
|
88
88
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -122,15 +122,16 @@ async function getNotifications() {
|
|
|
122
122
|
return NotificationsSchema.parse(notifications);
|
|
123
123
|
}
|
|
124
124
|
function fetchNotificationsInBackground(currentCommand, argv = process.argv, environment = process.env) {
|
|
125
|
-
if (skipNotifications(currentCommand, environment))
|
|
125
|
+
if (skipNotifications(currentCommand, environment) || !argv[0] || !argv[1])
|
|
126
126
|
return;
|
|
127
|
-
let
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
127
|
+
let nodeBinary = argv[0], args = [argv[1], "notifications", "list", "--ignore-errors"];
|
|
128
|
+
exec(nodeBinary, args, {
|
|
129
|
+
background: !0,
|
|
130
|
+
env: { ...process.env, SHOPIFY_CLI_NO_ANALYTICS: "1" },
|
|
131
|
+
externalErrorHandler: async (error) => {
|
|
132
|
+
outputDebug(`Failed to fetch notifications in background: ${error.message}`);
|
|
133
|
+
}
|
|
134
|
+
});
|
|
134
135
|
}
|
|
135
136
|
function filterNotifications(notifications, commandId, currentSurfaces, today = new Date((/* @__PURE__ */ new Date()).setUTCHours(0, 0, 0, 0)), currentVersion = CLI_KIT_VERSION) {
|
|
136
137
|
return notifications.filter((notification) => filterByVersion(notification, currentVersion)).filter((notifications2) => filterByDate(notifications2, today)).filter((notification) => filterByCommand(notification, commandId)).filter((notification) => filterBySurface(notification, commandId, currentSurfaces)).filter((notification) => filterByFrequency(notification));
|
|
@@ -173,4 +174,4 @@ export {
|
|
|
173
174
|
showNotificationsIfNeeded,
|
|
174
175
|
fetchNotificationsInBackground
|
|
175
176
|
};
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-S6CRGH63.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7AOB653K.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DOJFJSIT.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-HSB3QV4W.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.17", 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") {
|
|
@@ -15926,4 +15926,4 @@ export {
|
|
|
15926
15926
|
requestIdsCollection,
|
|
15927
15927
|
reportAnalyticsEvent
|
|
15928
15928
|
};
|
|
15929
|
-
//# sourceMappingURL=chunk-
|
|
15929
|
+
//# sourceMappingURL=chunk-SKROIF4Z.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HSB3QV4W.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -43,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
43
43
|
export {
|
|
44
44
|
ShopifyConfig
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
46
|
+
//# sourceMappingURL=custom-oclif-loader-YVZFS2MG.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-BE7EA5HD.js";
|
|
8
|
+
import "./chunk-SKROIF4Z.js";
|
|
9
|
+
import "./chunk-7AOB653K.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-DOJFJSIT.js";
|
|
12
|
+
import "./chunk-HSB3QV4W.js";
|
|
13
13
|
import "./chunk-S3QEOIDU.js";
|
|
14
14
|
import "./chunk-3I3GQNEW.js";
|
|
15
15
|
import "./chunk-ZUCWDIGE.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
29
29
|
sendErrorToBugsnag
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=error-handler-
|
|
31
|
+
//# sourceMappingURL=error-handler-2KYYHHUD.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-SKROIF4Z.js";
|
|
7
|
+
import "../chunk-7AOB653K.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-DOJFJSIT.js";
|
|
10
10
|
import {
|
|
11
11
|
addSensitiveMetadata,
|
|
12
12
|
getAllSensitiveMetadata,
|
|
13
13
|
outputDebug,
|
|
14
14
|
renderWarning
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-HSB3QV4W.js";
|
|
16
16
|
import "../chunk-S3QEOIDU.js";
|
|
17
17
|
import "../chunk-3I3GQNEW.js";
|
|
18
18
|
import "../chunk-ZUCWDIGE.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotificationsInBackground
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-S6CRGH63.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-7AOB653K.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-DOJFJSIT.js";
|
|
15
15
|
import {
|
|
16
16
|
currentProcessIsGlobal,
|
|
17
17
|
inferPackageManagerForGlobalCLI,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
outputDebug,
|
|
20
20
|
outputToken,
|
|
21
21
|
outputWarn
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-HSB3QV4W.js";
|
|
23
23
|
import "../chunk-S3QEOIDU.js";
|
|
24
24
|
import "../chunk-3I3GQNEW.js";
|
|
25
25
|
import "../chunk-ZUCWDIGE.js";
|