@shopify/cli 3.68.1 → 3.69.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/assets/graphiql/style.css +58 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +19 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +24 -1
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +13 -6
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +5 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +10 -25
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -1
- package/dist/assets/hydrogen/starter/package.json +4 -4
- package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
- package/dist/{chunk-BFQFJ7IZ.js → chunk-27ILOE3X.js} +93 -5
- package/dist/{chunk-X4VIZNM7.js → chunk-4P6VDKXH.js} +2 -2
- package/dist/{chunk-6RT7XCLB.js → chunk-4UO6LFBD.js} +5 -5
- package/dist/{chunk-SFSTMK3J.js → chunk-5W3WRWHE.js} +3 -3
- package/dist/{chunk-MS2XBA2O.js → chunk-7SCNBKRX.js} +7 -7
- package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
- package/dist/{chunk-N2B5M33U.js → chunk-CH6PR2VT.js} +3 -3
- package/dist/{chunk-SARPUMOJ.js → chunk-DQISYPN6.js} +4 -4
- package/dist/{chunk-3Q52FLVU.js → chunk-DYVC757D.js} +3 -3
- package/dist/{chunk-EPBXQ43B.js → chunk-E4FPHMGU.js} +8 -8
- package/dist/{chunk-JEUAVIWO.js → chunk-EFRDEP5S.js} +76 -77
- package/dist/{chunk-QNE3KDXA.js → chunk-EL4JXI6O.js} +2 -2
- package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
- package/dist/{chunk-NPVFC3AI.js → chunk-ITNHP733.js} +4 -4
- package/dist/{chunk-O2TXYCMU.js → chunk-JECUABVU.js} +3 -3
- package/dist/{chunk-S3KCQ67R.js → chunk-K55EL7HQ.js} +11 -11
- package/dist/{chunk-6H3CV7RL.js → chunk-KIVJKHH4.js} +3 -3
- package/dist/{chunk-V54N7BU5.js → chunk-KOQHK34U.js} +3 -3
- package/dist/{chunk-6MAEOVS3.js → chunk-KWVMII6E.js} +3 -3
- package/dist/{chunk-XPDRDFSD.js → chunk-KXCAVMHA.js} +3 -3
- package/dist/{chunk-6ZDQFSSJ.js → chunk-LQ7IL4AX.js} +142 -860
- package/dist/{chunk-M7RWRKXK.js → chunk-LSXK7YFC.js} +4 -4
- package/dist/{chunk-YESRKQ2L.js → chunk-LXEX6UNB.js} +2 -2
- package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
- package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
- package/dist/{chunk-RUY5HVC5.js → chunk-OA6RDR4W.js} +2 -2
- package/dist/{chunk-QAP5YFY6.js → chunk-OFSGLPHJ.js} +2 -2
- package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
- package/dist/{chunk-3M35CLHM.js → chunk-PZSU4QTH.js} +2 -2
- package/dist/{chunk-GLV27A4V.js → chunk-SS3JYL5S.js} +2 -2
- package/dist/{chunk-HWFFJANJ.js → chunk-SSVHNTMB.js} +3 -3
- package/dist/{chunk-7MDO7W7X.js → chunk-TM426SS3.js} +3 -3
- package/dist/{chunk-NOB736ZC.js → chunk-TODOEE5F.js} +3 -3
- package/dist/{chunk-7S76TS4X.js → chunk-TRFLZOJU.js} +5 -5
- package/dist/{chunk-72AFLINH.js → chunk-VSXWSKVK.js} +4 -4
- package/dist/{chunk-YGWIVVUL.js → chunk-VUQJSBXL.js} +161 -39
- package/dist/{chunk-GKSNOFYA.js → chunk-WOBGT6C6.js} +2 -2
- package/dist/{chunk-BZ2F2UZZ.js → chunk-YEITDZ7O.js} +4 -4
- package/dist/{chunk-JF3XJON5.js → chunk-YV6SWFDE.js} +5 -5
- package/dist/{chunk-43SYBNY3.js → chunk-ZKXBLV2V.js} +4 -4
- package/dist/cli/commands/auth/logout.js +15 -17
- package/dist/cli/commands/auth/logout.test.js +16 -18
- package/dist/cli/commands/debug/command-flags.js +14 -16
- package/dist/cli/commands/demo/catalog.js +15 -17
- package/dist/cli/commands/demo/generate-file.js +15 -17
- package/dist/cli/commands/demo/index.js +15 -17
- package/dist/cli/commands/demo/print-ai-prompt.js +15 -17
- package/dist/cli/commands/docs/generate.js +14 -16
- package/dist/cli/commands/docs/generate.test.js +14 -16
- package/dist/cli/commands/help.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/index.js +17 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
- package/dist/cli/commands/search.js +15 -17
- package/dist/cli/commands/upgrade.js +15 -17
- package/dist/cli/commands/version.js +15 -17
- package/dist/cli/commands/version.test.js +15 -17
- package/dist/cli/services/commands/search.js +7 -9
- package/dist/cli/services/commands/search.test.js +7 -9
- package/dist/cli/services/commands/version.js +8 -10
- package/dist/cli/services/commands/version.test.js +9 -11
- package/dist/cli/services/demo.js +7 -9
- package/dist/cli/services/demo.test.js +7 -9
- package/dist/cli/services/kitchen-sink/async.js +7 -9
- package/dist/cli/services/kitchen-sink/prompts.js +7 -9
- package/dist/cli/services/kitchen-sink/static.js +7 -9
- package/dist/cli/services/upgrade.js +8 -10
- package/dist/cli/services/upgrade.test.js +10 -12
- package/dist/{constants-TR6ABVLJ.js → constants-T7JXE5K7.js} +2 -2
- package/dist/{custom-oclif-loader-KLQXTO4F.js → custom-oclif-loader-ETQSAFQG.js} +9 -11
- package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
- package/dist/{error-handler-5FD7IHCB.js → error-handler-ITARI4R7.js} +13 -15
- package/dist/hooks/postrun.js +14 -15
- package/dist/hooks/prerun.js +12 -14
- package/dist/index.js +4496 -3687
- package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
- package/dist/{local-LNHYBD2A.js → local-JOQLVNNB.js} +7 -11
- package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
- package/dist/{node-Y6VIULWD.js → node-XBEXHDBO.js} +18 -20
- package/dist/{node-package-manager-6CQ6226U.js → node-package-manager-EQM2DXHD.js} +8 -10
- package/dist/out-ZDSLKX4N.js +7 -0
- package/dist/{system-LDMV4BPS.js → system-VHEQK233.js} +7 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PA5ER7II.js → ui-SWA4K4YR.js} +7 -9
- package/dist/{workerd-APENUASI.js → workerd-QAI4NP7E.js} +17 -19
- package/oclif.manifest.json +30 -49
- package/package.json +19 -8
- package/dist/assets/auth-error.html +0 -23
- package/dist/assets/empty-url.html +0 -23
- package/dist/assets/favicon.svg +0 -26
- package/dist/assets/missing-code.html +0 -23
- package/dist/assets/missing-state.html +0 -23
- package/dist/assets/style.css +0 -58
- package/dist/assets/success.html +0 -20
- package/dist/chunk-2AW6NZQ5.js +0 -101
- package/dist/chunk-QETDXAFX.js +0 -106
- package/dist/lib-H3ZZGS7I.js +0 -1322
- package/dist/out-66YUO4CT.js +0 -7
- package/dist/templates/theme-extension/assets/thumbs-up.png +0 -0
- package/dist/templates/theme-extension/blocks/star_rating.liquid.raw +0 -21
- package/dist/templates/theme-extension/locales/en.default.json +0 -10
- package/dist/templates/theme-extension/shopify.extension.toml.liquid +0 -3
- package/dist/templates/theme-extension/snippets/stars.liquid.raw +0 -10
- package/dist/templates/ui-extensions/projects/product_subscription/package.json.liquid +0 -25
- package/dist/templates/ui-extensions/projects/product_subscription/shopify.extension.toml.liquid +0 -3
- package/dist/templates/ui-extensions/projects/product_subscription/src/index.liquid +0 -46
- package/dist/templates/ui-extensions/projects/web_pixel_extension/README.md +0 -23
- package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +0 -9
- package/dist/templates/ui-extensions/projects/web_pixel_extension/shopify.extension.toml.liquid +0 -16
- package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +0 -10
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
demo
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4P6VDKXH.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7SCNBKRX.js";
|
|
7
7
|
import {
|
|
8
8
|
outputInfo,
|
|
9
9
|
readFile,
|
|
10
10
|
renderAutocompletePrompt
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VUQJSBXL.js";
|
|
12
12
|
import {
|
|
13
13
|
joinPath
|
|
14
14
|
} from "./chunk-T2GATXSP.js";
|
|
@@ -42,4 +42,4 @@ var Catalog = class extends base_command_default {
|
|
|
42
42
|
export {
|
|
43
43
|
Catalog
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-ITNHP733.js.map
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
remove,
|
|
9
9
|
setLastSeenAuthMethod,
|
|
10
10
|
setLastSeenUserIdAfterAuth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LQ7IL4AX.js";
|
|
12
12
|
import {
|
|
13
13
|
BugError,
|
|
14
14
|
outputContent,
|
|
15
15
|
outputDebug,
|
|
16
16
|
outputToken
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VUQJSBXL.js";
|
|
18
18
|
import {
|
|
19
19
|
init_cjs_shims
|
|
20
20
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -100,4 +100,4 @@ export {
|
|
|
100
100
|
ensureAuthenticatedBusinessPlatform,
|
|
101
101
|
logout
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=chunk-
|
|
103
|
+
//# sourceMappingURL=chunk-JECUABVU.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E4FPHMGU.js";
|
|
5
5
|
import {
|
|
6
6
|
getEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LQ7IL4AX.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KWVMII6E.js";
|
|
11
11
|
import {
|
|
12
12
|
require_once
|
|
13
13
|
} from "./chunk-O5K4AU7Q.js";
|
|
14
14
|
import {
|
|
15
15
|
CLI_KIT_VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WOBGT6C6.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
outputInfo,
|
|
27
27
|
printEventsJson,
|
|
28
28
|
require_stacktracey,
|
|
29
|
-
|
|
30
|
-
} from "./chunk-
|
|
29
|
+
shouldReportErrorAsUnexpected
|
|
30
|
+
} from "./chunk-VUQJSBXL.js";
|
|
31
31
|
import {
|
|
32
32
|
bugsnagApiKey,
|
|
33
33
|
reportingRateLimit
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-P7JUHQKL.js";
|
|
35
35
|
import {
|
|
36
36
|
require_lib
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-27ILOE3X.js";
|
|
38
38
|
import {
|
|
39
39
|
cwd,
|
|
40
40
|
isAbsolutePath,
|
|
@@ -2055,7 +2055,7 @@ async function errorHandler(error, config) {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
var reportError = async (error, config) => {
|
|
2057
2057
|
let exitMode = "expected_error";
|
|
2058
|
-
|
|
2058
|
+
shouldReportErrorAsUnexpected(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
|
|
2059
2059
|
};
|
|
2060
2060
|
async function sendErrorToBugsnag(error, exitMode) {
|
|
2061
2061
|
if (import_core.settings.debug)
|
|
@@ -2087,7 +2087,7 @@ ${formattedStacktrace}`;
|
|
|
2087
2087
|
})), { error: reportableError, reported: report, unhandled };
|
|
2088
2088
|
}
|
|
2089
2089
|
function cleanStackFrameFilePath({ currentFilePath, projectRoot, pluginLocations }) {
|
|
2090
|
-
let fullLocation = isAbsolutePath(currentFilePath) ? currentFilePath : joinPath(projectRoot, currentFilePath), matchingPluginPath = pluginLocations.filter(({ pluginPath }) => fullLocation.
|
|
2090
|
+
let fullLocation = isAbsolutePath(currentFilePath) ? currentFilePath : joinPath(projectRoot, currentFilePath), matchingPluginPath = pluginLocations.filter(({ pluginPath }) => fullLocation.startsWith(pluginPath))[0];
|
|
2091
2091
|
return matchingPluginPath !== void 0 ? joinPath(matchingPluginPath.name, relativePath(matchingPluginPath.pluginPath, fullLocation)) : currentFilePath.replace(/.*node_modules\//, "");
|
|
2092
2092
|
}
|
|
2093
2093
|
async function registerCleanBugsnagErrorsFromWithinPlugins(config) {
|
|
@@ -2152,4 +2152,4 @@ export {
|
|
|
2152
2152
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2153
2153
|
addBugsnagMetadata
|
|
2154
2154
|
};
|
|
2155
|
-
//# sourceMappingURL=chunk-
|
|
2155
|
+
//# sourceMappingURL=chunk-K55EL7HQ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KWVMII6E.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VUQJSBXL.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-KIVJKHH4.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
prompts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SS3JYL5S.js";
|
|
4
4
|
import {
|
|
5
5
|
base_command_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7SCNBKRX.js";
|
|
7
7
|
import {
|
|
8
8
|
init_cjs_shims
|
|
9
9
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
|
|
|
25
25
|
export {
|
|
26
26
|
KitchenSinkPrompts
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-KOQHK34U.js.map
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
require_get_stream,
|
|
21
21
|
runWithTimer,
|
|
22
22
|
writeFile
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VUQJSBXL.js";
|
|
24
24
|
import {
|
|
25
25
|
envPaths
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-P7JUHQKL.js";
|
|
27
27
|
import {
|
|
28
28
|
dirname,
|
|
29
29
|
joinPath
|
|
@@ -13974,4 +13974,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13974
13974
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13975
13975
|
*)
|
|
13976
13976
|
*/
|
|
13977
|
-
//# sourceMappingURL=chunk-
|
|
13977
|
+
//# sourceMappingURL=chunk-KWVMII6E.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
base_command_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7SCNBKRX.js";
|
|
4
4
|
import {
|
|
5
5
|
require_lib
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-27ILOE3X.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM,
|
|
9
9
|
init_cjs_shims
|
|
@@ -43,4 +43,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
|
|
|
43
43
|
export {
|
|
44
44
|
HelpCommand
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-KXCAVMHA.js.map
|