@shopify/create-app 4.4.0 → 4.5.0
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-ZUNBGXYN.js → analytics-EIWAB3VN.js} +11 -11
- package/dist/{analytics-QHRELZLM.js → analytics-UVSVWBN5.js} +11 -11
- package/dist/{chunk-IIKNZMZ3.js → chunk-3KAJBONR.js} +16 -16
- package/dist/{chunk-KIFOZKPG.js → chunk-42SB5R2B.js} +5 -5
- package/dist/{chunk-6HSLT7CL.js → chunk-4FAX3V5J.js} +9 -9
- package/dist/{chunk-OEWJXNZ3.js → chunk-6X3JEMI3.js} +3 -3
- package/dist/{chunk-62QNHSYH.js → chunk-ARTN5AK3.js} +6 -6
- package/dist/{chunk-RU7WY226.js → chunk-DVVERWXQ.js} +10 -10
- package/dist/{chunk-LXXKYAVF.js → chunk-G45LXLEA.js} +6 -6
- package/dist/{chunk-J2RZURHV.js → chunk-GPAVZSTC.js} +2 -2
- package/dist/{chunk-QIPOIRI3.js → chunk-KL7ME74X.js} +4 -4
- package/dist/{chunk-4K6N4HPB.js → chunk-O2YFSB4E.js} +2 -2
- package/dist/{chunk-2QBCAA2H.js → chunk-PFLT3FI7.js} +2 -2
- package/dist/{chunk-YPGFYTKI.js → chunk-RAWPKQXX.js} +6 -6
- package/dist/{chunk-BSWIPNAC.js → chunk-UEDSFRUE.js} +3 -3
- package/dist/{chunk-BURYKXEK.js → chunk-WYRPJX6E.js} +3 -3
- package/dist/{conf-store-UHO3XWAB.js → conf-store-YT7PM6TZ.js} +5 -5
- package/dist/{deprecations-QW5VFBSX.js → deprecations-36G3B7N6.js} +7 -7
- package/dist/{environments-QH3M37S5.js → environments-Z5UN2QBI.js} +8 -8
- package/dist/{error-handler-5PE7ZVHN.js → error-handler-6VUIUVYQ.js} +11 -11
- package/dist/{fs-EMRZP532.js → fs-DB7H2XMJ.js} +3 -3
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +26 -26
- package/dist/{is-global-KJG33UDT.js → is-global-UEEP7T5L.js} +3 -3
- package/dist/{local-ZYOWEOLU.js → local-3S3PJGRP.js} +2 -2
- package/dist/{metadata-CJ2MZGDF.js → metadata-X4WIR5D2.js} +3 -3
- package/dist/{node-package-manager-UMBL54DA.js → node-package-manager-H3IPZ6MV.js} +9 -9
- package/dist/{notifications-system-OQOH54WS.js → notifications-system-FVPDGQU6.js} +12 -12
- package/dist/{output-E6LGYDU7.js → output-3MNFYWNF.js} +3 -3
- package/dist/{system-6NBRPH6N.js → system-WQHI5DQN.js} +7 -7
- package/dist/{ui-6HWKB4U5.js → ui-7ML6OXBZ.js} +7 -7
- package/dist/{upgrade-6SKUAGJM.js → upgrade-L564H3ME.js} +13 -13
- package/dist/{version-ZQZJVZRD.js → version-BFFZUMWR.js} +2 -2
- package/dist/{version-QEK7UUGF.js → version-SCSJ5FCD.js} +8 -8
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -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-42SB5R2B.js";
|
|
5
|
+
import "./chunk-G45LXLEA.js";
|
|
6
|
+
import "./chunk-WYRPJX6E.js";
|
|
7
|
+
import "./chunk-6X3JEMI3.js";
|
|
8
8
|
import "./chunk-KWG6VAVE.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-O2YFSB4E.js";
|
|
15
|
+
import "./chunk-RAWPKQXX.js";
|
|
16
|
+
import "./chunk-UEDSFRUE.js";
|
|
17
17
|
import "./chunk-7OHJH7BF.js";
|
|
18
18
|
import "./chunk-C3J4HVUN.js";
|
|
19
19
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
environmentFilePath,
|
|
24
24
|
loadEnvironment
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=environments-
|
|
26
|
+
//# sourceMappingURL=environments-Z5UN2QBI.js.map
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4FAX3V5J.js";
|
|
8
8
|
import "./chunk-MSED5ZFM.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ARTN5AK3.js";
|
|
10
|
+
import "./chunk-PFLT3FI7.js";
|
|
11
11
|
import "./chunk-G53O4PDO.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-KL7ME74X.js";
|
|
13
|
+
import "./chunk-G45LXLEA.js";
|
|
14
|
+
import "./chunk-WYRPJX6E.js";
|
|
15
|
+
import "./chunk-6X3JEMI3.js";
|
|
16
16
|
import "./chunk-KWG6VAVE.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-O2YFSB4E.js";
|
|
23
|
+
import "./chunk-RAWPKQXX.js";
|
|
24
|
+
import "./chunk-UEDSFRUE.js";
|
|
25
25
|
import "./chunk-7OHJH7BF.js";
|
|
26
26
|
import "./chunk-C3J4HVUN.js";
|
|
27
27
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
35
35
|
sendErrorToBugsnag
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=error-handler-
|
|
37
|
+
//# sourceMappingURL=error-handler-6VUIUVYQ.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-RAWPKQXX.js";
|
|
52
|
+
import "./chunk-UEDSFRUE.js";
|
|
53
53
|
import "./chunk-7OHJH7BF.js";
|
|
54
54
|
import "./chunk-C3J4HVUN.js";
|
|
55
55
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
writeFile,
|
|
107
107
|
writeFileSync
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=fs-
|
|
109
|
+
//# sourceMappingURL=fs-DB7H2XMJ.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-3KAJBONR.js";
|
|
4
|
+
import "../chunk-O2YFSB4E.js";
|
|
5
|
+
import "../chunk-RAWPKQXX.js";
|
|
6
|
+
import "../chunk-UEDSFRUE.js";
|
|
7
7
|
import "../chunk-7OHJH7BF.js";
|
|
8
8
|
import "../chunk-C3J4HVUN.js";
|
|
9
9
|
import "../chunk-OE3FSIHW.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -13,9 +13,9 @@ var hook = async (options) => {
|
|
|
13
13
|
aliases: options.Command.aliases,
|
|
14
14
|
pluginAlias: options.Command.plugin?.alias
|
|
15
15
|
}), args = options.argv, [{ outputDebug }, analyticsMod, notificationsMod] = await Promise.all([
|
|
16
|
-
import("../output-
|
|
17
|
-
import("../analytics-
|
|
18
|
-
import("../notifications-system-
|
|
16
|
+
import("../output-3MNFYWNF.js"),
|
|
17
|
+
import("../analytics-EIWAB3VN.js"),
|
|
18
|
+
import("../notifications-system-FVPDGQU6.js")
|
|
19
19
|
]);
|
|
20
20
|
checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id);
|
|
21
21
|
};
|
|
@@ -45,9 +45,9 @@ function findAlias(aliases) {
|
|
|
45
45
|
}
|
|
46
46
|
async function checkForNewVersionInBackground() {
|
|
47
47
|
let [{ CLI_KIT_VERSION }, { isPreReleaseVersion }, { checkForNewVersion }] = await Promise.all([
|
|
48
|
-
import("../version-
|
|
49
|
-
import("../version-
|
|
50
|
-
import("../node-package-manager-
|
|
48
|
+
import("../version-BFFZUMWR.js"),
|
|
49
|
+
import("../version-SCSJ5FCD.js"),
|
|
50
|
+
import("../node-package-manager-H3IPZ6MV.js")
|
|
51
51
|
]), currentVersion = CLI_KIT_VERSION;
|
|
52
52
|
isPreReleaseVersion(currentVersion) || checkForNewVersion("@shopify/cli", currentVersion, { cacheExpiryInHours: 24 });
|
|
53
53
|
}
|
package/dist/index.js
CHANGED
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
TomlFileError,
|
|
11
11
|
loadEnvironment,
|
|
12
12
|
require_toml_patch
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42SB5R2B.js";
|
|
14
14
|
import {
|
|
15
15
|
getCurrentCommandId,
|
|
16
16
|
setCurrentCommandId,
|
|
17
17
|
showNotificationsIfNeeded
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DVVERWXQ.js";
|
|
19
19
|
import {
|
|
20
20
|
ClientError,
|
|
21
21
|
DevServerCore,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
setPathValue,
|
|
93
93
|
shopifyFetch,
|
|
94
94
|
storeAdminUrl
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-4FAX3V5J.js";
|
|
96
96
|
import {
|
|
97
97
|
setNextDeprecationDate
|
|
98
98
|
} from "./chunk-MSED5ZFM.js";
|
|
@@ -114,22 +114,22 @@ import {
|
|
|
114
114
|
usesWorkspaces,
|
|
115
115
|
versionSatisfies,
|
|
116
116
|
writePackageJSON
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-ARTN5AK3.js";
|
|
118
118
|
import {
|
|
119
119
|
CLI_KIT_VERSION
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-PFLT3FI7.js";
|
|
121
121
|
import "./chunk-G53O4PDO.js";
|
|
122
122
|
import {
|
|
123
123
|
LocalStorage,
|
|
124
124
|
require_ajv,
|
|
125
125
|
runAtMinimumInterval,
|
|
126
126
|
serviceEnvironment
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-KL7ME74X.js";
|
|
128
128
|
import {
|
|
129
129
|
globalCLIVersion,
|
|
130
130
|
isPreReleaseVersion,
|
|
131
131
|
localCLIVersion
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-GPAVZSTC.js";
|
|
133
133
|
import {
|
|
134
134
|
AbortController as AbortController2,
|
|
135
135
|
AbortSignal,
|
|
@@ -170,20 +170,20 @@ import {
|
|
|
170
170
|
useAbortSignal,
|
|
171
171
|
useConcurrentOutputContext,
|
|
172
172
|
username
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-G45LXLEA.js";
|
|
174
174
|
import {
|
|
175
175
|
addPublicMetadata,
|
|
176
176
|
addSensitiveMetadata,
|
|
177
177
|
createRuntimeMetadataContainer,
|
|
178
178
|
runWithTimer
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-WYRPJX6E.js";
|
|
180
180
|
import {
|
|
181
181
|
AbortError,
|
|
182
182
|
AbortSilentError,
|
|
183
183
|
BugError,
|
|
184
184
|
CancelExecution,
|
|
185
185
|
import_ts_error
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-6X3JEMI3.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-3KAJBONR.js";
|
|
199
199
|
import {
|
|
200
200
|
treeKill
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-O2YFSB4E.js";
|
|
202
202
|
import {
|
|
203
203
|
Box_default,
|
|
204
204
|
Link,
|
|
@@ -305,7 +305,7 @@ import {
|
|
|
305
305
|
use_stdout_default,
|
|
306
306
|
writeFile,
|
|
307
307
|
writeFileSync
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-RAWPKQXX.js";
|
|
309
309
|
import {
|
|
310
310
|
codespacePortForwardingDomain,
|
|
311
311
|
codespaceURL,
|
|
@@ -321,7 +321,7 @@ import {
|
|
|
321
321
|
isUnitTest,
|
|
322
322
|
isVerbose,
|
|
323
323
|
themeKitAccessDomain
|
|
324
|
-
} from "./chunk-
|
|
324
|
+
} from "./chunk-UEDSFRUE.js";
|
|
325
325
|
import "./chunk-7OHJH7BF.js";
|
|
326
326
|
import {
|
|
327
327
|
basename,
|
|
@@ -204736,16 +204736,16 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
204736
204736
|
}
|
|
204737
204737
|
async catch(error) {
|
|
204738
204738
|
error.skipOclifErrorHandling = !0;
|
|
204739
|
-
let { errorHandler } = await import("./error-handler-
|
|
204739
|
+
let { errorHandler } = await import("./error-handler-6VUIUVYQ.js");
|
|
204740
204740
|
return await errorHandler(error, this.config), import_core2.Errors.handle(error);
|
|
204741
204741
|
}
|
|
204742
204742
|
async init() {
|
|
204743
204743
|
if (this.exitWithTimestampWhenEnvVariablePresent(), setCurrentCommandId(this.id ?? ""), !isDevelopment()) {
|
|
204744
|
-
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-
|
|
204744
|
+
let { registerCleanBugsnagErrorsFromWithinPlugins } = await import("./error-handler-6VUIUVYQ.js");
|
|
204745
204745
|
await registerCleanBugsnagErrorsFromWithinPlugins(this.config);
|
|
204746
204746
|
}
|
|
204747
204747
|
await removeDuplicatedPlugins(this.config), this.showNpmFlagWarning();
|
|
204748
|
-
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-
|
|
204748
|
+
let { showNotificationsIfNeeded: showNotificationsIfNeeded2 } = await import("./notifications-system-FVPDGQU6.js");
|
|
204749
204749
|
return await showNotificationsIfNeeded2(), super.init();
|
|
204750
204750
|
}
|
|
204751
204751
|
// NPM creates an environment variable for every flag passed to a script.
|
|
@@ -204753,7 +204753,7 @@ var import_core2 = __toESM(require_lib()), BaseCommand = class extends import_co
|
|
|
204753
204753
|
// and warns the user to use the `--` separator.
|
|
204754
204754
|
showNpmFlagWarning() {
|
|
204755
204755
|
let commandVariables = this.constructor;
|
|
204756
|
-
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-
|
|
204756
|
+
Object.keys(commandVariables.flags || {}).map((key) => `npm_config_${underscore(key).replace(/^no_/, "")}`).some((flag) => process.env[flag] !== void 0) && import("./ui-7ML6OXBZ.js").then(({ renderWarning: renderWarning2 }) => {
|
|
204757
204757
|
renderWarning2({
|
|
204758
204758
|
body: [
|
|
204759
204759
|
"NPM scripts require an extra",
|
|
@@ -204791,7 +204791,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
|
|
|
204791
204791
|
let flags = originalResult.flags, environmentsFileName = this.environmentsFilename();
|
|
204792
204792
|
if (!environmentsFileName)
|
|
204793
204793
|
return originalResult;
|
|
204794
|
-
let { environmentFilePath } = await import("./environments-
|
|
204794
|
+
let { environmentFilePath } = await import("./environments-Z5UN2QBI.js"), environmentFileExists = await environmentFilePath(environmentsFileName, { from: flags.path }), environments = [];
|
|
204795
204795
|
flags.environment && (environments = Array.isArray(flags.environment) ? flags.environment : [flags.environment]);
|
|
204796
204796
|
let environmentSpecified = environments.length > 0;
|
|
204797
204797
|
if (!environmentFileExists && !environmentSpecified || environmentSpecified && environments.length > 1)
|
|
@@ -204812,7 +204812,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
|
|
|
204812
204812
|
* is specified it will try to load a default environment.
|
|
204813
204813
|
*/
|
|
204814
204814
|
async loadEnvironmentForCommand(path, environmentsFileName, specifiedEnvironment) {
|
|
204815
|
-
let { loadEnvironment: loadEnvironment2 } = await import("./environments-
|
|
204815
|
+
let { loadEnvironment: loadEnvironment2 } = await import("./environments-Z5UN2QBI.js");
|
|
204816
204816
|
return specifiedEnvironment ? { environment: await loadEnvironment2(specifiedEnvironment, environmentsFileName, { from: path }), isDefaultEnvironment: !1 } : { environment: await loadEnvironment2("default", environmentsFileName, { from: path, silent: !0 }), isDefaultEnvironment: !0 };
|
|
204817
204817
|
}
|
|
204818
204818
|
};
|
|
@@ -204836,7 +204836,7 @@ function reportEnvironmentApplication(noDefaultsFlags, flagsWithEnvironments, en
|
|
|
204836
204836
|
if (Object.keys(changes).length === 0)
|
|
204837
204837
|
return;
|
|
204838
204838
|
let items = Object.entries(changes).map(([name, value]) => `${name}: ${value}`);
|
|
204839
|
-
import("./ui-
|
|
204839
|
+
import("./ui-7ML6OXBZ.js").then(({ renderInfo: renderInfo2 }) => {
|
|
204840
204840
|
renderInfo2({
|
|
204841
204841
|
headline: ["Using applicable flags from", { userInput: environmentName }, "environment:"],
|
|
204842
204842
|
body: [{ list: { items } }]
|
|
@@ -204873,7 +204873,7 @@ async function removeDuplicatedPlugins(config2) {
|
|
|
204873
204873
|
let plugins = Array.from(config2.plugins.values()), bundlePlugins = ["@shopify/app", "@shopify/plugin-cloudflare"], pluginsToRemove = plugins.filter((plugin) => bundlePlugins.includes(plugin.name));
|
|
204874
204874
|
if (pluginsToRemove.length > 0) {
|
|
204875
204875
|
let commandsToRun = pluginsToRemove.map((plugin) => ` - shopify plugins remove ${plugin.name}`).join(`
|
|
204876
|
-
`), { renderWarning: renderWarning2 } = await import("./ui-
|
|
204876
|
+
`), { renderWarning: renderWarning2 } = await import("./ui-7ML6OXBZ.js");
|
|
204877
204877
|
renderWarning2({
|
|
204878
204878
|
headline: `Unsupported plugins detected: ${pluginsToRemove.map((plugin) => plugin.name).join(", ")}`,
|
|
204879
204879
|
body: [
|
|
@@ -204909,13 +204909,13 @@ init_cjs_shims();
|
|
|
204909
204909
|
init_cjs_shims();
|
|
204910
204910
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
204911
204911
|
async function launchCLI(options) {
|
|
204912
|
-
let { isDevelopment: isDevelopment2 } = await import("./local-
|
|
204912
|
+
let { isDevelopment: isDevelopment2 } = await import("./local-3S3PJGRP.js"), { ShopifyConfig } = await import("./custom-oclif-loader-7BTLNXYR.js"), oclifModule = await import("./lib-NKDE2QNY.js"), { run, flush, Errors: Errors2, settings } = oclifModule.default ?? oclifModule;
|
|
204913
204913
|
isDevelopment2() && (settings.debug = !0);
|
|
204914
204914
|
try {
|
|
204915
204915
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
|
|
204916
204916
|
await config2.load(), options.lazyCommandLoader && config2.setLazyCommandLoader(options.lazyCommandLoader), await run(options.argv, config2), await flush();
|
|
204917
204917
|
} catch (error) {
|
|
204918
|
-
let { errorHandler } = await import("./error-handler-
|
|
204918
|
+
let { errorHandler } = await import("./error-handler-6VUIUVYQ.js");
|
|
204919
204919
|
return await errorHandler(error), Errors2.handle(error);
|
|
204920
204920
|
}
|
|
204921
204921
|
}
|
|
@@ -204925,7 +204925,7 @@ var import_core3 = __toESM(require_lib());
|
|
|
204925
204925
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
204926
204926
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
204927
204927
|
if (nodeMajorVersion < 18) {
|
|
204928
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
204928
|
+
let { renderError: renderError2 } = await import("./ui-7ML6OXBZ.js");
|
|
204929
204929
|
renderError2({
|
|
204930
204930
|
headline: "Upgrade to a supported Node version now.",
|
|
204931
204931
|
body: [
|
|
@@ -204952,7 +204952,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
204952
204952
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL, lazyCommandLoader: options.lazyCommandLoader });
|
|
204953
204953
|
}
|
|
204954
204954
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
204955
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
204955
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-H3IPZ6MV.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-2WA5R6GG.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
204956
204956
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
204957
204957
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
204958
204958
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
inferPackageManagerForGlobalCLI,
|
|
5
5
|
installGlobalCLIPrompt,
|
|
6
6
|
installGlobalShopifyCLI
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-RAWPKQXX.js";
|
|
8
|
+
import "./chunk-UEDSFRUE.js";
|
|
9
9
|
import "./chunk-7OHJH7BF.js";
|
|
10
10
|
import "./chunk-C3J4HVUN.js";
|
|
11
11
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
installGlobalCLIPrompt,
|
|
19
19
|
installGlobalShopifyCLI
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=is-global-
|
|
21
|
+
//# sourceMappingURL=is-global-UEEP7T5L.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
macAddress,
|
|
22
22
|
opentelemetryDomain,
|
|
23
23
|
themeToken
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UEDSFRUE.js";
|
|
25
25
|
import "./chunk-C3J4HVUN.js";
|
|
26
26
|
import "./chunk-3XNI6LP4.js";
|
|
27
27
|
export {
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
opentelemetryDomain,
|
|
49
49
|
themeToken
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=local-
|
|
51
|
+
//# sourceMappingURL=local-3S3PJGRP.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-WYRPJX6E.js";
|
|
9
|
+
import "./chunk-UEDSFRUE.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-X4WIR5D2.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-ARTN5AK3.js";
|
|
34
|
+
import "./chunk-KL7ME74X.js";
|
|
35
|
+
import "./chunk-G45LXLEA.js";
|
|
36
|
+
import "./chunk-WYRPJX6E.js";
|
|
37
|
+
import "./chunk-6X3JEMI3.js";
|
|
38
38
|
import "./chunk-KWG6VAVE.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-O2YFSB4E.js";
|
|
45
|
+
import "./chunk-RAWPKQXX.js";
|
|
46
|
+
import "./chunk-UEDSFRUE.js";
|
|
47
47
|
import "./chunk-7OHJH7BF.js";
|
|
48
48
|
import "./chunk-C3J4HVUN.js";
|
|
49
49
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
writePackageJSON,
|
|
83
83
|
yarnLockfile
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=node-package-manager-
|
|
85
|
+
//# sourceMappingURL=node-package-manager-H3IPZ6MV.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-DVVERWXQ.js";
|
|
9
|
+
import "./chunk-4FAX3V5J.js";
|
|
10
10
|
import "./chunk-MSED5ZFM.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ARTN5AK3.js";
|
|
12
|
+
import "./chunk-PFLT3FI7.js";
|
|
13
13
|
import "./chunk-G53O4PDO.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KL7ME74X.js";
|
|
15
|
+
import "./chunk-G45LXLEA.js";
|
|
16
|
+
import "./chunk-WYRPJX6E.js";
|
|
17
|
+
import "./chunk-6X3JEMI3.js";
|
|
18
18
|
import "./chunk-KWG6VAVE.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-O2YFSB4E.js";
|
|
25
|
+
import "./chunk-RAWPKQXX.js";
|
|
26
|
+
import "./chunk-UEDSFRUE.js";
|
|
27
27
|
import "./chunk-7OHJH7BF.js";
|
|
28
28
|
import "./chunk-C3J4HVUN.js";
|
|
29
29
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
showNotificationsIfNeeded,
|
|
38
38
|
stringifyFilters
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=notifications-system-
|
|
40
|
+
//# sourceMappingURL=notifications-system-FVPDGQU6.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-RAWPKQXX.js";
|
|
23
|
+
import "./chunk-UEDSFRUE.js";
|
|
24
24
|
import "./chunk-7OHJH7BF.js";
|
|
25
25
|
import "./chunk-C3J4HVUN.js";
|
|
26
26
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
stringifyMessage,
|
|
49
49
|
unstyled
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=output-
|
|
51
|
+
//# sourceMappingURL=output-3MNFYWNF.js.map
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
sleep,
|
|
13
13
|
terminalSupportsHyperlinks,
|
|
14
14
|
terminalSupportsPrompting
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-G45LXLEA.js";
|
|
16
|
+
import "./chunk-WYRPJX6E.js";
|
|
17
|
+
import "./chunk-6X3JEMI3.js";
|
|
18
18
|
import "./chunk-KWG6VAVE.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-O2YFSB4E.js";
|
|
25
|
+
import "./chunk-RAWPKQXX.js";
|
|
26
|
+
import "./chunk-UEDSFRUE.js";
|
|
27
27
|
import "./chunk-7OHJH7BF.js";
|
|
28
28
|
import "./chunk-C3J4HVUN.js";
|
|
29
29
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -44,4 +44,4 @@ export {
|
|
|
44
44
|
terminalSupportsHyperlinks,
|
|
45
45
|
terminalSupportsPrompting
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=system-
|
|
47
|
+
//# sourceMappingURL=system-WQHI5DQN.js.map
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
renderTasks,
|
|
18
18
|
renderTextPrompt,
|
|
19
19
|
renderWarning
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-G45LXLEA.js";
|
|
21
|
+
import "./chunk-WYRPJX6E.js";
|
|
22
|
+
import "./chunk-6X3JEMI3.js";
|
|
23
23
|
import "./chunk-KWG6VAVE.js";
|
|
24
24
|
import "./chunk-ODCXYGJ2.js";
|
|
25
25
|
import "./chunk-LBXDGVFS.js";
|
|
26
26
|
import "./chunk-D6NYWNY2.js";
|
|
27
27
|
import "./chunk-JGGOQOPO.js";
|
|
28
28
|
import "./chunk-OQ3KXXGH.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-O2YFSB4E.js";
|
|
30
|
+
import "./chunk-RAWPKQXX.js";
|
|
31
|
+
import "./chunk-UEDSFRUE.js";
|
|
32
32
|
import "./chunk-7OHJH7BF.js";
|
|
33
33
|
import "./chunk-C3J4HVUN.js";
|
|
34
34
|
import "./chunk-OE3FSIHW.js";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
renderTextPrompt,
|
|
55
55
|
renderWarning
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=ui-
|
|
57
|
+
//# sourceMappingURL=ui-7ML6OXBZ.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotifications,
|
|
3
3
|
filterNotifications
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-DVVERWXQ.js";
|
|
5
|
+
import "./chunk-4FAX3V5J.js";
|
|
6
6
|
import "./chunk-MSED5ZFM.js";
|
|
7
7
|
import {
|
|
8
8
|
addNPMDependencies,
|
|
@@ -11,33 +11,33 @@ import {
|
|
|
11
11
|
findUpAndReadPackageJson,
|
|
12
12
|
getPackageManager,
|
|
13
13
|
usesWorkspaces
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ARTN5AK3.js";
|
|
15
15
|
import {
|
|
16
16
|
CLI_KIT_VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PFLT3FI7.js";
|
|
18
18
|
import "./chunk-G53O4PDO.js";
|
|
19
19
|
import {
|
|
20
20
|
getAutoUpgradeEnabled,
|
|
21
21
|
runAtMinimumInterval,
|
|
22
22
|
setAutoUpgradeEnabled
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KL7ME74X.js";
|
|
24
24
|
import {
|
|
25
25
|
isPreReleaseVersion
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GPAVZSTC.js";
|
|
27
27
|
import {
|
|
28
28
|
exec,
|
|
29
29
|
isCI,
|
|
30
30
|
renderSuccess
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-G45LXLEA.js";
|
|
32
|
+
import "./chunk-WYRPJX6E.js";
|
|
33
|
+
import "./chunk-6X3JEMI3.js";
|
|
34
34
|
import "./chunk-KWG6VAVE.js";
|
|
35
35
|
import "./chunk-ODCXYGJ2.js";
|
|
36
36
|
import "./chunk-LBXDGVFS.js";
|
|
37
37
|
import "./chunk-D6NYWNY2.js";
|
|
38
38
|
import "./chunk-JGGOQOPO.js";
|
|
39
39
|
import "./chunk-OQ3KXXGH.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-O2YFSB4E.js";
|
|
41
41
|
import {
|
|
42
42
|
currentProcessIsGlobal,
|
|
43
43
|
getProjectDir,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
outputInfo,
|
|
48
48
|
outputToken,
|
|
49
49
|
outputWarn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-RAWPKQXX.js";
|
|
51
51
|
import {
|
|
52
52
|
isDevelopment
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UEDSFRUE.js";
|
|
54
54
|
import "./chunk-7OHJH7BF.js";
|
|
55
55
|
import {
|
|
56
56
|
cwd,
|
|
@@ -194,4 +194,4 @@ export {
|
|
|
194
194
|
versionToAutoUpgrade,
|
|
195
195
|
warnIfUpgradeAvailable
|
|
196
196
|
};
|
|
197
|
-
//# sourceMappingURL=upgrade-
|
|
197
|
+
//# sourceMappingURL=upgrade-L564H3ME.js.map
|