@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.
Files changed (85) hide show
  1. package/dist/{chunk-QK4M5NLW.js → chunk-3M35CLHM.js} +2 -2
  2. package/dist/{chunk-FPTBJGSU.js → chunk-3Q52FLVU.js} +3 -3
  3. package/dist/{chunk-FMTK2DLI.js → chunk-43SYBNY3.js} +4 -4
  4. package/dist/{chunk-ADIIAXPI.js → chunk-6H3CV7RL.js} +3 -3
  5. package/dist/{chunk-NV2K2JNI.js → chunk-6MAEOVS3.js} +15 -3
  6. package/dist/{chunk-SK3QXUXV.js → chunk-6RT7XCLB.js} +4 -4
  7. package/dist/{chunk-67E32Z72.js → chunk-6ZDQFSSJ.js} +5528 -17168
  8. package/dist/{chunk-QQWDDZPJ.js → chunk-72AFLINH.js} +4 -4
  9. package/dist/{chunk-OVBHC7XZ.js → chunk-7MDO7W7X.js} +3 -3
  10. package/dist/{chunk-ESCACI7K.js → chunk-7S76TS4X.js} +5 -5
  11. package/dist/{chunk-IVO3C5LM.js → chunk-BZ2F2UZZ.js} +3 -3
  12. package/dist/chunk-EPBXQ43B.js +15959 -0
  13. package/dist/{chunk-XHO4O3WD.js → chunk-GKSNOFYA.js} +2 -2
  14. package/dist/{chunk-MP5JBUFB.js → chunk-GLV27A4V.js} +2 -2
  15. package/dist/{chunk-J44K26AK.js → chunk-HWFFJANJ.js} +3 -3
  16. package/dist/{chunk-GBZFBWCM.js → chunk-JEUAVIWO.js} +14 -12
  17. package/dist/{chunk-UE5ILNA5.js → chunk-JF3XJON5.js} +4 -4
  18. package/dist/{chunk-Y6XYGV3K.js → chunk-M7RWRKXK.js} +3 -3
  19. package/dist/{chunk-YZHXAE4H.js → chunk-MS2XBA2O.js} +4 -4
  20. package/dist/{chunk-UOH7XDLM.js → chunk-N2B5M33U.js} +3 -3
  21. package/dist/{chunk-F2FF5RRS.js → chunk-NOB736ZC.js} +3 -3
  22. package/dist/{chunk-NBY455BA.js → chunk-NPVFC3AI.js} +4 -4
  23. package/dist/chunk-O2TXYCMU.js +103 -0
  24. package/dist/{chunk-SERYSNVE.js → chunk-QAP5YFY6.js} +2 -2
  25. package/dist/{chunk-UTJGWPED.js → chunk-QNE3KDXA.js} +2 -2
  26. package/dist/{chunk-VVCAHOHL.js → chunk-RUY5HVC5.js} +2 -2
  27. package/dist/{chunk-EMUNMNK7.js → chunk-S3KCQ67R.js} +6 -6
  28. package/dist/{chunk-X2LIPDBQ.js → chunk-SARPUMOJ.js} +4 -4
  29. package/dist/{chunk-SAKJRSNZ.js → chunk-SFSTMK3J.js} +3 -3
  30. package/dist/{chunk-7BK74JM2.js → chunk-V54N7BU5.js} +3 -3
  31. package/dist/{chunk-AYJMV2UJ.js → chunk-X4VIZNM7.js} +2 -2
  32. package/dist/{chunk-UI7DIACQ.js → chunk-XPDRDFSD.js} +2 -2
  33. package/dist/{chunk-5GMBDXCT.js → chunk-YESRKQ2L.js} +2 -2
  34. package/dist/{chunk-CL6KB3RG.js → chunk-YGWIVVUL.js} +7 -3
  35. package/dist/cli/commands/auth/logout.js +11 -12
  36. package/dist/cli/commands/auth/logout.test.js +12 -13
  37. package/dist/cli/commands/debug/command-flags.js +10 -9
  38. package/dist/cli/commands/demo/catalog.js +11 -11
  39. package/dist/cli/commands/demo/generate-file.js +11 -11
  40. package/dist/cli/commands/demo/index.js +11 -11
  41. package/dist/cli/commands/demo/print-ai-prompt.js +11 -11
  42. package/dist/cli/commands/docs/generate.js +10 -9
  43. package/dist/cli/commands/docs/generate.test.js +10 -9
  44. package/dist/cli/commands/help.js +10 -9
  45. package/dist/cli/commands/kitchen-sink/async.js +11 -10
  46. package/dist/cli/commands/kitchen-sink/async.test.js +11 -10
  47. package/dist/cli/commands/kitchen-sink/index.js +13 -12
  48. package/dist/cli/commands/kitchen-sink/index.test.js +13 -12
  49. package/dist/cli/commands/kitchen-sink/prompts.js +11 -10
  50. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -10
  51. package/dist/cli/commands/kitchen-sink/static.js +11 -10
  52. package/dist/cli/commands/kitchen-sink/static.test.js +11 -10
  53. package/dist/cli/commands/search.js +11 -10
  54. package/dist/cli/commands/upgrade.js +11 -10
  55. package/dist/cli/commands/version.js +11 -10
  56. package/dist/cli/commands/version.test.js +11 -10
  57. package/dist/cli/services/commands/search.js +2 -2
  58. package/dist/cli/services/commands/search.test.js +2 -2
  59. package/dist/cli/services/commands/version.js +3 -3
  60. package/dist/cli/services/commands/version.test.js +4 -4
  61. package/dist/cli/services/demo.js +2 -2
  62. package/dist/cli/services/demo.test.js +3 -3
  63. package/dist/cli/services/kitchen-sink/async.js +2 -2
  64. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  65. package/dist/cli/services/kitchen-sink/static.js +2 -2
  66. package/dist/cli/services/upgrade.js +3 -3
  67. package/dist/cli/services/upgrade.test.js +5 -5
  68. package/dist/{custom-oclif-loader-ROCHTOS5.js → custom-oclif-loader-KLQXTO4F.js} +2 -2
  69. package/dist/{error-handler-GT7C27BQ.js → error-handler-5FD7IHCB.js} +9 -8
  70. package/dist/hooks/postrun.js +9 -9
  71. package/dist/hooks/prerun.js +8 -6
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.js +593 -692
  74. package/dist/{local-T3UMODTX.js → local-LNHYBD2A.js} +4 -2
  75. package/dist/{node-V2ZJPWY5.js → node-Y6VIULWD.js} +12 -13
  76. package/dist/{node-package-manager-PYU7QL5O.js → node-package-manager-6CQ6226U.js} +5 -3
  77. package/dist/{system-CEM4NSPG.js → system-LDMV4BPS.js} +2 -2
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/dist/{ui-KGCQLCOJ.js → ui-PA5ER7II.js} +2 -2
  80. package/dist/{workerd-TOCBV52P.js → workerd-APENUASI.js} +12 -13
  81. package/oclif.manifest.json +15 -52
  82. package/package.json +6 -6
  83. package/dist/chunk-3E44DPAU.js +0 -118
  84. package/dist/chunk-EMJI2MUZ.js +0 -4244
  85. package/dist/chunk-LCWH3FW5.js +0 -33
@@ -17,7 +17,7 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-CL6KB3RG.js";
20
+ } from "./chunk-YGWIVVUL.js";
21
21
  import "./chunk-QETDXAFX.js";
22
22
  import "./chunk-NZDBLGNM.js";
23
23
  import "./chunk-BFQFJ7IZ.js";
@@ -54,4 +54,4 @@ export {
54
54
  renderTextPrompt,
55
55
  renderWarning
56
56
  };
57
- //# sourceMappingURL=ui-KGCQLCOJ.js.map
57
+ //# sourceMappingURL=ui-PA5ER7II.js.map
@@ -10,20 +10,19 @@ import {
10
10
  importLocal,
11
11
  logRequestLine,
12
12
  setConstructors
13
- } from "./chunk-GBZFBWCM.js";
14
- import "./chunk-EMJI2MUZ.js";
15
- import "./chunk-LCWH3FW5.js";
16
- import "./chunk-NLUGD7PZ.js";
17
- import "./chunk-YZHXAE4H.js";
18
- import "./chunk-EMUNMNK7.js";
19
- import "./chunk-67E32Z72.js";
13
+ } from "./chunk-JEUAVIWO.js";
14
+ import "./chunk-O2TXYCMU.js";
15
+ import "./chunk-MS2XBA2O.js";
16
+ import "./chunk-S3KCQ67R.js";
17
+ import "./chunk-EPBXQ43B.js";
18
+ import "./chunk-6ZDQFSSJ.js";
20
19
  import "./chunk-VSLR7ET4.js";
21
- import "./chunk-3E44DPAU.js";
22
- import "./chunk-SERYSNVE.js";
23
- import "./chunk-NV2K2JNI.js";
20
+ import "./chunk-QAP5YFY6.js";
21
+ import "./chunk-6MAEOVS3.js";
24
22
  import "./chunk-BYPQXSAL.js";
25
23
  import "./chunk-O5K4AU7Q.js";
26
- import "./chunk-XHO4O3WD.js";
24
+ import "./chunk-GKSNOFYA.js";
25
+ import "./chunk-NLUGD7PZ.js";
27
26
  import {
28
27
  AbortError,
29
28
  createFileReadStream,
@@ -31,7 +30,7 @@ import {
31
30
  readFile,
32
31
  renderSuccess,
33
32
  source_default
34
- } from "./chunk-CL6KB3RG.js";
33
+ } from "./chunk-YGWIVVUL.js";
35
34
  import "./chunk-QETDXAFX.js";
36
35
  import "./chunk-NZDBLGNM.js";
37
36
  import "./chunk-BFQFJ7IZ.js";
@@ -173,4 +172,4 @@ async function startWorkerdServer({
173
172
  export {
174
173
  startWorkerdServer
175
174
  };
176
- //# sourceMappingURL=workerd-TOCBV52P.js.map
175
+ //# sourceMappingURL=workerd-APENUASI.js.map
@@ -348,8 +348,8 @@
348
348
  "args": {
349
349
  },
350
350
  "customPluginName": "@shopify/app",
351
- "description": "\"Builds the app\" (https://shopify.dev/docs/api/shopify-cli/app/app-build) and lets you preview it on a \"development store\" (https://shopify.dev/docs/apps/tools/development-stores) or \"Plus sandbox store\" (https://help.shopify.com/partners/dashboard/managing-stores/plus-sandbox-store).\n\n To preview your app on a development store or Plus sandbox store, Shopify CLI walks you through the following steps. If you've run `dev` before, then your settings are saved and some of these steps are skipped. You can reset these configurations using `dev --reset` to go through all of them again:\n\n- Associating your project with an app associated with your Partner account or organization, or creating a new app.\n- Selecting a development store or Plus sandbox store to use for testing. If you have only one store, then it's selected automatically.\n- Installing your app on the store using the provided install link.\n- Creating a tunnel between your local environment and the store using Cloudflare.\n\n You can use your own tunneling software instead, by passing your tunnel URL with the `--tunnel-url` flag.\n- Updating the app URLs that are set in the Partner Dashboard.\n\n To avoid overwriting any URLs that are already set, select the No, never option. If you select this option, then you're provided with URLs that you can manually add in the Partner Dashboard so you can preview your app.\n\n- Enabling development store preview for extensions.\n- Serving \"GraphiQL for the Admin API\" (https://shopify.dev/docs/apps/tools/graphiql-admin-api#use-a-local-graphiql-instance) using your app's credentials and access scopes.\n- Building and serving your app and app extensions.\n\nIf you're using the PHP or Ruby app template, then you need to complete the following steps before you can preview your app for the first time:\n\n- PHP: \"Set up your Laravel app\" (https://github.com/Shopify/shopify-app-template-php#setting-up-your-laravel-app)\n- Ruby: \"Set up your Rails app\" (https://github.com/Shopify/shopify-app-template-ruby#setting-up-your-rails-app)\n\n> Caution: To use a development store or Plus sandbox store with Shopify CLI, you need to be the store owner, or have a \"staff account\" (https://help.shopify.com/manual/your-account/staff-accounts) on the store. Staff accounts are created automatically the first time you access a development store with your Partner staff account through the Partner Dashboard.\n",
352
- "descriptionWithMarkdown": "[Builds the app](https://shopify.dev/docs/api/shopify-cli/app/app-build) and lets you preview it on a [development store](https://shopify.dev/docs/apps/tools/development-stores) or [Plus sandbox store](https://help.shopify.com/partners/dashboard/managing-stores/plus-sandbox-store).\n\n To preview your app on a development store or Plus sandbox store, Shopify CLI walks you through the following steps. If you've run `dev` before, then your settings are saved and some of these steps are skipped. You can reset these configurations using `dev --reset` to go through all of them again:\n\n- Associating your project with an app associated with your Partner account or organization, or creating a new app.\n- Selecting a development store or Plus sandbox store to use for testing. If you have only one store, then it's selected automatically.\n- Installing your app on the store using the provided install link.\n- Creating a tunnel between your local environment and the store using Cloudflare.\n\n You can use your own tunneling software instead, by passing your tunnel URL with the `--tunnel-url` flag.\n- Updating the app URLs that are set in the Partner Dashboard.\n\n To avoid overwriting any URLs that are already set, select the No, never option. If you select this option, then you're provided with URLs that you can manually add in the Partner Dashboard so you can preview your app.\n\n- Enabling development store preview for extensions.\n- Serving [GraphiQL for the Admin API](https://shopify.dev/docs/apps/tools/graphiql-admin-api#use-a-local-graphiql-instance) using your app's credentials and access scopes.\n- Building and serving your app and app extensions.\n\nIf you're using the PHP or Ruby app template, then you need to complete the following steps before you can preview your app for the first time:\n\n- PHP: [Set up your Laravel app](https://github.com/Shopify/shopify-app-template-php#setting-up-your-laravel-app)\n- Ruby: [Set up your Rails app](https://github.com/Shopify/shopify-app-template-ruby#setting-up-your-rails-app)\n\n> Caution: To use a development store or Plus sandbox store with Shopify CLI, you need to be the store owner, or have a [staff account](https://help.shopify.com/manual/your-account/staff-accounts) on the store. Staff accounts are created automatically the first time you access a development store with your Partner staff account through the Partner Dashboard.\n",
351
+ "description": "\"Builds the app\" (https://shopify.dev/docs/api/shopify-cli/app/app-build) and lets you preview it on a \"development store\" (https://shopify.dev/docs/apps/tools/development-stores) or \"Plus sandbox store\" (https://help.shopify.com/partners/dashboard/managing-stores/plus-sandbox-store).\n\n> Note: Development store preview of extension drafts is not supported for Plus sandbox stores. You must `deploy` your app.\n\n To preview your app on a development store or Plus sandbox store, Shopify CLI walks you through the following steps. If you've run `dev` before, then your settings are saved and some of these steps are skipped. You can reset these configurations using `dev --reset` to go through all of them again:\n\n- Associating your project with an app associated with your Partner account or organization, or creating a new app.\n- Selecting a development store or Plus sandbox store to use for testing. If you have only one store, then it's selected automatically.\n- Installing your app on the store using the provided install link.\n- Creating a tunnel between your local environment and the store using Cloudflare.\n\n You can use your own tunneling software instead, by passing your tunnel URL with the `--tunnel-url` flag.\n- Updating the app URLs that are set in the Partner Dashboard.\n\n To avoid overwriting any URLs that are already set, select the No, never option. If you select this option, then you're provided with URLs that you can manually add in the Partner Dashboard so you can preview your app.\n\n- Enabling development store preview for extensions.\n- Serving \"GraphiQL for the Admin API\" (https://shopify.dev/docs/apps/tools/graphiql-admin-api#use-a-local-graphiql-instance) using your app's credentials and access scopes.\n- Building and serving your app and app extensions.\n\nIf you're using the PHP or Ruby app template, then you need to complete the following steps before you can preview your app for the first time:\n\n- PHP: \"Set up your Laravel app\" (https://github.com/Shopify/shopify-app-template-php#setting-up-your-laravel-app)\n- Ruby: \"Set up your Rails app\" (https://github.com/Shopify/shopify-app-template-ruby#setting-up-your-rails-app)\n\n> Caution: To use a development store or Plus sandbox store with Shopify CLI, you need to be the store owner, or have a \"staff account\" (https://help.shopify.com/manual/your-account/staff-accounts) on the store. Staff accounts are created automatically the first time you access a development store with your Partner staff account through the Partner Dashboard.\n",
352
+ "descriptionWithMarkdown": "[Builds the app](https://shopify.dev/docs/api/shopify-cli/app/app-build) and lets you preview it on a [development store](https://shopify.dev/docs/apps/tools/development-stores) or [Plus sandbox store](https://help.shopify.com/partners/dashboard/managing-stores/plus-sandbox-store).\n\n> Note: Development store preview of extension drafts is not supported for Plus sandbox stores. You must `deploy` your app.\n\n To preview your app on a development store or Plus sandbox store, Shopify CLI walks you through the following steps. If you've run `dev` before, then your settings are saved and some of these steps are skipped. You can reset these configurations using `dev --reset` to go through all of them again:\n\n- Associating your project with an app associated with your Partner account or organization, or creating a new app.\n- Selecting a development store or Plus sandbox store to use for testing. If you have only one store, then it's selected automatically.\n- Installing your app on the store using the provided install link.\n- Creating a tunnel between your local environment and the store using Cloudflare.\n\n You can use your own tunneling software instead, by passing your tunnel URL with the `--tunnel-url` flag.\n- Updating the app URLs that are set in the Partner Dashboard.\n\n To avoid overwriting any URLs that are already set, select the No, never option. If you select this option, then you're provided with URLs that you can manually add in the Partner Dashboard so you can preview your app.\n\n- Enabling development store preview for extensions.\n- Serving [GraphiQL for the Admin API](https://shopify.dev/docs/apps/tools/graphiql-admin-api#use-a-local-graphiql-instance) using your app's credentials and access scopes.\n- Building and serving your app and app extensions.\n\nIf you're using the PHP or Ruby app template, then you need to complete the following steps before you can preview your app for the first time:\n\n- PHP: [Set up your Laravel app](https://github.com/Shopify/shopify-app-template-php#setting-up-your-laravel-app)\n- Ruby: [Set up your Rails app](https://github.com/Shopify/shopify-app-template-ruby#setting-up-your-rails-app)\n\n> Caution: To use a development store or Plus sandbox store with Shopify CLI, you need to be the store owner, or have a [staff account](https://help.shopify.com/manual/your-account/staff-accounts) on the store. Staff accounts are created automatically the first time you access a development store with your Partner staff account through the Partner Dashboard.\n",
353
353
  "flags": {
354
354
  "api-key": {
355
355
  "description": "The API key of your app.",
@@ -681,7 +681,6 @@
681
681
  "customPluginName": "@shopify/app",
682
682
  "description": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.",
683
683
  "descriptionWithMarkdown": "Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.",
684
- "enableJsonFlag": false,
685
684
  "flags": {
686
685
  "config": {
687
686
  "char": "c",
@@ -738,7 +737,6 @@
738
737
  "customPluginName": "@shopify/app",
739
738
  "description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).",
740
739
  "descriptionWithMarkdown": "Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).",
741
- "enableJsonFlag": false,
742
740
  "flags": {
743
741
  "api-key": {
744
742
  "description": "Application's API key",
@@ -846,7 +844,6 @@
846
844
  "customPluginName": "@shopify/app",
847
845
  "description": "Runs the function from your current directory for \"testing purposes\" (https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to \"Shopify Functions error handling\" (https://shopify.dev/docs/api/functions/errors).",
848
846
  "descriptionWithMarkdown": "Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).",
849
- "enableJsonFlag": false,
850
847
  "flags": {
851
848
  "config": {
852
849
  "char": "c",
@@ -931,7 +928,6 @@
931
928
  "customPluginName": "@shopify/app",
932
929
  "description": "Generates the latest \"GraphQL schema\" (https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
933
930
  "descriptionWithMarkdown": "Generates the latest [GraphQL schema](https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
934
- "enableJsonFlag": false,
935
931
  "flags": {
936
932
  "api-key": {
937
933
  "description": "The API key to fetch the schema with.",
@@ -1020,7 +1016,6 @@
1020
1016
  "customPluginName": "@shopify/app",
1021
1017
  "description": "Creates GraphQL types based on your \"input query\" (https://shopify.dev/docs/apps/functions/input-output#input) for a function written in JavaScript.",
1022
1018
  "descriptionWithMarkdown": "Creates GraphQL types based on your [input query](https://shopify.dev/docs/apps/functions/input-output#input) for a function written in JavaScript.",
1023
- "enableJsonFlag": false,
1024
1019
  "flags": {
1025
1020
  "config": {
1026
1021
  "char": "c",
@@ -1230,7 +1225,6 @@
1230
1225
  "customPluginName": "@shopify/app",
1231
1226
  "description": "\"DEPRECATED, use `app function schema`] Generates the latest [GraphQL schema\" (https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
1232
1227
  "descriptionWithMarkdown": "[DEPRECATED, use `app function schema`] Generates the latest [GraphQL schema](https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
1233
- "enableJsonFlag": false,
1234
1228
  "flags": {
1235
1229
  "api-key": {
1236
1230
  "description": "The API key to fetch the schema with.",
@@ -1309,7 +1303,6 @@
1309
1303
  "pluginAlias": "@shopify/cli",
1310
1304
  "pluginName": "@shopify/cli",
1311
1305
  "pluginType": "core",
1312
- "strict": true,
1313
1306
  "summary": "Fetch the latest GraphQL schema for a function."
1314
1307
  },
1315
1308
  "app:import-extensions": {
@@ -1454,8 +1447,19 @@
1454
1447
  "args": {
1455
1448
  },
1456
1449
  "customPluginName": "@shopify/app",
1457
- "enableJsonFlag": false,
1458
1450
  "flags": {
1451
+ "client-id": {
1452
+ "description": "The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",
1453
+ "env": "SHOPIFY_FLAG_CLIENT_ID",
1454
+ "exclusive": [
1455
+ "config"
1456
+ ],
1457
+ "hasDynamicHelp": false,
1458
+ "hidden": false,
1459
+ "multiple": false,
1460
+ "name": "client-id",
1461
+ "type": "option"
1462
+ },
1459
1463
  "flavor": {
1460
1464
  "description": "Which flavor of the given template to use.",
1461
1465
  "env": "SHOPIFY_FLAG_TEMPLATE_FLAVOR",
@@ -1584,24 +1588,6 @@
1584
1588
  "name": "config",
1585
1589
  "type": "option"
1586
1590
  },
1587
- "graphiql-key": {
1588
- "description": "Key used to authenticate GraphiQL requests. Should be specified if exposing GraphiQL on a publicly accessible URL. By default, no key is required.",
1589
- "env": "SHOPIFY_FLAG_GRAPHIQL_KEY",
1590
- "hasDynamicHelp": false,
1591
- "hidden": true,
1592
- "multiple": false,
1593
- "name": "graphiql-key",
1594
- "type": "option"
1595
- },
1596
- "graphiql-port": {
1597
- "description": "Local port of the GraphiQL development server.",
1598
- "env": "SHOPIFY_FLAG_GRAPHIQL_PORT",
1599
- "hasDynamicHelp": false,
1600
- "hidden": true,
1601
- "multiple": false,
1602
- "name": "graphiql-port",
1603
- "type": "option"
1604
- },
1605
1591
  "json": {
1606
1592
  "allowNo": false,
1607
1593
  "char": "j",
@@ -1618,18 +1604,6 @@
1618
1604
  "name": "no-color",
1619
1605
  "type": "boolean"
1620
1606
  },
1621
- "no-tunnel": {
1622
- "allowNo": false,
1623
- "description": "Automatic creation of a tunnel is disabled. Service entry point will listen to localhost instead",
1624
- "env": "SHOPIFY_FLAG_NO_TUNNEL",
1625
- "exclusive": [
1626
- "tunnel-url",
1627
- "tunnel"
1628
- ],
1629
- "hidden": true,
1630
- "name": "no-tunnel",
1631
- "type": "boolean"
1632
- },
1633
1607
  "path": {
1634
1608
  "description": "The path to your app directory.",
1635
1609
  "env": "SHOPIFY_FLAG_PATH",
@@ -1658,14 +1632,6 @@
1658
1632
  "name": "source",
1659
1633
  "type": "option"
1660
1634
  },
1661
- "stable": {
1662
- "allowNo": false,
1663
- "description": "Use the legacy Ruby implementation for managing theme app extensions.",
1664
- "env": "SHOPIFY_FLAG_LEGACY",
1665
- "hidden": true,
1666
- "name": "stable",
1667
- "type": "boolean"
1668
- },
1669
1635
  "status": {
1670
1636
  "description": "Filters output to the specified status (success or failure).",
1671
1637
  "env": "SHOPIFY_FLAG_STATUS",
@@ -1968,7 +1934,6 @@
1968
1934
  "customPluginName": "@shopify/app",
1969
1935
  "description": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to \"Webhooks overview\" (https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the \"Partner API rate limit\" (https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ",
1970
1936
  "descriptionWithMarkdown": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to [Webhooks overview](https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the [Partner API rate limit](https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ",
1971
- "enableJsonFlag": false,
1972
1937
  "flags": {
1973
1938
  "address": {
1974
1939
  "description": "The URL where the webhook payload should be sent.\n You will need a different address type for each delivery-method:\n · For remote HTTP testing, use a URL that starts with https://\n · For local HTTP testing, use http://localhost:{port}/{url-path}\n · For Google Pub/Sub, use pubsub://{project-id}:{topic-id}\n · For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:",
@@ -6445,7 +6410,6 @@
6445
6410
  "customPluginName": "@shopify/app",
6446
6411
  "description": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to \"Webhooks overview\" (https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the \"Partner API rate limit\" (https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ",
6447
6412
  "descriptionWithMarkdown": "\n Triggers the delivery of a sample Admin API event topic payload to a designated address.\n\n You should use this command to experiment with webhooks, to initially test your webhook configuration, or for unit testing. However, to test your webhook configuration from end to end, you should always trigger webhooks by performing the related action in Shopify.\n\n Because most webhook deliveries use remote endpoints, you can trigger the command from any directory where you can use Shopify CLI, and send the webhook to any of the supported endpoint types. For example, you can run the command from your app's local directory, but send the webhook to a staging environment endpoint.\n\n To learn more about using webhooks in a Shopify app, refer to [Webhooks overview](https://shopify.dev/docs/apps/webhooks).\n\n ### Limitations\n\n - Webhooks triggered using this method always have the same payload, so they can't be used to test scenarios that differ based on the payload contents.\n - Webhooks triggered using this method aren't retried when they fail.\n - Trigger requests are rate-limited using the [Partner API rate limit](https://shopify.dev/docs/api/partner#rate_limits).\n - You can't use this method to validate your API webhook subscriptions.\n ",
6448
- "enableJsonFlag": false,
6449
6413
  "flags": {
6450
6414
  "address": {
6451
6415
  "description": "The URL where the webhook payload should be sent.\n You will need a different address type for each delivery-method:\n · For remote HTTP testing, use a URL that starts with https://\n · For local HTTP testing, use http://localhost:{port}/{url-path}\n · For Google Pub/Sub, use pubsub://{project-id}:{topic-id}\n · For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:",
@@ -6561,9 +6525,8 @@
6561
6525
  "pluginAlias": "@shopify/cli",
6562
6526
  "pluginName": "@shopify/cli",
6563
6527
  "pluginType": "core",
6564
- "strict": true,
6565
6528
  "summary": "Trigger delivery of a sample webhook topic payload to a designated address."
6566
6529
  }
6567
6530
  },
6568
- "version": "3.67.3"
6531
+ "version": "3.68.1"
6569
6532
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "3.67.3",
3
+ "version": "3.68.1",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "keywords": [
@@ -92,11 +92,11 @@
92
92
  "@oclif/core": "3.26.5",
93
93
  "@oclif/plugin-commands": "3.3.2",
94
94
  "@oclif/plugin-plugins": "5.1.2",
95
- "@shopify/app": "3.67.3",
96
- "@shopify/cli-kit": "3.67.3",
97
- "@shopify/plugin-cloudflare": "3.67.3",
98
- "@shopify/plugin-did-you-mean": "3.67.3",
99
- "@shopify/theme": "3.67.3",
95
+ "@shopify/app": "3.68.1",
96
+ "@shopify/cli-kit": "3.68.1",
97
+ "@shopify/plugin-cloudflare": "3.68.1",
98
+ "@shopify/plugin-did-you-mean": "3.68.1",
99
+ "@shopify/theme": "3.68.1",
100
100
  "@shopify/cli-hydrogen": "8.4.4",
101
101
  "@types/node": "18.19.3",
102
102
  "@vitest/coverage-istanbul": "^1.6.0",
@@ -1,118 +0,0 @@
1
- import {
2
- platformAndArch
3
- } from "./chunk-SERYSNVE.js";
4
- import {
5
- getPackageManager,
6
- packageManagerFromUserAgent
7
- } from "./chunk-NV2K2JNI.js";
8
- import {
9
- addPublicMetadata,
10
- addSensitiveMetadata,
11
- ciPlatform,
12
- cloudEnvironment,
13
- currentProcessIsGlobal,
14
- macAddress
15
- } from "./chunk-CL6KB3RG.js";
16
- import {
17
- cwd
18
- } from "./chunk-T2GATXSP.js";
19
- import {
20
- init_cjs_shims
21
- } from "./chunk-POZ5MGPT.js";
22
-
23
- // ../cli-kit/dist/private/node/analytics.js
24
- init_cjs_shims();
25
-
26
- // ../cli-kit/dist/public/node/crypto.js
27
- init_cjs_shims();
28
- import crypto from "crypto";
29
- function randomHex(size) {
30
- return crypto.randomBytes(size).toString("hex");
31
- }
32
- function base64URLEncode(str) {
33
- return str.toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/[=]/g, "");
34
- }
35
- function sha256(str) {
36
- return crypto.createHash("sha256").update(str).digest();
37
- }
38
- function hashString(str) {
39
- return crypto.createHash("sha1").update(str).digest("hex");
40
- }
41
- function fileHash(buff) {
42
- return crypto.createHash("md5").update(buff).digest("hex");
43
- }
44
- function randomBytes(size) {
45
- return crypto.randomBytes(size);
46
- }
47
- function randomUUID() {
48
- return crypto.randomUUID();
49
- }
50
- function nonRandomUUID(subject) {
51
- let namespace = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
52
- return crypto.createHash("sha1").update(Buffer.from(namespace.replace(/-/g, ""), "hex")).update(subject).digest().toString("hex").replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, "$1-$2-$3-$4-$5");
53
- }
54
-
55
- // ../cli-kit/dist/private/node/analytics.js
56
- async function startAnalytics({ commandContent, args, currentTime = (/* @__PURE__ */ new Date()).getTime(), commandClass }) {
57
- let startCommand = commandContent.command;
58
- commandClass && Object.prototype.hasOwnProperty.call(commandClass, "analyticsNameOverride") && (startCommand = commandClass.analyticsNameOverride() ?? commandContent.command);
59
- let pluginName = commandClass?.plugin?.name;
60
- commandClass && "customPluginName" in commandClass && (pluginName = commandClass.customPluginName), await addSensitiveMetadata(() => ({
61
- commandStartOptions: {
62
- startTime: currentTime,
63
- startCommand,
64
- startArgs: args
65
- }
66
- })), await addPublicMetadata(() => ({
67
- cmd_all_launcher: packageManagerFromUserAgent(),
68
- cmd_all_alias_used: commandContent.alias,
69
- cmd_all_topic: commandContent.topic,
70
- cmd_all_plugin: pluginName,
71
- cmd_all_force: flagIncluded("force", commandClass) ? args.includes("--force") : void 0
72
- }));
73
- }
74
- async function getEnvironmentData(config) {
75
- let ciplatform = ciPlatform(), pluginNames = getPluginNames(config), shopifyPlugins = pluginNames.filter((plugin) => plugin.startsWith("@shopify/")), { platform, arch } = platformAndArch();
76
- return {
77
- uname: `${platform} ${arch}`,
78
- env_ci: ciplatform.isCI,
79
- env_ci_platform: ciplatform.name,
80
- env_plugin_installed_any_custom: pluginNames.length !== shopifyPlugins.length,
81
- env_plugin_installed_shopify: JSON.stringify(shopifyPlugins),
82
- env_shell: config.shell,
83
- env_web_ide: cloudEnvironment().editor ? cloudEnvironment().platform : void 0,
84
- env_device_id: hashString(await macAddress()),
85
- env_cloud: cloudEnvironment().platform,
86
- env_package_manager: await getPackageManager(cwd()),
87
- env_is_global: currentProcessIsGlobal()
88
- };
89
- }
90
- async function getSensitiveEnvironmentData(config) {
91
- return {
92
- env_plugin_installed_all: JSON.stringify(getPluginNames(config))
93
- };
94
- }
95
- function getPluginNames(config) {
96
- return [...config.plugins.keys()].sort().filter((plugin) => !plugin.startsWith("@oclif/"));
97
- }
98
- function flagIncluded(flag, commandClass) {
99
- if (!commandClass)
100
- return !1;
101
- let commandFlags = commandClass.flags ?? {};
102
- return Object.keys(commandFlags).includes(flag);
103
- }
104
-
105
- export {
106
- randomHex,
107
- base64URLEncode,
108
- sha256,
109
- hashString,
110
- fileHash,
111
- randomBytes,
112
- randomUUID,
113
- nonRandomUUID,
114
- startAnalytics,
115
- getEnvironmentData,
116
- getSensitiveEnvironmentData
117
- };
118
- //# sourceMappingURL=chunk-3E44DPAU.js.map