@shopify/create-app 0.0.0-snapshot-20260722190906 → 0.0.0-snapshot-20260722210655
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/{analytics-R763OCOA.js → analytics-7XDTFOIL.js} +11 -11
- package/dist/{analytics-K2GELKMC.js → analytics-IPBNNZ5Y.js} +11 -11
- package/dist/{chunk-3N3YQQWR.js → chunk-3P646RNL.js} +2 -2
- package/dist/{chunk-P55R46AF.js → chunk-4VZMJZEP.js} +12 -4
- package/dist/{chunk-HRZBF7PU.js → chunk-5TYV3KTM.js} +6 -6
- package/dist/{chunk-EV5FOQYQ.js → chunk-AD44PVN7.js} +3 -3
- package/dist/{chunk-S6B3NNCJ.js → chunk-AMNV2F4T.js} +16 -16
- package/dist/{chunk-N3WXWQ6Q.js → chunk-B4DASCHO.js} +10 -10
- package/dist/{chunk-RVRHYUZK.js → chunk-EFCLCT6P.js} +2 -2
- package/dist/{chunk-3OEPNCDO.js → chunk-FKSTGVOB.js} +5 -5
- package/dist/{chunk-OJ4H3L54.js → chunk-G3DLGZ32.js} +10 -10
- package/dist/{chunk-BEUNBVME.js → chunk-I7E7OQVK.js} +1 -1
- package/dist/{chunk-JHP35DLR.js → chunk-II3CBUD2.js} +8 -8
- package/dist/{chunk-5MNVN32X.js → chunk-UPROKMAA.js} +3 -3
- package/dist/{chunk-5265OBKP.js → chunk-Y57TZBWY.js} +3 -3
- package/dist/{chunk-OTQWK73T.js → chunk-YEWVPBEX.js} +6 -6
- package/dist/{chunk-CBTXEFXC.js → chunk-YKGUYXAN.js} +2 -2
- package/dist/{conf-store-R5RWTUGA.js → conf-store-KSTB37EJ.js} +9 -5
- package/dist/{deprecations-YYNCP44F.js → deprecations-4XTFEEB2.js} +7 -7
- package/dist/{environments-QSE2R7U4.js → environments-LPX6YDJT.js} +8 -8
- package/dist/{error-handler-QG2BH6XN.js → error-handler-XQU5O2GT.js} +11 -11
- package/dist/{fs-ZBBKREIT.js → fs-ZLRUBFYB.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +9 -8
- package/dist/index.js +29 -29
- package/dist/{is-global-VBVHOI5F.js → is-global-2LXJNSNE.js} +3 -3
- package/dist/{local-BR5NEG6P.js → local-Y4N2LHMR.js} +2 -2
- package/dist/{metadata-IBXKIPDT.js → metadata-VVSEGFHN.js} +3 -3
- package/dist/{node-package-manager-FIGONMNL.js → node-package-manager-5LVWZCYT.js} +9 -9
- package/dist/{notifications-system-OAEYBL5Z.js → notifications-system-R5JIMDFN.js} +12 -12
- package/dist/{output-45UBCZFL.js → output-RX2BD4LB.js} +3 -3
- package/dist/{prettier-SS3RRDXK.js → prettier-HWONCVRT.js} +2 -2
- package/dist/skills-QPGB2OSY.js +72 -0
- package/dist/{system-O7H6MBJC.js → system-B5GAWPGJ.js} +7 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-QZTEM2U7.js → ui-VH7SIQSB.js} +7 -7
- package/dist/{upgrade-MFHOVJPE.js → upgrade-CV5AXWLW.js} +13 -13
- package/dist/{version-RMVNUO5D.js → version-7FLIJ5NP.js} +8 -8
- package/dist/{version-4QUBA5EF.js → version-KSTXQY7R.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
getConfigStoreForPartnerStatus,
|
|
9
9
|
getCurrentSessionId,
|
|
10
10
|
getSessions,
|
|
11
|
+
getSkillAutoInstallCompleted,
|
|
11
12
|
removeCurrentSessionId,
|
|
12
13
|
removeSessions,
|
|
13
14
|
runAtMinimumInterval,
|
|
@@ -16,16 +17,17 @@ import {
|
|
|
16
17
|
setCachedPartnerAccountStatus,
|
|
17
18
|
setCurrentSessionId,
|
|
18
19
|
setSessions,
|
|
20
|
+
setSkillAutoInstallCompleted,
|
|
19
21
|
timeIntervalToMilliseconds
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-4VZMJZEP.js";
|
|
23
|
+
import "./chunk-UPROKMAA.js";
|
|
22
24
|
import "./chunk-K5NLRHZR.js";
|
|
23
25
|
import "./chunk-ODCXYGJ2.js";
|
|
24
26
|
import "./chunk-LBXDGVFS.js";
|
|
25
27
|
import "./chunk-D6NYWNY2.js";
|
|
26
28
|
import "./chunk-OQ3KXXGH.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-5TYV3KTM.js";
|
|
30
|
+
import "./chunk-Y57TZBWY.js";
|
|
29
31
|
import "./chunk-7OHJH7BF.js";
|
|
30
32
|
import "./chunk-C3J4HVUN.js";
|
|
31
33
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -41,6 +43,7 @@ export {
|
|
|
41
43
|
getConfigStoreForPartnerStatus,
|
|
42
44
|
getCurrentSessionId,
|
|
43
45
|
getSessions,
|
|
46
|
+
getSkillAutoInstallCompleted,
|
|
44
47
|
removeCurrentSessionId,
|
|
45
48
|
removeSessions,
|
|
46
49
|
runAtMinimumInterval,
|
|
@@ -49,6 +52,7 @@ export {
|
|
|
49
52
|
setCachedPartnerAccountStatus,
|
|
50
53
|
setCurrentSessionId,
|
|
51
54
|
setSessions,
|
|
55
|
+
setSkillAutoInstallCompleted,
|
|
52
56
|
timeIntervalToMilliseconds
|
|
53
57
|
};
|
|
54
|
-
//# sourceMappingURL=conf-store-
|
|
58
|
+
//# sourceMappingURL=conf-store-KSTB37EJ.js.map
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-MSED5ZFM.js";
|
|
4
4
|
import {
|
|
5
5
|
renderWarning
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-II3CBUD2.js";
|
|
7
|
+
import "./chunk-AD44PVN7.js";
|
|
8
|
+
import "./chunk-UPROKMAA.js";
|
|
9
9
|
import "./chunk-K5NLRHZR.js";
|
|
10
10
|
import "./chunk-ODCXYGJ2.js";
|
|
11
11
|
import "./chunk-LBXDGVFS.js";
|
|
12
12
|
import "./chunk-D6NYWNY2.js";
|
|
13
13
|
import "./chunk-JGGOQOPO.js";
|
|
14
14
|
import "./chunk-OQ3KXXGH.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-EFCLCT6P.js";
|
|
16
|
+
import "./chunk-5TYV3KTM.js";
|
|
17
|
+
import "./chunk-Y57TZBWY.js";
|
|
18
18
|
import "./chunk-7OHJH7BF.js";
|
|
19
19
|
import "./chunk-C3J4HVUN.js";
|
|
20
20
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -52,4 +52,4 @@ function renderUpgradeWarning(upgradeByDate, forThemes) {
|
|
|
52
52
|
export {
|
|
53
53
|
postrun
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=deprecations-
|
|
55
|
+
//# sourceMappingURL=deprecations-4XTFEEB2.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
environmentFilePath,
|
|
3
3
|
loadEnvironment
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FKSTGVOB.js";
|
|
5
|
+
import "./chunk-II3CBUD2.js";
|
|
6
|
+
import "./chunk-AD44PVN7.js";
|
|
7
|
+
import "./chunk-UPROKMAA.js";
|
|
8
8
|
import "./chunk-K5NLRHZR.js";
|
|
9
9
|
import "./chunk-ODCXYGJ2.js";
|
|
10
10
|
import "./chunk-LBXDGVFS.js";
|
|
11
11
|
import "./chunk-D6NYWNY2.js";
|
|
12
12
|
import "./chunk-JGGOQOPO.js";
|
|
13
13
|
import "./chunk-OQ3KXXGH.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EFCLCT6P.js";
|
|
15
|
+
import "./chunk-5TYV3KTM.js";
|
|
16
|
+
import "./chunk-Y57TZBWY.js";
|
|
17
17
|
import "./chunk-7OHJH7BF.js";
|
|
18
18
|
import "./chunk-C3J4HVUN.js";
|
|
19
19
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
environmentFilePath,
|
|
24
24
|
loadEnvironment
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=environments-
|
|
26
|
+
//# sourceMappingURL=environments-LPX6YDJT.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B4DASCHO.js";
|
|
8
8
|
import "./chunk-MSED5ZFM.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-YEWVPBEX.js";
|
|
10
|
+
import "./chunk-YKGUYXAN.js";
|
|
11
11
|
import "./chunk-G53O4PDO.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4VZMJZEP.js";
|
|
13
|
+
import "./chunk-II3CBUD2.js";
|
|
14
|
+
import "./chunk-AD44PVN7.js";
|
|
15
|
+
import "./chunk-UPROKMAA.js";
|
|
16
16
|
import "./chunk-K5NLRHZR.js";
|
|
17
17
|
import "./chunk-ODCXYGJ2.js";
|
|
18
18
|
import "./chunk-LBXDGVFS.js";
|
|
19
19
|
import "./chunk-D6NYWNY2.js";
|
|
20
20
|
import "./chunk-JGGOQOPO.js";
|
|
21
21
|
import "./chunk-OQ3KXXGH.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-EFCLCT6P.js";
|
|
23
|
+
import "./chunk-5TYV3KTM.js";
|
|
24
|
+
import "./chunk-Y57TZBWY.js";
|
|
25
25
|
import "./chunk-7OHJH7BF.js";
|
|
26
26
|
import "./chunk-C3J4HVUN.js";
|
|
27
27
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
35
35
|
sendErrorToBugsnag
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=error-handler-
|
|
37
|
+
//# sourceMappingURL=error-handler-XQU5O2GT.js.map
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
unlinkFileSync,
|
|
49
49
|
writeFile,
|
|
50
50
|
writeFileSync
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-5TYV3KTM.js";
|
|
52
|
+
import "./chunk-Y57TZBWY.js";
|
|
53
53
|
import "./chunk-7OHJH7BF.js";
|
|
54
54
|
import "./chunk-C3J4HVUN.js";
|
|
55
55
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
writeFile,
|
|
107
107
|
writeFileSync
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=fs-
|
|
109
|
+
//# sourceMappingURL=fs-ZLRUBFYB.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hook
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-AMNV2F4T.js";
|
|
4
|
+
import "../chunk-EFCLCT6P.js";
|
|
5
|
+
import "../chunk-5TYV3KTM.js";
|
|
6
|
+
import "../chunk-Y57TZBWY.js";
|
|
7
7
|
import "../chunk-7OHJH7BF.js";
|
|
8
8
|
import "../chunk-C3J4HVUN.js";
|
|
9
9
|
import "../chunk-UFLX7QDP.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -12,12 +12,13 @@ var hook = async (options) => {
|
|
|
12
12
|
id: options.Command.id,
|
|
13
13
|
aliases: options.Command.aliases,
|
|
14
14
|
pluginAlias: options.Command.plugin?.alias
|
|
15
|
-
}), args = options.argv, [{ outputDebug }, analyticsMod, notificationsMod] = await Promise.all([
|
|
16
|
-
import("../output-
|
|
17
|
-
import("../analytics-
|
|
18
|
-
import("../notifications-system-
|
|
15
|
+
}), args = options.argv, [{ outputDebug }, analyticsMod, notificationsMod, skillsMod] = await Promise.all([
|
|
16
|
+
import("../output-RX2BD4LB.js"),
|
|
17
|
+
import("../analytics-7XDTFOIL.js"),
|
|
18
|
+
import("../notifications-system-R5JIMDFN.js"),
|
|
19
|
+
import("../skills-QPGB2OSY.js")
|
|
19
20
|
]);
|
|
20
|
-
checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id);
|
|
21
|
+
checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id), skillsMod.installShopifySkillInBackground({ currentCommand: options.Command.id });
|
|
21
22
|
};
|
|
22
23
|
function parseCommandContent(cmdInfo) {
|
|
23
24
|
let commandContent = parseCreateCommand(cmdInfo.pluginAlias);
|
|
@@ -45,9 +46,9 @@ function findAlias(aliases) {
|
|
|
45
46
|
}
|
|
46
47
|
async function checkForNewVersionInBackground() {
|
|
47
48
|
let [{ CLI_KIT_VERSION }, { isPreReleaseVersion }, { checkForNewVersion }] = await Promise.all([
|
|
48
|
-
import("../version-
|
|
49
|
-
import("../version-
|
|
50
|
-
import("../node-package-manager-
|
|
49
|
+
import("../version-KSTXQY7R.js"),
|
|
50
|
+
import("../version-7FLIJ5NP.js"),
|
|
51
|
+
import("../node-package-manager-5LVWZCYT.js")
|
|
51
52
|
]), currentVersion = CLI_KIT_VERSION;
|
|
52
53
|
isPreReleaseVersion(currentVersion) || checkForNewVersion("@shopify/cli", currentVersion, { cacheExpiryInHours: 24 });
|
|
53
54
|
}
|
package/dist/index.js
CHANGED
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
index_exports,
|
|
6
6
|
init_prettier
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I7E7OQVK.js";
|
|
8
8
|
import {
|
|
9
9
|
TomlFile,
|
|
10
10
|
TomlFileError,
|
|
11
11
|
loadEnvironment,
|
|
12
12
|
require_toml_patch
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FKSTGVOB.js";
|
|
14
14
|
import {
|
|
15
15
|
getCurrentCommandId,
|
|
16
16
|
setCurrentCommandId,
|
|
17
17
|
showNotificationsIfNeeded
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G3DLGZ32.js";
|
|
19
19
|
import {
|
|
20
20
|
DevServerCore,
|
|
21
21
|
FetchError,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
setPathValue,
|
|
89
89
|
shopifyFetch,
|
|
90
90
|
storeAdminUrl
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-B4DASCHO.js";
|
|
92
92
|
import {
|
|
93
93
|
setNextDeprecationDate
|
|
94
94
|
} from "./chunk-MSED5ZFM.js";
|
|
@@ -110,22 +110,22 @@ import {
|
|
|
110
110
|
usesWorkspaces,
|
|
111
111
|
versionSatisfies,
|
|
112
112
|
writePackageJSON
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-YEWVPBEX.js";
|
|
114
114
|
import {
|
|
115
115
|
CLI_KIT_VERSION
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-YKGUYXAN.js";
|
|
117
117
|
import "./chunk-G53O4PDO.js";
|
|
118
118
|
import {
|
|
119
119
|
LocalStorage,
|
|
120
120
|
require_ajv,
|
|
121
121
|
runAtMinimumInterval,
|
|
122
122
|
serviceEnvironment
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-4VZMJZEP.js";
|
|
124
124
|
import {
|
|
125
125
|
globalCLIVersion,
|
|
126
126
|
isPreReleaseVersion,
|
|
127
127
|
localCLIVersion
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-3P646RNL.js";
|
|
129
129
|
import {
|
|
130
130
|
AbortController as AbortController2,
|
|
131
131
|
AbortSignal,
|
|
@@ -166,13 +166,13 @@ import {
|
|
|
166
166
|
useAbortSignal,
|
|
167
167
|
useConcurrentOutputContext,
|
|
168
168
|
username
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-II3CBUD2.js";
|
|
170
170
|
import {
|
|
171
171
|
addPublicMetadata,
|
|
172
172
|
addSensitiveMetadata,
|
|
173
173
|
createRuntimeMetadataContainer,
|
|
174
174
|
runWithTimer
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-AD44PVN7.js";
|
|
176
176
|
import {
|
|
177
177
|
AbortError,
|
|
178
178
|
AbortSilentError,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
import_ts_error,
|
|
184
184
|
require_graphql,
|
|
185
185
|
require_lib as require_lib2
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-UPROKMAA.js";
|
|
187
187
|
import {
|
|
188
188
|
require_commonjs,
|
|
189
189
|
require_lib
|
|
@@ -195,10 +195,10 @@ import "./chunk-JGGOQOPO.js";
|
|
|
195
195
|
import "./chunk-OQ3KXXGH.js";
|
|
196
196
|
import {
|
|
197
197
|
waitForPostRunHookAndExit
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-AMNV2F4T.js";
|
|
199
199
|
import {
|
|
200
200
|
treeKill
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-EFCLCT6P.js";
|
|
202
202
|
import {
|
|
203
203
|
Box_default,
|
|
204
204
|
Link,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
use_stdout_default,
|
|
304
304
|
writeFile,
|
|
305
305
|
writeFileSync
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-5TYV3KTM.js";
|
|
307
307
|
import {
|
|
308
308
|
codespacePortForwardingDomain,
|
|
309
309
|
codespaceURL,
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
isUnitTest,
|
|
319
319
|
isVerbose,
|
|
320
320
|
themeKitAccessDomain
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-Y57TZBWY.js";
|
|
322
322
|
import "./chunk-7OHJH7BF.js";
|
|
323
323
|
import {
|
|
324
324
|
basename,
|
|
@@ -53964,7 +53964,7 @@ var require_prettier = __commonJS({
|
|
|
53964
53964
|
"src/main/version.evaluate.js"() {
|
|
53965
53965
|
version_evaluate_default = "3.8.4";
|
|
53966
53966
|
}
|
|
53967
|
-
}), prettierPromise = import("./prettier-
|
|
53967
|
+
}), prettierPromise = import("./prettier-HWONCVRT.js"), functionNames = [
|
|
53968
53968
|
"formatWithCursor",
|
|
53969
53969
|
"format",
|
|
53970
53970
|
"check",
|
|
@@ -204314,16 +204314,16 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
204314
204314
|
}
|
|
204315
204315
|
async catch(error) {
|
|
204316
204316
|
error.skipOclifErrorHandling = !0;
|
|
204317
|
-
let { errorHandler } = await import("./error-handler-
|
|
204317
|
+
let { errorHandler } = await import("./error-handler-XQU5O2GT.js");
|
|
204318
204318
|
return await errorHandler(error, this.config), import_core2.Errors.handle(error);
|
|
204319
204319
|
}
|
|
204320
204320
|
async init() {
|
|
204321
204321
|
if (this.exitWithTimestampWhenEnvVariablePresent(), setCurrentCommandId(this.id ?? ""), !isDevelopment()) {
|
|
204322
|
-
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-
|
|
204322
|
+
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-XQU5O2GT.js");
|
|
204323
204323
|
await registerCleanBugsnagErrorsFromWithinPlugins(this.config);
|
|
204324
204324
|
}
|
|
204325
204325
|
await removeDuplicatedPlugins(this.config), this.showNpmFlagWarning();
|
|
204326
|
-
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-
|
|
204326
|
+
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-R5JIMDFN.js");
|
|
204327
204327
|
return await showNotificationsIfNeeded2(), super.init();
|
|
204328
204328
|
}
|
|
204329
204329
|
// NPM creates an environment variable for every flag passed to a script.
|
|
@@ -204331,7 +204331,7 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
204331
204331
|
// and warns the user to use the `--` separator.
|
|
204332
204332
|
showNpmFlagWarning() {
|
|
204333
204333
|
let commandVariables = this.constructor;
|
|
204334
|
-
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-
|
|
204334
|
+
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-VH7SIQSB.js").then(({ renderWarning: renderWarning2 }) => {
|
|
204335
204335
|
renderWarning2({
|
|
204336
204336
|
body: [
|
|
204337
204337
|
"NPM scripts require an extra",
|
|
@@ -204369,7 +204369,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
|
|
|
204369
204369
|
let flags = originalResult.flags, environmentsFileName = this.environmentsFilename();
|
|
204370
204370
|
if (!environmentsFileName)
|
|
204371
204371
|
return originalResult;
|
|
204372
|
-
let { environmentFilePath } = await import("./environments-
|
|
204372
|
+
let { environmentFilePath } = await import("./environments-LPX6YDJT.js"), environmentFileExists = await environmentFilePath(environmentsFileName, { from: flags.path }), environments = [];
|
|
204373
204373
|
flags.environment && (environments = Array.isArray(flags.environment) ? flags.environment : [flags.environment]);
|
|
204374
204374
|
let environmentSpecified = environments.length > 0;
|
|
204375
204375
|
if (!environmentFileExists && !environmentSpecified || environmentSpecified && environments.length > 1)
|
|
@@ -204390,7 +204390,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
|
|
|
204390
204390
|
* is specified it will try to load a default environment.
|
|
204391
204391
|
*/
|
|
204392
204392
|
async loadEnvironmentForCommand(path, environmentsFileName, specifiedEnvironment) {
|
|
204393
|
-
let { loadEnvironment: loadEnvironment2 } = await import("./environments-
|
|
204393
|
+
let { loadEnvironment: loadEnvironment2 } = await import("./environments-LPX6YDJT.js");
|
|
204394
204394
|
return specifiedEnvironment ? { environment: await loadEnvironment2(specifiedEnvironment, environmentsFileName, { from: path }), isDefaultEnvironment: !1 } : { environment: await loadEnvironment2("default", environmentsFileName, { from: path, silent: !0 }), isDefaultEnvironment: !0 };
|
|
204395
204395
|
}
|
|
204396
204396
|
};
|
|
@@ -204414,7 +204414,7 @@ function reportEnvironmentApplication(noDefaultsFlags, flagsWithEnvironments, en
|
|
|
204414
204414
|
if (Object.keys(changes).length === 0)
|
|
204415
204415
|
return;
|
|
204416
204416
|
let items = Object.entries(changes).map(([name, value]) => `${name}: ${value}`);
|
|
204417
|
-
import("./ui-
|
|
204417
|
+
import("./ui-VH7SIQSB.js").then(({ renderInfo: renderInfo2 }) => {
|
|
204418
204418
|
renderInfo2({
|
|
204419
204419
|
headline: ["Using applicable flags from", { userInput: environmentName }, "environment:"],
|
|
204420
204420
|
body: [{ list: { items } }]
|
|
@@ -204451,7 +204451,7 @@ async function removeDuplicatedPlugins(config2) {
|
|
|
204451
204451
|
let plugins = Array.from(config2.plugins.values()), bundlePlugins = ["@shopify/app", "@shopify/plugin-cloudflare"], pluginsToRemove = plugins.filter((plugin) => bundlePlugins.includes(plugin.name));
|
|
204452
204452
|
if (pluginsToRemove.length > 0) {
|
|
204453
204453
|
let commandsToRun = pluginsToRemove.map((plugin) => ` - shopify plugins remove ${plugin.name}`).join(`
|
|
204454
|
-
`), { renderWarning: renderWarning2 } = await import("./ui-
|
|
204454
|
+
`), { renderWarning: renderWarning2 } = await import("./ui-VH7SIQSB.js");
|
|
204455
204455
|
renderWarning2({
|
|
204456
204456
|
headline: `Unsupported plugins detected: ${pluginsToRemove.map((plugin) => plugin.name).join(", ")}`,
|
|
204457
204457
|
body: [
|
|
@@ -204473,13 +204473,13 @@ init_cjs_shims();
|
|
|
204473
204473
|
init_cjs_shims();
|
|
204474
204474
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
204475
204475
|
async function launchCLI(options) {
|
|
204476
|
-
let { isDevelopment: isDevelopment2 } = await import("./local-
|
|
204476
|
+
let { isDevelopment: isDevelopment2 } = await import("./local-Y4N2LHMR.js"), { ShopifyConfig } = await import("./custom-oclif-loader-MNCB3QFM.js"), oclifModule = await import("./lib-SEAHPNPA.js"), { run, flush, Errors: Errors2, settings } = oclifModule.default ?? oclifModule;
|
|
204477
204477
|
isDevelopment2() && (settings.debug = !0);
|
|
204478
204478
|
try {
|
|
204479
204479
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
|
|
204480
204480
|
await config2.load(), options.lazyCommandLoader && config2.setLazyCommandLoader(options.lazyCommandLoader), await run(options.argv, config2), await flush();
|
|
204481
204481
|
} catch (error) {
|
|
204482
|
-
let { errorHandler } = await import("./error-handler-
|
|
204482
|
+
let { errorHandler } = await import("./error-handler-XQU5O2GT.js");
|
|
204483
204483
|
return await errorHandler(error), Errors2.handle(error);
|
|
204484
204484
|
}
|
|
204485
204485
|
}
|
|
@@ -204489,7 +204489,7 @@ var import_core3 = __toESM(require_lib());
|
|
|
204489
204489
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
204490
204490
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
204491
204491
|
if (nodeMajorVersion < 18) {
|
|
204492
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
204492
|
+
let { renderError: renderError2 } = await import("./ui-VH7SIQSB.js");
|
|
204493
204493
|
renderError2({
|
|
204494
204494
|
headline: "Upgrade to a supported Node version now.",
|
|
204495
204495
|
body: [
|
|
@@ -204516,7 +204516,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
204516
204516
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL, lazyCommandLoader: options.lazyCommandLoader });
|
|
204517
204517
|
}
|
|
204518
204518
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
204519
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
204519
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-5LVWZCYT.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-2WA5R6GG.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
204520
204520
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
204521
204521
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
204522
204522
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -217432,7 +217432,7 @@ init_cjs_shims();
|
|
|
217432
217432
|
|
|
217433
217433
|
// ../cli-kit/dist/public/node/liquid.js
|
|
217434
217434
|
init_cjs_shims();
|
|
217435
|
-
var import_liquidjs = __toESM(require_liquid_node());
|
|
217435
|
+
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
217436
217436
|
function renderLiquidTemplate(templateContent, data) {
|
|
217437
217437
|
let engine = new import_liquidjs.Liquid();
|
|
217438
217438
|
return engine.render(engine.parse(templateContent), data);
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
inferPackageManagerForGlobalCLI,
|
|
5
5
|
installGlobalCLIPrompt,
|
|
6
6
|
installGlobalShopifyCLI
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-5TYV3KTM.js";
|
|
8
|
+
import "./chunk-Y57TZBWY.js";
|
|
9
9
|
import "./chunk-7OHJH7BF.js";
|
|
10
10
|
import "./chunk-C3J4HVUN.js";
|
|
11
11
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
installGlobalCLIPrompt,
|
|
19
19
|
installGlobalShopifyCLI
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=is-global-
|
|
21
|
+
//# sourceMappingURL=is-global-2LXJNSNE.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
macAddress,
|
|
21
21
|
opentelemetryDomain,
|
|
22
22
|
themeToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Y57TZBWY.js";
|
|
24
24
|
import "./chunk-C3J4HVUN.js";
|
|
25
25
|
import "./chunk-3XNI6LP4.js";
|
|
26
26
|
export {
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
opentelemetryDomain,
|
|
47
47
|
themeToken
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=local-
|
|
49
|
+
//# sourceMappingURL=local-Y4N2LHMR.js.map
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
getAllPublicMetadata,
|
|
6
6
|
getAllSensitiveMetadata,
|
|
7
7
|
runWithTimer
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-AD44PVN7.js";
|
|
9
|
+
import "./chunk-Y57TZBWY.js";
|
|
10
10
|
import "./chunk-C3J4HVUN.js";
|
|
11
11
|
import "./chunk-3XNI6LP4.js";
|
|
12
12
|
export {
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
getAllSensitiveMetadata,
|
|
18
18
|
runWithTimer
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=metadata-
|
|
20
|
+
//# sourceMappingURL=metadata-VVSEGFHN.js.map
|
|
@@ -30,20 +30,20 @@ import {
|
|
|
30
30
|
versionSatisfies,
|
|
31
31
|
writePackageJSON,
|
|
32
32
|
yarnLockfile
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-YEWVPBEX.js";
|
|
34
|
+
import "./chunk-4VZMJZEP.js";
|
|
35
|
+
import "./chunk-II3CBUD2.js";
|
|
36
|
+
import "./chunk-AD44PVN7.js";
|
|
37
|
+
import "./chunk-UPROKMAA.js";
|
|
38
38
|
import "./chunk-K5NLRHZR.js";
|
|
39
39
|
import "./chunk-ODCXYGJ2.js";
|
|
40
40
|
import "./chunk-LBXDGVFS.js";
|
|
41
41
|
import "./chunk-D6NYWNY2.js";
|
|
42
42
|
import "./chunk-JGGOQOPO.js";
|
|
43
43
|
import "./chunk-OQ3KXXGH.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-EFCLCT6P.js";
|
|
45
|
+
import "./chunk-5TYV3KTM.js";
|
|
46
|
+
import "./chunk-Y57TZBWY.js";
|
|
47
47
|
import "./chunk-7OHJH7BF.js";
|
|
48
48
|
import "./chunk-C3J4HVUN.js";
|
|
49
49
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
writePackageJSON,
|
|
83
83
|
yarnLockfile
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=node-package-manager-
|
|
85
|
+
//# sourceMappingURL=node-package-manager-5LVWZCYT.js.map
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
getNotifications,
|
|
6
6
|
showNotificationsIfNeeded,
|
|
7
7
|
stringifyFilters
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-G3DLGZ32.js";
|
|
9
|
+
import "./chunk-B4DASCHO.js";
|
|
10
10
|
import "./chunk-MSED5ZFM.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YEWVPBEX.js";
|
|
12
|
+
import "./chunk-YKGUYXAN.js";
|
|
13
13
|
import "./chunk-G53O4PDO.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4VZMJZEP.js";
|
|
15
|
+
import "./chunk-II3CBUD2.js";
|
|
16
|
+
import "./chunk-AD44PVN7.js";
|
|
17
|
+
import "./chunk-UPROKMAA.js";
|
|
18
18
|
import "./chunk-K5NLRHZR.js";
|
|
19
19
|
import "./chunk-ODCXYGJ2.js";
|
|
20
20
|
import "./chunk-LBXDGVFS.js";
|
|
21
21
|
import "./chunk-D6NYWNY2.js";
|
|
22
22
|
import "./chunk-JGGOQOPO.js";
|
|
23
23
|
import "./chunk-OQ3KXXGH.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-EFCLCT6P.js";
|
|
25
|
+
import "./chunk-5TYV3KTM.js";
|
|
26
|
+
import "./chunk-Y57TZBWY.js";
|
|
27
27
|
import "./chunk-7OHJH7BF.js";
|
|
28
28
|
import "./chunk-C3J4HVUN.js";
|
|
29
29
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
showNotificationsIfNeeded,
|
|
38
38
|
stringifyFilters
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=notifications-system-
|
|
40
|
+
//# sourceMappingURL=notifications-system-R5JIMDFN.js.map
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
shouldDisplayColors,
|
|
20
20
|
stringifyMessage,
|
|
21
21
|
unstyled
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-5TYV3KTM.js";
|
|
23
|
+
import "./chunk-Y57TZBWY.js";
|
|
24
24
|
import "./chunk-7OHJH7BF.js";
|
|
25
25
|
import "./chunk-C3J4HVUN.js";
|
|
26
26
|
import "./chunk-UFLX7QDP.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stringifyMessage,
|
|
49
49
|
unstyled
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=output-
|
|
51
|
+
//# sourceMappingURL=output-RX2BD4LB.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
resolveConfigFile,
|
|
15
15
|
sharedWithCli,
|
|
16
16
|
version_evaluate_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-I7E7OQVK.js";
|
|
18
18
|
import "./chunk-3XNI6LP4.js";
|
|
19
19
|
init_prettier();
|
|
20
20
|
export {
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
public_exports as util,
|
|
34
34
|
version_evaluate_default as version
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=prettier-
|
|
36
|
+
//# sourceMappingURL=prettier-HWONCVRT.js.map
|