@shopify/cli 3.67.3 → 3.68.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-QK4M5NLW.js → chunk-3M35CLHM.js} +2 -2
- package/dist/{chunk-FPTBJGSU.js → chunk-3Q52FLVU.js} +3 -3
- package/dist/{chunk-FMTK2DLI.js → chunk-43SYBNY3.js} +4 -4
- package/dist/{chunk-ADIIAXPI.js → chunk-6H3CV7RL.js} +3 -3
- package/dist/{chunk-NV2K2JNI.js → chunk-6MAEOVS3.js} +15 -3
- package/dist/{chunk-SK3QXUXV.js → chunk-6RT7XCLB.js} +4 -4
- package/dist/{chunk-67E32Z72.js → chunk-6ZDQFSSJ.js} +5528 -17168
- package/dist/{chunk-QQWDDZPJ.js → chunk-72AFLINH.js} +4 -4
- package/dist/{chunk-OVBHC7XZ.js → chunk-7MDO7W7X.js} +3 -3
- package/dist/{chunk-ESCACI7K.js → chunk-7S76TS4X.js} +5 -5
- package/dist/{chunk-IVO3C5LM.js → chunk-BZ2F2UZZ.js} +3 -3
- package/dist/chunk-EPBXQ43B.js +15959 -0
- package/dist/{chunk-XHO4O3WD.js → chunk-GKSNOFYA.js} +2 -2
- package/dist/{chunk-MP5JBUFB.js → chunk-GLV27A4V.js} +2 -2
- package/dist/{chunk-J44K26AK.js → chunk-HWFFJANJ.js} +3 -3
- package/dist/{chunk-GBZFBWCM.js → chunk-JEUAVIWO.js} +14 -12
- package/dist/{chunk-UE5ILNA5.js → chunk-JF3XJON5.js} +4 -4
- package/dist/{chunk-Y6XYGV3K.js → chunk-M7RWRKXK.js} +3 -3
- package/dist/{chunk-YZHXAE4H.js → chunk-MS2XBA2O.js} +4 -4
- package/dist/{chunk-UOH7XDLM.js → chunk-N2B5M33U.js} +3 -3
- package/dist/{chunk-F2FF5RRS.js → chunk-NOB736ZC.js} +3 -3
- package/dist/{chunk-NBY455BA.js → chunk-NPVFC3AI.js} +4 -4
- package/dist/chunk-O2TXYCMU.js +103 -0
- package/dist/{chunk-SERYSNVE.js → chunk-QAP5YFY6.js} +2 -2
- package/dist/{chunk-UTJGWPED.js → chunk-QNE3KDXA.js} +2 -2
- package/dist/{chunk-VVCAHOHL.js → chunk-RUY5HVC5.js} +2 -2
- package/dist/{chunk-EMUNMNK7.js → chunk-S3KCQ67R.js} +6 -6
- package/dist/{chunk-X2LIPDBQ.js → chunk-SARPUMOJ.js} +4 -4
- package/dist/{chunk-SAKJRSNZ.js → chunk-SFSTMK3J.js} +3 -3
- package/dist/{chunk-7BK74JM2.js → chunk-V54N7BU5.js} +3 -3
- package/dist/{chunk-AYJMV2UJ.js → chunk-X4VIZNM7.js} +2 -2
- package/dist/{chunk-UI7DIACQ.js → chunk-XPDRDFSD.js} +2 -2
- package/dist/{chunk-5GMBDXCT.js → chunk-YESRKQ2L.js} +2 -2
- package/dist/{chunk-CL6KB3RG.js → chunk-YGWIVVUL.js} +7 -3
- package/dist/cli/commands/auth/logout.js +11 -12
- package/dist/cli/commands/auth/logout.test.js +12 -13
- package/dist/cli/commands/debug/command-flags.js +10 -9
- package/dist/cli/commands/demo/catalog.js +11 -11
- package/dist/cli/commands/demo/generate-file.js +11 -11
- package/dist/cli/commands/demo/index.js +11 -11
- package/dist/cli/commands/demo/print-ai-prompt.js +11 -11
- package/dist/cli/commands/docs/generate.js +10 -9
- package/dist/cli/commands/docs/generate.test.js +10 -9
- package/dist/cli/commands/help.js +10 -9
- package/dist/cli/commands/kitchen-sink/async.js +11 -10
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -10
- package/dist/cli/commands/kitchen-sink/index.js +13 -12
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -12
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -10
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -10
- package/dist/cli/commands/kitchen-sink/static.js +11 -10
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -10
- package/dist/cli/commands/search.js +11 -10
- package/dist/cli/commands/upgrade.js +11 -10
- package/dist/cli/commands/version.js +11 -10
- package/dist/cli/commands/version.test.js +11 -10
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/demo.js +2 -2
- package/dist/cli/services/demo.test.js +3 -3
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/{custom-oclif-loader-ROCHTOS5.js → custom-oclif-loader-KLQXTO4F.js} +2 -2
- package/dist/{error-handler-GT7C27BQ.js → error-handler-5FD7IHCB.js} +9 -8
- package/dist/hooks/postrun.js +9 -9
- package/dist/hooks/prerun.js +8 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.js +593 -692
- package/dist/{local-T3UMODTX.js → local-LNHYBD2A.js} +4 -2
- package/dist/{node-V2ZJPWY5.js → node-Y6VIULWD.js} +12 -13
- package/dist/{node-package-manager-PYU7QL5O.js → node-package-manager-6CQ6226U.js} +5 -3
- package/dist/{system-CEM4NSPG.js → system-LDMV4BPS.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-KGCQLCOJ.js → ui-PA5ER7II.js} +2 -2
- package/dist/{workerd-TOCBV52P.js → workerd-APENUASI.js} +12 -13
- package/oclif.manifest.json +15 -52
- package/package.json +6 -6
- package/dist/chunk-3E44DPAU.js +0 -118
- package/dist/chunk-EMJI2MUZ.js +0 -4244
- package/dist/chunk-LCWH3FW5.js +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCollectedLogs,
|
|
3
3
|
collectedLogs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YGWIVVUL.js";
|
|
5
5
|
import {
|
|
6
6
|
init_cjs_shims
|
|
7
7
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
|
|
|
33
33
|
export {
|
|
34
34
|
mockAndCaptureOutput
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-3M35CLHM.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staticService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QNE3KDXA.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MS2XBA2O.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkStatic
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-3Q52FLVU.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-QSUS3GJF.js";
|
|
4
4
|
import {
|
|
5
5
|
demoStepsSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X4VIZNM7.js";
|
|
7
7
|
import {
|
|
8
8
|
base_command_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MS2XBA2O.js";
|
|
10
10
|
import {
|
|
11
11
|
outputInfo,
|
|
12
12
|
renderInfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YGWIVVUL.js";
|
|
14
14
|
import {
|
|
15
15
|
__toESM,
|
|
16
16
|
init_cjs_shims
|
|
@@ -55,4 +55,4 @@ The demo should perform the following steps:
|
|
|
55
55
|
export {
|
|
56
56
|
PrintAIPrompt
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-43SYBNY3.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6MAEOVS3.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YGWIVVUL.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
cliInstallCommand,
|
|
26
26
|
getOutputUpdateCLIReminder
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-6H3CV7RL.js.map
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
fileExists,
|
|
11
11
|
findPathUp,
|
|
12
12
|
glob,
|
|
13
|
+
inferPackageManagerForGlobalCLI,
|
|
13
14
|
isUnitTest,
|
|
14
15
|
mimicFunction,
|
|
15
16
|
outputContent,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
require_get_stream,
|
|
20
21
|
runWithTimer,
|
|
21
22
|
writeFile
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YGWIVVUL.js";
|
|
23
24
|
import {
|
|
24
25
|
envPaths
|
|
25
26
|
} from "./chunk-NZDBLGNM.js";
|
|
@@ -9046,6 +9047,7 @@ __export(node_package_manager_exports, {
|
|
|
9046
9047
|
getPackageManager: () => getPackageManager,
|
|
9047
9048
|
getPackageName: () => getPackageName,
|
|
9048
9049
|
getPackageVersion: () => getPackageVersion,
|
|
9050
|
+
inferPackageManager: () => inferPackageManager,
|
|
9049
9051
|
installNPMDependenciesRecursively: () => installNPMDependenciesRecursively,
|
|
9050
9052
|
installNodeModules: () => installNodeModules,
|
|
9051
9053
|
lockfiles: () => lockfiles,
|
|
@@ -13668,7 +13670,7 @@ async function latestVersion(packageName, options) {
|
|
|
13668
13670
|
}
|
|
13669
13671
|
|
|
13670
13672
|
// ../cli-kit/dist/public/node/node-package-manager.js
|
|
13671
|
-
var import_semver3 = __toESM(require_semver()
|
|
13673
|
+
var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], packageManager = ["yarn", "npm", "pnpm", "bun", "unknown"], UnknownPackageManagerError = class extends AbortError {
|
|
13672
13674
|
constructor() {
|
|
13673
13675
|
super("Unknown package manager");
|
|
13674
13676
|
}
|
|
@@ -13887,6 +13889,15 @@ async function writePackageJSON(directory, packageJSON) {
|
|
|
13887
13889
|
let packagePath = joinPath(directory, "package.json");
|
|
13888
13890
|
await writeFile(packagePath, JSON.stringify(packageJSON, null, 2));
|
|
13889
13891
|
}
|
|
13892
|
+
function inferPackageManager(optionsPackageManager, env = process.env) {
|
|
13893
|
+
if (optionsPackageManager && packageManager.includes(optionsPackageManager))
|
|
13894
|
+
return optionsPackageManager;
|
|
13895
|
+
let usedPackageManager = packageManagerFromUserAgent(env);
|
|
13896
|
+
if (usedPackageManager !== "unknown")
|
|
13897
|
+
return usedPackageManager;
|
|
13898
|
+
let globalPackageManager = inferPackageManagerForGlobalCLI();
|
|
13899
|
+
return globalPackageManager !== "unknown" ? globalPackageManager : "npm";
|
|
13900
|
+
}
|
|
13890
13901
|
|
|
13891
13902
|
export {
|
|
13892
13903
|
require_ajv,
|
|
@@ -13927,6 +13938,7 @@ export {
|
|
|
13927
13938
|
findUpAndReadPackageJson,
|
|
13928
13939
|
addResolutionOrOverride,
|
|
13929
13940
|
writePackageJSON,
|
|
13941
|
+
inferPackageManager,
|
|
13930
13942
|
node_package_manager_exports
|
|
13931
13943
|
};
|
|
13932
13944
|
/*! Bundled license information:
|
|
@@ -13962,4 +13974,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13962
13974
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13963
13975
|
*)
|
|
13964
13976
|
*/
|
|
13965
|
-
//# sourceMappingURL=chunk-
|
|
13977
|
+
//# sourceMappingURL=chunk-6MAEOVS3.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-QSUS3GJF.js";
|
|
4
4
|
import {
|
|
5
5
|
demoStepsSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X4VIZNM7.js";
|
|
7
7
|
import {
|
|
8
8
|
base_command_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MS2XBA2O.js";
|
|
10
10
|
import {
|
|
11
11
|
AbortError,
|
|
12
12
|
fileExists,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
readFile,
|
|
18
18
|
renderAutocompletePrompt,
|
|
19
19
|
writeFile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YGWIVVUL.js";
|
|
21
21
|
import {
|
|
22
22
|
require_lib
|
|
23
23
|
} from "./chunk-BFQFJ7IZ.js";
|
|
@@ -113,4 +113,4 @@ async function selectSteps() {
|
|
|
113
113
|
export {
|
|
114
114
|
GenerateFile
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-6RT7XCLB.js.map
|