@shopify/create-app 3.77.0 → 3.78.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-5AOXX545.js → chunk-7CKA5IOI.js} +2 -2
- package/dist/{chunk-PBKRSTUJ.js → chunk-DRUQOCHK.js} +4 -4
- package/dist/{chunk-7H4256T3.js → chunk-DVEXWVPW.js} +3 -3
- package/dist/{chunk-KMKKRU6U.js → chunk-IQB5E27B.js} +34 -30
- package/dist/{chunk-MS4SVFZ7.js → chunk-JLQPPUUW.js} +5 -5
- package/dist/{chunk-XTDLUGSL.js → chunk-TZQZBGJA.js} +14 -5
- package/dist/{custom-oclif-loader-GLLEHGXZ.js → custom-oclif-loader-NSO2JRGJ.js} +2 -2
- package/dist/{error-handler-BJPOL26F.js → error-handler-UP2PHFP4.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +42797 -6963
- package/dist/{local-N5NULVAC.js → local-2YS3KZEM.js} +2 -2
- package/dist/{node-package-manager-T2VXCA3C.js → node-package-manager-B5D744OB.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-AA4MERX2.js → ui-LVZZ2CSX.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DVEXWVPW.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-7CKA5IOI.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TZQZBGJA.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7CKA5IOI.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-DVEXWVPW.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__esm,
|
|
@@ -15926,4 +15926,4 @@ export {
|
|
|
15926
15926
|
requestIdsCollection,
|
|
15927
15927
|
reportAnalyticsEvent
|
|
15928
15928
|
};
|
|
15929
|
-
//# sourceMappingURL=chunk-
|
|
15929
|
+
//# sourceMappingURL=chunk-DRUQOCHK.js.map
|
|
@@ -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-UP2PHFP4.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()
|
|
28068
|
+
var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
28069
28069
|
skipTTYCheck: !1
|
|
28070
28070
|
};
|
|
28071
28071
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -31705,4 +31705,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31705
31705
|
* LICENSE file in the root directory of this source tree.
|
|
31706
31706
|
*)
|
|
31707
31707
|
*/
|
|
31708
|
-
//# sourceMappingURL=chunk-
|
|
31708
|
+
//# sourceMappingURL=chunk-DVEXWVPW.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DRUQOCHK.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TZQZBGJA.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7CKA5IOI.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-DVEXWVPW.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -2040,33 +2040,37 @@ var reportError = async (error, config) => {
|
|
|
2040
2040
|
shouldReportErrorAsUnexpected(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
|
|
2041
2041
|
};
|
|
2042
2042
|
async function sendErrorToBugsnag(error, exitMode) {
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
let
|
|
2049
|
-
|
|
2050
|
-
|
|
2043
|
+
try {
|
|
2044
|
+
if (import_core.settings.debug)
|
|
2045
|
+
return outputDebug("Skipping Bugsnag report"), { reported: !1, error, unhandled: void 0 };
|
|
2046
|
+
let unhandled = exitMode === "unexpected_error", reportableError, stacktrace, report = !1;
|
|
2047
|
+
error instanceof Error ? (report = !0, reportableError = new Error(error.message), stacktrace = error.stack) : typeof error == "string" && error.trim().length !== 0 ? (report = !0, reportableError = new Error(error), stacktrace = reportableError.stack) : (report = !1, reportableError = new Error("Unknown error"));
|
|
2048
|
+
let formattedStacktrace = new import_stacktracey.default(stacktrace ?? "").clean().items.map((item) => {
|
|
2049
|
+
let filePath = cleanSingleStackTracePath(item.file);
|
|
2050
|
+
return ` at ${item.callee} (${filePath}:${item.line}:${item.column})`;
|
|
2051
|
+
}).join(`
|
|
2051
2052
|
`);
|
|
2052
|
-
|
|
2053
|
+
reportableError.stack = `Error: ${reportableError.message}
|
|
2053
2054
|
${formattedStacktrace}`;
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2055
|
+
let withinRateLimit = !1;
|
|
2056
|
+
return await runWithRateLimit({
|
|
2057
|
+
key: "send-error-to-bugsnag",
|
|
2058
|
+
...reportingRateLimit,
|
|
2059
|
+
task: async () => {
|
|
2060
|
+
withinRateLimit = !0;
|
|
2061
|
+
}
|
|
2062
|
+
}), withinRateLimit || (outputDebug("Skipping Bugsnag report due to rate limiting"), report = !1), report && (initializeBugsnag(), await new Promise((resolve, reject) => {
|
|
2063
|
+
outputDebug(`Reporting ${unhandled ? "unhandled" : "handled"} error to Bugsnag: ${reportableError.message}`);
|
|
2064
|
+
let eventHandler = (event) => {
|
|
2065
|
+
event.severity = "error", event.unhandled = unhandled;
|
|
2066
|
+
}, errorHandler2 = (error2) => {
|
|
2067
|
+
error2 ? reject(error2) : resolve(reportableError);
|
|
2068
|
+
};
|
|
2069
|
+
import_js.default.notify(reportableError, eventHandler, errorHandler2);
|
|
2070
|
+
})), { error: reportableError, reported: report, unhandled };
|
|
2071
|
+
} catch (err) {
|
|
2072
|
+
return outputDebug(`Error reporting to Bugsnag: ${err}`), { error, reported: !1, unhandled: void 0 };
|
|
2073
|
+
}
|
|
2070
2074
|
}
|
|
2071
2075
|
function cleanStackFrameFilePath({ currentFilePath, projectRoot, pluginLocations }) {
|
|
2072
2076
|
let fullLocation = isAbsolutePath(currentFilePath) ? currentFilePath : joinPath(projectRoot, currentFilePath), matchingPluginPath = pluginLocations.filter(({ pluginPath }) => fullLocation.startsWith(pluginPath))[0];
|
|
@@ -2129,4 +2133,4 @@ export {
|
|
|
2129
2133
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2130
2134
|
addBugsnagMetadata
|
|
2131
2135
|
};
|
|
2132
|
-
//# sourceMappingURL=chunk-
|
|
2136
|
+
//# sourceMappingURL=chunk-IQB5E27B.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
z
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TZQZBGJA.js";
|
|
5
5
|
import {
|
|
6
6
|
cacheRetrieve,
|
|
7
7
|
cacheStore,
|
|
8
8
|
versionSatisfies
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7CKA5IOI.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-DVEXWVPW.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-UP2PHFP4.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-JLQPPUUW.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
packageManagerFromUserAgent,
|
|
10
10
|
removeSession,
|
|
11
11
|
setSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7CKA5IOI.js";
|
|
13
13
|
import {
|
|
14
14
|
AbortError,
|
|
15
15
|
BugError,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
sleep,
|
|
50
50
|
spinFqdn,
|
|
51
51
|
themeToken
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-DVEXWVPW.js";
|
|
53
53
|
import {
|
|
54
54
|
cwd
|
|
55
55
|
} from "./chunk-ZUCWDIGE.js";
|
|
@@ -26951,7 +26951,7 @@ var require_form_data = __commonJS({
|
|
|
26951
26951
|
|
|
26952
26952
|
// ../cli-kit/dist/public/common/version.js
|
|
26953
26953
|
init_cjs_shims();
|
|
26954
|
-
var CLI_KIT_VERSION = "3.
|
|
26954
|
+
var CLI_KIT_VERSION = "3.78.0";
|
|
26955
26955
|
|
|
26956
26956
|
// ../cli-kit/dist/private/node/analytics.js
|
|
26957
26957
|
init_cjs_shims();
|
|
@@ -30909,6 +30909,14 @@ async function appManagementFqdn() {
|
|
|
30909
30909
|
return productionFqdn;
|
|
30910
30910
|
}
|
|
30911
30911
|
}
|
|
30912
|
+
async function appDevFqdn(storeFqdn) {
|
|
30913
|
+
switch (serviceEnvironment()) {
|
|
30914
|
+
case "local":
|
|
30915
|
+
return new DevServerCore().host("app");
|
|
30916
|
+
default:
|
|
30917
|
+
return storeFqdn;
|
|
30918
|
+
}
|
|
30919
|
+
}
|
|
30912
30920
|
async function developerDashboardFqdn() {
|
|
30913
30921
|
let environment = serviceEnvironment(), productionFqdn = "dev.shopify.com";
|
|
30914
30922
|
switch (environment) {
|
|
@@ -30958,7 +30966,7 @@ async function normalizeStoreFqdn(store2) {
|
|
|
30958
30966
|
|
|
30959
30967
|
// ../cli-kit/dist/public/node/http.js
|
|
30960
30968
|
init_cjs_shims();
|
|
30961
|
-
var import_form_data = __toESM(require_form_data());
|
|
30969
|
+
var import_form_data = __toESM(require_form_data(), 1);
|
|
30962
30970
|
|
|
30963
30971
|
// ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
|
|
30964
30972
|
init_cjs_shims();
|
|
@@ -32493,6 +32501,7 @@ export {
|
|
|
32493
32501
|
z,
|
|
32494
32502
|
partnersFqdn,
|
|
32495
32503
|
appManagementFqdn,
|
|
32504
|
+
appDevFqdn,
|
|
32496
32505
|
developerDashboardFqdn,
|
|
32497
32506
|
businessPlatformFqdn,
|
|
32498
32507
|
normalizeStoreFqdn,
|
|
@@ -32526,4 +32535,4 @@ mime-types/index.js:
|
|
|
32526
32535
|
* MIT Licensed
|
|
32527
32536
|
*)
|
|
32528
32537
|
*/
|
|
32529
|
-
//# sourceMappingURL=chunk-
|
|
32538
|
+
//# sourceMappingURL=chunk-TZQZBGJA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DVEXWVPW.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-NSO2JRGJ.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-IQB5E27B.js";
|
|
8
|
+
import "./chunk-DRUQOCHK.js";
|
|
9
|
+
import "./chunk-TZQZBGJA.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-7CKA5IOI.js";
|
|
12
|
+
import "./chunk-DVEXWVPW.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-UP2PHFP4.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-DRUQOCHK.js";
|
|
7
|
+
import "../chunk-TZQZBGJA.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7CKA5IOI.js";
|
|
10
10
|
import {
|
|
11
11
|
addSensitiveMetadata,
|
|
12
12
|
getAllSensitiveMetadata,
|
|
13
13
|
outputDebug,
|
|
14
14
|
renderWarning
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-DVEXWVPW.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-JLQPPUUW.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TZQZBGJA.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-7CKA5IOI.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-DVEXWVPW.js";
|
|
23
23
|
import "../chunk-S3QEOIDU.js";
|
|
24
24
|
import "../chunk-3I3GQNEW.js";
|
|
25
25
|
import "../chunk-ZUCWDIGE.js";
|