@shopify/create-app 3.80.5 → 3.80.7
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-Z7QXHADV.js → chunk-3AUF6SFV.js} +5 -5
- package/dist/{chunk-MJ7AEVZX.js → chunk-3WLCDYDH.js} +2 -2
- package/dist/{chunk-WDAAUCHC.js → chunk-4CUOCZWA.js} +5 -5
- package/dist/{chunk-6QLQR4B2.js → chunk-OB3TW53B.js} +7 -7
- package/dist/{chunk-UZYAEXFQ.js → chunk-TMCHXNDX.js} +4 -4
- package/dist/{chunk-LK7TO65J.js → chunk-YD5O6X2N.js} +4 -4
- package/dist/{custom-oclif-loader-CATRHTAR.js → custom-oclif-loader-6FO7YJKC.js} +2 -2
- package/dist/{error-handler-47OA5DHI.js → error-handler-4H2Q3GJ6.js} +6 -6
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +16 -15
- package/dist/{local-ESSBQVLR.js → local-BLTCJNBH.js} +2 -2
- package/dist/{node-package-manager-Y7SKC3LZ.js → node-package-manager-XGVFWJHO.js} +3 -3
- package/dist/{ui-O3AZ4IO5.js → ui-4M5QZZEG.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TMCHXNDX.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3WLCDYDH.js";
|
|
11
11
|
import {
|
|
12
12
|
AbortSilentError,
|
|
13
13
|
exec,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderError,
|
|
17
17
|
renderInfo,
|
|
18
18
|
renderWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OB3TW53B.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-4H2Q3GJ6.js");
|
|
88
88
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
showNotificationsIfNeeded,
|
|
175
175
|
fetchNotificationsInBackground
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-3AUF6SFV.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
require_semver,
|
|
20
20
|
runWithTimer,
|
|
21
21
|
writeFile
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OB3TW53B.js";
|
|
23
23
|
import {
|
|
24
24
|
dirname,
|
|
25
25
|
joinPath
|
|
@@ -13708,4 +13708,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13708
13708
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13709
13709
|
*)
|
|
13710
13710
|
*/
|
|
13711
|
-
//# sourceMappingURL=chunk-
|
|
13711
|
+
//# sourceMappingURL=chunk-3WLCDYDH.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YD5O6X2N.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TMCHXNDX.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3WLCDYDH.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-OB3TW53B.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-3INFDIM3.js";
|
|
@@ -2137,4 +2137,4 @@ export {
|
|
|
2137
2137
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2138
2138
|
addBugsnagMetadata
|
|
2139
2139
|
};
|
|
2140
|
-
//# sourceMappingURL=chunk-
|
|
2140
|
+
//# sourceMappingURL=chunk-4CUOCZWA.js.map
|
|
@@ -23580,7 +23580,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
23580
23580
|
try {
|
|
23581
23581
|
await getAndSet();
|
|
23582
23582
|
} catch (error) {
|
|
23583
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
23583
|
+
let { sendErrorToBugsnag } = await import("./error-handler-4H2Q3GJ6.js");
|
|
23584
23584
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
23585
23585
|
}
|
|
23586
23586
|
}, durationStack = [];
|
|
@@ -28195,7 +28195,7 @@ function asHumanFriendlyArray(items) {
|
|
|
28195
28195
|
}
|
|
28196
28196
|
|
|
28197
28197
|
// ../cli-kit/dist/public/common/string.js
|
|
28198
|
-
var import_change_case = __toESM(require_dist16()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
28198
|
+
var import_change_case = __toESM(require_dist16(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
28199
28199
|
"commercial",
|
|
28200
28200
|
"profitable",
|
|
28201
28201
|
"amortizable",
|
|
@@ -29157,7 +29157,7 @@ init_cjs_shims();
|
|
|
29157
29157
|
|
|
29158
29158
|
// ../cli-kit/dist/public/common/function.js
|
|
29159
29159
|
init_cjs_shims();
|
|
29160
|
-
var import_memoize = __toESM(require_memoize()), import_debounce = __toESM(require_debounce());
|
|
29160
|
+
var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1);
|
|
29161
29161
|
function debounce(func, wait, options) {
|
|
29162
29162
|
return (0, import_debounce.default)(func, wait, options);
|
|
29163
29163
|
}
|
|
@@ -29197,7 +29197,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
29197
29197
|
}
|
|
29198
29198
|
|
|
29199
29199
|
// ../cli-kit/dist/public/node/ui.js
|
|
29200
|
-
var import_react55 = __toESM(require_react()
|
|
29200
|
+
var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
29201
29201
|
skipTTYCheck: !1
|
|
29202
29202
|
};
|
|
29203
29203
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -29337,7 +29337,7 @@ This usually happens when running a command non-interactively, for example in a
|
|
|
29337
29337
|
}
|
|
29338
29338
|
|
|
29339
29339
|
// ../cli-kit/dist/public/node/error.js
|
|
29340
|
-
var import_core = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
|
|
29340
|
+
var import_core = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
|
|
29341
29341
|
(function(FatalErrorType2) {
|
|
29342
29342
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
29343
29343
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -30334,7 +30334,7 @@ function makeUsernameFromId(userId) {
|
|
|
30334
30334
|
}
|
|
30335
30335
|
|
|
30336
30336
|
// ../cli-kit/dist/public/node/system.js
|
|
30337
|
-
var import_which = __toESM(require_lib2());
|
|
30337
|
+
var import_which = __toESM(require_lib2(), 1);
|
|
30338
30338
|
async function openURL(url) {
|
|
30339
30339
|
let externalOpen = await import("./open-BHIF7E3E.js");
|
|
30340
30340
|
try {
|
|
@@ -32789,4 +32789,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32789
32789
|
* LICENSE file in the root directory of this source tree.
|
|
32790
32790
|
*)
|
|
32791
32791
|
*/
|
|
32792
|
-
//# sourceMappingURL=chunk-
|
|
32792
|
+
//# sourceMappingURL=chunk-OB3TW53B.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
packageManagerFromUserAgent,
|
|
10
10
|
removeSession,
|
|
11
11
|
setSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3WLCDYDH.js";
|
|
13
13
|
import {
|
|
14
14
|
AbortError,
|
|
15
15
|
BugError,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
spinFqdn,
|
|
46
46
|
systemEnvironmentVariables,
|
|
47
47
|
themeToken
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OB3TW53B.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd,
|
|
51
51
|
sniffForJson
|
|
@@ -26948,7 +26948,7 @@ var require_form_data = __commonJS({
|
|
|
26948
26948
|
|
|
26949
26949
|
// ../cli-kit/dist/public/common/version.js
|
|
26950
26950
|
init_cjs_shims();
|
|
26951
|
-
var CLI_KIT_VERSION = "3.80.
|
|
26951
|
+
var CLI_KIT_VERSION = "3.80.7";
|
|
26952
26952
|
|
|
26953
26953
|
// ../cli-kit/dist/private/node/analytics.js
|
|
26954
26954
|
init_cjs_shims();
|
|
@@ -32632,4 +32632,4 @@ mime-types/index.js:
|
|
|
32632
32632
|
* MIT Licensed
|
|
32633
32633
|
*)
|
|
32634
32634
|
*/
|
|
32635
|
-
//# sourceMappingURL=chunk-
|
|
32635
|
+
//# sourceMappingURL=chunk-TMCHXNDX.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TMCHXNDX.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3WLCDYDH.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-OB3TW53B.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-YD5O6X2N.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OB3TW53B.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-3INFDIM3.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-6FO7YJKC.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-4CUOCZWA.js";
|
|
8
|
+
import "./chunk-YD5O6X2N.js";
|
|
9
|
+
import "./chunk-TMCHXNDX.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-3WLCDYDH.js";
|
|
12
|
+
import "./chunk-OB3TW53B.js";
|
|
13
13
|
import "./chunk-3INFDIM3.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-4H2Q3GJ6.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-YD5O6X2N.js";
|
|
7
|
+
import "../chunk-TMCHXNDX.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-3WLCDYDH.js";
|
|
10
10
|
import {
|
|
11
11
|
addSensitiveMetadata,
|
|
12
12
|
getAllSensitiveMetadata,
|
|
13
13
|
outputDebug,
|
|
14
14
|
renderWarning
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-OB3TW53B.js";
|
|
16
16
|
import "../chunk-3INFDIM3.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-3AUF6SFV.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TMCHXNDX.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-3WLCDYDH.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-OB3TW53B.js";
|
|
24
24
|
import "../chunk-3INFDIM3.js";
|
|
25
25
|
import "../chunk-3I3GQNEW.js";
|
|
26
26
|
import "../chunk-ZUCWDIGE.js";
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
errorHandler,
|
|
13
13
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
14
14
|
require_end_of_stream
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4CUOCZWA.js";
|
|
16
16
|
import {
|
|
17
17
|
setNextDeprecationDate
|
|
18
18
|
} from "./chunk-CP3BRHWK.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
getListOfTunnelPlugins,
|
|
22
22
|
reportAnalyticsEvent,
|
|
23
23
|
requestIdsCollection
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YD5O6X2N.js";
|
|
25
25
|
import {
|
|
26
26
|
setCurrentCommandId,
|
|
27
27
|
showNotificationsIfNeeded
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3AUF6SFV.js";
|
|
29
29
|
import {
|
|
30
30
|
CLI_KIT_VERSION,
|
|
31
31
|
ClientError,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
setLastSeenUserIdAfterAuth,
|
|
74
74
|
shopifyFetch,
|
|
75
75
|
z
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-TMCHXNDX.js";
|
|
77
77
|
import "./chunk-25IMI7TH.js";
|
|
78
78
|
import {
|
|
79
79
|
LocalStorage,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
usesWorkspaces,
|
|
99
99
|
versionSatisfies,
|
|
100
100
|
writePackageJSON
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-3WLCDYDH.js";
|
|
102
102
|
import {
|
|
103
103
|
AbortController as AbortController2,
|
|
104
104
|
AbortError,
|
|
@@ -292,7 +292,7 @@ import {
|
|
|
292
292
|
username,
|
|
293
293
|
writeFile,
|
|
294
294
|
writeFileSync
|
|
295
|
-
} from "./chunk-
|
|
295
|
+
} from "./chunk-OB3TW53B.js";
|
|
296
296
|
import {
|
|
297
297
|
require_brace_expansion,
|
|
298
298
|
require_lib as require_lib2
|
|
@@ -182990,6 +182990,7 @@ async function runWasmOpt(modulePath) {
|
|
|
182990
182990
|
"-Oz",
|
|
182991
182991
|
"--enable-bulk-memory",
|
|
182992
182992
|
"--enable-multimemory",
|
|
182993
|
+
"--enable-nontrapping-float-to-int",
|
|
182993
182994
|
"--strip-debug",
|
|
182994
182995
|
// overwrite our existing module with the optimized version
|
|
182995
182996
|
"-o",
|
|
@@ -183167,7 +183168,7 @@ init_cjs_shims();
|
|
|
183167
183168
|
|
|
183168
183169
|
// ../cli-kit/dist/public/node/toml.js
|
|
183169
183170
|
init_cjs_shims();
|
|
183170
|
-
var toml = __toESM(require_toml());
|
|
183171
|
+
var toml = __toESM(require_toml(), 1);
|
|
183171
183172
|
function decodeToml(input) {
|
|
183172
183173
|
let normalizedInput = input.replace(/\r\n$/g, `
|
|
183173
183174
|
`);
|
|
@@ -188522,7 +188523,7 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
|
|
|
188522
188523
|
};
|
|
188523
188524
|
|
|
188524
188525
|
// ../cli-kit/dist/public/node/api/partners.js
|
|
188525
|
-
var import_bottleneck = __toESM(require_lib5()
|
|
188526
|
+
var import_bottleneck = __toESM(require_lib5()), limiter = new import_bottleneck.default({
|
|
188526
188527
|
minTime: 150,
|
|
188527
188528
|
maxConcurrent: 10
|
|
188528
188529
|
});
|
|
@@ -193240,7 +193241,7 @@ init_cjs_shims();
|
|
|
193240
193241
|
init_cjs_shims();
|
|
193241
193242
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
193242
193243
|
async function launchCLI(options2) {
|
|
193243
|
-
let { errorHandler: errorHandler3 } = await import("./error-handler-
|
|
193244
|
+
let { errorHandler: errorHandler3 } = await import("./error-handler-4H2Q3GJ6.js"), { isDevelopment: isDevelopment2 } = await import("./local-BLTCJNBH.js"), oclif = await import("./lib-TMSQAG3Q.js"), { ShopifyConfig } = await import("./custom-oclif-loader-6FO7YJKC.js");
|
|
193244
193245
|
isDevelopment2() && (oclif.default.settings.debug = !0);
|
|
193245
193246
|
try {
|
|
193246
193247
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
|
|
@@ -193255,7 +193256,7 @@ var import_core3 = __toESM(require_lib2());
|
|
|
193255
193256
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
193256
193257
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
193257
193258
|
if (nodeMajorVersion < 18) {
|
|
193258
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
193259
|
+
let { renderError: renderError2 } = await import("./ui-4M5QZZEG.js");
|
|
193259
193260
|
renderError2({
|
|
193260
193261
|
headline: "Upgrade to a supported Node version now.",
|
|
193261
193262
|
body: [
|
|
@@ -193282,7 +193283,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
193282
193283
|
return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
|
|
193283
193284
|
}
|
|
193284
193285
|
async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
|
|
193285
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
193286
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-XGVFWJHO.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
193286
193287
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
193287
193288
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
193288
193289
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -207862,7 +207863,7 @@ var DevSession = class _DevSession {
|
|
|
207862
207863
|
return await devSession.start(), devSession;
|
|
207863
207864
|
}
|
|
207864
207865
|
constructor(processOptions, stdout) {
|
|
207865
|
-
this.statusManager = processOptions.devSessionStatusManager, this.logger = new DevSessionLogger(stdout), this.options = processOptions, this.appWatcher = processOptions.appWatcher, this.bundlePath = processOptions.appWatcher.buildOutputPath, this.appEventsProcessor = new SerialBatchProcessor((events) => this.processEvents(events));
|
|
207866
|
+
this.failedEvents = [], this.statusManager = processOptions.devSessionStatusManager, this.logger = new DevSessionLogger(stdout), this.options = processOptions, this.appWatcher = processOptions.appWatcher, this.bundlePath = processOptions.appWatcher.buildOutputPath, this.appEventsProcessor = new SerialBatchProcessor((events) => this.processEvents(events));
|
|
207866
207867
|
}
|
|
207867
207868
|
async start() {
|
|
207868
207869
|
await this.logger.info(`Preparing app preview on ${this.options.storeFqdn}`), this.statusManager.setMessage("LOADING"), this.appWatcher.onEvent(async (event) => this.onEvent(event)).onStart(async (event) => this.onStart(event)).onError(async (error) => this.handleDevSessionResult({ status: "unknown-error", error }));
|
|
@@ -207883,8 +207884,8 @@ var DevSession = class _DevSession {
|
|
|
207883
207884
|
* @param event - The app event to process
|
|
207884
207885
|
*/
|
|
207885
207886
|
async processEvents(events) {
|
|
207886
|
-
let event = this.consolidateAppEvents(
|
|
207887
|
-
if (!event)
|
|
207887
|
+
let allEvents = [...this.failedEvents, ...events], event = this.consolidateAppEvents(allEvents);
|
|
207888
|
+
if (this.failedEvents = [], !event)
|
|
207888
207889
|
return;
|
|
207889
207890
|
this.statusManager.setMessage("CHANGE_DETECTED"), this.updatePreviewURL(event), await this.logger.logExtensionEvents(event);
|
|
207890
207891
|
let networkStartTime = startHRTime(), result = await this.bundleExtensionsAndUpload(event);
|
|
@@ -207961,7 +207962,7 @@ var DevSession = class _DevSession {
|
|
|
207961
207962
|
* @param event - The app event
|
|
207962
207963
|
*/
|
|
207963
207964
|
async handleDevSessionResult(result, event) {
|
|
207964
|
-
if (result.status === "updated" ? (await this.logger.success(`\u2705 Updated app preview on ${this.options.storeFqdn}`), await this.logger.logExtensionUpdateMessages(event), await this.setUpdatedStatusMessage()) : result.status === "created" ? (this.statusManager.updateStatus({ isReady: !0 }), await this.logger.success("\u2705 Ready, watching for changes in your app "), await this.logger.logExtensionUpdateMessages(event), this.statusManager.setMessage("READY")) : result.status === "aborted" ? await this.logger.debug("\u274C App preview update aborted (new change detected or error during update)") : (result.status === "remote-error" || result.status === "unknown-error") && (await this.logger.logUserErrors(result.error, event?.app.allExtensions ?? []), result.error instanceof Error && result.error.cause === "validation-error" ? this.statusManager.setMessage("VALIDATION_ERROR") : this.statusManager.setMessage("REMOTE_ERROR")), !this.statusManager.status.isReady && !isUnitTest())
|
|
207965
|
+
if (result.status === "updated" ? (await this.logger.success(`\u2705 Updated app preview on ${this.options.storeFqdn}`), await this.logger.logExtensionUpdateMessages(event), await this.setUpdatedStatusMessage()) : result.status === "created" ? (this.statusManager.updateStatus({ isReady: !0 }), await this.logger.success("\u2705 Ready, watching for changes in your app "), await this.logger.logExtensionUpdateMessages(event), this.statusManager.setMessage("READY")) : result.status === "aborted" ? await this.logger.debug("\u274C App preview update aborted (new change detected or error during update)") : (result.status === "remote-error" || result.status === "unknown-error") && (await this.logger.logUserErrors(result.error, event?.app.allExtensions ?? []), result.error instanceof Error && result.error.cause === "validation-error" ? this.statusManager.setMessage("VALIDATION_ERROR") : (event && this.failedEvents.push(event), this.statusManager.setMessage("REMOTE_ERROR"))), !this.statusManager.status.isReady && !isUnitTest())
|
|
207965
207966
|
throw new AbortError("Failed to start app preview.");
|
|
207966
207967
|
}
|
|
207967
207968
|
/**
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
themeToken,
|
|
23
23
|
useEmbeddedThemeCLI,
|
|
24
24
|
useThemebundling
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OB3TW53B.js";
|
|
26
26
|
import "./chunk-3INFDIM3.js";
|
|
27
27
|
import "./chunk-3I3GQNEW.js";
|
|
28
28
|
import "./chunk-ZUCWDIGE.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
useEmbeddedThemeCLI,
|
|
59
59
|
useThemebundling
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=local-
|
|
61
|
+
//# sourceMappingURL=local-BLTCJNBH.js.map
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-3WLCDYDH.js";
|
|
33
|
+
import "./chunk-OB3TW53B.js";
|
|
34
34
|
import "./chunk-3INFDIM3.js";
|
|
35
35
|
import "./chunk-3I3GQNEW.js";
|
|
36
36
|
import "./chunk-ZUCWDIGE.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
writePackageJSON,
|
|
74
74
|
yarnLockfile
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=node-package-manager-
|
|
76
|
+
//# sourceMappingURL=node-package-manager-XGVFWJHO.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
renderText,
|
|
18
18
|
renderTextPrompt,
|
|
19
19
|
renderWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OB3TW53B.js";
|
|
21
21
|
import "./chunk-3INFDIM3.js";
|
|
22
22
|
import "./chunk-3I3GQNEW.js";
|
|
23
23
|
import "./chunk-ZUCWDIGE.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
renderTextPrompt,
|
|
49
49
|
renderWarning
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=ui-
|
|
51
|
+
//# sourceMappingURL=ui-4M5QZZEG.js.map
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-app",
|
|
3
|
-
"version": "3.80.
|
|
3
|
+
"version": "3.80.7",
|
|
4
4
|
"packageManager": "pnpm@8.15.7",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A CLI tool to create a new Shopify app.",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"esbuild": "0.25.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@shopify/cli-kit": "3.80.
|
|
52
|
-
"@shopify/app": "3.80.
|
|
51
|
+
"@shopify/cli-kit": "3.80.7",
|
|
52
|
+
"@shopify/app": "3.80.7",
|
|
53
53
|
"esbuild-plugin-copy": "^2.1.1",
|
|
54
54
|
"@vitest/coverage-istanbul": "^1.6.0"
|
|
55
55
|
},
|