@shopify/create-app 4.8.1 → 4.8.3
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-AIFPAQFX.js → analytics-7E4P2XVG.js} +12 -12
- package/dist/{analytics-MBYVUT75.js → analytics-W2FSZSWU.js} +12 -12
- package/dist/{chunk-EYEPSKLS.js → chunk-72MVD2AN.js} +16 -16
- package/dist/{chunk-FZPS2NF6.js → chunk-BIKPOJJD.js} +2 -2
- package/dist/{chunk-NGSR3P6K.js → chunk-E5EOIZFV.js} +6 -6
- package/dist/{chunk-SHHHVN2Y.js → chunk-EZQ5BKGC.js} +4 -4
- package/dist/{chunk-QY3743I6.js → chunk-GNZLAFPK.js} +6 -6
- package/dist/{chunk-CNLC2F6A.js → chunk-GWGURY6L.js} +8 -8
- package/dist/{chunk-E44G6DYY.js → chunk-HFWVIDIK.js} +2 -2
- package/dist/{chunk-XTAFCII7.js → chunk-KKQJ7W4E.js} +4 -4
- package/dist/{chunk-QO4QODH2.js → chunk-OLIQN2NF.js} +8 -8
- package/dist/{chunk-SXQGDWG4.js → chunk-QOKCZFHV.js} +3 -3
- package/dist/{chunk-NDF4E33L.js → chunk-UO6A6TD2.js} +9 -9
- package/dist/{chunk-FQE245PE.js → chunk-VGV6MNUI.js} +13 -13
- package/dist/{chunk-5YZJRRTS.js → chunk-VITLJE4Z.js} +3 -3
- package/dist/{chunk-D4SDIFY6.js → chunk-W2RAI4FL.js} +2 -2
- package/dist/{chunk-HUPULG7V.js → chunk-XTHPRDM2.js} +2 -2
- package/dist/{conf-store-PMCHDMJZ.js → conf-store-XICOG5X3.js} +5 -5
- package/dist/{deprecations-PXGEALKZ.js → deprecations-PDHF3D5R.js} +8 -8
- package/dist/{environments-RIRFJDPQ.js → environments-P57UUWBN.js} +9 -9
- package/dist/{error-handler-5EPC54UY.js → error-handler-Y6LWJY6F.js} +12 -12
- package/dist/{fs-VSX34RFB.js → fs-ELW474MV.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +35 -53
- package/dist/{is-global-4NGXAXDF.js → is-global-E3KTMXS7.js} +3 -3
- package/dist/{local-XBVJA7XT.js → local-23C2CAGN.js} +2 -2
- package/dist/{metadata-DNUNXC6T.js → metadata-MU2FB44J.js} +3 -3
- package/dist/{node-package-manager-O3632ODR.js → node-package-manager-VKTEWC5D.js} +10 -10
- package/dist/{notifications-system-YDTVYHLL.js → notifications-system-W7PARISX.js} +13 -13
- package/dist/{os-FXDEWMMP.js → os-EYITKZJP.js} +4 -4
- package/dist/{output-7IWQH62B.js → output-IOEN756Y.js} +3 -3
- package/dist/{system-FORA44FB.js → system-ALVXOZT6.js} +8 -8
- package/dist/{ui-OM553KPT.js → ui-J7NP6DYA.js} +8 -8
- package/dist/{upgrade-BDSSLQBV.js → upgrade-COJCBXYV.js} +14 -14
- package/dist/{version-JYAZEOF6.js → version-2ZSRBOH5.js} +2 -2
- package/dist/{version-SDCJ3VG5.js → version-QXKL3HFE.js} +9 -9
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
outputDebug
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWGURY6L.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-3XNI6LP4.js";
|
|
@@ -96,4 +96,4 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
|
|
|
96
96
|
export {
|
|
97
97
|
treeKill
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-XTHPRDM2.js.map
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
setCurrentSessionId,
|
|
18
18
|
setSessions,
|
|
19
19
|
timeIntervalToMilliseconds
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-EZQ5BKGC.js";
|
|
21
|
+
import "./chunk-KKQJ7W4E.js";
|
|
22
22
|
import "./chunk-CM6ALOD7.js";
|
|
23
23
|
import "./chunk-E43EDJOG.js";
|
|
24
24
|
import "./chunk-ODCXYGJ2.js";
|
|
25
25
|
import "./chunk-LBXDGVFS.js";
|
|
26
26
|
import "./chunk-OQ3KXXGH.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GWGURY6L.js";
|
|
28
|
+
import "./chunk-VITLJE4Z.js";
|
|
29
29
|
import "./chunk-7OHJH7BF.js";
|
|
30
30
|
import "./chunk-HNIAZN6U.js";
|
|
31
31
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
setSessions,
|
|
54
54
|
timeIntervalToMilliseconds
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=conf-store-
|
|
56
|
+
//# sourceMappingURL=conf-store-XICOG5X3.js.map
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-MSED5ZFM.js";
|
|
4
4
|
import {
|
|
5
5
|
renderWarning
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OLIQN2NF.js";
|
|
7
|
+
import "./chunk-HFWVIDIK.js";
|
|
8
|
+
import "./chunk-QOKCZFHV.js";
|
|
9
|
+
import "./chunk-KKQJ7W4E.js";
|
|
10
10
|
import "./chunk-CM6ALOD7.js";
|
|
11
11
|
import "./chunk-E43EDJOG.js";
|
|
12
12
|
import "./chunk-ODCXYGJ2.js";
|
|
13
13
|
import "./chunk-LBXDGVFS.js";
|
|
14
14
|
import "./chunk-JGGOQOPO.js";
|
|
15
15
|
import "./chunk-OQ3KXXGH.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-XTHPRDM2.js";
|
|
17
|
+
import "./chunk-GWGURY6L.js";
|
|
18
|
+
import "./chunk-VITLJE4Z.js";
|
|
19
19
|
import "./chunk-7OHJH7BF.js";
|
|
20
20
|
import "./chunk-HNIAZN6U.js";
|
|
21
21
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -55,4 +55,4 @@ function renderUpgradeWarning(upgradeByDate, forThemes) {
|
|
|
55
55
|
export {
|
|
56
56
|
postrun
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=deprecations-
|
|
58
|
+
//# sourceMappingURL=deprecations-PDHF3D5R.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
environmentFilePath,
|
|
3
3
|
loadEnvironment
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-E5EOIZFV.js";
|
|
5
|
+
import "./chunk-OLIQN2NF.js";
|
|
6
|
+
import "./chunk-HFWVIDIK.js";
|
|
7
|
+
import "./chunk-QOKCZFHV.js";
|
|
8
|
+
import "./chunk-KKQJ7W4E.js";
|
|
9
9
|
import "./chunk-CM6ALOD7.js";
|
|
10
10
|
import "./chunk-E43EDJOG.js";
|
|
11
11
|
import "./chunk-ODCXYGJ2.js";
|
|
12
12
|
import "./chunk-LBXDGVFS.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-XTHPRDM2.js";
|
|
16
|
+
import "./chunk-GWGURY6L.js";
|
|
17
|
+
import "./chunk-VITLJE4Z.js";
|
|
18
18
|
import "./chunk-7OHJH7BF.js";
|
|
19
19
|
import "./chunk-HNIAZN6U.js";
|
|
20
20
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
environmentFilePath,
|
|
27
27
|
loadEnvironment
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=environments-
|
|
29
|
+
//# sourceMappingURL=environments-P57UUWBN.js.map
|
|
@@ -4,25 +4,25 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGV6MNUI.js";
|
|
8
8
|
import "./chunk-MSED5ZFM.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-BIKPOJJD.js";
|
|
10
10
|
import "./chunk-G53O4PDO.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GNZLAFPK.js";
|
|
12
|
+
import "./chunk-EZQ5BKGC.js";
|
|
13
|
+
import "./chunk-OLIQN2NF.js";
|
|
14
|
+
import "./chunk-HFWVIDIK.js";
|
|
15
|
+
import "./chunk-QOKCZFHV.js";
|
|
16
|
+
import "./chunk-KKQJ7W4E.js";
|
|
17
17
|
import "./chunk-CM6ALOD7.js";
|
|
18
18
|
import "./chunk-E43EDJOG.js";
|
|
19
19
|
import "./chunk-ODCXYGJ2.js";
|
|
20
20
|
import "./chunk-LBXDGVFS.js";
|
|
21
21
|
import "./chunk-JGGOQOPO.js";
|
|
22
22
|
import "./chunk-OQ3KXXGH.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-XTHPRDM2.js";
|
|
24
|
+
import "./chunk-GWGURY6L.js";
|
|
25
|
+
import "./chunk-VITLJE4Z.js";
|
|
26
26
|
import "./chunk-7OHJH7BF.js";
|
|
27
27
|
import "./chunk-HNIAZN6U.js";
|
|
28
28
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
38
38
|
sendErrorToBugsnag
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=error-handler-
|
|
40
|
+
//# sourceMappingURL=error-handler-Y6LWJY6F.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-GWGURY6L.js";
|
|
52
|
+
import "./chunk-VITLJE4Z.js";
|
|
53
53
|
import "./chunk-7OHJH7BF.js";
|
|
54
54
|
import "./chunk-HNIAZN6U.js";
|
|
55
55
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -107,4 +107,4 @@ export {
|
|
|
107
107
|
writeFile,
|
|
108
108
|
writeFileSync
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=fs-
|
|
110
|
+
//# sourceMappingURL=fs-ELW474MV.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-72MVD2AN.js";
|
|
4
|
+
import "../chunk-XTHPRDM2.js";
|
|
5
|
+
import "../chunk-GWGURY6L.js";
|
|
6
|
+
import "../chunk-VITLJE4Z.js";
|
|
7
7
|
import "../chunk-7OHJH7BF.js";
|
|
8
8
|
import "../chunk-HNIAZN6U.js";
|
|
9
9
|
import "../chunk-C3J4HVUN.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -31,9 +31,9 @@ var hook = async (options) => {
|
|
|
31
31
|
}), args = options.argv;
|
|
32
32
|
emitClaudeCodePluginHint();
|
|
33
33
|
let [{ outputDebug }, analyticsMod, notificationsMod] = await Promise.all([
|
|
34
|
-
import("../output-
|
|
35
|
-
import("../analytics-
|
|
36
|
-
import("../notifications-system-
|
|
34
|
+
import("../output-IOEN756Y.js"),
|
|
35
|
+
import("../analytics-W2FSZSWU.js"),
|
|
36
|
+
import("../notifications-system-W7PARISX.js")
|
|
37
37
|
]);
|
|
38
38
|
checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id);
|
|
39
39
|
};
|
|
@@ -63,9 +63,9 @@ function findAlias(aliases) {
|
|
|
63
63
|
}
|
|
64
64
|
async function checkForNewVersionInBackground() {
|
|
65
65
|
let [{ CLI_KIT_VERSION }, { isPreReleaseVersion }, { checkForNewVersion }] = await Promise.all([
|
|
66
|
-
import("../version-
|
|
67
|
-
import("../version-
|
|
68
|
-
import("../node-package-manager-
|
|
66
|
+
import("../version-2ZSRBOH5.js"),
|
|
67
|
+
import("../version-QXKL3HFE.js"),
|
|
68
|
+
import("../node-package-manager-VKTEWC5D.js")
|
|
69
69
|
]), currentVersion = CLI_KIT_VERSION;
|
|
70
70
|
isPreReleaseVersion(currentVersion) || checkForNewVersion("@shopify/cli", currentVersion, { cacheExpiryInHours: 24 });
|
|
71
71
|
}
|
package/dist/index.js
CHANGED
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
decodeToml,
|
|
12
12
|
loadEnvironment,
|
|
13
13
|
require_toml_patch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E5EOIZFV.js";
|
|
15
15
|
import {
|
|
16
16
|
setCurrentCommandId,
|
|
17
17
|
showNotificationsIfNeeded
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UO6A6TD2.js";
|
|
19
19
|
import {
|
|
20
20
|
ClientError,
|
|
21
21
|
DevServerCore,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
sha256,
|
|
91
91
|
shopifyFetch,
|
|
92
92
|
storeAdminUrl
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-VGV6MNUI.js";
|
|
94
94
|
import {
|
|
95
95
|
setNextDeprecationDate
|
|
96
96
|
} from "./chunk-MSED5ZFM.js";
|
|
@@ -99,13 +99,13 @@ import {
|
|
|
99
99
|
} from "./chunk-LDYT4FTV.js";
|
|
100
100
|
import {
|
|
101
101
|
CLI_KIT_VERSION
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-BIKPOJJD.js";
|
|
103
103
|
import "./chunk-G53O4PDO.js";
|
|
104
104
|
import {
|
|
105
105
|
globalCLIVersion,
|
|
106
106
|
isPreReleaseVersion,
|
|
107
107
|
localCLIVersion
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-W2RAI4FL.js";
|
|
109
109
|
import {
|
|
110
110
|
UnknownPackageManagerError,
|
|
111
111
|
addNPMDependenciesIfNeeded,
|
|
@@ -124,13 +124,13 @@ import {
|
|
|
124
124
|
usesWorkspaces,
|
|
125
125
|
versionSatisfies,
|
|
126
126
|
writePackageJSON
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-GNZLAFPK.js";
|
|
128
128
|
import {
|
|
129
129
|
LocalStorage,
|
|
130
130
|
require_ajv,
|
|
131
131
|
runAtMinimumInterval,
|
|
132
132
|
serviceEnvironment
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-EZQ5BKGC.js";
|
|
134
134
|
import {
|
|
135
135
|
AbortController as AbortController2,
|
|
136
136
|
Alert,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
use_input_default,
|
|
179
179
|
use_stdin_default,
|
|
180
180
|
use_stdout_default
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-OLIQN2NF.js";
|
|
182
182
|
import {
|
|
183
183
|
execa,
|
|
184
184
|
isStream,
|
|
@@ -191,19 +191,19 @@ import {
|
|
|
191
191
|
require_signal_exit,
|
|
192
192
|
stripFinalNewline,
|
|
193
193
|
username
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-HFWVIDIK.js";
|
|
195
195
|
import {
|
|
196
196
|
addPublicMetadata,
|
|
197
197
|
addSensitiveMetadata,
|
|
198
198
|
createRuntimeMetadataContainer,
|
|
199
199
|
runWithTimer
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-QOKCZFHV.js";
|
|
201
201
|
import {
|
|
202
202
|
AbortError,
|
|
203
203
|
AbortSilentError,
|
|
204
204
|
BugError,
|
|
205
205
|
CancelExecution
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-KKQJ7W4E.js";
|
|
207
207
|
import "./chunk-CM6ALOD7.js";
|
|
208
208
|
import {
|
|
209
209
|
require_commonjs,
|
|
@@ -215,10 +215,10 @@ import "./chunk-JGGOQOPO.js";
|
|
|
215
215
|
import "./chunk-OQ3KXXGH.js";
|
|
216
216
|
import {
|
|
217
217
|
waitForPostRunHookAndExit
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-72MVD2AN.js";
|
|
219
219
|
import {
|
|
220
220
|
treeKill
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-XTHPRDM2.js";
|
|
222
222
|
import {
|
|
223
223
|
appendFile,
|
|
224
224
|
asHumanFriendlyArray,
|
|
@@ -314,7 +314,7 @@ import {
|
|
|
314
314
|
unstyled,
|
|
315
315
|
writeFile,
|
|
316
316
|
writeFileSync
|
|
317
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-GWGURY6L.js";
|
|
318
318
|
import {
|
|
319
319
|
codespacePortForwardingDomain,
|
|
320
320
|
codespaceURL,
|
|
@@ -328,7 +328,7 @@ import {
|
|
|
328
328
|
isUnitTest,
|
|
329
329
|
isVerbose,
|
|
330
330
|
themeKitAccessDomain
|
|
331
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-VITLJE4Z.js";
|
|
332
332
|
import "./chunk-7OHJH7BF.js";
|
|
333
333
|
import {
|
|
334
334
|
isTruthy
|
|
@@ -200028,8 +200028,8 @@ function transformFromEventsConfig(content, appConfiguration) {
|
|
|
200028
200028
|
}
|
|
200029
200029
|
function transformToEventsConfig(content) {
|
|
200030
200030
|
let eventsConfig = getPathValue(content, "events"), apiVersion = getPathValue(eventsConfig, "api_version"), cleanedSubscriptions = getPathValue(eventsConfig, "subscription")?.map((sub) => {
|
|
200031
|
-
let { identifier, ...rest } = sub;
|
|
200032
|
-
return rest;
|
|
200031
|
+
let { identifier, api_version: subscriptionApiVersion, ...rest } = sub;
|
|
200032
|
+
return subscriptionApiVersion !== void 0 && subscriptionApiVersion !== apiVersion ? { ...rest, api_version: subscriptionApiVersion } : rest;
|
|
200033
200033
|
});
|
|
200034
200034
|
return { events: apiVersion ?? cleanedSubscriptions ? { api_version: apiVersion, subscription: cleanedSubscriptions } : {} };
|
|
200035
200035
|
}
|
|
@@ -202909,16 +202909,16 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
202909
202909
|
}
|
|
202910
202910
|
async catch(error) {
|
|
202911
202911
|
error.skipOclifErrorHandling = !0;
|
|
202912
|
-
let { errorHandler } = await import("./error-handler-
|
|
202912
|
+
let { errorHandler } = await import("./error-handler-Y6LWJY6F.js");
|
|
202913
202913
|
return await errorHandler(error, this.config), import_core2.Errors.handle(error);
|
|
202914
202914
|
}
|
|
202915
202915
|
async init() {
|
|
202916
202916
|
if (this.exitWithTimestampWhenEnvVariablePresent(), setCurrentCommandId(this.id ?? ""), !isDevelopment()) {
|
|
202917
|
-
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-
|
|
202917
|
+
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-Y6LWJY6F.js");
|
|
202918
202918
|
await registerCleanBugsnagErrorsFromWithinPlugins(this.config);
|
|
202919
202919
|
}
|
|
202920
202920
|
await removeDuplicatedPlugins(this.config), this.showNpmFlagWarning();
|
|
202921
|
-
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-
|
|
202921
|
+
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-W7PARISX.js");
|
|
202922
202922
|
return await showNotificationsIfNeeded2(), super.init();
|
|
202923
202923
|
}
|
|
202924
202924
|
// NPM creates an environment variable for every flag passed to a script.
|
|
@@ -202926,7 +202926,7 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
202926
202926
|
// and warns the user to use the `--` separator.
|
|
202927
202927
|
showNpmFlagWarning() {
|
|
202928
202928
|
let commandVariables = this.constructor;
|
|
202929
|
-
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-
|
|
202929
|
+
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-J7NP6DYA.js").then(({ renderWarning: renderWarning2 }) => {
|
|
202930
202930
|
renderWarning2({
|
|
202931
202931
|
body: [
|
|
202932
202932
|
"NPM scripts require an extra",
|
|
@@ -202975,7 +202975,7 @@ ${explanation} in non-interactive terminal environments, such as a CI environmen
|
|
|
202975
202975
|
let flags = originalResult.flags, environmentsFileName = this.environmentsFilename();
|
|
202976
202976
|
if (!environmentsFileName)
|
|
202977
202977
|
return originalResult;
|
|
202978
|
-
let { environmentFilePath } = await import("./environments-
|
|
202978
|
+
let { environmentFilePath } = await import("./environments-P57UUWBN.js"), environmentFileExists = await environmentFilePath(environmentsFileName, { from: flags.path }), environments = [];
|
|
202979
202979
|
flags.environment && (environments = Array.isArray(flags.environment) ? flags.environment : [flags.environment]);
|
|
202980
202980
|
let environmentSpecified = environments.length > 0;
|
|
202981
202981
|
if (!environmentFileExists && !environmentSpecified || environmentSpecified && environments.length > 1)
|
|
@@ -202996,7 +202996,7 @@ ${explanation} in non-interactive terminal environments, such as a CI environmen
|
|
|
202996
202996
|
* is specified it will try to load a default environment.
|
|
202997
202997
|
*/
|
|
202998
202998
|
async loadEnvironmentForCommand(path4, environmentsFileName, specifiedEnvironment) {
|
|
202999
|
-
let { loadEnvironment: loadEnvironment2 } = await import("./environments-
|
|
202999
|
+
let { loadEnvironment: loadEnvironment2 } = await import("./environments-P57UUWBN.js");
|
|
203000
203000
|
return specifiedEnvironment ? { environment: await loadEnvironment2(specifiedEnvironment, environmentsFileName, { from: path4 }), isDefaultEnvironment: !1 } : { environment: await loadEnvironment2("default", environmentsFileName, { from: path4, silent: !0 }), isDefaultEnvironment: !0 };
|
|
203001
203001
|
}
|
|
203002
203002
|
};
|
|
@@ -203019,7 +203019,7 @@ function reportEnvironmentApplication(noDefaultsFlags, flagsWithEnvironments, en
|
|
|
203019
203019
|
if (Object.keys(changes).length === 0)
|
|
203020
203020
|
return;
|
|
203021
203021
|
let items = Object.entries(changes).map(([name, value]) => `${name}: ${value}`);
|
|
203022
|
-
import("./ui-
|
|
203022
|
+
import("./ui-J7NP6DYA.js").then(({ renderInfo: renderInfo2 }) => {
|
|
203023
203023
|
renderInfo2({
|
|
203024
203024
|
headline: ["Using applicable flags from", { userInput: environmentName }, "environment:"],
|
|
203025
203025
|
body: [{ list: { items } }]
|
|
@@ -203056,7 +203056,7 @@ async function removeDuplicatedPlugins(config2) {
|
|
|
203056
203056
|
let plugins = Array.from(config2.plugins.values()), bundlePlugins = ["@shopify/app", "@shopify/plugin-cloudflare"], pluginsToRemove = plugins.filter((plugin) => bundlePlugins.includes(plugin.name));
|
|
203057
203057
|
if (pluginsToRemove.length > 0) {
|
|
203058
203058
|
let commandsToRun = pluginsToRemove.map((plugin) => ` - shopify plugins remove ${plugin.name}`).join(`
|
|
203059
|
-
`), { renderWarning: renderWarning2 } = await import("./ui-
|
|
203059
|
+
`), { renderWarning: renderWarning2 } = await import("./ui-J7NP6DYA.js");
|
|
203060
203060
|
renderWarning2({
|
|
203061
203061
|
headline: `Unsupported plugins detected: ${pluginsToRemove.map((plugin) => plugin.name).join(", ")}`,
|
|
203062
203062
|
body: [
|
|
@@ -203078,13 +203078,13 @@ init_cjs_shims();
|
|
|
203078
203078
|
init_cjs_shims();
|
|
203079
203079
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
203080
203080
|
async function launchCLI(options) {
|
|
203081
|
-
let { isDevelopment: isDevelopment2 } = await import("./local-
|
|
203081
|
+
let { isDevelopment: isDevelopment2 } = await import("./local-23C2CAGN.js"), { ShopifyConfig } = await import("./custom-oclif-loader-HTLL62HO.js"), oclifModule = await import("./lib-XCYUJYSO.js"), { run, flush, Errors: Errors2, settings } = oclifModule.default ?? oclifModule;
|
|
203082
203082
|
isDevelopment2() && (settings.debug = !0);
|
|
203083
203083
|
try {
|
|
203084
203084
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
|
|
203085
203085
|
await config2.load(), options.lazyCommandLoader && config2.setLazyCommandLoader(options.lazyCommandLoader), await run(options.argv, config2), await flush();
|
|
203086
203086
|
} catch (error) {
|
|
203087
|
-
let { errorHandler } = await import("./error-handler-
|
|
203087
|
+
let { errorHandler } = await import("./error-handler-Y6LWJY6F.js");
|
|
203088
203088
|
return await errorHandler(error), Errors2.handle(error);
|
|
203089
203089
|
}
|
|
203090
203090
|
}
|
|
@@ -203094,7 +203094,7 @@ var import_core3 = __toESM(require_lib());
|
|
|
203094
203094
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
203095
203095
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
203096
203096
|
if (nodeMajorVersion < 22) {
|
|
203097
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
203097
|
+
let { renderError: renderError2 } = await import("./ui-J7NP6DYA.js");
|
|
203098
203098
|
renderError2({
|
|
203099
203099
|
headline: "Upgrade to a supported Node version now.",
|
|
203100
203100
|
body: [
|
|
@@ -203121,7 +203121,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env2
|
|
|
203121
203121
|
return setupEnvironmentVariables(options, argv, env2), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env2), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL, lazyCommandLoader: options.lazyCommandLoader });
|
|
203122
203122
|
}
|
|
203123
203123
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
203124
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
203124
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-VKTEWC5D.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-2WA5R6GG.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
203125
203125
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
203126
203126
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
203127
203127
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -212596,11 +212596,8 @@ async function ensureListingExists(themeDirectory, listingName) {
|
|
|
212596
212596
|
import EventEmitter4 from "node:events";
|
|
212597
212597
|
import { fileURLToPath as fileURLToPath3 } from "node:url";
|
|
212598
212598
|
var FILE_EVENT_DEBOUNCE_TIME_IN_MS = 250, THEME_DIRECTORY_PATTERNS = [
|
|
212599
|
-
"AGENTS.md",
|
|
212600
|
-
"DESIGN.md",
|
|
212601
212599
|
"assets/**/*.*",
|
|
212602
212600
|
"config/**/*.json",
|
|
212603
|
-
"config/styles.css",
|
|
212604
212601
|
"layout/**/*.liquid",
|
|
212605
212602
|
"locales/**/*.json",
|
|
212606
212603
|
"sections/**/*.{liquid,json}",
|
|
@@ -212609,13 +212606,11 @@ var FILE_EVENT_DEBOUNCE_TIME_IN_MS = 250, THEME_DIRECTORY_PATTERNS = [
|
|
|
212609
212606
|
"templates/**/*.{liquid,json}",
|
|
212610
212607
|
"templates/customers/**/*.{liquid,json}"
|
|
212611
212608
|
], THEME_PARTITION_REGEX = {
|
|
212612
|
-
documentationFilesRegex: /^(AGENTS|DESIGN)\.md$/,
|
|
212613
212609
|
layoutLiquidRegex: /^layout\/.+\.liquid$/,
|
|
212614
212610
|
sectionLiquidRegex: /^sections\/.+\.liquid$/,
|
|
212615
212611
|
blockLiquidRegex: /^blocks\/.+\.liquid$/,
|
|
212616
212612
|
configSchemaRegex: /^config\/settings_schema\.json$/,
|
|
212617
212613
|
configDataRegex: /^config\/settings_data\.json$/,
|
|
212618
|
-
configStylesheetRegex: /^config\/styles\.css$/,
|
|
212619
212614
|
sectionJsonRegex: /^sections\/.+\.json$/,
|
|
212620
212615
|
templateJsonRegex: /^templates\/.+\.json$/,
|
|
212621
212616
|
jsonRegex: /^(?!config\/).*\.json$/,
|
|
@@ -212822,10 +212817,10 @@ async function removeThemeFile(root, path4) {
|
|
|
212822
212817
|
await removeFile(absolutePath);
|
|
212823
212818
|
}
|
|
212824
212819
|
function partitionThemeFiles(files) {
|
|
212825
|
-
let sectionLiquidFiles = [], otherLiquidFiles = [], sectionJsonFiles = [], templateJsonFiles = [], otherJsonFiles = [], contextualizedJsonFiles = [], configSchemaFile = [], configDataFile = [],
|
|
212820
|
+
let sectionLiquidFiles = [], otherLiquidFiles = [], sectionJsonFiles = [], templateJsonFiles = [], otherJsonFiles = [], contextualizedJsonFiles = [], configSchemaFile = [], configDataFile = [], staticAssetFiles = [], blockLiquidFiles = [], layoutFiles = [];
|
|
212826
212821
|
return files.forEach((file) => {
|
|
212827
212822
|
let fileKey = file.key;
|
|
212828
|
-
|
|
212823
|
+
fileKey.endsWith(".liquid") ? THEME_PARTITION_REGEX.sectionLiquidRegex.test(fileKey) ? sectionLiquidFiles.push(file) : THEME_PARTITION_REGEX.blockLiquidRegex.test(fileKey) ? blockLiquidFiles.push(file) : THEME_PARTITION_REGEX.layoutLiquidRegex.test(fileKey) ? layoutFiles.push(file) : otherLiquidFiles.push(file) : THEME_PARTITION_REGEX.configSchemaRegex.test(fileKey) ? configSchemaFile.push(file) : THEME_PARTITION_REGEX.configDataRegex.test(fileKey) ? configDataFile.push(file) : THEME_PARTITION_REGEX.jsonRegex.test(fileKey) ? THEME_PARTITION_REGEX.contextualizedJsonRegex.test(fileKey) ? contextualizedJsonFiles.push(file) : THEME_PARTITION_REGEX.sectionJsonRegex.test(fileKey) ? sectionJsonFiles.push(file) : THEME_PARTITION_REGEX.templateJsonRegex.test(fileKey) ? templateJsonFiles.push(file) : otherJsonFiles.push(file) : THEME_PARTITION_REGEX.staticAssetRegex.test(fileKey) && staticAssetFiles.push(file);
|
|
212829
212824
|
}), {
|
|
212830
212825
|
sectionLiquidFiles,
|
|
212831
212826
|
otherLiquidFiles,
|
|
@@ -212835,11 +212830,9 @@ function partitionThemeFiles(files) {
|
|
|
212835
212830
|
otherJsonFiles,
|
|
212836
212831
|
configSchemaFile,
|
|
212837
212832
|
configDataFile,
|
|
212838
|
-
configStylesheetFiles,
|
|
212839
212833
|
staticAssetFiles,
|
|
212840
212834
|
blockLiquidFiles,
|
|
212841
|
-
layoutFiles
|
|
212842
|
-
documentationFiles
|
|
212835
|
+
layoutFiles
|
|
212843
212836
|
};
|
|
212844
212837
|
}
|
|
212845
212838
|
function isTextFile(path4) {
|
|
@@ -212854,8 +212847,7 @@ function isTextFile(path4) {
|
|
|
212854
212847
|
"text/css",
|
|
212855
212848
|
"text/x-sass",
|
|
212856
212849
|
"text/x-scss",
|
|
212857
|
-
"image/svg+xml"
|
|
212858
|
-
"text/markdown"
|
|
212850
|
+
"image/svg+xml"
|
|
212859
212851
|
].includes(lookupMimeType(path4));
|
|
212860
212852
|
}
|
|
212861
212853
|
async function hasRequiredThemeDirectories(path4) {
|
|
@@ -213219,8 +213211,6 @@ function orderFilesToBeDeleted(files) {
|
|
|
213219
213211
|
...fileSets.layoutFiles,
|
|
213220
213212
|
...fileSets.otherLiquidFiles,
|
|
213221
213213
|
...fileSets.configDataFile,
|
|
213222
|
-
...fileSets.configStylesheetFiles,
|
|
213223
|
-
...fileSets.documentationFiles,
|
|
213224
213214
|
...fileSets.configSchemaFile,
|
|
213225
213215
|
...fileSets.staticAssetFiles
|
|
213226
213216
|
];
|
|
@@ -213265,13 +213255,7 @@ function orderFilesToBeUploaded(files) {
|
|
|
213265
213255
|
return {
|
|
213266
213256
|
// Most JSON files here are locales. Since we filter locales out in `replaceTemplates`,
|
|
213267
213257
|
// and assets can be served locally, we can give priority to the unique Liquid files:
|
|
213268
|
-
independentFiles: [
|
|
213269
|
-
fileSets.otherLiquidFiles,
|
|
213270
|
-
fileSets.otherJsonFiles,
|
|
213271
|
-
fileSets.staticAssetFiles,
|
|
213272
|
-
fileSets.configStylesheetFiles,
|
|
213273
|
-
fileSets.documentationFiles
|
|
213274
|
-
],
|
|
213258
|
+
independentFiles: [fileSets.otherLiquidFiles, fileSets.otherJsonFiles, fileSets.staticAssetFiles],
|
|
213275
213259
|
// Follow order of dependencies:
|
|
213276
213260
|
dependentFiles: [
|
|
213277
213261
|
fileSets.configSchemaFile,
|
|
@@ -214623,8 +214607,6 @@ init_cjs_shims();
|
|
|
214623
214607
|
// ../theme/dist/cli/services/package.js
|
|
214624
214608
|
init_cjs_shims();
|
|
214625
214609
|
var import_theme_check_node6 = __toESM(require_dist7(), 1), themeFilesPattern = [
|
|
214626
|
-
"AGENTS.md",
|
|
214627
|
-
"DESIGN.md",
|
|
214628
214610
|
"assets/**",
|
|
214629
214611
|
"blocks/**",
|
|
214630
214612
|
"config/**",
|
|
@@ -216202,7 +216184,7 @@ init_cjs_shims();
|
|
|
216202
216184
|
|
|
216203
216185
|
// ../cli-kit/dist/public/node/liquid.js
|
|
216204
216186
|
init_cjs_shims();
|
|
216205
|
-
var import_liquidjs = __toESM(require_liquid_node());
|
|
216187
|
+
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
216206
216188
|
function renderLiquidTemplate(templateContent, data) {
|
|
216207
216189
|
let engine = new import_liquidjs.Liquid();
|
|
216208
216190
|
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-GWGURY6L.js";
|
|
8
|
+
import "./chunk-VITLJE4Z.js";
|
|
9
9
|
import "./chunk-7OHJH7BF.js";
|
|
10
10
|
import "./chunk-HNIAZN6U.js";
|
|
11
11
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
installGlobalCLIPrompt,
|
|
20
20
|
installGlobalShopifyCLI
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=is-global-
|
|
22
|
+
//# sourceMappingURL=is-global-E3KTMXS7.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
macAddress,
|
|
21
21
|
opentelemetryDomain,
|
|
22
22
|
themeToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VITLJE4Z.js";
|
|
24
24
|
import "./chunk-HNIAZN6U.js";
|
|
25
25
|
import "./chunk-C3J4HVUN.js";
|
|
26
26
|
import "./chunk-3XNI6LP4.js";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
opentelemetryDomain,
|
|
48
48
|
themeToken
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=local-
|
|
50
|
+
//# sourceMappingURL=local-23C2CAGN.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-QOKCZFHV.js";
|
|
9
|
+
import "./chunk-VITLJE4Z.js";
|
|
10
10
|
import "./chunk-HNIAZN6U.js";
|
|
11
11
|
import "./chunk-C3J4HVUN.js";
|
|
12
12
|
import "./chunk-3XNI6LP4.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
getAllSensitiveMetadata,
|
|
19
19
|
runWithTimer
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=metadata-
|
|
21
|
+
//# sourceMappingURL=metadata-MU2FB44J.js.map
|
|
@@ -30,21 +30,21 @@ 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-
|
|
38
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-GNZLAFPK.js";
|
|
34
|
+
import "./chunk-EZQ5BKGC.js";
|
|
35
|
+
import "./chunk-OLIQN2NF.js";
|
|
36
|
+
import "./chunk-HFWVIDIK.js";
|
|
37
|
+
import "./chunk-QOKCZFHV.js";
|
|
38
|
+
import "./chunk-KKQJ7W4E.js";
|
|
39
39
|
import "./chunk-CM6ALOD7.js";
|
|
40
40
|
import "./chunk-E43EDJOG.js";
|
|
41
41
|
import "./chunk-ODCXYGJ2.js";
|
|
42
42
|
import "./chunk-LBXDGVFS.js";
|
|
43
43
|
import "./chunk-JGGOQOPO.js";
|
|
44
44
|
import "./chunk-OQ3KXXGH.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-XTHPRDM2.js";
|
|
46
|
+
import "./chunk-GWGURY6L.js";
|
|
47
|
+
import "./chunk-VITLJE4Z.js";
|
|
48
48
|
import "./chunk-7OHJH7BF.js";
|
|
49
49
|
import "./chunk-HNIAZN6U.js";
|
|
50
50
|
import "./chunk-C3J4HVUN.js";
|
|
@@ -85,4 +85,4 @@ export {
|
|
|
85
85
|
writePackageJSON,
|
|
86
86
|
yarnLockfile
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=node-package-manager-
|
|
88
|
+
//# sourceMappingURL=node-package-manager-VKTEWC5D.js.map
|