@shopify/cli 3.76.2 → 3.77.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.
- package/dist/{chunk-DTR7ATW4.js → chunk-3ARIMAIR.js} +3 -3
- package/dist/{chunk-6RHYOJ63.js → chunk-4BPRKRYD.js} +5 -5
- package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
- package/dist/{chunk-KI626P2Z.js → chunk-5ZMRZCPZ.js} +4 -4
- package/dist/{chunk-IKXB6S5W.js → chunk-6ZKE2WPK.js} +2 -2
- package/dist/{chunk-KTICPCDH.js → chunk-74V7KQLD.js} +4 -4
- package/dist/{chunk-TYXJ553W.js → chunk-7IKFEU6I.js} +2 -2
- package/dist/{chunk-PNWJ2GZC.js → chunk-ACSVNEID.js} +5 -5
- package/dist/{chunk-CBRJA5VT.js → chunk-AUBRXAVZ.js} +4 -4
- package/dist/{chunk-SO2JXJNK.js → chunk-AW7SZYGV.js} +7 -7
- package/dist/{chunk-3DV6EZ24.js → chunk-AZ33PIX2.js} +7 -7
- package/dist/{chunk-MIAZDAJI.js → chunk-CBLCYLJO.js} +2 -2
- package/dist/{chunk-JMXX7A4N.js → chunk-DHO2PUCK.js} +2 -2
- package/dist/{chunk-WOA7JN7E.js → chunk-FJAIUBHO.js} +12 -8
- package/dist/{chunk-AHNHLXEN.js → chunk-GPICPOCE.js} +9 -6
- package/dist/{chunk-BJXULBKX.js → chunk-IX7XAR6F.js} +144 -29
- package/dist/{chunk-3UYXKXR6.js → chunk-J3C7BGUW.js} +21 -8
- package/dist/{chunk-DZC6PFFO.js → chunk-MYIEKIZR.js} +2 -2
- package/dist/{chunk-XAK5UQFR.js → chunk-NHMQOM7T.js} +2 -2
- package/dist/{chunk-WYLW7KVV.js → chunk-NZVJ77WD.js} +3 -3
- package/dist/{chunk-VXUNILLD.js → chunk-O5U2T7LH.js} +6 -3
- package/dist/{chunk-WXONIGO7.js → chunk-PHWPEUZI.js} +5 -2
- package/dist/{chunk-7ZRFR7FA.js → chunk-QVZW3IVL.js} +7 -7
- package/dist/{chunk-EPUCFUDR.js → chunk-RA5UDHSI.js} +3 -3
- package/dist/{chunk-SROPQDQ2.js → chunk-RWT677FV.js} +4 -4
- package/dist/{chunk-QP45KHVL.js → chunk-S3PY2ULH.js} +214 -121
- package/dist/{chunk-XOWOZYS5.js → chunk-SO33Y5TT.js} +3 -3
- package/dist/{chunk-J64C3R6H.js → chunk-U7E5RRYF.js} +3 -3
- package/dist/{chunk-TKC27SYH.js → chunk-V5G4FJZH.js} +16 -14
- package/dist/{chunk-OSETU22I.js → chunk-VTEM2QWG.js} +3 -3
- package/dist/{chunk-WFJKWPG7.js → chunk-WN6OLVLP.js} +4 -4
- package/dist/{chunk-AZ3SNZKH.js → chunk-YL7TDFFA.js} +3 -3
- package/dist/{chunk-J4VMFBCX.js → chunk-YXR557PE.js} +3 -3
- package/dist/{chunk-3IUNQ4LM.js → chunk-ZKUNCSWD.js} +4 -4
- package/dist/{chunk-2WTNMSEA.js → chunk-ZVNHCLRN.js} +3 -3
- package/dist/cli/commands/auth/logout.js +12 -12
- package/dist/cli/commands/auth/logout.test.js +13 -13
- package/dist/cli/commands/cache/clear.js +11 -11
- package/dist/cli/commands/debug/command-flags.js +11 -11
- package/dist/cli/commands/docs/generate.js +11 -11
- package/dist/cli/commands/docs/generate.test.js +11 -11
- package/dist/cli/commands/help.d.ts +1 -0
- package/dist/cli/commands/help.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.js +12 -12
- package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/index.js +14 -14
- package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
- package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
- package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.js +12 -12
- package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
- package/dist/cli/commands/notifications/generate.js +12 -12
- package/dist/cli/commands/notifications/list.js +12 -12
- package/dist/cli/commands/search.d.ts +1 -0
- package/dist/cli/commands/search.js +12 -12
- package/dist/cli/commands/upgrade.js +12 -12
- package/dist/cli/commands/version.js +12 -12
- package/dist/cli/commands/version.test.js +12 -12
- package/dist/cli/services/commands/notifications.js +7 -7
- package/dist/cli/services/commands/search.js +3 -3
- package/dist/cli/services/commands/search.test.js +3 -3
- package/dist/cli/services/commands/version.js +4 -4
- package/dist/cli/services/commands/version.test.js +5 -5
- package/dist/cli/services/kitchen-sink/async.js +3 -3
- package/dist/cli/services/kitchen-sink/prompts.js +3 -3
- package/dist/cli/services/kitchen-sink/static.js +3 -3
- package/dist/cli/services/upgrade.js +4 -4
- package/dist/cli/services/upgrade.test.js +5 -5
- package/dist/configs/all.yml +39 -3
- package/dist/configs/recommended.yml +36 -0
- package/dist/configs/theme-app-extension.yml +3 -3
- package/dist/{custom-oclif-loader-FMEBF4P4.js → custom-oclif-loader-TE6EUPGI.js} +3 -3
- package/dist/data/filters.json +270 -327
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +1482 -3709
- package/dist/data/preset.json +6 -0
- package/dist/data/preset_blocks.json +6 -0
- package/dist/data/setting.json +167 -50
- package/dist/data/tags.json +45 -101
- package/dist/{error-handler-AMKMVQCR.js → error-handler-WC4XSLZQ.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +5452 -2315
- package/dist/{local-2RXSPQ2I.js → local-7Q5JCU62.js} +3 -3
- package/dist/{node-X35R6UYP.js → node-MNEYEH5U.js} +13 -13
- package/dist/{node-package-manager-3GAIXEER.js → node-package-manager-3SFTB3BW.js} +4 -4
- package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-MTRH5XFP.js → ui-NMP2SY3G.js} +3 -3
- package/dist/{workerd-EHYW43DG.js → workerd-NN737W52.js} +13 -13
- package/oclif.manifest.json +24 -19
- package/package.json +6 -6
package/dist/data/tags.json
CHANGED
|
@@ -3,16 +3,12 @@
|
|
|
3
3
|
"category": "theme",
|
|
4
4
|
"deprecated": false,
|
|
5
5
|
"deprecation_reason": "",
|
|
6
|
-
"description": "
|
|
7
|
-
"parameters": [
|
|
8
|
-
|
|
9
|
-
],
|
|
6
|
+
"description": "The content_for tag requires a type to indicate whether it will render a single static block or a number of theme blocks defined in the JSON templates or section groups.\n\n- [`blocks`](/docs/api/liquid/tags/content_for#content_for-blocks)\n- [`block`](/docs/api/liquid/tags/content_for#content_for-block)",
|
|
7
|
+
"parameters": [],
|
|
10
8
|
"summary": "Creates a surface for rendering a block or blocks.",
|
|
11
9
|
"name": "content_for",
|
|
12
10
|
"syntax": "{% content_for 'blocks' %}\n{% content_for 'block', type: \"\", id: \"\" %}",
|
|
13
|
-
"syntax_keywords": [
|
|
14
|
-
|
|
15
|
-
],
|
|
11
|
+
"syntax_keywords": [],
|
|
16
12
|
"examples": [
|
|
17
13
|
{
|
|
18
14
|
"name": "blocks",
|
|
@@ -243,9 +239,7 @@
|
|
|
243
239
|
"deprecated": false,
|
|
244
240
|
"deprecation_reason": "",
|
|
245
241
|
"description": "",
|
|
246
|
-
"parameters": [
|
|
247
|
-
|
|
248
|
-
],
|
|
242
|
+
"parameters": [],
|
|
249
243
|
"summary": "Specify which [layout](/themes/architecture/layouts) to use.",
|
|
250
244
|
"name": "layout",
|
|
251
245
|
"syntax": "{% layout name %}",
|
|
@@ -273,9 +267,7 @@
|
|
|
273
267
|
"deprecated": false,
|
|
274
268
|
"deprecation_reason": "",
|
|
275
269
|
"description": "You can create variables of any [basic type](/docs/api/liquid/basics#types), [object](/docs/api/liquid/objects), or object property.",
|
|
276
|
-
"parameters": [
|
|
277
|
-
|
|
278
|
-
],
|
|
270
|
+
"parameters": [],
|
|
279
271
|
"summary": "Creates a new variable.",
|
|
280
272
|
"name": "assign",
|
|
281
273
|
"syntax": "{% assign variable_name = value %}",
|
|
@@ -307,15 +299,11 @@
|
|
|
307
299
|
"deprecated": false,
|
|
308
300
|
"deprecation_reason": "",
|
|
309
301
|
"description": "",
|
|
310
|
-
"parameters": [
|
|
311
|
-
|
|
312
|
-
],
|
|
302
|
+
"parameters": [],
|
|
313
303
|
"summary": "Stops a [`for` loop](/docs/api/liquid/tags/for) from iterating.",
|
|
314
304
|
"name": "break",
|
|
315
305
|
"syntax": "{% break %}",
|
|
316
|
-
"syntax_keywords": [
|
|
317
|
-
|
|
318
|
-
],
|
|
306
|
+
"syntax_keywords": [],
|
|
319
307
|
"examples": [
|
|
320
308
|
{
|
|
321
309
|
"name": "",
|
|
@@ -334,9 +322,7 @@
|
|
|
334
322
|
"deprecated": false,
|
|
335
323
|
"deprecation_reason": "",
|
|
336
324
|
"description": "You can create complex strings with Liquid logic and variables.",
|
|
337
|
-
"parameters": [
|
|
338
|
-
|
|
339
|
-
],
|
|
325
|
+
"parameters": [],
|
|
340
326
|
"summary": "Creates a new variable with a string value.",
|
|
341
327
|
"name": "capture",
|
|
342
328
|
"syntax": "{% capture variable %}\n value\n{% endcapture %}",
|
|
@@ -368,9 +354,7 @@
|
|
|
368
354
|
"deprecated": false,
|
|
369
355
|
"deprecation_reason": "",
|
|
370
356
|
"description": "",
|
|
371
|
-
"parameters": [
|
|
372
|
-
|
|
373
|
-
],
|
|
357
|
+
"parameters": [],
|
|
374
358
|
"summary": "Renders a specific expression depending on the value of a specific variable.",
|
|
375
359
|
"name": "case",
|
|
376
360
|
"syntax": "{% case variable %}\n {% when first_value %}\n first_expression\n {% when second_value %}\n second_expression\n {% else %}\n third_expression\n{% endcase %}",
|
|
@@ -428,9 +412,7 @@
|
|
|
428
412
|
"deprecated": false,
|
|
429
413
|
"deprecation_reason": "",
|
|
430
414
|
"description": "Any text inside `comment` tags won't be output, and any Liquid code will be parsed, but not executed.",
|
|
431
|
-
"parameters": [
|
|
432
|
-
|
|
433
|
-
],
|
|
415
|
+
"parameters": [],
|
|
434
416
|
"summary": "Prevents an expression from being rendered or output.",
|
|
435
417
|
"name": "comment",
|
|
436
418
|
"syntax": "{% comment %}\n content\n{% endcomment %}",
|
|
@@ -468,15 +450,11 @@
|
|
|
468
450
|
"deprecated": false,
|
|
469
451
|
"deprecation_reason": "",
|
|
470
452
|
"description": "",
|
|
471
|
-
"parameters": [
|
|
472
|
-
|
|
473
|
-
],
|
|
453
|
+
"parameters": [],
|
|
474
454
|
"summary": "Causes a [`for` loop](/docs/api/liquid/tags/for) to skip to the next iteration.",
|
|
475
455
|
"name": "continue",
|
|
476
456
|
"syntax": "{% continue %}",
|
|
477
|
-
"syntax_keywords": [
|
|
478
|
-
|
|
479
|
-
],
|
|
457
|
+
"syntax_keywords": [],
|
|
480
458
|
"examples": [
|
|
481
459
|
{
|
|
482
460
|
"name": "",
|
|
@@ -495,15 +473,11 @@
|
|
|
495
473
|
"deprecated": false,
|
|
496
474
|
"deprecation_reason": "",
|
|
497
475
|
"description": "The `cycle` tag must be used inside a `for` loop.\n\n> Tip:\n> Use the `cycle` tag to output text in a predictable pattern. For example, to apply odd/even classes to rows in a table.",
|
|
498
|
-
"parameters": [
|
|
499
|
-
|
|
500
|
-
],
|
|
476
|
+
"parameters": [],
|
|
501
477
|
"summary": "Loops through a group of strings and outputs them one at a time for each iteration of a [`for` loop](/docs/api/liquid/tags/for).",
|
|
502
478
|
"name": "cycle",
|
|
503
479
|
"syntax": "{% cycle string, string, ... %}",
|
|
504
|
-
"syntax_keywords": [
|
|
505
|
-
|
|
506
|
-
],
|
|
480
|
+
"syntax_keywords": [],
|
|
507
481
|
"examples": [
|
|
508
482
|
{
|
|
509
483
|
"name": "",
|
|
@@ -532,9 +506,7 @@
|
|
|
532
506
|
"deprecated": false,
|
|
533
507
|
"deprecation_reason": "",
|
|
534
508
|
"description": "Variables that are declared with `decrement` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),\nor [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across\n[snippets](/themes/architecture#snippets) included in the file.\n\nSimilarly, variables that are created with `decrement` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)\nand [`capture`](/docs/api/liquid/tags/capture). However, `decrement` and [`increment`](/docs/api/liquid/tags/increment) share\nvariables.",
|
|
535
|
-
"parameters": [
|
|
536
|
-
|
|
537
|
-
],
|
|
509
|
+
"parameters": [],
|
|
538
510
|
"summary": "Creates a new variable, with a default value of -1, that's decreased by 1 with each subsequent call.",
|
|
539
511
|
"name": "decrement",
|
|
540
512
|
"syntax": "{% decrement variable_name %}",
|
|
@@ -562,9 +534,7 @@
|
|
|
562
534
|
"deprecated": false,
|
|
563
535
|
"deprecation_reason": "",
|
|
564
536
|
"description": "Using the `echo` tag is the same as wrapping an expression in curly brackets (`{{` and `}}`). However, unlike the curly\nbracket method, you can use the `echo` tag inside [`liquid` tags](/docs/api/liquid/tags/liquid).\n\n> Tip:\n> You can use [filters](/docs/api/liquid/filters) on expressions inside `echo` tags.",
|
|
565
|
-
"parameters": [
|
|
566
|
-
|
|
567
|
-
],
|
|
537
|
+
"parameters": [],
|
|
568
538
|
"summary": "Outputs an expression.",
|
|
569
539
|
"name": "echo",
|
|
570
540
|
"syntax": "{% liquid\n echo expression\n%}",
|
|
@@ -660,7 +630,7 @@
|
|
|
660
630
|
},
|
|
661
631
|
{
|
|
662
632
|
"name": "limit",
|
|
663
|
-
"description": "You can limit the number of iterations using the `limit` parameter.",
|
|
633
|
+
"description": "You can limit the number of iterations using the `limit`\nparameter.\n\n> Tip:\n> Limit the amount of data fetched for arrays that can be paginated with the `paginate` tag instead of using the `limit` parameter. Learn more about [limiting data fetching](/docs/api/liquid/tags/paginate#paginate-limit-data-fetching) for improved server-side performance.\n",
|
|
664
634
|
"syntax": "{% for variable in array limit: number %}\n expression\n{% endfor %}\n",
|
|
665
635
|
"path": "/collections/sale-potions",
|
|
666
636
|
"raw_liquid": "{% for product in collection.products limit: 2 -%}\n {{ product.title }}\n{%- endfor %}",
|
|
@@ -705,9 +675,7 @@
|
|
|
705
675
|
"deprecated": false,
|
|
706
676
|
"deprecation_reason": "",
|
|
707
677
|
"description": "",
|
|
708
|
-
"parameters": [
|
|
709
|
-
|
|
710
|
-
],
|
|
678
|
+
"parameters": [],
|
|
711
679
|
"summary": "Renders an expression if a specific condition is `true`.",
|
|
712
680
|
"name": "if",
|
|
713
681
|
"syntax": "{% if condition %}\n expression\n{% endif %}",
|
|
@@ -749,9 +717,7 @@
|
|
|
749
717
|
"deprecated": true,
|
|
750
718
|
"deprecation_reason": "Deprecated because the way that variables are handled reduces performance and makes code harder to both read and maintain.\n\nThe `include` tag has been replaced by [`render`](/docs/api/liquid/tags/render).",
|
|
751
719
|
"description": "Inside the snippet, you can access and alter variables that are [created](/docs/api/liquid/tags/variable-tags) outside of the\nsnippet.",
|
|
752
|
-
"parameters": [
|
|
753
|
-
|
|
754
|
-
],
|
|
720
|
+
"parameters": [],
|
|
755
721
|
"summary": "Renders a [snippet](/themes/architecture#snippets).",
|
|
756
722
|
"name": "include",
|
|
757
723
|
"syntax": "{% include 'filename' %}",
|
|
@@ -761,18 +727,14 @@
|
|
|
761
727
|
"description": "The name of the snippet to render, without the `.liquid` extension."
|
|
762
728
|
}
|
|
763
729
|
],
|
|
764
|
-
"examples": [
|
|
765
|
-
|
|
766
|
-
]
|
|
730
|
+
"examples": []
|
|
767
731
|
},
|
|
768
732
|
{
|
|
769
733
|
"category": "variable",
|
|
770
734
|
"deprecated": false,
|
|
771
735
|
"deprecation_reason": "",
|
|
772
736
|
"description": "Variables that are declared with `increment` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),\nor [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across\n[snippets](/themes/architecture#snippets) included in the file.\n\nSimilarly, variables that are created with `increment` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)\nand [`capture`](/docs/api/liquid/tags/capture). However, `increment` and [`decrement`](/docs/api/liquid/tags/decrement) share\nvariables.",
|
|
773
|
-
"parameters": [
|
|
774
|
-
|
|
775
|
-
],
|
|
737
|
+
"parameters": [],
|
|
776
738
|
"summary": "Creates a new variable, with a default value of 0, that's increased by 1 with each subsequent call.",
|
|
777
739
|
"name": "increment",
|
|
778
740
|
"syntax": "{% increment variable_name %}",
|
|
@@ -800,9 +762,7 @@
|
|
|
800
762
|
"deprecated": false,
|
|
801
763
|
"deprecation_reason": "",
|
|
802
764
|
"description": "",
|
|
803
|
-
"parameters": [
|
|
804
|
-
|
|
805
|
-
],
|
|
765
|
+
"parameters": [],
|
|
806
766
|
"summary": "Outputs any Liquid code as text instead of rendering it.",
|
|
807
767
|
"name": "raw",
|
|
808
768
|
"syntax": "{% raw %}\n expression\n{% endraw %}",
|
|
@@ -830,9 +790,7 @@
|
|
|
830
790
|
"deprecated": false,
|
|
831
791
|
"deprecation_reason": "",
|
|
832
792
|
"description": "Inside snippets and app blocks, you can't directly access variables that are [created](/docs/api/liquid/tags/variable-tags) outside\nof the snippet or app block. However, you can [specify variables as parameters](/docs/api/liquid/tags/render#render-passing-variables-to-a-snippet)\nto pass outside variables to snippets.\n\nWhile you can't directly access created variables, you can access global objects, as well as any objects that are\ndirectly accessible outside the snippet or app block. For example, a snippet or app block inside the [product template](/themes/architecture/templates/product)\ncan access the [`product` object](/docs/api/liquid/objects/product), and a snippet or app block inside a [section](/themes/architecture/sections)\ncan access the [`section` object](/docs/api/liquid/objects/section).\n\nOutside a snippet or app block, you can't access variables created inside the snippet or app block.\n\n> Note:\n> When you render a snippet using the `render` tag, you can't use the [`include` tag](/docs/api/liquid/tags/include)\n> inside the snippet.",
|
|
833
|
-
"parameters": [
|
|
834
|
-
|
|
835
|
-
],
|
|
793
|
+
"parameters": [],
|
|
836
794
|
"summary": "Renders a [snippet](/themes/architecture#snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).",
|
|
837
795
|
"name": "render",
|
|
838
796
|
"syntax": "{% render 'filename' %}",
|
|
@@ -993,9 +951,7 @@
|
|
|
993
951
|
"deprecated": false,
|
|
994
952
|
"deprecation_reason": "",
|
|
995
953
|
"description": "> Tip:\n> Similar to the [`if` tag](/docs/api/liquid/tags/if), you can use `elsif` to add more conditions to an `unless` tag.",
|
|
996
|
-
"parameters": [
|
|
997
|
-
|
|
998
|
-
],
|
|
954
|
+
"parameters": [],
|
|
999
955
|
"summary": "Renders an expression unless a specific condition is `true`.",
|
|
1000
956
|
"name": "unless",
|
|
1001
957
|
"syntax": "{% unless condition %}\n expression\n{% endunless %}",
|
|
@@ -1080,6 +1036,16 @@
|
|
|
1080
1036
|
"display_type": "text",
|
|
1081
1037
|
"show_data_tab": true
|
|
1082
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "Limit data fetching",
|
|
1041
|
+
"description": "Limiting the number of iterations through an array with the `paginate` tag can be more performant than using the [`limit` parameter](/docs/api/liquid/tags/for#for-limit) of the `for` tag. The `limit` parameter sets the number of iterations executed, but not the amount of information fetched server-side.\n\nFor example, referencing `collection.products` will fetch information up to the first 50 products, regardless of the forloop's `limit` parameter. Use `paginate` and set a `page_size` to limit the amount of data fetched, and opt not to display any pagination controls.\n",
|
|
1042
|
+
"syntax": "",
|
|
1043
|
+
"path": "/collections/all",
|
|
1044
|
+
"raw_liquid": "{% paginate collection.products by 4 %}\n {% for product in collection.products -%}\n {{ product.title }}\n {%- endfor %}\n{% endpaginate -%}\n\n<!-- Less performant method -->\n{% for product in collection.products limit: 4 -%}\n {{ product.title }}\n{%- endfor -%}",
|
|
1045
|
+
"parameter": false,
|
|
1046
|
+
"display_type": "text",
|
|
1047
|
+
"show_data_tab": true
|
|
1048
|
+
},
|
|
1083
1049
|
{
|
|
1084
1050
|
"name": "window_size",
|
|
1085
1051
|
"description": "Set the window size of the pagination. The window size is the number of pages that should be visible in the pagination navigation.\n",
|
|
@@ -1097,9 +1063,7 @@
|
|
|
1097
1063
|
"deprecated": false,
|
|
1098
1064
|
"deprecation_reason": "",
|
|
1099
1065
|
"description": "You need to use these tags only if your section or app block is meant to be installed on multiple themes or stores. Otherwise, you should include the JavaScript that your section needs in your theme's [`assets`](/themes/architecture#assets) directory. Each section or app block can have only one `{% javascript %}` tag.\n\nTo learn more about how section-specific JavaScript is loaded and run, refer to the documentation for [sections](/themes/architecture/sections/section-assets#javascript).\n> Caution:\n> Liquid isn't rendered inside of `{% javascript %}` tags. Including Liquid code can cause syntax errors.",
|
|
1100
|
-
"parameters": [
|
|
1101
|
-
|
|
1102
|
-
],
|
|
1066
|
+
"parameters": [],
|
|
1103
1067
|
"summary": "JavaScript code included in a [section](/themes/architecture/sections) file.",
|
|
1104
1068
|
"name": "javascript",
|
|
1105
1069
|
"syntax": "{% javascript %}\n javascript_code\n{% endjavascript %}",
|
|
@@ -1109,18 +1073,14 @@
|
|
|
1109
1073
|
"description": "The JavaScript code for the section."
|
|
1110
1074
|
}
|
|
1111
1075
|
],
|
|
1112
|
-
"examples": [
|
|
1113
|
-
|
|
1114
|
-
]
|
|
1076
|
+
"examples": []
|
|
1115
1077
|
},
|
|
1116
1078
|
{
|
|
1117
1079
|
"category": "theme",
|
|
1118
1080
|
"deprecated": false,
|
|
1119
1081
|
"deprecation_reason": "",
|
|
1120
1082
|
"description": "Rendering a section with the `section` tag renders a section statically. To learn more about sections and how to use\nthem in your theme, refer to [Render a section](/themes/architecture/sections#render-a-section).",
|
|
1121
|
-
"parameters": [
|
|
1122
|
-
|
|
1123
|
-
],
|
|
1083
|
+
"parameters": [],
|
|
1124
1084
|
"summary": "Renders a [section](/themes/architecture/sections).",
|
|
1125
1085
|
"name": "section",
|
|
1126
1086
|
"syntax": "{% section 'name' %}",
|
|
@@ -1148,9 +1108,7 @@
|
|
|
1148
1108
|
"deprecated": false,
|
|
1149
1109
|
"deprecation_reason": "",
|
|
1150
1110
|
"description": "You need to use these tags only if your section or app block is meant to be installed on multiple themes or stores. Otherwise, you should include the CSS styles that your section needs in your theme's [`assets`](/themes/architecture#assets) directory. Each section or app block can have only one `{% stylesheet %}` tag.\n\nTo learn more about how section-specific CSS is loaded and run, refer to the documentation for [sections](/themes/architecture/sections/section-assets#stylesheet).\n> Caution:\n> Liquid isn't rendered inside of `{% stylesheet %}` tags. Including Liquid code can cause syntax errors.",
|
|
1151
|
-
"parameters": [
|
|
1152
|
-
|
|
1153
|
-
],
|
|
1111
|
+
"parameters": [],
|
|
1154
1112
|
"summary": "CSS styles included in a [section](/themes/architecture/sections) file.",
|
|
1155
1113
|
"name": "stylesheet",
|
|
1156
1114
|
"syntax": "{% stylesheet %}\n css_styles\n{% endstylesheet %}",
|
|
@@ -1160,18 +1118,14 @@
|
|
|
1160
1118
|
"description": "The CSS styles for the section."
|
|
1161
1119
|
}
|
|
1162
1120
|
],
|
|
1163
|
-
"examples": [
|
|
1164
|
-
|
|
1165
|
-
]
|
|
1121
|
+
"examples": []
|
|
1166
1122
|
},
|
|
1167
1123
|
{
|
|
1168
1124
|
"category": "theme",
|
|
1169
1125
|
"deprecated": false,
|
|
1170
1126
|
"deprecation_reason": "",
|
|
1171
1127
|
"description": "Use this tag to render section groups as part of the theme's [layout](/themes/architecture/layouts) content. Place the `sections` tag where you want to render it in the layout.\n\nTo learn more about section groups and how to use them in your theme, refer to [Section groups](/themes/architecture/section-groups#usage).",
|
|
1172
|
-
"parameters": [
|
|
1173
|
-
|
|
1174
|
-
],
|
|
1128
|
+
"parameters": [],
|
|
1175
1129
|
"summary": "Renders a [section group](/themes/architecture/section-groups).",
|
|
1176
1130
|
"name": "sections",
|
|
1177
1131
|
"syntax": "{% sections 'name' %}",
|
|
@@ -1181,18 +1135,14 @@
|
|
|
1181
1135
|
"description": "The name of the section group file you want to render."
|
|
1182
1136
|
}
|
|
1183
1137
|
],
|
|
1184
|
-
"examples": [
|
|
1185
|
-
|
|
1186
|
-
]
|
|
1138
|
+
"examples": []
|
|
1187
1139
|
},
|
|
1188
1140
|
{
|
|
1189
1141
|
"category": "html",
|
|
1190
1142
|
"deprecated": false,
|
|
1191
1143
|
"deprecation_reason": "",
|
|
1192
1144
|
"description": "> Note:\n> If you reference [color settings](/themes/architecture/settings/input-settings#color) inside `style` tags, then\n> the associated CSS rules will update as the setting is changed in the theme editor, without a page refresh.",
|
|
1193
|
-
"parameters": [
|
|
1194
|
-
|
|
1195
|
-
],
|
|
1145
|
+
"parameters": [],
|
|
1196
1146
|
"summary": "Generates an HTML `<style>` tag with an attribute of `data-shopify`.",
|
|
1197
1147
|
"name": "style",
|
|
1198
1148
|
"syntax": "{% style %}\n CSS_rules\n{% endstyle %}",
|
|
@@ -1220,9 +1170,7 @@
|
|
|
1220
1170
|
"deprecated": false,
|
|
1221
1171
|
"deprecation_reason": "",
|
|
1222
1172
|
"description": "You can use the `else` tag with the following tags:\n\n- [`case`](/docs/api/liquid/tags/case)\n- [`if`](/docs/api/liquid/tags/if)\n- [`unless`](/docs/api/liquid/tags/unless)",
|
|
1223
|
-
"parameters": [
|
|
1224
|
-
|
|
1225
|
-
],
|
|
1173
|
+
"parameters": [],
|
|
1226
1174
|
"summary": "Allows you to specify a default expression to execute when no other condition is met.",
|
|
1227
1175
|
"name": "else",
|
|
1228
1176
|
"syntax": "{% else %}\n expression",
|
|
@@ -1250,9 +1198,7 @@
|
|
|
1250
1198
|
"deprecated": false,
|
|
1251
1199
|
"deprecation_reason": "",
|
|
1252
1200
|
"description": "",
|
|
1253
|
-
"parameters": [
|
|
1254
|
-
|
|
1255
|
-
],
|
|
1201
|
+
"parameters": [],
|
|
1256
1202
|
"summary": "Allows you to specify a default expression to execute when a [`for` loop](/docs/api/liquid/tags/for) has zero length.",
|
|
1257
1203
|
"name": "else",
|
|
1258
1204
|
"syntax": "{% for variable in array %}\n first_expression\n{% else %}\n second_expression\n{% endfor %}",
|
|
@@ -1292,9 +1238,7 @@
|
|
|
1292
1238
|
"deprecated": false,
|
|
1293
1239
|
"deprecation_reason": "",
|
|
1294
1240
|
"description": "Because the tags don't have delimeters, each tag needs to be on its own line.\n\n> Tip:\n> Use the [`echo` tag](/docs/api/liquid/tags/echo) to output an expression inside `liquid` tags.",
|
|
1295
|
-
"parameters": [
|
|
1296
|
-
|
|
1297
|
-
],
|
|
1241
|
+
"parameters": [],
|
|
1298
1242
|
"summary": "Allows you to have a block of Liquid without delimeters on each tag.",
|
|
1299
1243
|
"name": "liquid",
|
|
1300
1244
|
"syntax": "{% liquid\n expression\n%}",
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QVZW3IVL.js";
|
|
8
8
|
import "./chunk-SHWOPMLQ.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AW7SZYGV.js";
|
|
10
|
+
import "./chunk-S3PY2ULH.js";
|
|
11
|
+
import "./chunk-IX7XAR6F.js";
|
|
12
12
|
import "./chunk-25IMI7TH.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DHO2PUCK.js";
|
|
14
|
+
import "./chunk-5ZMRZCPZ.js";
|
|
15
15
|
import "./chunk-HMDWNGIV.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-J3C7BGUW.js";
|
|
17
17
|
import "./chunk-B5EXYCV3.js";
|
|
18
18
|
import "./chunk-75LV6AQS.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-57Q6OQG4.js";
|
|
20
20
|
import "./chunk-VSKRQ3JT.js";
|
|
21
21
|
import "./chunk-G5R6YD27.js";
|
|
22
22
|
import "./chunk-3I3GQNEW.js";
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
35
35
|
sendErrorToBugsnag
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=error-handler-
|
|
37
|
+
//# sourceMappingURL=error-handler-WC4XSLZQ.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "../chunk-CP3BRHWK.js";
|
|
4
4
|
import {
|
|
5
5
|
reportAnalyticsEvent
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-AW7SZYGV.js";
|
|
7
|
+
import "../chunk-S3PY2ULH.js";
|
|
8
|
+
import "../chunk-IX7XAR6F.js";
|
|
9
9
|
import "../chunk-25IMI7TH.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-DHO2PUCK.js";
|
|
11
|
+
import "../chunk-5ZMRZCPZ.js";
|
|
12
12
|
import "../chunk-HMDWNGIV.js";
|
|
13
13
|
import {
|
|
14
14
|
addSensitiveMetadata,
|
|
15
15
|
getAllSensitiveMetadata,
|
|
16
16
|
outputDebug,
|
|
17
17
|
renderWarning
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-J3C7BGUW.js";
|
|
19
19
|
import "../chunk-B5EXYCV3.js";
|
|
20
20
|
import "../chunk-75LV6AQS.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-57Q6OQG4.js";
|
|
22
22
|
import "../chunk-VSKRQ3JT.js";
|
|
23
23
|
import "../chunk-G5R6YD27.js";
|
|
24
24
|
import "../chunk-3I3GQNEW.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RA5UDHSI.js";
|
|
4
4
|
import {
|
|
5
5
|
startAnalytics
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-S3PY2ULH.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchNotificationsInBackground
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-FJAIUBHO.js";
|
|
10
|
+
import "../chunk-IX7XAR6F.js";
|
|
11
11
|
import "../chunk-25IMI7TH.js";
|
|
12
12
|
import {
|
|
13
13
|
CLI_KIT_VERSION
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-DHO2PUCK.js";
|
|
15
15
|
import {
|
|
16
16
|
checkForCachedNewVersion,
|
|
17
17
|
checkForNewVersion,
|
|
18
18
|
runAtMinimumInterval
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-5ZMRZCPZ.js";
|
|
20
20
|
import "../chunk-HMDWNGIV.js";
|
|
21
21
|
import {
|
|
22
22
|
outputDebug,
|
|
23
23
|
outputWarn
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-J3C7BGUW.js";
|
|
25
25
|
import "../chunk-B5EXYCV3.js";
|
|
26
26
|
import "../chunk-75LV6AQS.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-57Q6OQG4.js";
|
|
28
28
|
import "../chunk-VSKRQ3JT.js";
|
|
29
29
|
import "../chunk-G5R6YD27.js";
|
|
30
30
|
import "../chunk-3I3GQNEW.js";
|