@shopify/create-app 3.64.1 → 3.65.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/{chunk-SSLM2OJ6.js → chunk-3TQW45E7.js} +2 -2
- package/dist/{chunk-ZTO4QEPU.js → chunk-5LBEKXRW.js} +2 -2
- package/dist/{chunk-OT3NQCLI.js → chunk-7Q7CXWOT.js} +7 -7
- package/dist/{chunk-DDISQ5E6.js → chunk-AKM6Y2EH.js} +2 -2
- package/dist/{chunk-JFNLNCLV.js → chunk-DVUYIPTK.js} +5 -5
- package/dist/{chunk-4W2G6USL.js → chunk-FBSXXPI4.js} +3 -3
- package/dist/{chunk-YEPZMXGQ.js → chunk-HEGRW3KP.js} +7 -7
- package/dist/{chunk-X5IOXA3K.js → chunk-IEIGMYIK.js} +2 -2
- package/dist/{chunk-S5ZNLAXJ.js → chunk-J66MLEEF.js} +15 -7
- package/dist/{chunk-NHWWMVUA.js → chunk-K4CH5DVB.js} +10 -6
- package/dist/{chunk-AUMWM3XG.js → chunk-MQNSIOFR.js} +7 -7
- package/dist/{chunk-FNHRMCUD.js → chunk-PGCCR6XB.js} +9 -9
- package/dist/{chunk-REO2RWHK.js → chunk-PRZT3GEQ.js} +2 -2
- package/dist/{chunk-MMRAJV7M.js → chunk-SGGEUS6Z.js} +5 -4
- package/dist/{chunk-TRVNMW2Q.js → chunk-VW5ARSKE.js} +8 -7
- package/dist/{chunk-STRDP5MF.js → chunk-Z65QJ5D7.js} +6 -1
- package/dist/commands/init.js +16 -16
- package/dist/commands/init.test.js +16 -16
- package/dist/{constants-TPHFEOFP.js → constants-24TFXZKQ.js} +3 -3
- package/dist/{custom-oclif-loader-VQMNWDN2.js → custom-oclif-loader-T4AG4XMH.js} +4 -4
- package/dist/{error-handler-SZSYZOGZ.js → error-handler-N6EENPE5.js} +11 -11
- package/dist/hooks/postrun.js +9 -9
- package/dist/hooks/prerun.js +6 -6
- package/dist/index.js +1 -1
- package/dist/{local-FJFN5VI3.js → local-MIX2VMI7.js} +4 -4
- package/dist/{node-package-manager-AVHI43MX.js → node-package-manager-AEUKAUCW.js} +5 -5
- package/dist/{path-LR5NP4LX.js → path-CFPIDSWV.js} +4 -2
- package/dist/prompts/init.js +4 -4
- package/dist/prompts/init.test.js +4 -4
- package/dist/services/init.js +10 -10
- package/dist/{system-FX2MCVNL.js → system-FCBZR624.js} +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-ZODN552A.js → ui-QPCD47N3.js} +4 -4
- package/dist/utils/template/cleanup.js +4 -4
- package/dist/utils/template/cleanup.test.js +4 -4
- package/dist/utils/template/npm.js +6 -6
- package/dist/utils/template/npm.test.js +6 -6
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
outputDebug,
|
|
8
8
|
runWithTimer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VW5ARSKE.js";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
|
12
12
|
__require,
|
|
@@ -32797,4 +32797,4 @@ mime-types/index.js:
|
|
|
32797
32797
|
* MIT Licensed
|
|
32798
32798
|
*)
|
|
32799
32799
|
*/
|
|
32800
|
-
//# sourceMappingURL=chunk-
|
|
32800
|
+
//# sourceMappingURL=chunk-3TQW45E7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
joinPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-ZPL24Y2D.js";
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
sessionConstants,
|
|
149
149
|
bugsnagApiKey
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-5LBEKXRW.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HEGRW3KP.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_KIT_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PRZT3GEQ.js";
|
|
11
11
|
import {
|
|
12
12
|
getEnvironmentData
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K4CH5DVB.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
CancelExecution,
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
outputInfo,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VW5ARSKE.js";
|
|
27
27
|
import {
|
|
28
28
|
bugsnagApiKey
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5LBEKXRW.js";
|
|
30
30
|
import {
|
|
31
31
|
cwd,
|
|
32
32
|
isAbsolutePath,
|
|
33
33
|
joinPath,
|
|
34
34
|
normalizePath,
|
|
35
35
|
relativePath
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
37
37
|
import {
|
|
38
38
|
printEventsJson
|
|
39
39
|
} from "./chunk-M2VKB6RG.js";
|
|
@@ -3182,4 +3182,4 @@ export {
|
|
|
3182
3182
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
3183
3183
|
addBugsnagMetadata
|
|
3184
3184
|
};
|
|
3185
|
-
//# sourceMappingURL=chunk-
|
|
3185
|
+
//# sourceMappingURL=chunk-7Q7CXWOT.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
execa,
|
|
3
3
|
outputContent,
|
|
4
4
|
outputDebug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VW5ARSKE.js";
|
|
6
6
|
import {
|
|
7
7
|
init_cjs_shims
|
|
8
8
|
} from "./chunk-ZPL24Y2D.js";
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
username,
|
|
71
71
|
platformAndArch
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
73
|
+
//# sourceMappingURL=chunk-AKM6Y2EH.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PRZT3GEQ.js";
|
|
4
4
|
import {
|
|
5
5
|
installNodeModules
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SGGEUS6Z.js";
|
|
7
7
|
import {
|
|
8
8
|
findPathUp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VW5ARSKE.js";
|
|
10
10
|
import {
|
|
11
11
|
moduleDirectory,
|
|
12
12
|
normalizePath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
14
14
|
import {
|
|
15
15
|
init_cjs_shims
|
|
16
16
|
} from "./chunk-ZPL24Y2D.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
updateCLIDependencies,
|
|
61
61
|
getDeepInstallNPMTasks
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-DVUYIPTK.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
glob,
|
|
3
3
|
rmdir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VW5ARSKE.js";
|
|
5
5
|
import {
|
|
6
6
|
joinPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
8
8
|
import {
|
|
9
9
|
init_cjs_shims
|
|
10
10
|
} from "./chunk-ZPL24Y2D.js";
|
|
@@ -35,4 +35,4 @@ async function cleanup(webOutputDirectory) {
|
|
|
35
35
|
export {
|
|
36
36
|
cleanup
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-FBSXXPI4.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3TQW45E7.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PRZT3GEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getEnvironmentData,
|
|
9
9
|
getSensitiveEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K4CH5DVB.js";
|
|
11
11
|
import {
|
|
12
12
|
require_semver
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SGGEUS6Z.js";
|
|
14
14
|
import {
|
|
15
15
|
alwaysLogAnalytics,
|
|
16
16
|
alwaysLogMetrics,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
outputContent,
|
|
26
26
|
outputDebug,
|
|
27
27
|
outputToken
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VW5ARSKE.js";
|
|
29
29
|
import {
|
|
30
30
|
joinPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__require,
|
|
@@ -18916,4 +18916,4 @@ export {
|
|
|
18916
18916
|
fanoutHooks,
|
|
18917
18917
|
reportAnalyticsEvent
|
|
18918
18918
|
};
|
|
18919
|
-
//# sourceMappingURL=chunk-
|
|
18919
|
+
//# sourceMappingURL=chunk-HEGRW3KP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
renderSelectPrompt,
|
|
5
5
|
renderText,
|
|
6
6
|
renderTextPrompt
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VW5ARSKE.js";
|
|
8
8
|
import {
|
|
9
9
|
__export,
|
|
10
10
|
init_cjs_shims
|
|
@@ -142,4 +142,4 @@ export {
|
|
|
142
142
|
isPredefinedTemplate,
|
|
143
143
|
init_exports
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=chunk-
|
|
145
|
+
//# sourceMappingURL=chunk-IEIGMYIK.js.map
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FBSXXPI4.js";
|
|
4
4
|
import {
|
|
5
5
|
getDeepInstallNPMTasks,
|
|
6
6
|
updateCLIDependencies
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DVUYIPTK.js";
|
|
8
8
|
import {
|
|
9
9
|
username
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AKM6Y2EH.js";
|
|
11
11
|
import {
|
|
12
|
+
LocalStorage,
|
|
12
13
|
UnknownPackageManagerError,
|
|
13
14
|
findUpAndReadPackageJson,
|
|
14
15
|
lockfiles,
|
|
15
16
|
writePackageJSON
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SGGEUS6Z.js";
|
|
17
18
|
import {
|
|
18
19
|
AbortError,
|
|
19
20
|
appendFile,
|
|
@@ -41,12 +42,13 @@ import {
|
|
|
41
42
|
renderTasks,
|
|
42
43
|
runWithTimer,
|
|
43
44
|
writeFile
|
|
44
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VW5ARSKE.js";
|
|
45
46
|
import {
|
|
46
47
|
dirname,
|
|
47
48
|
joinPath,
|
|
49
|
+
normalizePath,
|
|
48
50
|
relativePath
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
50
52
|
import {
|
|
51
53
|
require_src
|
|
52
54
|
} from "./chunk-SAO7C4LP.js";
|
|
@@ -7677,6 +7679,7 @@ async function init(options) {
|
|
|
7677
7679
|
const outputDirectory = joinPath(options.directory, hyphenizedName);
|
|
7678
7680
|
const githubRepo = parseGitHubRepositoryReference(options.template);
|
|
7679
7681
|
await ensureAppDirectoryIsAvailable(outputDirectory, hyphenizedName);
|
|
7682
|
+
await clearCache(outputDirectory);
|
|
7680
7683
|
renderInfo({
|
|
7681
7684
|
body: [
|
|
7682
7685
|
`Initializing project with`,
|
|
@@ -7824,6 +7827,11 @@ async function ensureAppDirectoryIsAvailable(directory, name) {
|
|
|
7824
7827
|
A directory with this name (${name}) already exists.
|
|
7825
7828
|
Choose a new name for your app.`);
|
|
7826
7829
|
}
|
|
7830
|
+
async function clearCache(directory) {
|
|
7831
|
+
const appCache = new LocalStorage({ projectName: "shopify-cli-app" });
|
|
7832
|
+
const normalizedDirectory = normalizePath(directory);
|
|
7833
|
+
appCache.delete(normalizedDirectory);
|
|
7834
|
+
}
|
|
7827
7835
|
function detectAdditionalWorkspacesFolders(directory) {
|
|
7828
7836
|
return ["web", "web/frontend"].filter((folder) => fileExistsSync(joinPath(directory, folder)));
|
|
7829
7837
|
}
|
|
@@ -7832,4 +7840,4 @@ var init_default = init;
|
|
|
7832
7840
|
export {
|
|
7833
7841
|
init_default
|
|
7834
7842
|
};
|
|
7835
|
-
//# sourceMappingURL=chunk-
|
|
7843
|
+
//# sourceMappingURL=chunk-J66MLEEF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
platformAndArch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AKM6Y2EH.js";
|
|
4
4
|
import {
|
|
5
5
|
getPackageManager,
|
|
6
6
|
packageManagerFromUserAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SGGEUS6Z.js";
|
|
8
8
|
import {
|
|
9
9
|
addPublicMetadata,
|
|
10
10
|
addSensitiveMetadata,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
cloudEnvironment,
|
|
13
13
|
currentProcessIsGlobal,
|
|
14
14
|
macAddress
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VW5ARSKE.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
19
19
|
import {
|
|
20
20
|
init_cjs_shims
|
|
21
21
|
} from "./chunk-ZPL24Y2D.js";
|
|
@@ -41,6 +41,10 @@ async function startAnalytics({
|
|
|
41
41
|
if (commandClass && Object.prototype.hasOwnProperty.call(commandClass, "analyticsNameOverride")) {
|
|
42
42
|
startCommand = commandClass.analyticsNameOverride() ?? commandContent.command;
|
|
43
43
|
}
|
|
44
|
+
let pluginName = commandClass?.plugin?.name;
|
|
45
|
+
if (commandClass && "customPluginName" in commandClass) {
|
|
46
|
+
pluginName = commandClass.customPluginName;
|
|
47
|
+
}
|
|
44
48
|
await addSensitiveMetadata(() => ({
|
|
45
49
|
commandStartOptions: {
|
|
46
50
|
startTime: currentTime,
|
|
@@ -52,7 +56,7 @@ async function startAnalytics({
|
|
|
52
56
|
cmd_all_launcher: packageManagerFromUserAgent(),
|
|
53
57
|
cmd_all_alias_used: commandContent.alias,
|
|
54
58
|
cmd_all_topic: commandContent.topic,
|
|
55
|
-
cmd_all_plugin:
|
|
59
|
+
cmd_all_plugin: pluginName,
|
|
56
60
|
cmd_all_force: flagIncluded("force", commandClass) ? args.includes("--force") : void 0
|
|
57
61
|
}));
|
|
58
62
|
}
|
|
@@ -97,4 +101,4 @@ export {
|
|
|
97
101
|
getEnvironmentData,
|
|
98
102
|
getSensitiveEnvironmentData
|
|
99
103
|
};
|
|
100
|
-
//# sourceMappingURL=chunk-
|
|
104
|
+
//# sourceMappingURL=chunk-K4CH5DVB.js.map
|
|
@@ -19,7 +19,7 @@ async function warnIfOldNodeVersion() {
|
|
|
19
19
|
const nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
20
20
|
const currentSupportedNodeVersion = 18;
|
|
21
21
|
if (nodeMajorVersion < currentSupportedNodeVersion) {
|
|
22
|
-
const { renderWarning } = await import("./ui-
|
|
22
|
+
const { renderWarning } = await import("./ui-QPCD47N3.js");
|
|
23
23
|
renderWarning({
|
|
24
24
|
headline: "Upgrade to a supported Node version now.",
|
|
25
25
|
body: [
|
|
@@ -53,10 +53,10 @@ async function runCLI(options) {
|
|
|
53
53
|
setupEnvironmentVariables(options);
|
|
54
54
|
forceNoColor();
|
|
55
55
|
await warnIfOldNodeVersion();
|
|
56
|
-
const { errorHandler } = await import("./error-handler-
|
|
57
|
-
const { isDevelopment } = await import("./local-
|
|
56
|
+
const { errorHandler } = await import("./error-handler-N6EENPE5.js");
|
|
57
|
+
const { isDevelopment } = await import("./local-MIX2VMI7.js");
|
|
58
58
|
const oclif = await import("./lib-CTSCLPNV.js");
|
|
59
|
-
const { ShopifyConfig } = await import("./custom-oclif-loader-
|
|
59
|
+
const { ShopifyConfig } = await import("./custom-oclif-loader-T4AG4XMH.js");
|
|
60
60
|
if (isDevelopment()) {
|
|
61
61
|
oclif.default.settings.debug = true;
|
|
62
62
|
}
|
|
@@ -73,8 +73,8 @@ async function runCLI(options) {
|
|
|
73
73
|
}
|
|
74
74
|
async function runCreateCLI(options) {
|
|
75
75
|
setupEnvironmentVariables(options);
|
|
76
|
-
const { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
77
|
-
const { moduleDirectory } = await import("./path-
|
|
76
|
+
const { findUpAndReadPackageJson } = await import("./node-package-manager-AEUKAUCW.js");
|
|
77
|
+
const { moduleDirectory } = await import("./path-CFPIDSWV.js");
|
|
78
78
|
const packageJson = await findUpAndReadPackageJson(moduleDirectory(options.moduleURL));
|
|
79
79
|
const packageName = packageJson.content.name;
|
|
80
80
|
const name = packageName.replace("@shopify/create-", "");
|
|
@@ -102,4 +102,4 @@ export {
|
|
|
102
102
|
runCreateCLI,
|
|
103
103
|
globalFlags
|
|
104
104
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
105
|
+
//# sourceMappingURL=chunk-MQNSIOFR.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7Q7CXWOT.js";
|
|
5
5
|
import {
|
|
6
6
|
init_default as init_default2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J66MLEEF.js";
|
|
8
8
|
import {
|
|
9
9
|
hashString
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K4CH5DVB.js";
|
|
11
11
|
import {
|
|
12
12
|
packageManager,
|
|
13
13
|
packageManagerFromUserAgent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SGGEUS6Z.js";
|
|
15
15
|
import {
|
|
16
16
|
globalFlags
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MQNSIOFR.js";
|
|
18
18
|
import {
|
|
19
19
|
init_default,
|
|
20
20
|
isPredefinedTemplate,
|
|
21
21
|
templates,
|
|
22
22
|
visibleTemplates
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IEIGMYIK.js";
|
|
24
24
|
import {
|
|
25
25
|
AbortError,
|
|
26
26
|
addPublicMetadata,
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
renderWarning,
|
|
38
38
|
terminalSupportsRawMode,
|
|
39
39
|
underscore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VW5ARSKE.js";
|
|
41
41
|
import {
|
|
42
42
|
cwd,
|
|
43
43
|
resolvePath
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
45
45
|
import {
|
|
46
46
|
isTruthy
|
|
47
47
|
} from "./chunk-M2VKB6RG.js";
|
|
@@ -2474,4 +2474,4 @@ var Init = class _Init extends base_command_default {
|
|
|
2474
2474
|
export {
|
|
2475
2475
|
Init
|
|
2476
2476
|
};
|
|
2477
|
-
//# sourceMappingURL=chunk-
|
|
2477
|
+
//# sourceMappingURL=chunk-PGCCR6XB.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/src/public/common/version.ts
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.
|
|
7
|
+
var CLI_KIT_VERSION = "3.65.1";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-PRZT3GEQ.js.map
|
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
require_get_stream,
|
|
16
16
|
runWithTimer,
|
|
17
17
|
writeFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VW5ARSKE.js";
|
|
19
19
|
import {
|
|
20
20
|
envPaths
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5LBEKXRW.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
@@ -22066,6 +22066,7 @@ async function writePackageJSON(directory, packageJSON) {
|
|
|
22066
22066
|
|
|
22067
22067
|
export {
|
|
22068
22068
|
require_semver2 as require_semver,
|
|
22069
|
+
LocalStorage,
|
|
22069
22070
|
yarnLockfile,
|
|
22070
22071
|
npmLockfile,
|
|
22071
22072
|
pnpmLockfile,
|
|
@@ -22127,4 +22128,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
22127
22128
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22128
22129
|
*)
|
|
22129
22130
|
*/
|
|
22130
|
-
//# sourceMappingURL=chunk-
|
|
22131
|
+
//# sourceMappingURL=chunk-SGGEUS6Z.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
environmentVariables,
|
|
6
6
|
pathConstants
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5LBEKXRW.js";
|
|
8
8
|
import {
|
|
9
9
|
cwd,
|
|
10
10
|
joinPath,
|
|
11
11
|
normalizePath,
|
|
12
12
|
relativizePath,
|
|
13
13
|
sniffForPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
15
15
|
import {
|
|
16
16
|
addOrUpdateConcurrentUIEventOutput,
|
|
17
17
|
isTruthy,
|
|
@@ -37368,13 +37368,14 @@ var RawContentToken = class extends ContentToken {
|
|
|
37368
37368
|
var LinkContentToken = class extends ContentToken {
|
|
37369
37369
|
constructor(value, link2, fallback) {
|
|
37370
37370
|
super(value);
|
|
37371
|
-
this.link = link2;
|
|
37371
|
+
this.link = link2 ?? stringifyMessage(value);
|
|
37372
37372
|
this.fallback = fallback;
|
|
37373
37373
|
}
|
|
37374
37374
|
output() {
|
|
37375
37375
|
const text = source_default.green(stringifyMessage(this.value));
|
|
37376
37376
|
const url = this.link ?? "";
|
|
37377
|
-
|
|
37377
|
+
const defaultFallback = this.value === this.link ? text : `${text} ( ${url} )`;
|
|
37378
|
+
return terminalLink(text, url, { fallback: () => this.fallback ?? defaultFallback });
|
|
37378
37379
|
}
|
|
37379
37380
|
};
|
|
37380
37381
|
var CommandContentToken = class extends ContentToken {
|
|
@@ -42619,7 +42620,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
42619
42620
|
try {
|
|
42620
42621
|
await getAndSet();
|
|
42621
42622
|
} catch (error) {
|
|
42622
|
-
const { sendErrorToBugsnag } = await import("./error-handler-
|
|
42623
|
+
const { sendErrorToBugsnag } = await import("./error-handler-N6EENPE5.js");
|
|
42623
42624
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
42624
42625
|
}
|
|
42625
42626
|
}
|
|
@@ -44756,7 +44757,7 @@ var keypress = async (stdin = process.stdin, uiDebugOptions = defaultUIDebugOpti
|
|
|
44756
44757
|
});
|
|
44757
44758
|
});
|
|
44758
44759
|
};
|
|
44759
|
-
function isTTY({ stdin = void 0, uiDebugOptions = defaultUIDebugOptions }) {
|
|
44760
|
+
function isTTY({ stdin = void 0, uiDebugOptions = defaultUIDebugOptions } = {}) {
|
|
44760
44761
|
return Boolean(uiDebugOptions.skipTTYCheck || stdin || terminalSupportsRawMode());
|
|
44761
44762
|
}
|
|
44762
44763
|
function throwInNonTTY({ message, stdin = void 0 }, uiDebugOptions) {
|
|
@@ -44958,4 +44959,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
44958
44959
|
* LICENSE file in the root directory of this source tree.
|
|
44959
44960
|
*)
|
|
44960
44961
|
*/
|
|
44961
|
-
//# sourceMappingURL=chunk-
|
|
44962
|
+
//# sourceMappingURL=chunk-VW5ARSKE.js.map
|
|
@@ -80,6 +80,10 @@ function relativizePath(path, dir = cwd()) {
|
|
|
80
80
|
return relativePath2;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
+
function isSubpath(mainPath, subpath) {
|
|
84
|
+
const relativePath2 = relative(mainPath, subpath);
|
|
85
|
+
return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
|
|
86
|
+
}
|
|
83
87
|
function moduleDirectory(moduleURL) {
|
|
84
88
|
return dirname2(fileURLToPath(moduleURL));
|
|
85
89
|
}
|
|
@@ -112,9 +116,10 @@ export {
|
|
|
112
116
|
basename2 as basename,
|
|
113
117
|
extname2 as extname,
|
|
114
118
|
relativizePath,
|
|
119
|
+
isSubpath,
|
|
115
120
|
moduleDirectory,
|
|
116
121
|
cwd,
|
|
117
122
|
sniffForPath,
|
|
118
123
|
sniffForJson
|
|
119
124
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
125
|
+
//# sourceMappingURL=chunk-Z65QJ5D7.js.map
|
package/dist/commands/init.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Init
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-PGCCR6XB.js";
|
|
4
|
+
import "../chunk-7Q7CXWOT.js";
|
|
5
5
|
import "../chunk-FMKVOTQK.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-J66MLEEF.js";
|
|
7
|
+
import "../chunk-FBSXXPI4.js";
|
|
8
|
+
import "../chunk-DVUYIPTK.js";
|
|
9
|
+
import "../chunk-HEGRW3KP.js";
|
|
10
|
+
import "../chunk-3TQW45E7.js";
|
|
11
|
+
import "../chunk-PRZT3GEQ.js";
|
|
12
12
|
import "../chunk-DL3MKXVR.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-K4CH5DVB.js";
|
|
14
|
+
import "../chunk-AKM6Y2EH.js";
|
|
15
|
+
import "../chunk-SGGEUS6Z.js";
|
|
16
|
+
import "../chunk-MQNSIOFR.js";
|
|
17
|
+
import "../chunk-IEIGMYIK.js";
|
|
18
|
+
import "../chunk-VW5ARSKE.js";
|
|
19
19
|
import "../chunk-LSCXQWNO.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-5LBEKXRW.js";
|
|
21
|
+
import "../chunk-Z65QJ5D7.js";
|
|
22
22
|
import "../chunk-M2VKB6RG.js";
|
|
23
23
|
import "../chunk-SAO7C4LP.js";
|
|
24
24
|
import "../chunk-GJPZCXGT.js";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Init
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-PGCCR6XB.js";
|
|
4
4
|
import {
|
|
5
5
|
errorHandler
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-7Q7CXWOT.js";
|
|
7
7
|
import "../chunk-FMKVOTQK.js";
|
|
8
8
|
import {
|
|
9
9
|
init_default
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-J66MLEEF.js";
|
|
11
|
+
import "../chunk-FBSXXPI4.js";
|
|
12
|
+
import "../chunk-DVUYIPTK.js";
|
|
13
|
+
import "../chunk-HEGRW3KP.js";
|
|
14
|
+
import "../chunk-3TQW45E7.js";
|
|
15
|
+
import "../chunk-PRZT3GEQ.js";
|
|
16
16
|
import "../chunk-DL3MKXVR.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-K4CH5DVB.js";
|
|
18
|
+
import "../chunk-AKM6Y2EH.js";
|
|
19
|
+
import "../chunk-SGGEUS6Z.js";
|
|
20
|
+
import "../chunk-MQNSIOFR.js";
|
|
21
21
|
import {
|
|
22
22
|
init_exports,
|
|
23
23
|
visibleTemplates
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-IEIGMYIK.js";
|
|
25
25
|
import {
|
|
26
26
|
AbortError,
|
|
27
27
|
outputContent,
|
|
28
28
|
outputToken
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-VW5ARSKE.js";
|
|
30
30
|
import "../chunk-LSCXQWNO.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-5LBEKXRW.js";
|
|
32
|
+
import "../chunk-Z65QJ5D7.js";
|
|
33
33
|
import "../chunk-M2VKB6RG.js";
|
|
34
34
|
import {
|
|
35
35
|
require_lib
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
pathConstants,
|
|
7
7
|
sessionConstants,
|
|
8
8
|
systemEnvironmentVariables
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5LBEKXRW.js";
|
|
10
|
+
import "./chunk-Z65QJ5D7.js";
|
|
11
11
|
import "./chunk-T5LLJYYS.js";
|
|
12
12
|
import "./chunk-ZPL24Y2D.js";
|
|
13
13
|
export {
|
|
@@ -19,4 +19,4 @@ export {
|
|
|
19
19
|
sessionConstants,
|
|
20
20
|
systemEnvironmentVariables
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=constants-
|
|
22
|
+
//# sourceMappingURL=constants-24TFXZKQ.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VW5ARSKE.js";
|
|
5
5
|
import "./chunk-LSCXQWNO.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-5LBEKXRW.js";
|
|
7
7
|
import {
|
|
8
8
|
cwd,
|
|
9
9
|
joinPath,
|
|
10
10
|
sniffForPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z65QJ5D7.js";
|
|
12
12
|
import "./chunk-M2VKB6RG.js";
|
|
13
13
|
import {
|
|
14
14
|
require_lib
|
|
@@ -80,4 +80,4 @@ var ShopifyConfig = class extends import_core.Config {
|
|
|
80
80
|
export {
|
|
81
81
|
ShopifyConfig
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
83
|
+
//# sourceMappingURL=custom-oclif-loader-T4AG4XMH.js.map
|