@shopify/create-app 3.76.2 → 3.77.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-GQZNHHN6.js → chunk-3OVPIC52.js} +5 -5
- package/dist/{chunk-DVNRCA3A.js → chunk-EOJTBQOC.js} +2 -2
- package/dist/{chunk-L2SIT6F4.js → chunk-HMN3XM2H.js} +5 -5
- package/dist/{chunk-4YFG4SYR.js → chunk-J27B2HLC.js} +23 -9
- package/dist/{chunk-PEDOCKWB.js → chunk-N2DCMVBU.js} +5 -5
- package/dist/{chunk-DH5OC5ON.js → chunk-PC72P66L.js} +447 -238
- package/dist/{custom-oclif-loader-34DJVRTG.js → custom-oclif-loader-PXU2SAPY.js} +2 -2
- package/dist/{error-handler-CUX3CN3R.js → error-handler-4BFKS3B7.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +5452 -2312
- package/dist/{local-7HCM3VPW.js → local-OSXC4Y4T.js} +2 -2
- package/dist/{node-package-manager-MEKPJUK5.js → node-package-manager-GNPUCPVD.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-BE7SBGMH.js → ui-SDRCRCSG.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-N2DCMVBU.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PC72P66L.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EOJTBQOC.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-J27B2HLC.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -2129,4 +2129,4 @@ export {
|
|
|
2129
2129
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2130
2130
|
addBugsnagMetadata
|
|
2131
2131
|
};
|
|
2132
|
-
//# sourceMappingURL=chunk-
|
|
2132
|
+
//# sourceMappingURL=chunk-3OVPIC52.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-J27B2HLC.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
@@ -14831,4 +14831,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
14831
14831
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14832
14832
|
*)
|
|
14833
14833
|
*/
|
|
14834
|
-
//# sourceMappingURL=chunk-
|
|
14834
|
+
//# sourceMappingURL=chunk-EOJTBQOC.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
z
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PC72P66L.js";
|
|
5
5
|
import {
|
|
6
6
|
cacheRetrieve,
|
|
7
7
|
cacheStore,
|
|
8
8
|
versionSatisfies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EOJTBQOC.js";
|
|
10
10
|
import {
|
|
11
11
|
AbortSilentError,
|
|
12
12
|
exec,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderError,
|
|
17
17
|
renderInfo,
|
|
18
18
|
renderWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-J27B2HLC.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-4BFKS3B7.js");
|
|
88
88
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -173,4 +173,4 @@ export {
|
|
|
173
173
|
showNotificationsIfNeeded,
|
|
174
174
|
fetchNotificationsInBackground
|
|
175
175
|
};
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
176
|
+
//# sourceMappingURL=chunk-HMN3XM2H.js.map
|
|
@@ -2174,10 +2174,10 @@ var require_ci_info = __commonJS({
|
|
|
2174
2174
|
exports.name = null;
|
|
2175
2175
|
exports.isPR = null;
|
|
2176
2176
|
vendors.forEach(function(vendor) {
|
|
2177
|
-
let
|
|
2177
|
+
let isCI2 = (Array.isArray(vendor.env) ? vendor.env : [vendor.env]).every(function(obj) {
|
|
2178
2178
|
return checkEnv(obj);
|
|
2179
2179
|
});
|
|
2180
|
-
if (exports[vendor.constant] =
|
|
2180
|
+
if (exports[vendor.constant] = isCI2, !!isCI2)
|
|
2181
2181
|
switch (exports.name = vendor.name, typeof vendor.pr) {
|
|
2182
2182
|
case "string":
|
|
2183
2183
|
exports.isPR = !!env3[vendor.pr];
|
|
@@ -22455,7 +22455,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
22455
22455
|
try {
|
|
22456
22456
|
await getAndSet();
|
|
22457
22457
|
} catch (error) {
|
|
22458
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
22458
|
+
let { sendErrorToBugsnag } = await import("./error-handler-4BFKS3B7.js");
|
|
22459
22459
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
22460
22460
|
}
|
|
22461
22461
|
}, durationStack = [];
|
|
@@ -28065,7 +28065,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
28065
28065
|
}
|
|
28066
28066
|
|
|
28067
28067
|
// ../cli-kit/dist/public/node/ui.js
|
|
28068
|
-
var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
28068
|
+
var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
|
|
28069
28069
|
skipTTYCheck: !1
|
|
28070
28070
|
};
|
|
28071
28071
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -29281,6 +29281,9 @@ async function sleep(seconds) {
|
|
|
29281
29281
|
function terminalSupportsPrompting() {
|
|
29282
29282
|
return isTruthy(process.env.CI) ? !1 : !!(process.stdin.isTTY && process.stdout.isTTY);
|
|
29283
29283
|
}
|
|
29284
|
+
function isCI() {
|
|
29285
|
+
return isTruthy(process.env.CI);
|
|
29286
|
+
}
|
|
29284
29287
|
|
|
29285
29288
|
// ../cli-kit/dist/public/node/is-global.js
|
|
29286
29289
|
var _isGlobal;
|
|
@@ -31051,7 +31054,9 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
|
|
|
31051
31054
|
otelURL: "SHOPIFY_CLI_OTEL_EXPORTER_OTLP_ENDPOINT",
|
|
31052
31055
|
themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
|
|
31053
31056
|
json: "SHOPIFY_FLAG_JSON",
|
|
31054
|
-
neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API"
|
|
31057
|
+
neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API",
|
|
31058
|
+
skipNetworkLevelRetry: "SHOPIFY_CLI_SKIP_NETWORK_LEVEL_RETRY",
|
|
31059
|
+
maxRequestTimeForNetworkCalls: "SHOPIFY_CLI_MAX_REQUEST_TIME_FOR_NETWORK_CALLS"
|
|
31055
31060
|
}, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
|
|
31056
31061
|
backendPort: "BACKEND_PORT"
|
|
31057
31062
|
}, pathConstants = {
|
|
@@ -31268,6 +31273,13 @@ function jsonOutputEnabled(environment = getEnvironmentVariables()) {
|
|
|
31268
31273
|
function blockPartnersAccess() {
|
|
31269
31274
|
return isTruthy(getEnvironmentVariables()[environmentVariables.neverUsePartnersApi]);
|
|
31270
31275
|
}
|
|
31276
|
+
function skipNetworkLevelRetry(environment = getEnvironmentVariables()) {
|
|
31277
|
+
return isTruthy(environment[environmentVariables.skipNetworkLevelRetry]);
|
|
31278
|
+
}
|
|
31279
|
+
function maxRequestTimeForNetworkCallsMs(environment = getEnvironmentVariables()) {
|
|
31280
|
+
let maxRequestTime = environment[environmentVariables.maxRequestTimeForNetworkCalls];
|
|
31281
|
+
return maxRequestTime && !isNaN(Number(maxRequestTime)) ? Number(maxRequestTime) : 15 * 1e3;
|
|
31282
|
+
}
|
|
31271
31283
|
|
|
31272
31284
|
// ../../node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
|
|
31273
31285
|
init_cjs_shims();
|
|
@@ -31276,7 +31288,7 @@ function isInteractive({ stream: stream2 = process.stdout } = {}) {
|
|
|
31276
31288
|
}
|
|
31277
31289
|
|
|
31278
31290
|
// ../cli-kit/dist/public/node/context/local.js
|
|
31279
|
-
var import_macaddress = __toESM(require_macaddress()
|
|
31291
|
+
var import_macaddress = __toESM(require_macaddress());
|
|
31280
31292
|
import { homedir as homedir2 } from "os";
|
|
31281
31293
|
function isTerminalInteractive() {
|
|
31282
31294
|
return isInteractive();
|
|
@@ -31419,8 +31431,6 @@ export {
|
|
|
31419
31431
|
uniq,
|
|
31420
31432
|
uniqBy,
|
|
31421
31433
|
difference,
|
|
31422
|
-
tslib_es6_exports,
|
|
31423
|
-
init_tslib_es6,
|
|
31424
31434
|
getRandomName,
|
|
31425
31435
|
capitalize,
|
|
31426
31436
|
pluralize,
|
|
@@ -31479,11 +31489,13 @@ export {
|
|
|
31479
31489
|
execaSync,
|
|
31480
31490
|
username,
|
|
31481
31491
|
platformAndArch,
|
|
31492
|
+
require_lib2 as require_lib,
|
|
31482
31493
|
openURL,
|
|
31483
31494
|
captureOutput,
|
|
31484
31495
|
exec3 as exec,
|
|
31485
31496
|
sleep,
|
|
31486
31497
|
terminalSupportsPrompting,
|
|
31498
|
+
isCI,
|
|
31487
31499
|
Environment,
|
|
31488
31500
|
serviceEnvironment,
|
|
31489
31501
|
spinFqdn,
|
|
@@ -31503,6 +31515,8 @@ export {
|
|
|
31503
31515
|
getIdentityTokenInformation,
|
|
31504
31516
|
jsonOutputEnabled,
|
|
31505
31517
|
blockPartnersAccess,
|
|
31518
|
+
skipNetworkLevelRetry,
|
|
31519
|
+
maxRequestTimeForNetworkCallsMs,
|
|
31506
31520
|
isTerminalInteractive,
|
|
31507
31521
|
homeDirectory,
|
|
31508
31522
|
isDevelopment,
|
|
@@ -31691,4 +31705,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31691
31705
|
* LICENSE file in the root directory of this source tree.
|
|
31692
31706
|
*)
|
|
31693
31707
|
*/
|
|
31694
|
-
//# sourceMappingURL=chunk-
|
|
31708
|
+
//# sourceMappingURL=chunk-J27B2HLC.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PC72P66L.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EOJTBQOC.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-J27B2HLC.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__esm,
|
|
@@ -15482,7 +15482,7 @@ async function publishMonorailEvent(schemaId, publicData, sensitiveData) {
|
|
|
15482
15482
|
publishedCommandNames.add(commandName);
|
|
15483
15483
|
}
|
|
15484
15484
|
try {
|
|
15485
|
-
let currentTime = (/* @__PURE__ */ new Date()).getTime(), payload = { ...publicData, ...sensitiveData }, body = JSON.stringify({ schema_id: schemaId, payload }), headers = buildHeaders(currentTime), response = await fetch(url, { method: "POST", body, headers });
|
|
15485
|
+
let currentTime = (/* @__PURE__ */ new Date()).getTime(), payload = { ...publicData, ...sensitiveData }, body = JSON.stringify({ schema_id: schemaId, payload }), headers = buildHeaders(currentTime), response = await fetch(url, { method: "POST", body, headers }, "non-blocking");
|
|
15486
15486
|
return response.status === 200 ? (outputDebug(outputContent`Analytics event sent: ${outputToken.json(sanitizePayload(payload))}`), { type: "ok" }) : (outputDebug(`Failed to report usage analytics: ${response.statusText}`), { type: "error", message: response.statusText });
|
|
15487
15487
|
} catch (error) {
|
|
15488
15488
|
let message = "Failed to report usage analytics";
|
|
@@ -15926,4 +15926,4 @@ export {
|
|
|
15926
15926
|
requestIdsCollection,
|
|
15927
15927
|
reportAnalyticsEvent
|
|
15928
15928
|
};
|
|
15929
|
-
//# sourceMappingURL=chunk-
|
|
15929
|
+
//# sourceMappingURL=chunk-N2DCMVBU.js.map
|