@shopify/create-app 4.8.0 → 4.8.1
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-AHLA7AZS.js → analytics-AIFPAQFX.js} +12 -12
- package/dist/{analytics-WH2T6QX3.js → analytics-MBYVUT75.js} +12 -12
- package/dist/{chunk-CVCLWDTQ.js → chunk-5YZJRRTS.js} +3 -3
- package/dist/{chunk-YZ4NVX3R.js → chunk-CNLC2F6A.js} +8 -8
- package/dist/{chunk-3A6RVZAX.js → chunk-D4SDIFY6.js} +2 -2
- package/dist/{chunk-E3Q2X4JT.js → chunk-E44G6DYY.js} +2 -2
- package/dist/{chunk-KZ2RPAZP.js → chunk-EYEPSKLS.js} +16 -16
- package/dist/{chunk-GUL6X3Z6.js → chunk-FQE245PE.js} +15 -15
- package/dist/{chunk-VQXC5OD5.js → chunk-FZPS2NF6.js} +2 -2
- package/dist/{chunk-NSZGKXWF.js → chunk-HUPULG7V.js} +2 -2
- package/dist/{chunk-NVF7ENTS.js → chunk-NDF4E33L.js} +9 -9
- package/dist/{chunk-2NFHHUNB.js → chunk-NGSR3P6K.js} +6 -6
- package/dist/{chunk-SSXHJVVE.js → chunk-QO4QODH2.js} +8 -8
- package/dist/{chunk-PPYQMZDW.js → chunk-QY3743I6.js} +6 -6
- package/dist/{chunk-RY5EN24F.js → chunk-SHHHVN2Y.js} +4 -4
- package/dist/{chunk-OAQSBAWF.js → chunk-SXQGDWG4.js} +3 -3
- package/dist/{chunk-6P5SC4GZ.js → chunk-XTAFCII7.js} +4 -4
- package/dist/{conf-store-J42SBUP3.js → conf-store-PMCHDMJZ.js} +5 -5
- package/dist/{deprecations-LQ5N6NY5.js → deprecations-PXGEALKZ.js} +8 -8
- package/dist/{environments-43DQFISL.js → environments-RIRFJDPQ.js} +9 -9
- package/dist/{error-handler-HDQAL5WF.js → error-handler-5EPC54UY.js} +12 -12
- package/dist/{fs-7VPG5DKY.js → fs-VSX34RFB.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +51 -33
- package/dist/{is-global-NIA2NILS.js → is-global-4NGXAXDF.js} +3 -3
- package/dist/{local-QTXBNWG7.js → local-XBVJA7XT.js} +2 -2
- package/dist/{metadata-OKIQD7J3.js → metadata-DNUNXC6T.js} +3 -3
- package/dist/{node-package-manager-UGSWTVKV.js → node-package-manager-O3632ODR.js} +10 -10
- package/dist/{notifications-system-WED4PTNQ.js → notifications-system-YDTVYHLL.js} +13 -13
- package/dist/{os-GA2QX6HG.js → os-FXDEWMMP.js} +4 -4
- package/dist/{output-67BVQSOH.js → output-7IWQH62B.js} +3 -3
- package/dist/{system-M2MQLB2V.js → system-FORA44FB.js} +8 -8
- package/dist/{ui-OLUB3ODI.js → ui-OM553KPT.js} +8 -8
- package/dist/{upgrade-VWPCOMAW.js → upgrade-BDSSLQBV.js} +14 -14
- package/dist/{version-BHYDBL3M.js → version-JYAZEOF6.js} +2 -2
- package/dist/{version-HXW64FOP.js → version-SDCJ3VG5.js} +9 -9
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
TokenizedString,
|
|
6
6
|
stringifyMessage,
|
|
7
7
|
tokenItemToString
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CNLC2F6A.js";
|
|
9
9
|
import {
|
|
10
10
|
normalizePath
|
|
11
11
|
} from "./chunk-C3J4HVUN.js";
|
|
@@ -44,7 +44,7 @@ function hasRateLimitCode(errors) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// ../cli-kit/dist/public/node/error.js
|
|
47
|
-
var import_core = __toESM(require_lib()
|
|
47
|
+
var import_core = __toESM(require_lib()), FatalErrorType;
|
|
48
48
|
(function(FatalErrorType2) {
|
|
49
49
|
FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
|
|
50
50
|
})(FatalErrorType || (FatalErrorType = {}));
|
|
@@ -102,7 +102,7 @@ async function handler(error) {
|
|
|
102
102
|
let maybeError = error;
|
|
103
103
|
fatal = new BugError(maybeError?.message ?? "Unknown error"), maybeError?.stack && (fatal.stack = maybeError?.stack);
|
|
104
104
|
}
|
|
105
|
-
let { renderFatalError } = await import("./ui-
|
|
105
|
+
let { renderFatalError } = await import("./ui-OM553KPT.js");
|
|
106
106
|
return renderFatalError(fatal), Promise.resolve(error);
|
|
107
107
|
}
|
|
108
108
|
function errorMapper(error) {
|
|
@@ -176,4 +176,4 @@ export {
|
|
|
176
176
|
shouldReportErrorAsUnexpected,
|
|
177
177
|
cleanSingleStackTracePath
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-XTAFCII7.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-SHHHVN2Y.js";
|
|
21
|
+
import "./chunk-XTAFCII7.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-CNLC2F6A.js";
|
|
28
|
+
import "./chunk-5YZJRRTS.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-PMCHDMJZ.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-QO4QODH2.js";
|
|
7
|
+
import "./chunk-E44G6DYY.js";
|
|
8
|
+
import "./chunk-SXQGDWG4.js";
|
|
9
|
+
import "./chunk-XTAFCII7.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-HUPULG7V.js";
|
|
17
|
+
import "./chunk-CNLC2F6A.js";
|
|
18
|
+
import "./chunk-5YZJRRTS.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-PXGEALKZ.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-NGSR3P6K.js";
|
|
5
|
+
import "./chunk-QO4QODH2.js";
|
|
6
|
+
import "./chunk-E44G6DYY.js";
|
|
7
|
+
import "./chunk-SXQGDWG4.js";
|
|
8
|
+
import "./chunk-XTAFCII7.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-HUPULG7V.js";
|
|
16
|
+
import "./chunk-CNLC2F6A.js";
|
|
17
|
+
import "./chunk-5YZJRRTS.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-RIRFJDPQ.js.map
|
|
@@ -4,25 +4,25 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FQE245PE.js";
|
|
8
8
|
import "./chunk-MSED5ZFM.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-FZPS2NF6.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-QY3743I6.js";
|
|
12
|
+
import "./chunk-SHHHVN2Y.js";
|
|
13
|
+
import "./chunk-QO4QODH2.js";
|
|
14
|
+
import "./chunk-E44G6DYY.js";
|
|
15
|
+
import "./chunk-SXQGDWG4.js";
|
|
16
|
+
import "./chunk-XTAFCII7.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-HUPULG7V.js";
|
|
24
|
+
import "./chunk-CNLC2F6A.js";
|
|
25
|
+
import "./chunk-5YZJRRTS.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-5EPC54UY.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-CNLC2F6A.js";
|
|
52
|
+
import "./chunk-5YZJRRTS.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-VSX34RFB.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-EYEPSKLS.js";
|
|
4
|
+
import "../chunk-HUPULG7V.js";
|
|
5
|
+
import "../chunk-CNLC2F6A.js";
|
|
6
|
+
import "../chunk-5YZJRRTS.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-7IWQH62B.js"),
|
|
35
|
+
import("../analytics-MBYVUT75.js"),
|
|
36
|
+
import("../notifications-system-YDTVYHLL.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-JYAZEOF6.js"),
|
|
67
|
+
import("../version-SDCJ3VG5.js"),
|
|
68
|
+
import("../node-package-manager-O3632ODR.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-NGSR3P6K.js";
|
|
15
15
|
import {
|
|
16
16
|
setCurrentCommandId,
|
|
17
17
|
showNotificationsIfNeeded
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NDF4E33L.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-FQE245PE.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-FZPS2NF6.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-D4SDIFY6.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-QY3743I6.js";
|
|
128
128
|
import {
|
|
129
129
|
LocalStorage,
|
|
130
130
|
require_ajv,
|
|
131
131
|
runAtMinimumInterval,
|
|
132
132
|
serviceEnvironment
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-SHHHVN2Y.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-QO4QODH2.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-E44G6DYY.js";
|
|
195
195
|
import {
|
|
196
196
|
addPublicMetadata,
|
|
197
197
|
addSensitiveMetadata,
|
|
198
198
|
createRuntimeMetadataContainer,
|
|
199
199
|
runWithTimer
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-SXQGDWG4.js";
|
|
201
201
|
import {
|
|
202
202
|
AbortError,
|
|
203
203
|
AbortSilentError,
|
|
204
204
|
BugError,
|
|
205
205
|
CancelExecution
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-XTAFCII7.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-EYEPSKLS.js";
|
|
219
219
|
import {
|
|
220
220
|
treeKill
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-HUPULG7V.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-CNLC2F6A.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-5YZJRRTS.js";
|
|
332
332
|
import "./chunk-7OHJH7BF.js";
|
|
333
333
|
import {
|
|
334
334
|
isTruthy
|
|
@@ -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-5EPC54UY.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-5EPC54UY.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-YDTVYHLL.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-OM553KPT.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-RIRFJDPQ.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-RIRFJDPQ.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-OM553KPT.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-OM553KPT.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-XBVJA7XT.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-5EPC54UY.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-OM553KPT.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-O3632ODR.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,8 +212596,11 @@ 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",
|
|
212599
212601
|
"assets/**/*.*",
|
|
212600
212602
|
"config/**/*.json",
|
|
212603
|
+
"config/styles.css",
|
|
212601
212604
|
"layout/**/*.liquid",
|
|
212602
212605
|
"locales/**/*.json",
|
|
212603
212606
|
"sections/**/*.{liquid,json}",
|
|
@@ -212606,11 +212609,13 @@ var FILE_EVENT_DEBOUNCE_TIME_IN_MS = 250, THEME_DIRECTORY_PATTERNS = [
|
|
|
212606
212609
|
"templates/**/*.{liquid,json}",
|
|
212607
212610
|
"templates/customers/**/*.{liquid,json}"
|
|
212608
212611
|
], THEME_PARTITION_REGEX = {
|
|
212612
|
+
documentationFilesRegex: /^(AGENTS|DESIGN)\.md$/,
|
|
212609
212613
|
layoutLiquidRegex: /^layout\/.+\.liquid$/,
|
|
212610
212614
|
sectionLiquidRegex: /^sections\/.+\.liquid$/,
|
|
212611
212615
|
blockLiquidRegex: /^blocks\/.+\.liquid$/,
|
|
212612
212616
|
configSchemaRegex: /^config\/settings_schema\.json$/,
|
|
212613
212617
|
configDataRegex: /^config\/settings_data\.json$/,
|
|
212618
|
+
configStylesheetRegex: /^config\/styles\.css$/,
|
|
212614
212619
|
sectionJsonRegex: /^sections\/.+\.json$/,
|
|
212615
212620
|
templateJsonRegex: /^templates\/.+\.json$/,
|
|
212616
212621
|
jsonRegex: /^(?!config\/).*\.json$/,
|
|
@@ -212817,10 +212822,10 @@ async function removeThemeFile(root, path4) {
|
|
|
212817
212822
|
await removeFile(absolutePath);
|
|
212818
212823
|
}
|
|
212819
212824
|
function partitionThemeFiles(files) {
|
|
212820
|
-
let sectionLiquidFiles = [], otherLiquidFiles = [], sectionJsonFiles = [], templateJsonFiles = [], otherJsonFiles = [], contextualizedJsonFiles = [], configSchemaFile = [], configDataFile = [], staticAssetFiles = [], blockLiquidFiles = [], layoutFiles = [];
|
|
212825
|
+
let sectionLiquidFiles = [], otherLiquidFiles = [], sectionJsonFiles = [], templateJsonFiles = [], otherJsonFiles = [], contextualizedJsonFiles = [], configSchemaFile = [], configDataFile = [], configStylesheetFiles = [], staticAssetFiles = [], blockLiquidFiles = [], layoutFiles = [], documentationFiles = [];
|
|
212821
212826
|
return files.forEach((file) => {
|
|
212822
212827
|
let fileKey = file.key;
|
|
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);
|
|
212828
|
+
THEME_PARTITION_REGEX.documentationFilesRegex.test(fileKey) ? documentationFiles.push(file) : 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.configStylesheetRegex.test(fileKey) ? configStylesheetFiles.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);
|
|
212824
212829
|
}), {
|
|
212825
212830
|
sectionLiquidFiles,
|
|
212826
212831
|
otherLiquidFiles,
|
|
@@ -212830,9 +212835,11 @@ function partitionThemeFiles(files) {
|
|
|
212830
212835
|
otherJsonFiles,
|
|
212831
212836
|
configSchemaFile,
|
|
212832
212837
|
configDataFile,
|
|
212838
|
+
configStylesheetFiles,
|
|
212833
212839
|
staticAssetFiles,
|
|
212834
212840
|
blockLiquidFiles,
|
|
212835
|
-
layoutFiles
|
|
212841
|
+
layoutFiles,
|
|
212842
|
+
documentationFiles
|
|
212836
212843
|
};
|
|
212837
212844
|
}
|
|
212838
212845
|
function isTextFile(path4) {
|
|
@@ -212847,7 +212854,8 @@ function isTextFile(path4) {
|
|
|
212847
212854
|
"text/css",
|
|
212848
212855
|
"text/x-sass",
|
|
212849
212856
|
"text/x-scss",
|
|
212850
|
-
"image/svg+xml"
|
|
212857
|
+
"image/svg+xml",
|
|
212858
|
+
"text/markdown"
|
|
212851
212859
|
].includes(lookupMimeType(path4));
|
|
212852
212860
|
}
|
|
212853
212861
|
async function hasRequiredThemeDirectories(path4) {
|
|
@@ -213211,6 +213219,8 @@ function orderFilesToBeDeleted(files) {
|
|
|
213211
213219
|
...fileSets.layoutFiles,
|
|
213212
213220
|
...fileSets.otherLiquidFiles,
|
|
213213
213221
|
...fileSets.configDataFile,
|
|
213222
|
+
...fileSets.configStylesheetFiles,
|
|
213223
|
+
...fileSets.documentationFiles,
|
|
213214
213224
|
...fileSets.configSchemaFile,
|
|
213215
213225
|
...fileSets.staticAssetFiles
|
|
213216
213226
|
];
|
|
@@ -213255,7 +213265,13 @@ function orderFilesToBeUploaded(files) {
|
|
|
213255
213265
|
return {
|
|
213256
213266
|
// Most JSON files here are locales. Since we filter locales out in `replaceTemplates`,
|
|
213257
213267
|
// and assets can be served locally, we can give priority to the unique Liquid files:
|
|
213258
|
-
independentFiles: [
|
|
213268
|
+
independentFiles: [
|
|
213269
|
+
fileSets.otherLiquidFiles,
|
|
213270
|
+
fileSets.otherJsonFiles,
|
|
213271
|
+
fileSets.staticAssetFiles,
|
|
213272
|
+
fileSets.configStylesheetFiles,
|
|
213273
|
+
fileSets.documentationFiles
|
|
213274
|
+
],
|
|
213259
213275
|
// Follow order of dependencies:
|
|
213260
213276
|
dependentFiles: [
|
|
213261
213277
|
fileSets.configSchemaFile,
|
|
@@ -214607,6 +214623,8 @@ init_cjs_shims();
|
|
|
214607
214623
|
// ../theme/dist/cli/services/package.js
|
|
214608
214624
|
init_cjs_shims();
|
|
214609
214625
|
var import_theme_check_node6 = __toESM(require_dist7(), 1), themeFilesPattern = [
|
|
214626
|
+
"AGENTS.md",
|
|
214627
|
+
"DESIGN.md",
|
|
214610
214628
|
"assets/**",
|
|
214611
214629
|
"blocks/**",
|
|
214612
214630
|
"config/**",
|
|
@@ -216184,7 +216202,7 @@ init_cjs_shims();
|
|
|
216184
216202
|
|
|
216185
216203
|
// ../cli-kit/dist/public/node/liquid.js
|
|
216186
216204
|
init_cjs_shims();
|
|
216187
|
-
var import_liquidjs = __toESM(require_liquid_node()
|
|
216205
|
+
var import_liquidjs = __toESM(require_liquid_node());
|
|
216188
216206
|
function renderLiquidTemplate(templateContent, data) {
|
|
216189
216207
|
let engine = new import_liquidjs.Liquid();
|
|
216190
216208
|
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-CNLC2F6A.js";
|
|
8
|
+
import "./chunk-5YZJRRTS.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-4NGXAXDF.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
macAddress,
|
|
21
21
|
opentelemetryDomain,
|
|
22
22
|
themeToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5YZJRRTS.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-XBVJA7XT.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-SXQGDWG4.js";
|
|
9
|
+
import "./chunk-5YZJRRTS.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-DNUNXC6T.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-QY3743I6.js";
|
|
34
|
+
import "./chunk-SHHHVN2Y.js";
|
|
35
|
+
import "./chunk-QO4QODH2.js";
|
|
36
|
+
import "./chunk-E44G6DYY.js";
|
|
37
|
+
import "./chunk-SXQGDWG4.js";
|
|
38
|
+
import "./chunk-XTAFCII7.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-HUPULG7V.js";
|
|
46
|
+
import "./chunk-CNLC2F6A.js";
|
|
47
|
+
import "./chunk-5YZJRRTS.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-O3632ODR.js.map
|