@shopify/create-app 3.87.2 → 3.87.4
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-447ARDSU.js → chunk-3PEDZR7O.js} +4 -4
- package/dist/{chunk-E7XE2ARS.js → chunk-4YD2DGEA.js} +5 -5
- package/dist/{chunk-2TZYQN2V.js → chunk-AEMZTD5E.js} +9 -12
- package/dist/{chunk-YFM6JOY4.js → chunk-AG24RXY5.js} +2 -2
- package/dist/{chunk-LZZX55OB.js → chunk-E7QU3XLI.js} +5 -5
- package/dist/{chunk-HFDFZYWH.js → chunk-ONMQ7D6J.js} +4 -4
- package/dist/{chunk-BPE3Z6SL.js → chunk-VJVF56JB.js} +4 -4
- package/dist/{custom-oclif-loader-GKICOYDK.js → custom-oclif-loader-P5WMEY4P.js} +2 -2
- package/dist/{error-handler-KEOBZRN6.js → error-handler-OO5B7RPA.js} +6 -6
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +18 -17
- package/dist/{local-2YM74VBN.js → local-3F2FVASE.js} +2 -2
- package/dist/{node-package-manager-XQHPINWH.js → node-package-manager-LQOE3EHU.js} +3 -3
- package/dist/{ui-Z5ALGKAS.js → ui-Q2JK5OBR.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData,
|
|
7
7
|
requestIdsCollection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AEMZTD5E.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AG24RXY5.js";
|
|
12
12
|
import {
|
|
13
13
|
alwaysLogAnalytics,
|
|
14
14
|
alwaysLogMetrics,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
outputDebug,
|
|
25
25
|
outputToken,
|
|
26
26
|
reportingRateLimit
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__esm,
|
|
@@ -16093,4 +16093,4 @@ export {
|
|
|
16093
16093
|
recordEvent2 as recordEvent,
|
|
16094
16094
|
compileData2 as compileData
|
|
16095
16095
|
};
|
|
16096
|
-
//# sourceMappingURL=chunk-
|
|
16096
|
+
//# sourceMappingURL=chunk-3PEDZR7O.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AEMZTD5E.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AG24RXY5.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-ONMQ7D6J.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-OO5B7RPA.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-4YD2DGEA.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
setCurrentSessionId,
|
|
15
15
|
setSessions,
|
|
16
16
|
timeIntervalToMilliseconds
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AG24RXY5.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
BugError,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
stringifyMessage,
|
|
81
81
|
systemEnvironmentVariables,
|
|
82
82
|
themeToken
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
84
84
|
import {
|
|
85
85
|
cwd,
|
|
86
86
|
sniffForJson
|
|
@@ -30580,7 +30580,7 @@ var require_lib3 = __commonJS({
|
|
|
30580
30580
|
|
|
30581
30581
|
// ../cli-kit/dist/public/common/version.js
|
|
30582
30582
|
init_cjs_shims();
|
|
30583
|
-
var CLI_KIT_VERSION = "3.87.
|
|
30583
|
+
var CLI_KIT_VERSION = "3.87.4";
|
|
30584
30584
|
|
|
30585
30585
|
// ../cli-kit/dist/private/node/context/service.js
|
|
30586
30586
|
init_cjs_shims();
|
|
@@ -36304,14 +36304,11 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
|
|
|
36304
36304
|
|
|
36305
36305
|
// ../cli-kit/dist/private/node/context/deprecations-store.js
|
|
36306
36306
|
init_cjs_shims();
|
|
36307
|
-
var
|
|
36308
|
-
|
|
36309
|
-
deprecationsStore: {
|
|
36310
|
-
nextDeprecationDate: void 0
|
|
36311
|
-
}
|
|
36307
|
+
var deprecationsStore = {
|
|
36308
|
+
nextDeprecationDate: void 0
|
|
36312
36309
|
};
|
|
36313
36310
|
function getNextDeprecationDate() {
|
|
36314
|
-
return
|
|
36311
|
+
return deprecationsStore.nextDeprecationDate;
|
|
36315
36312
|
}
|
|
36316
36313
|
function setNextDeprecationDate(dates) {
|
|
36317
36314
|
if (dates.length < 1)
|
|
@@ -36320,14 +36317,14 @@ function setNextDeprecationDate(dates) {
|
|
|
36320
36317
|
if (!earliestFutureDateTime)
|
|
36321
36318
|
return;
|
|
36322
36319
|
let nextDeprecationDate = getNextDeprecationDate();
|
|
36323
|
-
(!nextDeprecationDate || earliestFutureDateTime < nextDeprecationDate.getTime()) && (
|
|
36320
|
+
(!nextDeprecationDate || earliestFutureDateTime < nextDeprecationDate.getTime()) && (deprecationsStore.nextDeprecationDate = new Date(earliestFutureDateTime));
|
|
36324
36321
|
}
|
|
36325
36322
|
function earliestDateTimeAfter(afterTime, dates) {
|
|
36326
36323
|
return dates.map((date) => date.getTime()).sort().find((time) => time > afterTime);
|
|
36327
36324
|
}
|
|
36328
36325
|
|
|
36329
36326
|
// ../cli-kit/dist/public/node/api/partners.js
|
|
36330
|
-
var import_bottleneck = __toESM(require_lib3()
|
|
36327
|
+
var import_bottleneck = __toESM(require_lib3()), limiter = new import_bottleneck.default({
|
|
36331
36328
|
minTime: 150,
|
|
36332
36329
|
maxConcurrent: 10
|
|
36333
36330
|
});
|
|
@@ -36749,4 +36746,4 @@ mime-types/index.js:
|
|
|
36749
36746
|
* MIT Licensed
|
|
36750
36747
|
*)
|
|
36751
36748
|
*/
|
|
36752
|
-
//# sourceMappingURL=chunk-
|
|
36749
|
+
//# sourceMappingURL=chunk-AEMZTD5E.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
runWithTimer,
|
|
21
21
|
unixFileIsOwnedByCurrentUser,
|
|
22
22
|
writeFile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
24
24
|
import {
|
|
25
25
|
require_semver
|
|
26
26
|
} from "./chunk-V7OWCSFT.js";
|
|
@@ -13996,4 +13996,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13996
13996
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13997
13997
|
*)
|
|
13998
13998
|
*/
|
|
13999
|
-
//# sourceMappingURL=chunk-
|
|
13999
|
+
//# sourceMappingURL=chunk-AG24RXY5.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3PEDZR7O.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData,
|
|
8
8
|
getLastSeenUserIdAfterAuth,
|
|
9
9
|
isLocalEnvironment
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AEMZTD5E.js";
|
|
11
11
|
import {
|
|
12
12
|
runWithRateLimit
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AG24RXY5.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
CancelExecution,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
reportingRateLimit,
|
|
26
26
|
require_stacktracey,
|
|
27
27
|
shouldReportErrorAsUnexpected
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
29
29
|
import {
|
|
30
30
|
require_lib
|
|
31
31
|
} from "./chunk-V7OWCSFT.js";
|
|
@@ -2233,4 +2233,4 @@ export {
|
|
|
2233
2233
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2234
2234
|
addBugsnagMetadata
|
|
2235
2235
|
};
|
|
2236
|
-
//# sourceMappingURL=chunk-
|
|
2236
|
+
//# sourceMappingURL=chunk-E7QU3XLI.js.map
|
|
@@ -23357,7 +23357,7 @@ init_cjs_shims();
|
|
|
23357
23357
|
|
|
23358
23358
|
// ../cli-kit/dist/public/node/abort.js
|
|
23359
23359
|
init_cjs_shims();
|
|
23360
|
-
var import_node_abort_controller = __toESM(require_node_abort_controller()
|
|
23360
|
+
var import_node_abort_controller = __toESM(require_node_abort_controller()), AbortController = class extends import_node_abort_controller.AbortController {
|
|
23361
23361
|
}, AbortSignal = class extends import_node_abort_controller.AbortSignal {
|
|
23362
23362
|
};
|
|
23363
23363
|
|
|
@@ -23388,7 +23388,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
23388
23388
|
try {
|
|
23389
23389
|
await getAndSet();
|
|
23390
23390
|
} catch (error) {
|
|
23391
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
23391
|
+
let { sendErrorToBugsnag } = await import("./error-handler-OO5B7RPA.js");
|
|
23392
23392
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
23393
23393
|
}
|
|
23394
23394
|
}, durationStack = [];
|
|
@@ -29066,7 +29066,7 @@ var SingleTask = ({ taskPromise, title, noColor }) => {
|
|
|
29066
29066
|
};
|
|
29067
29067
|
|
|
29068
29068
|
// ../cli-kit/dist/public/node/ui.js
|
|
29069
|
-
var import_react57 = __toESM(require_react()
|
|
29069
|
+
var import_react57 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
29070
29070
|
skipTTYCheck: !1
|
|
29071
29071
|
};
|
|
29072
29072
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -32433,4 +32433,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32433
32433
|
* LICENSE file in the root directory of this source tree.
|
|
32434
32434
|
*)
|
|
32435
32435
|
*/
|
|
32436
|
-
//# sourceMappingURL=chunk-
|
|
32436
|
+
//# sourceMappingURL=chunk-ONMQ7D6J.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reportAnalyticsEvent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3PEDZR7O.js";
|
|
4
4
|
import {
|
|
5
5
|
getNextDeprecationDate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AEMZTD5E.js";
|
|
7
7
|
import {
|
|
8
8
|
addSensitiveMetadata,
|
|
9
9
|
getAllSensitiveMetadata,
|
|
10
10
|
outputDebug,
|
|
11
11
|
renderWarning
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
postRunHookHasCompleted,
|
|
78
78
|
hook
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-VJVF56JB.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync,
|
|
4
4
|
isDevelopment
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
6
6
|
import {
|
|
7
7
|
require_lib
|
|
8
8
|
} from "./chunk-V7OWCSFT.js";
|
|
@@ -46,4 +46,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
46
46
|
export {
|
|
47
47
|
ShopifyConfig
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
49
|
+
//# sourceMappingURL=custom-oclif-loader-P5WMEY4P.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-E7QU3XLI.js";
|
|
8
|
+
import "./chunk-3PEDZR7O.js";
|
|
9
|
+
import "./chunk-AEMZTD5E.js";
|
|
10
10
|
import "./chunk-XD3LXUGW.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AG24RXY5.js";
|
|
12
|
+
import "./chunk-ONMQ7D6J.js";
|
|
13
13
|
import "./chunk-V7OWCSFT.js";
|
|
14
14
|
import "./chunk-UMUTXITN.js";
|
|
15
15
|
import "./chunk-Y2JP6WFP.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
28
28
|
sendErrorToBugsnag
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=error-handler-
|
|
30
|
+
//# sourceMappingURL=error-handler-OO5B7RPA.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hook
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-VJVF56JB.js";
|
|
4
|
+
import "../chunk-3PEDZR7O.js";
|
|
5
|
+
import "../chunk-AEMZTD5E.js";
|
|
6
6
|
import "../chunk-XD3LXUGW.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-AG24RXY5.js";
|
|
8
|
+
import "../chunk-ONMQ7D6J.js";
|
|
9
9
|
import "../chunk-V7OWCSFT.js";
|
|
10
10
|
import "../chunk-UMUTXITN.js";
|
|
11
11
|
import "../chunk-Y2JP6WFP.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotificationsInBackground
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4YD2DGEA.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-AEMZTD5E.js";
|
|
8
8
|
import "../chunk-XD3LXUGW.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
packageManagerFromUserAgent,
|
|
13
13
|
runAtMinimumInterval
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-AG24RXY5.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-ONMQ7D6J.js";
|
|
24
24
|
import "../chunk-V7OWCSFT.js";
|
|
25
25
|
import "../chunk-UMUTXITN.js";
|
|
26
26
|
import "../chunk-Y2JP6WFP.js";
|
package/dist/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
errorHandler,
|
|
9
9
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
10
10
|
require_end_of_stream
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-E7QU3XLI.js";
|
|
12
12
|
import {
|
|
13
13
|
postRunHookHasCompleted
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VJVF56JB.js";
|
|
15
15
|
import {
|
|
16
16
|
compileData,
|
|
17
17
|
fanoutHooks,
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
recordEvent,
|
|
21
21
|
recordTiming,
|
|
22
22
|
reportAnalyticsEvent
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3PEDZR7O.js";
|
|
24
24
|
import {
|
|
25
25
|
setCurrentCommandId,
|
|
26
26
|
showNotificationsIfNeeded
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4YD2DGEA.js";
|
|
28
28
|
import {
|
|
29
29
|
CLI_KIT_VERSION,
|
|
30
30
|
ClientError,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
setPathValue,
|
|
96
96
|
shopifyFetch,
|
|
97
97
|
z
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-AEMZTD5E.js";
|
|
99
99
|
import "./chunk-XD3LXUGW.js";
|
|
100
100
|
import {
|
|
101
101
|
LocalStorage,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
usesWorkspaces,
|
|
118
118
|
versionSatisfies,
|
|
119
119
|
writePackageJSON
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-AG24RXY5.js";
|
|
121
121
|
import {
|
|
122
122
|
AbortController as AbortController2,
|
|
123
123
|
AbortError,
|
|
@@ -282,7 +282,7 @@ import {
|
|
|
282
282
|
username,
|
|
283
283
|
writeFile,
|
|
284
284
|
writeFileSync
|
|
285
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
286
286
|
import {
|
|
287
287
|
require_brace_expansion,
|
|
288
288
|
require_commonjs,
|
|
@@ -3278,10 +3278,10 @@ var require_main = __commonJS({
|
|
|
3278
3278
|
t: () => t18
|
|
3279
3279
|
});
|
|
3280
3280
|
module2.exports = __toCommonJS3(main_exports4);
|
|
3281
|
-
var import_fs84 = __require("fs"),
|
|
3281
|
+
var import_fs84 = __require("fs"), import_promises6 = __require("fs/promises");
|
|
3282
3282
|
async function readFileFromUri(uri) {
|
|
3283
3283
|
if (uri.protocol === "file:")
|
|
3284
|
-
return await (0,
|
|
3284
|
+
return await (0, import_promises6.readFile)(uri, "utf8");
|
|
3285
3285
|
if (uri.protocol === "http:" || uri.protocol === "https:") {
|
|
3286
3286
|
let res = await fetch(uri.toString(), {
|
|
3287
3287
|
headers: {
|
|
@@ -39765,7 +39765,7 @@ var require_parse3 = __commonJS({
|
|
|
39765
39765
|
extension: url.getExtension(path)
|
|
39766
39766
|
};
|
|
39767
39767
|
try {
|
|
39768
|
-
let resolver = await
|
|
39768
|
+
let resolver = await readFile3(file, options, $refs);
|
|
39769
39769
|
$ref.pathType = resolver.plugin.name, file.data = resolver.result;
|
|
39770
39770
|
let parser4 = await parseFile(file, options, $refs);
|
|
39771
39771
|
return $ref.value = parser4.result, parser4.result;
|
|
@@ -39773,7 +39773,7 @@ var require_parse3 = __commonJS({
|
|
|
39773
39773
|
throw (0, errors_js_1.isHandledError)(err2) && ($ref.value = err2), err2;
|
|
39774
39774
|
}
|
|
39775
39775
|
}
|
|
39776
|
-
async function
|
|
39776
|
+
async function readFile3(file, options, $refs) {
|
|
39777
39777
|
let resolvers = plugins.all(options.resolve);
|
|
39778
39778
|
resolvers = plugins.filter(resolvers, "canRead", file), plugins.sort(resolvers);
|
|
39779
39779
|
try {
|
|
@@ -110467,7 +110467,7 @@ From ` + this.originalError.stack);
|
|
|
110467
110467
|
return !1;
|
|
110468
110468
|
}
|
|
110469
110469
|
}
|
|
110470
|
-
function
|
|
110470
|
+
function readFile3(filepath) {
|
|
110471
110471
|
return readFileAsync(filepath, "utf8");
|
|
110472
110472
|
}
|
|
110473
110473
|
function existsSync3(filepath) {
|
|
@@ -110498,7 +110498,7 @@ From ` + this.originalError.stack);
|
|
|
110498
110498
|
var fs4 = /* @__PURE__ */ Object.freeze({
|
|
110499
110499
|
__proto__: null,
|
|
110500
110500
|
exists: exists2,
|
|
110501
|
-
readFile:
|
|
110501
|
+
readFile: readFile3,
|
|
110502
110502
|
existsSync: existsSync3,
|
|
110503
110503
|
readFileSync: readFileSync4,
|
|
110504
110504
|
resolve,
|
|
@@ -201969,7 +201969,7 @@ init_cjs_shims();
|
|
|
201969
201969
|
init_cjs_shims();
|
|
201970
201970
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
201971
201971
|
async function launchCLI(options) {
|
|
201972
|
-
let { errorHandler: errorHandler2 } = await import("./error-handler-
|
|
201972
|
+
let { errorHandler: errorHandler2 } = await import("./error-handler-OO5B7RPA.js"), { isDevelopment: isDevelopment2 } = await import("./local-3F2FVASE.js"), oclif = await import("./lib-IF6LVQLE.js"), { ShopifyConfig } = await import("./custom-oclif-loader-P5WMEY4P.js");
|
|
201973
201973
|
isDevelopment2() && (oclif.default.settings.debug = !0);
|
|
201974
201974
|
try {
|
|
201975
201975
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
|
|
@@ -201984,7 +201984,7 @@ var import_core3 = __toESM(require_lib2());
|
|
|
201984
201984
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
201985
201985
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
201986
201986
|
if (nodeMajorVersion < 18) {
|
|
201987
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
201987
|
+
let { renderError: renderError2 } = await import("./ui-Q2JK5OBR.js");
|
|
201988
201988
|
renderError2({
|
|
201989
201989
|
headline: "Upgrade to a supported Node version now.",
|
|
201990
201990
|
body: [
|
|
@@ -202011,7 +202011,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
202011
202011
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
|
|
202012
202012
|
}
|
|
202013
202013
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
202014
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
202014
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-LQOE3EHU.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
202015
202015
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
202016
202016
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
202017
202017
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -202653,6 +202653,7 @@ init_cjs_shims();
|
|
|
202653
202653
|
init_cjs_shims();
|
|
202654
202654
|
var import_archiver = __toESM(require_archiver());
|
|
202655
202655
|
import { createWriteStream, readFileSync as readFileSync3, writeFileSync as writeFileSync2 } from "fs";
|
|
202656
|
+
import { readFile as readFile2 } from "fs/promises";
|
|
202656
202657
|
import { tmpdir } from "os";
|
|
202657
202658
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
202658
202659
|
async function zip(options) {
|
|
@@ -202705,7 +202706,7 @@ async function archiveFile(inputDirectory, filePath, archive) {
|
|
|
202705
202706
|
let fileRelativePath = relativePath(inputDirectory, filePath);
|
|
202706
202707
|
if (!filePath || !fileRelativePath)
|
|
202707
202708
|
return;
|
|
202708
|
-
let fileContent = await
|
|
202709
|
+
let fileContent = await readFile2(filePath);
|
|
202709
202710
|
archive.append(fileContent, { name: fileRelativePath });
|
|
202710
202711
|
}
|
|
202711
202712
|
async function brotliCompress(options) {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
macAddress,
|
|
21
21
|
opentelemetryDomain,
|
|
22
22
|
themeToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
24
24
|
import "./chunk-V7OWCSFT.js";
|
|
25
25
|
import "./chunk-UMUTXITN.js";
|
|
26
26
|
import "./chunk-Y2JP6WFP.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
opentelemetryDomain,
|
|
54
54
|
themeToken
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=local-
|
|
56
|
+
//# sourceMappingURL=local-3F2FVASE.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-AG24RXY5.js";
|
|
33
|
+
import "./chunk-ONMQ7D6J.js";
|
|
34
34
|
import "./chunk-V7OWCSFT.js";
|
|
35
35
|
import "./chunk-UMUTXITN.js";
|
|
36
36
|
import "./chunk-Y2JP6WFP.js";
|
|
@@ -72,4 +72,4 @@ export {
|
|
|
72
72
|
writePackageJSON,
|
|
73
73
|
yarnLockfile
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=node-package-manager-
|
|
75
|
+
//# sourceMappingURL=node-package-manager-LQOE3EHU.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
renderTasks,
|
|
18
18
|
renderTextPrompt,
|
|
19
19
|
renderWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ONMQ7D6J.js";
|
|
21
21
|
import "./chunk-V7OWCSFT.js";
|
|
22
22
|
import "./chunk-UMUTXITN.js";
|
|
23
23
|
import "./chunk-Y2JP6WFP.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
renderTextPrompt,
|
|
48
48
|
renderWarning
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=ui-
|
|
50
|
+
//# sourceMappingURL=ui-Q2JK5OBR.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.87.
|
|
3
|
+
"version": "3.87.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to create a new Shopify app.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"esbuild": "0.25.12"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@shopify/cli-kit": "3.87.
|
|
51
|
-
"@shopify/app": "3.87.
|
|
50
|
+
"@shopify/cli-kit": "3.87.4",
|
|
51
|
+
"@shopify/app": "3.87.4",
|
|
52
52
|
"esbuild-plugin-copy": "^2.1.1",
|
|
53
53
|
"@vitest/coverage-istanbul": "^3.1.4"
|
|
54
54
|
},
|