@shopify/create-app 3.78.2 → 3.79.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/dist/{chunk-PS6NFRCK.js → chunk-CZWBQ3CZ.js} +104 -19
- package/dist/{chunk-KNEC3BRF.js → chunk-FEMRLJY6.js} +5 -5
- package/dist/{chunk-NT557SK2.js → chunk-KRGUVLHQ.js} +1198 -129
- package/dist/{chunk-EQR72MUQ.js → chunk-OOQNNVSN.js} +10 -6
- package/dist/{chunk-HYAKRM37.js → chunk-WP4C65OV.js} +15 -14
- package/dist/{chunk-WHWAKQQY.js → chunk-YTWZ7YHV.js} +6 -1129
- package/dist/{custom-oclif-loader-4XA4AN34.js → custom-oclif-loader-BLG7V5O6.js} +2 -2
- package/dist/{error-handler-M5SCW37U.js → error-handler-CHLL2XNT.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +17420 -17075
- package/dist/is-wsl-YAJ3DFN7.js +64 -0
- package/dist/{local-ZUDPXH3G.js → local-DUTQKZTQ.js} +2 -4
- package/dist/{node-package-manager-FFT43K5J.js → node-package-manager-R2Z7LRGK.js} +3 -3
- package/dist/toml-patch-wasm-J5VGG6WG.js +140 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-FBSFOBFT.js → ui-6KCDQVWI.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FEMRLJY6.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CZWBQ3CZ.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YTWZ7YHV.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reportingRateLimit,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportErrorAsUnexpected
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KRGUVLHQ.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -2121,7 +2121,11 @@ function initializeBugsnag() {
|
|
|
2121
2121
|
appVersion: CLI_KIT_VERSION,
|
|
2122
2122
|
autoTrackSessions: !1,
|
|
2123
2123
|
autoDetectErrors: !1,
|
|
2124
|
-
enabledReleaseStages: ["production"]
|
|
2124
|
+
enabledReleaseStages: ["production"],
|
|
2125
|
+
endpoints: {
|
|
2126
|
+
notify: "https://error-analytics-production.shopifysvc.com",
|
|
2127
|
+
sessions: "https://error-analytics-sessions-production.shopifysvc.com"
|
|
2128
|
+
}
|
|
2125
2129
|
});
|
|
2126
2130
|
}
|
|
2127
2131
|
|
|
@@ -2133,4 +2137,4 @@ export {
|
|
|
2133
2137
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2134
2138
|
addBugsnagMetadata
|
|
2135
2139
|
};
|
|
2136
|
-
//# sourceMappingURL=chunk-
|
|
2140
|
+
//# sourceMappingURL=chunk-OOQNNVSN.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
|
+
jsonOutputEnabled,
|
|
3
4
|
z
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZWBQ3CZ.js";
|
|
5
6
|
import {
|
|
6
7
|
cacheRetrieve,
|
|
7
8
|
cacheStore,
|
|
8
9
|
versionSatisfies
|
|
9
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YTWZ7YHV.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-KRGUVLHQ.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-CHLL2XNT.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-WP4C65OV.js.map
|