shopify 3.93.2 → 3.94.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 (111) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-Bm_GpKQW.js +51 -0
  2. package/dist/assets/dev-console/index.html +1 -1
  3. package/dist/assets/hydrogen/starter/CHANGELOG.md +0 -64
  4. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +2 -4
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +3 -6
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +23 -117
  7. package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -3
  8. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +4 -24
  9. package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
  10. package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +53 -14
  11. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -11
  12. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -1
  13. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +2 -2
  14. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -1
  15. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +14 -0
  16. package/dist/assets/hydrogen/starter/package.json +5 -5
  17. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +11 -0
  18. package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
  19. package/dist/assets/hydrogen/vite/vite.config.js +1 -1
  20. package/dist/{chunk-5FCKEHCK.js → chunk-3CRQIN6A.js} +154 -154
  21. package/dist/{chunk-4VZV4LQX.js → chunk-3TG7H626.js} +66 -66
  22. package/dist/chunk-52KHWFYF.js +1 -0
  23. package/dist/{chunk-IG47ZDRU.js → chunk-6OKIHCZG.js} +1 -1
  24. package/dist/chunk-7FYGRWMW.js +415 -0
  25. package/dist/{chunk-MX6WWR5F.js → chunk-D24XVLOA.js} +16 -16
  26. package/dist/chunk-EU23C3Y3.js +3 -0
  27. package/dist/chunk-FU2Y2M3M.js +5 -0
  28. package/dist/chunk-JBSYWYIP.js +2 -0
  29. package/dist/chunk-QYR5VPQA.js +4 -0
  30. package/dist/{chunk-XVFYDYZA.js → chunk-SVA22NZQ.js} +209 -211
  31. package/dist/cli/commands/config/autoupgrade/constants.d.ts +5 -0
  32. package/dist/cli/commands/config/autoupgrade/constants.js +6 -0
  33. package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -0
  34. package/dist/cli/commands/config/autoupgrade/off.js +22 -0
  35. package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -0
  36. package/dist/cli/commands/config/autoupgrade/on.js +22 -0
  37. package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -0
  38. package/dist/cli/commands/config/autoupgrade/status.js +30 -0
  39. package/dist/cli/commands/docs/generate.d.ts +1 -1
  40. package/dist/cli/commands/docs/generate.js +6 -3
  41. package/dist/cli/commands/upgrade.js +3 -1
  42. package/dist/cli/services/kitchen-sink/static.js +1 -1
  43. package/dist/configs/all.yml +3 -0
  44. package/dist/configs/recommended.yml +3 -0
  45. package/dist/data/filters.json +30 -0
  46. package/dist/data/objects.json +17 -1
  47. package/dist/data/setting.json +25 -0
  48. package/dist/data/shopify_system_translations.json +29 -6
  49. package/dist/error-handler-YQEGKTYS.js +1 -0
  50. package/dist/hooks/postrun.js +1 -1
  51. package/dist/hooks/prerun.js +1 -1
  52. package/dist/{http-proxy-node16-DSQMBVDI.js → http-proxy-node16-TTURN6MD.js} +1 -1
  53. package/dist/index.js +1117 -1121
  54. package/dist/lib-3WHF5XD3.js +1 -0
  55. package/dist/{local-WHQ3ZS4K.js → local-J5FE2ICC.js} +1 -1
  56. package/dist/{morph-Q32V442A.js → morph-DQREIZD2.js} +1 -1
  57. package/dist/node-package-manager-AKAMTDCS.js +1 -0
  58. package/dist/path-HUAU3YBW.js +1 -0
  59. package/dist/tsconfig.tsbuildinfo +1 -1
  60. package/dist/{ui-GZ7DOSHP.js → ui-65JEOETJ.js} +1 -1
  61. package/dist/{workerd-LJU6AVMQ.js → workerd-2QD5AUPI.js} +1 -1
  62. package/oclif.manifest.json +65 -4
  63. package/package.json +8 -7
  64. package/dist/assets/dev-console/extensions/dev-console/assets/index-BnXVL6nA.js +0 -78
  65. package/dist/chunk-4QL77VYJ.js +0 -415
  66. package/dist/chunk-DDTYWTF2.js +0 -1
  67. package/dist/chunk-FYQIRCLV.js +0 -5
  68. package/dist/chunk-NOSKVZWJ.js +0 -2
  69. package/dist/chunk-QJEBL3WX.js +0 -4
  70. package/dist/cli/commands/store/auth.d.ts +0 -15
  71. package/dist/cli/commands/store/auth.js +0 -46
  72. package/dist/cli/commands/store/execute.d.ts +0 -21
  73. package/dist/cli/commands/store/execute.js +0 -89
  74. package/dist/cli/services/store/auth/callback.d.ts +0 -8
  75. package/dist/cli/services/store/auth/callback.js +0 -140
  76. package/dist/cli/services/store/auth/config.d.ts +0 -6
  77. package/dist/cli/services/store/auth/config.js +0 -15
  78. package/dist/cli/services/store/auth/existing-scopes.d.ts +0 -5
  79. package/dist/cli/services/store/auth/existing-scopes.js +0 -40
  80. package/dist/cli/services/store/auth/index.d.ts +0 -18
  81. package/dist/cli/services/store/auth/index.js +0 -88
  82. package/dist/cli/services/store/auth/pkce.d.ts +0 -36
  83. package/dist/cli/services/store/auth/pkce.js +0 -49
  84. package/dist/cli/services/store/auth/recovery.d.ts +0 -4
  85. package/dist/cli/services/store/auth/recovery.js +0 -17
  86. package/dist/cli/services/store/auth/result.d.ts +0 -24
  87. package/dist/cli/services/store/auth/result.js +0 -39
  88. package/dist/cli/services/store/auth/scopes.d.ts +0 -4
  89. package/dist/cli/services/store/auth/scopes.js +0 -53
  90. package/dist/cli/services/store/auth/session-lifecycle.d.ts +0 -3
  91. package/dist/cli/services/store/auth/session-lifecycle.js +0 -69
  92. package/dist/cli/services/store/auth/session-store.d.ts +0 -32
  93. package/dist/cli/services/store/auth/session-store.js +0 -127
  94. package/dist/cli/services/store/auth/token-client.d.ts +0 -40
  95. package/dist/cli/services/store/auth/token-client.js +0 -95
  96. package/dist/cli/services/store/execute/admin-context.d.ts +0 -11
  97. package/dist/cli/services/store/execute/admin-context.js +0 -41
  98. package/dist/cli/services/store/execute/admin-transport.d.ts +0 -6
  99. package/dist/cli/services/store/execute/admin-transport.js +0 -42
  100. package/dist/cli/services/store/execute/index.d.ts +0 -13
  101. package/dist/cli/services/store/execute/index.js +0 -22
  102. package/dist/cli/services/store/execute/request.d.ts +0 -21
  103. package/dist/cli/services/store/execute/request.js +0 -88
  104. package/dist/cli/services/store/execute/result.d.ts +0 -3
  105. package/dist/cli/services/store/execute/result.js +0 -29
  106. package/dist/cli/services/store/execute/targets.d.ts +0 -18
  107. package/dist/cli/services/store/execute/targets.js +0 -21
  108. package/dist/error-handler-GZ2I7BG5.js +0 -1
  109. package/dist/lib-GGVLMXY5.js +0 -1
  110. package/dist/node-package-manager-6XMPTNUI.js +0 -1
  111. package/dist/path-IT7KPARG.js +0 -1
@@ -1 +1 @@
1
- import{Ac as l,Bc as m,Cc as n,Dc as o,Ec as p,Fc as q,Gc as r,ec as a,fc as b,rc as c,sc as d,tc as e,uc as f,vc as g,wc as h,xc as i,yc as j,zc as k}from"./chunk-4QL77VYJ.js";import"./chunk-XVFYDYZA.js";import"./chunk-FYQIRCLV.js";import"./chunk-QJEBL3WX.js";import"./chunk-EENHXSWU.js";import"./chunk-NOSKVZWJ.js";import"./chunk-T4M5CWAO.js";import"./chunk-PRVQAHWI.js";import"./chunk-QUTQDXSL.js";import"./chunk-VPRTJUIN.js";export{b as handleCtrlC,r as isTTY,q as keypress,a as render,k as renderAutocompletePrompt,c as renderConcurrent,j as renderConfirmationPrompt,p as renderDangerousConfirmationPrompt,g as renderError,h as renderFatalError,d as renderInfo,i as renderSelectPrompt,n as renderSingleTask,e as renderSuccess,l as renderTable,m as renderTasks,o as renderTextPrompt,f as renderWarning};
1
+ import{Ac as l,Bc as m,Cc as n,Dc as o,Ec as p,Fc as q,Gc as r,bc as a,cc as b,rc as c,sc as d,tc as e,uc as f,vc as g,wc as h,xc as i,yc as j,zc as k}from"./chunk-7FYGRWMW.js";import"./chunk-SVA22NZQ.js";import"./chunk-FU2Y2M3M.js";import"./chunk-QYR5VPQA.js";import"./chunk-EENHXSWU.js";import"./chunk-JBSYWYIP.js";import"./chunk-T4M5CWAO.js";import"./chunk-PRVQAHWI.js";import"./chunk-QUTQDXSL.js";import"./chunk-VPRTJUIN.js";export{b as handleCtrlC,r as isTTY,q as keypress,a as render,k as renderAutocompletePrompt,c as renderConcurrent,j as renderConfirmationPrompt,p as renderDangerousConfirmationPrompt,g as renderError,h as renderFatalError,d as renderInfo,i as renderSelectPrompt,n as renderSingleTask,e as renderSuccess,l as renderTable,m as renderTasks,o as renderTextPrompt,f as renderWarning};
@@ -1,4 +1,4 @@
1
- import{$a as x,Va as b,Wa as k,Xa as E,Y as v,Ya as A,Za as I,_a as L,nb as s,pb as B,qb as O}from"./chunk-5FCKEHCK.js";import"./chunk-KADPE3PY.js";import"./chunk-IG47ZDRU.js";import"./chunk-4VZV4LQX.js";import"./chunk-PRKBO42R.js";import"./chunk-MX6WWR5F.js";import{Gd as q,Jc as R,Qa as g,ic as N,tc as w,va as y}from"./chunk-4QL77VYJ.js";import"./chunk-XVFYDYZA.js";import"./chunk-FYQIRCLV.js";import"./chunk-QJEBL3WX.js";import"./chunk-EENHXSWU.js";import{d as h,g as f}from"./chunk-NOSKVZWJ.js";import"./chunk-T4M5CWAO.js";import"./chunk-PRVQAHWI.js";import"./chunk-QUTQDXSL.js";import{g as p}from"./chunk-VPRTJUIN.js";p();import{createRequire as C}from"node:module";async function ee({root:c,appPort:D,inspectorPort:P,assetsPort:S,debug:U=!1,watch:W=!1,buildPathWorkerFile:$,buildPathClient:M,env:l}){let{createMiniOxygen:F,Response:u}=await v("@shopify/mini-oxygen",c).catch(L);k({Response:u});async function _(){let r=C(import.meta.url).resolve("@shopify/hydrogen/customer-account.schema.json");return new u(g(r),{headers:{"Content-Type":"application/json"}})}let t="hydrogen",o=h(c,$),m=()=>y(o).catch(e=>{throw new R(`Could not read worker file.
1
+ import{Ua as b,Va as k,Wa as E,X as v,Xa as A,Ya as I,Za as L,_a as x,mb as s,ob as B,pb as O}from"./chunk-3CRQIN6A.js";import"./chunk-KADPE3PY.js";import"./chunk-52KHWFYF.js";import"./chunk-6OKIHCZG.js";import"./chunk-3TG7H626.js";import"./chunk-PRKBO42R.js";import"./chunk-D24XVLOA.js";import{Gd as q,Jc as R,Qa as g,ic as N,tc as w,va as y}from"./chunk-7FYGRWMW.js";import"./chunk-SVA22NZQ.js";import"./chunk-FU2Y2M3M.js";import"./chunk-QYR5VPQA.js";import"./chunk-EENHXSWU.js";import{e as h,h as f}from"./chunk-JBSYWYIP.js";import"./chunk-T4M5CWAO.js";import"./chunk-PRVQAHWI.js";import"./chunk-QUTQDXSL.js";import{g as p}from"./chunk-VPRTJUIN.js";p();import{createRequire as C}from"node:module";async function ee({root:c,appPort:D,inspectorPort:P,assetsPort:S,debug:U=!1,watch:W=!1,buildPathWorkerFile:$,buildPathClient:M,env:l}){let{createMiniOxygen:F,Response:u}=await v("@shopify/mini-oxygen",c).catch(L);k({Response:u});async function _(){let r=C(import.meta.url).resolve("@shopify/hydrogen/customer-account.schema.json");return new u(g(r),{headers:{"Content-Type":"application/json"}})}let t="hydrogen",o=h(c,$),m=()=>y(o).catch(e=>{throw new R(`Could not read worker file.
2
2
 
3
3
  `+e.stack,"Did you build the project?")}),i=F({debug:U,port:D,host:"localhost",liveReload:W,requestHook:x,inspectorPort:P,inspectWorkerName:t,assets:{port:S,directory:M},workers:[{name:"hydrogen:middleware",modules:!0,script:`export default { fetch: (request, env) => {
4
4
  const url = new URL(request.url);
@@ -3386,6 +3386,66 @@
3386
3386
  "strict": true,
3387
3387
  "summary": "Check whether autocorrect is enabled or disabled. On by default."
3388
3388
  },
3389
+ "config:autoupgrade:off": {
3390
+ "aliases": [
3391
+ ],
3392
+ "args": {
3393
+ },
3394
+ "description": "Disable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is disabled, Shopify CLI won't automatically update. Run `shopify upgrade` to update manually.\n\n To enable auto-upgrade, run `shopify config autoupgrade on`.\n",
3395
+ "descriptionWithMarkdown": "Disable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is disabled, Shopify CLI won't automatically update. Run `shopify upgrade` to update manually.\n\n To enable auto-upgrade, run `shopify config autoupgrade on`.\n",
3396
+ "enableJsonFlag": false,
3397
+ "flags": {
3398
+ },
3399
+ "hasDynamicHelp": false,
3400
+ "hiddenAliases": [
3401
+ ],
3402
+ "id": "config:autoupgrade:off",
3403
+ "pluginAlias": "@shopify/cli",
3404
+ "pluginName": "@shopify/cli",
3405
+ "pluginType": "core",
3406
+ "strict": true,
3407
+ "summary": "Disable automatic upgrades for Shopify CLI."
3408
+ },
3409
+ "config:autoupgrade:on": {
3410
+ "aliases": [
3411
+ ],
3412
+ "args": {
3413
+ },
3414
+ "description": "Enable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version once per day. Major version upgrades are skipped and must be done manually.\n\n To disable auto-upgrade, run `shopify config autoupgrade off`.\n",
3415
+ "descriptionWithMarkdown": "Enable automatic upgrades for Shopify CLI.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version once per day. Major version upgrades are skipped and must be done manually.\n\n To disable auto-upgrade, run `shopify config autoupgrade off`.\n",
3416
+ "enableJsonFlag": false,
3417
+ "flags": {
3418
+ },
3419
+ "hasDynamicHelp": false,
3420
+ "hiddenAliases": [
3421
+ ],
3422
+ "id": "config:autoupgrade:on",
3423
+ "pluginAlias": "@shopify/cli",
3424
+ "pluginName": "@shopify/cli",
3425
+ "pluginType": "core",
3426
+ "strict": true,
3427
+ "summary": "Enable automatic upgrades for Shopify CLI."
3428
+ },
3429
+ "config:autoupgrade:status": {
3430
+ "aliases": [
3431
+ ],
3432
+ "args": {
3433
+ },
3434
+ "description": "Check whether auto-upgrade is enabled, disabled, or not yet configured.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.\n",
3435
+ "descriptionWithMarkdown": "Check whether auto-upgrade is enabled, disabled, or not yet configured.\n\n When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.\n\n Run `shopify config autoupgrade on` or `shopify config autoupgrade off` to configure it.\n",
3436
+ "enableJsonFlag": false,
3437
+ "flags": {
3438
+ },
3439
+ "hasDynamicHelp": false,
3440
+ "hiddenAliases": [
3441
+ ],
3442
+ "id": "config:autoupgrade:status",
3443
+ "pluginAlias": "@shopify/cli",
3444
+ "pluginName": "@shopify/cli",
3445
+ "pluginType": "core",
3446
+ "strict": true,
3447
+ "summary": "Check whether auto-upgrade is enabled, disabled, or not yet configured."
3448
+ },
3389
3449
  "debug:command-flags": {
3390
3450
  "aliases": [
3391
3451
  ],
@@ -4426,7 +4486,7 @@
4426
4486
  ],
4427
4487
  "args": {
4428
4488
  "routeName": {
4429
- "description": "The route to generate. One of home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,all.",
4489
+ "description": "The route to generate. One of home,page,cart,products,collections,policies,blogs,account,search,robots,sitemap,tokenlessApi,all.",
4430
4490
  "name": "routeName",
4431
4491
  "options": [
4432
4492
  "home",
@@ -4440,6 +4500,7 @@
4440
4500
  "search",
4441
4501
  "robots",
4442
4502
  "sitemap",
4503
+ "tokenlessApi",
4443
4504
  "all"
4444
4505
  ],
4445
4506
  "required": true
@@ -5738,9 +5799,9 @@
5738
5799
  ],
5739
5800
  "args": {
5740
5801
  },
5802
+ "customPluginName": "@shopify/store",
5741
5803
  "description": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.",
5742
5804
  "descriptionWithMarkdown": "Authenticates the app against the specified store for store commands and stores an online access token for later reuse.\n\nRe-run this command if the stored token is missing, expires, or no longer has the scopes you need.",
5743
- "enableJsonFlag": false,
5744
5805
  "examples": [
5745
5806
  "<%= config.bin %> <%= command.id %> --store shop.myshopify.com --scopes read_products,write_products",
5746
5807
  "<%= config.bin %> <%= command.id %> --store shop.myshopify.com --scopes read_products,write_products --json"
@@ -5806,9 +5867,9 @@
5806
5867
  ],
5807
5868
  "args": {
5808
5869
  },
5870
+ "customPluginName": "@shopify/store",
5809
5871
  "description": "Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication.\n\nRun `shopify store auth` first to create stored auth for the store.\n\nMutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.",
5810
5872
  "descriptionWithMarkdown": "Executes an Admin API GraphQL query or mutation on the specified store using previously stored app authentication.\n\nRun `shopify store auth` first to create stored auth for the store.\n\nMutations are disabled by default. Re-run with `--allow-mutations` if you intend to modify store data.",
5811
- "enableJsonFlag": false,
5812
5873
  "examples": [
5813
5874
  "<%= config.bin %> <%= command.id %> --store shop.myshopify.com --query \"query { shop { name } }\"",
5814
5875
  "<%= config.bin %> <%= command.id %> --store shop.myshopify.com --query-file ./operation.graphql --variables '{\"id\":\"gid://shopify/Product/1\"}'",
@@ -8399,5 +8460,5 @@
8399
8460
  "summary": "Trigger delivery of a sample webhook topic payload to a designated address."
8400
8461
  }
8401
8462
  },
8402
- "version": "3.93.2"
8463
+ "version": "3.94.1"
8403
8464
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify",
3
- "version": "3.93.2",
3
+ "version": "3.94.1",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "keywords": [
@@ -49,12 +49,13 @@
49
49
  "@oclif/core": "4.5.3",
50
50
  "@oclif/plugin-commands": "4.1.33",
51
51
  "@oclif/plugin-plugins": "5.4.47",
52
- "@shopify/app": "3.93.2",
53
- "@shopify/cli-kit": "3.93.2",
54
- "@shopify/plugin-cloudflare": "3.93.2",
55
- "@shopify/plugin-did-you-mean": "3.93.2",
56
- "@shopify/theme": "3.93.2",
57
- "@shopify/cli-hydrogen": "11.1.14",
52
+ "@shopify/app": "3.94.1",
53
+ "@shopify/store": "3.94.1",
54
+ "@shopify/cli-kit": "3.94.1",
55
+ "@shopify/plugin-cloudflare": "3.94.1",
56
+ "@shopify/plugin-did-you-mean": "3.94.1",
57
+ "@shopify/theme": "3.94.1",
58
+ "@shopify/cli-hydrogen": "11.1.10",
58
59
  "@types/global-agent": "3.0.0",
59
60
  "@vitest/coverage-istanbul": "^3.1.4",
60
61
  "esbuild-plugin-copy": "^2.1.1"