@shopify/cli 3.78.2 → 3.79.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.
Files changed (108) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +1 -0
  2. package/dist/assets/dev-console/extensions/dev-console/assets/index-CqNhY1h-.js +64 -0
  3. package/dist/assets/dev-console/index.html +2 -2
  4. package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +921 -0
  5. package/dist/assets/hydrogen/starter/CHANGELOG.md +20 -0
  6. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +15 -0
  7. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +44 -0
  9. package/dist/assets/hydrogen/starter/app/lib/redirect.ts +23 -0
  10. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +8 -23
  11. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +22 -2
  12. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +4 -0
  13. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +7 -41
  14. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +11 -44
  15. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +9 -1
  16. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +5 -1
  17. package/dist/assets/hydrogen/starter/app/styles/app.css +15 -3
  18. package/dist/assets/hydrogen/starter/package.json +5 -5
  19. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +57 -36
  20. package/dist/{chunk-DR5VG62Q.js → chunk-2B4E6VSB.js} +3 -3
  21. package/dist/{chunk-ZPZFAVIY.js → chunk-4BO44W6A.js} +2 -2
  22. package/dist/{chunk-GJEIVT3X.js → chunk-54K4AM4U.js} +3 -3
  23. package/dist/{chunk-6HJM24C2.js → chunk-7QKG75SI.js} +72 -6
  24. package/dist/{chunk-WYNL2S7B.js → chunk-ALANDDAF.js} +3 -3
  25. package/dist/{chunk-LAKQWRR5.js → chunk-ANW4ZUSD.js} +2 -2
  26. package/dist/{chunk-7KZBYW7W.js → chunk-AVR7SY23.js} +4 -4
  27. package/dist/{chunk-IK6NAHQI.js → chunk-CZ7EMDNP.js} +5 -5
  28. package/dist/{chunk-YXH3NSML.js → chunk-DG3SRCQ7.js} +2 -2
  29. package/dist/{chunk-UP44YINT.js → chunk-DOKAITPJ.js} +4 -4
  30. package/dist/{chunk-6GHUZFPP.js → chunk-EKAPTGJ2.js} +2 -2
  31. package/dist/{chunk-DOEVJAN2.js → chunk-F55GHOR3.js} +83 -130
  32. package/dist/{chunk-ZTD22GER.js → chunk-G63ZK76J.js} +3 -3
  33. package/dist/{chunk-L35GVYH5.js → chunk-HTK3YCUG.js} +3 -3
  34. package/dist/{chunk-HZRI37XU.js → chunk-IARZXI6R.js} +3 -3
  35. package/dist/{chunk-UV2DGNFK.js → chunk-IYBFDT7N.js} +41 -16
  36. package/dist/{chunk-E76452W5.js → chunk-JCZQQS22.js} +4 -4
  37. package/dist/{chunk-DHQUQSYW.js → chunk-KRTNJAVX.js} +3 -3
  38. package/dist/{chunk-TVCBBRZD.js → chunk-KVPURBXO.js} +5 -5
  39. package/dist/{chunk-QTIPSIA5.js → chunk-LFQMCRXU.js} +12 -8
  40. package/dist/{chunk-VBX7R3AF.js → chunk-MLGPNWXX.js} +87 -97
  41. package/dist/{chunk-S5XTFY2H.js → chunk-MRU3X272.js} +4 -4
  42. package/dist/{chunk-BV6PURBM.js → chunk-NOSVFQH5.js} +3 -3
  43. package/dist/{chunk-LGQNLPOA.js → chunk-OOVDD552.js} +3 -3
  44. package/dist/{chunk-UE4DFKJU.js → chunk-P6WUJAQG.js} +3 -3
  45. package/dist/{chunk-L4SLRBFT.js → chunk-PRSCEDOW.js} +18 -5
  46. package/dist/{chunk-IBRFXDBZ.js → chunk-QBB7AFBN.js} +7 -7
  47. package/dist/{chunk-6V2YVCS2.js → chunk-QJTHRGGC.js} +7 -5
  48. package/dist/{chunk-YKVQZFEC.js → chunk-QW44EO42.js} +8 -8
  49. package/dist/{chunk-WBWYZ7XQ.js → chunk-SHIHLMYP.js} +8 -6
  50. package/dist/{chunk-6G5FH3WC.js → chunk-SUWZRQHU.js} +2 -2
  51. package/dist/{chunk-IG6TAMGV.js → chunk-U6TDVNHS.js} +16 -15
  52. package/dist/{chunk-7S2OZRQF.js → chunk-UQLLSBKG.js} +3 -3
  53. package/dist/{chunk-QAKYKTFV.js → chunk-UTDSSCPI.js} +5 -5
  54. package/dist/{chunk-VEHGKA4Q.js → chunk-YILOICE5.js} +5 -5
  55. package/dist/{chunk-GTVU6SJH.js → chunk-ZCIGSW2P.js} +2 -2
  56. package/dist/cli/commands/auth/logout.js +13 -13
  57. package/dist/cli/commands/auth/logout.test.js +14 -14
  58. package/dist/cli/commands/cache/clear.js +12 -12
  59. package/dist/cli/commands/debug/command-flags.js +12 -12
  60. package/dist/cli/commands/docs/generate.js +12 -12
  61. package/dist/cli/commands/docs/generate.test.js +13 -13
  62. package/dist/cli/commands/help.js +12 -12
  63. package/dist/cli/commands/kitchen-sink/async.js +13 -13
  64. package/dist/cli/commands/kitchen-sink/async.test.js +13 -13
  65. package/dist/cli/commands/kitchen-sink/index.js +15 -15
  66. package/dist/cli/commands/kitchen-sink/index.test.js +15 -15
  67. package/dist/cli/commands/kitchen-sink/prompts.js +13 -13
  68. package/dist/cli/commands/kitchen-sink/prompts.test.js +13 -13
  69. package/dist/cli/commands/kitchen-sink/static.js +13 -13
  70. package/dist/cli/commands/kitchen-sink/static.test.js +13 -13
  71. package/dist/cli/commands/notifications/generate.js +13 -13
  72. package/dist/cli/commands/notifications/list.js +13 -13
  73. package/dist/cli/commands/search.js +13 -13
  74. package/dist/cli/commands/upgrade.js +13 -13
  75. package/dist/cli/commands/version.js +13 -13
  76. package/dist/cli/commands/version.test.js +13 -13
  77. package/dist/cli/services/commands/notifications.js +8 -8
  78. package/dist/cli/services/commands/search.js +5 -4
  79. package/dist/cli/services/commands/search.test.js +5 -4
  80. package/dist/cli/services/commands/version.js +6 -5
  81. package/dist/cli/services/commands/version.test.js +7 -6
  82. package/dist/cli/services/kitchen-sink/async.js +5 -4
  83. package/dist/cli/services/kitchen-sink/prompts.js +5 -4
  84. package/dist/cli/services/kitchen-sink/static.js +5 -4
  85. package/dist/cli/services/upgrade.js +5 -5
  86. package/dist/cli/services/upgrade.test.js +7 -7
  87. package/dist/configs/all.yml +19 -4
  88. package/dist/configs/recommended.yml +19 -4
  89. package/dist/{custom-oclif-loader-TUNXMYGU.js → custom-oclif-loader-ZMH2MAPE.js} +5 -4
  90. package/dist/{error-handler-AWP3RCBG.js → error-handler-7Z6N6VQJ.js} +10 -10
  91. package/dist/hooks/postrun.js +9 -9
  92. package/dist/hooks/prerun.js +10 -10
  93. package/dist/index.js +2777 -2428
  94. package/dist/is-wsl-YAJ3DFN7.js +64 -0
  95. package/dist/{lib-IZAG57CE.js → lib-MWWAATIC.js} +3 -3
  96. package/dist/{local-RBT53U3L.js → local-LWMJQBFZ.js} +5 -6
  97. package/dist/{morph-W4XLLZ47.js → morph-MDY3DSJL.js} +9 -9
  98. package/dist/{node-SKXMS2TZ.js → node-JJXJUMVQ.js} +17 -17
  99. package/dist/{node-package-manager-BZHJZTGV.js → node-package-manager-BZGMCXZM.js} +5 -5
  100. package/dist/toml-patch-wasm-J5VGG6WG.js +140 -0
  101. package/dist/toml_patch_bg.wasm +0 -0
  102. package/dist/tsconfig.tsbuildinfo +1 -1
  103. package/dist/{ui-5MADIMGC.js → ui-IJDVK4OG.js} +5 -4
  104. package/dist/{workerd-YRUKUE76.js → workerd-XA4WKUCO.js} +16 -16
  105. package/oclif.manifest.json +100 -2
  106. package/package.json +7 -7
  107. package/dist/assets/dev-console/extensions/dev-console/assets/index-lyGm6l3x.js +0 -64
  108. package/dist/assets/dev-console/extensions/dev-console/assets/index-n8yr6cxq.css +0 -1
@@ -17,13 +17,14 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-DOEVJAN2.js";
20
+ } from "./chunk-F55GHOR3.js";
21
+ import "./chunk-HMDWNGIV.js";
21
22
  import "./chunk-B5EXYCV3.js";
22
23
  import "./chunk-75LV6AQS.js";
23
24
  import "./chunk-57Q6OQG4.js";
24
- import "./chunk-QAKYKTFV.js";
25
- import "./chunk-G5R6YD27.js";
25
+ import "./chunk-UTDSSCPI.js";
26
26
  import "./chunk-3I3GQNEW.js";
27
+ import "./chunk-G5R6YD27.js";
27
28
  import "./chunk-G2ZZKGSV.js";
28
29
  import "./chunk-MP5RLDFN.js";
29
30
  import "./chunk-XE5EOEBL.js";
@@ -51,4 +52,4 @@ export {
51
52
  renderTextPrompt,
52
53
  renderWarning
53
54
  };
54
- //# sourceMappingURL=ui-5MADIMGC.js.map
55
+ //# sourceMappingURL=ui-IJDVK4OG.js.map
@@ -10,21 +10,20 @@ import {
10
10
  importLocal,
11
11
  logRequestLine,
12
12
  setConstructors
13
- } from "./chunk-VBX7R3AF.js";
13
+ } from "./chunk-MLGPNWXX.js";
14
14
  import "./chunk-LQ2ZKVR6.js";
15
15
  import "./chunk-CP3BRHWK.js";
16
- import "./chunk-L4SLRBFT.js";
17
- import "./chunk-WBWYZ7XQ.js";
18
- import "./chunk-QTIPSIA5.js";
16
+ import "./chunk-PRSCEDOW.js";
17
+ import "./chunk-SHIHLMYP.js";
18
+ import "./chunk-LFQMCRXU.js";
19
19
  import "./chunk-SHWOPMLQ.js";
20
- import "./chunk-IBRFXDBZ.js";
21
- import "./chunk-UV2DGNFK.js";
22
- import "./chunk-IG6TAMGV.js";
23
- import "./chunk-6HJM24C2.js";
20
+ import "./chunk-QBB7AFBN.js";
21
+ import "./chunk-IYBFDT7N.js";
22
+ import "./chunk-U6TDVNHS.js";
23
+ import "./chunk-7QKG75SI.js";
24
24
  import "./chunk-25IMI7TH.js";
25
- import "./chunk-6G5FH3WC.js";
26
- import "./chunk-IK6NAHQI.js";
27
- import "./chunk-HMDWNGIV.js";
25
+ import "./chunk-SUWZRQHU.js";
26
+ import "./chunk-CZ7EMDNP.js";
28
27
  import {
29
28
  AbortError,
30
29
  createFileReadStream,
@@ -32,16 +31,17 @@ import {
32
31
  readFile,
33
32
  renderSuccess,
34
33
  source_default
35
- } from "./chunk-DOEVJAN2.js";
34
+ } from "./chunk-F55GHOR3.js";
35
+ import "./chunk-HMDWNGIV.js";
36
36
  import "./chunk-B5EXYCV3.js";
37
37
  import "./chunk-75LV6AQS.js";
38
38
  import {
39
39
  dirname,
40
40
  resolvePath
41
41
  } from "./chunk-57Q6OQG4.js";
42
- import "./chunk-QAKYKTFV.js";
43
- import "./chunk-G5R6YD27.js";
42
+ import "./chunk-UTDSSCPI.js";
44
43
  import "./chunk-3I3GQNEW.js";
44
+ import "./chunk-G5R6YD27.js";
45
45
  import "./chunk-G2ZZKGSV.js";
46
46
  import "./chunk-MP5RLDFN.js";
47
47
  import "./chunk-XE5EOEBL.js";
@@ -52,7 +52,7 @@ import {
52
52
  init_cjs_shims
53
53
  } from "./chunk-PKR7KJ6P.js";
54
54
 
55
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.0_@graphql-codegen+cli@5.0.4_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/workerd.js
55
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/workerd.js
56
56
  init_cjs_shims();
57
57
  import { createRequire } from "node:module";
58
58
  async function startWorkerdServer({
@@ -171,4 +171,4 @@ async function startWorkerdServer({
171
171
  export {
172
172
  startWorkerdServer
173
173
  };
174
- //# sourceMappingURL=workerd-YRUKUE76.js.map
174
+ //# sourceMappingURL=workerd-XA4WKUCO.js.map
@@ -453,6 +453,15 @@
453
453
  "name": "graphiql-port",
454
454
  "type": "option"
455
455
  },
456
+ "localhost-port": {
457
+ "description": "Port to use for localhost.",
458
+ "env": "SHOPIFY_FLAG_LOCALHOST_PORT",
459
+ "hasDynamicHelp": false,
460
+ "hidden": true,
461
+ "multiple": false,
462
+ "name": "localhost-port",
463
+ "type": "option"
464
+ },
456
465
  "no-color": {
457
466
  "allowNo": false,
458
467
  "description": "Disable color output.",
@@ -557,7 +566,7 @@
557
566
  },
558
567
  "use-localhost": {
559
568
  "allowNo": false,
560
- "description": "Service entry point will listen to localhost. A tunnel won't be used. Will work for testing many app features, but not Webhooks, Flow Action, App Proxy or POS",
569
+ "description": "Service entry point will listen to localhost. A tunnel won't be used. Will work for testing many app features, but not those that directly invoke your app (E.g: Webhooks)",
561
570
  "env": "SHOPIFY_FLAG_USE_LOCALHOST",
562
571
  "exclusive": [
563
572
  "tunnel-url"
@@ -585,6 +594,95 @@
585
594
  "strict": true,
586
595
  "summary": "Run the app."
587
596
  },
597
+ "app:dev:clean": {
598
+ "aliases": [
599
+ ],
600
+ "args": {
601
+ },
602
+ "customPluginName": "@shopify/app",
603
+ "description": "Stop the app preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n ",
604
+ "descriptionWithMarkdown": "Stop the app preview that was started with `shopify app dev`.\n\n It restores the app's active version to the selected development store.\n ",
605
+ "flags": {
606
+ "client-id": {
607
+ "description": "The Client ID of your app.",
608
+ "env": "SHOPIFY_FLAG_CLIENT_ID",
609
+ "exclusive": [
610
+ "config"
611
+ ],
612
+ "hasDynamicHelp": false,
613
+ "hidden": false,
614
+ "multiple": false,
615
+ "name": "client-id",
616
+ "type": "option"
617
+ },
618
+ "config": {
619
+ "char": "c",
620
+ "description": "The name of the app configuration.",
621
+ "env": "SHOPIFY_FLAG_APP_CONFIG",
622
+ "hasDynamicHelp": false,
623
+ "hidden": false,
624
+ "multiple": false,
625
+ "name": "config",
626
+ "type": "option"
627
+ },
628
+ "no-color": {
629
+ "allowNo": false,
630
+ "description": "Disable color output.",
631
+ "env": "SHOPIFY_FLAG_NO_COLOR",
632
+ "hidden": false,
633
+ "name": "no-color",
634
+ "type": "boolean"
635
+ },
636
+ "path": {
637
+ "description": "The path to your app directory.",
638
+ "env": "SHOPIFY_FLAG_PATH",
639
+ "hasDynamicHelp": false,
640
+ "multiple": false,
641
+ "name": "path",
642
+ "noCacheDefault": true,
643
+ "type": "option"
644
+ },
645
+ "reset": {
646
+ "allowNo": false,
647
+ "description": "Reset all your settings.",
648
+ "env": "SHOPIFY_FLAG_RESET",
649
+ "exclusive": [
650
+ "config"
651
+ ],
652
+ "hidden": false,
653
+ "name": "reset",
654
+ "type": "boolean"
655
+ },
656
+ "store": {
657
+ "char": "s",
658
+ "description": "Store URL. Must be an existing development store.",
659
+ "env": "SHOPIFY_FLAG_STORE",
660
+ "hasDynamicHelp": false,
661
+ "hidden": false,
662
+ "multiple": false,
663
+ "name": "store",
664
+ "type": "option"
665
+ },
666
+ "verbose": {
667
+ "allowNo": false,
668
+ "description": "Increase the verbosity of the output.",
669
+ "env": "SHOPIFY_FLAG_VERBOSE",
670
+ "hidden": false,
671
+ "name": "verbose",
672
+ "type": "boolean"
673
+ }
674
+ },
675
+ "hasDynamicHelp": false,
676
+ "hidden": true,
677
+ "hiddenAliases": [
678
+ ],
679
+ "id": "app:dev:clean",
680
+ "pluginAlias": "@shopify/cli",
681
+ "pluginName": "@shopify/cli",
682
+ "pluginType": "core",
683
+ "strict": true,
684
+ "summary": "Cleans up the app preview from the selected store."
685
+ },
588
686
  "app:env:pull": {
589
687
  "aliases": [
590
688
  ],
@@ -6858,5 +6956,5 @@
6858
6956
  "summary": "Trigger delivery of a sample webhook topic payload to a designated address."
6859
6957
  }
6860
6958
  },
6861
- "version": "3.78.2"
6959
+ "version": "3.79.0"
6862
6960
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "3.78.2",
3
+ "version": "3.79.0",
4
4
  "packageManager": "pnpm@8.15.7",
5
5
  "private": false,
6
6
  "description": "A CLI tool to build for the Shopify platform",
@@ -99,12 +99,12 @@
99
99
  "@oclif/core": "3.26.5",
100
100
  "@oclif/plugin-commands": "4.1.18",
101
101
  "@oclif/plugin-plugins": "5.4.28",
102
- "@shopify/app": "3.78.2",
103
- "@shopify/cli-kit": "3.78.2",
104
- "@shopify/plugin-cloudflare": "3.78.2",
105
- "@shopify/plugin-did-you-mean": "3.78.2",
106
- "@shopify/theme": "3.78.2",
107
- "@shopify/cli-hydrogen": "10.0.0",
102
+ "@shopify/app": "3.79.0",
103
+ "@shopify/cli-kit": "3.79.0",
104
+ "@shopify/plugin-cloudflare": "3.79.0",
105
+ "@shopify/plugin-did-you-mean": "3.79.0",
106
+ "@shopify/theme": "3.79.0",
107
+ "@shopify/cli-hydrogen": "10.0.1",
108
108
  "@types/global-agent": "3.0.0",
109
109
  "@typescript-eslint/eslint-plugin": "7.13.1",
110
110
  "@vitest/coverage-istanbul": "^1.6.0",