@shopify/cli 3.60.0 → 3.60.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 (96) hide show
  1. package/dist/{chunk-EANTE4MT.js → chunk-4LDHNDYE.js} +4 -4
  2. package/dist/{chunk-IZU2AQEQ.js → chunk-5AS274TH.js} +1 -1
  3. package/dist/{chunk-BIDUT2RV.js → chunk-6HKMY2UF.js} +2 -2
  4. package/dist/{chunk-DQNIIVBG.js → chunk-6IDIGZKI.js} +1 -1
  5. package/dist/{chunk-7VU6FOLD.js → chunk-76FPU4Y4.js} +3 -3
  6. package/dist/{chunk-ZCRCEEIR.js → chunk-7DPKKYLI.js} +3 -3
  7. package/dist/{chunk-7ORYLSDK.js → chunk-A63WAXQ5.js} +1 -1
  8. package/dist/{chunk-Y4AOSTJD.js → chunk-BKLNHG3A.js} +4 -4
  9. package/dist/{chunk-BSOZ6PRB.js → chunk-GZXEPYCR.js} +1 -1
  10. package/dist/{chunk-YVHTE4VJ.js → chunk-I5U2GOJX.js} +2 -2
  11. package/dist/{chunk-KEIEB4WC.js → chunk-IDJLU3F6.js} +2 -2
  12. package/dist/{chunk-W7VW72CK.js → chunk-IKV3JAIE.js} +2 -2
  13. package/dist/{chunk-URD52LAO.js → chunk-IN5IG3IS.js} +1 -1
  14. package/dist/{chunk-RZVQGETB.js → chunk-KPUG3N6O.js} +3 -3
  15. package/dist/{chunk-NAXATNVY.js → chunk-M2LKXZGR.js} +4 -4
  16. package/dist/{chunk-ZLSD2RNR.js → chunk-OK6RFX7A.js} +1 -1
  17. package/dist/{chunk-B4622FYO.js → chunk-QE677YMX.js} +1 -1
  18. package/dist/{chunk-U2VYZHIW.js → chunk-QGJ5DP4W.js} +3 -3
  19. package/dist/{chunk-2T7IS53S.js → chunk-QNRAAJ6E.js} +2 -2
  20. package/dist/{chunk-4HU62A6V.js → chunk-QU5QY6ID.js} +3 -3
  21. package/dist/{chunk-PU5KGSLR.js → chunk-R2FRHR2E.js} +2 -2
  22. package/dist/{chunk-NQYIB3IR.js → chunk-S42TVKB4.js} +2 -2
  23. package/dist/{chunk-RNLLSL24.js → chunk-SQR2WUOU.js} +2 -2
  24. package/dist/{chunk-3RAXFENB.js → chunk-STBFB2GC.js} +2 -2
  25. package/dist/{chunk-55F2DQCB.js → chunk-UJNJ5XCL.js} +1 -1
  26. package/dist/{chunk-2EVDXDJS.js → chunk-UQNUIOTG.js} +1 -1
  27. package/dist/{chunk-FVRSV2AX.js → chunk-VQWQFBVA.js} +1 -1
  28. package/dist/{chunk-T3QDR67D.js → chunk-WC5J3EVR.js} +3 -3
  29. package/dist/{chunk-LDKJK42D.js → chunk-WWX3LICJ.js} +4 -4
  30. package/dist/{chunk-G56QICQP.js → chunk-Z3ORRLFL.js} +1 -1
  31. package/dist/{chunk-BUQTR47W.js → chunk-ZDPFPYD3.js} +3 -3
  32. package/dist/cli/commands/auth/logout.js +9 -9
  33. package/dist/cli/commands/auth/logout.test.js +10 -10
  34. package/dist/cli/commands/debug/command-flags.js +9 -9
  35. package/dist/cli/commands/demo/catalog.js +10 -10
  36. package/dist/cli/commands/demo/generate-file.js +10 -10
  37. package/dist/cli/commands/demo/index.js +9 -9
  38. package/dist/cli/commands/demo/print-ai-prompt.js +10 -10
  39. package/dist/cli/commands/docs/generate.js +9 -9
  40. package/dist/cli/commands/docs/generate.test.js +9 -9
  41. package/dist/cli/commands/help.js +9 -9
  42. package/dist/cli/commands/hydrogen/init.js +9 -9
  43. package/dist/cli/commands/kitchen-sink/async.js +10 -10
  44. package/dist/cli/commands/kitchen-sink/async.test.js +10 -10
  45. package/dist/cli/commands/kitchen-sink/index.js +12 -12
  46. package/dist/cli/commands/kitchen-sink/index.test.js +12 -12
  47. package/dist/cli/commands/kitchen-sink/prompts.js +10 -10
  48. package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -10
  49. package/dist/cli/commands/kitchen-sink/static.js +10 -10
  50. package/dist/cli/commands/kitchen-sink/static.test.js +10 -10
  51. package/dist/cli/commands/search.js +10 -10
  52. package/dist/cli/commands/upgrade.js +9 -9
  53. package/dist/cli/commands/version.js +10 -10
  54. package/dist/cli/commands/version.test.js +10 -10
  55. package/dist/cli/services/commands/search.js +2 -2
  56. package/dist/cli/services/commands/search.test.js +2 -2
  57. package/dist/cli/services/commands/version.js +4 -4
  58. package/dist/cli/services/commands/version.test.js +5 -5
  59. package/dist/cli/services/demo.js +2 -2
  60. package/dist/cli/services/demo.test.js +2 -2
  61. package/dist/cli/services/kitchen-sink/async.js +2 -2
  62. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  63. package/dist/cli/services/kitchen-sink/static.js +2 -2
  64. package/dist/cli/services/upgrade.js +3 -3
  65. package/dist/cli/services/upgrade.test.js +5 -5
  66. package/dist/{custom-oclif-loader-2FLACCMK.js → custom-oclif-loader-SV4V5NXW.js} +1 -1
  67. package/dist/data/app_block_entry.json +13 -0
  68. package/dist/data/default_setting_values.json +24 -0
  69. package/dist/data/filters.json +5818 -0
  70. package/dist/data/latest.json +2 -0
  71. package/dist/data/local_block_entry.json +25 -0
  72. package/dist/data/manifest_theme.json +17 -0
  73. package/dist/data/manifest_theme_app_extension.json +10 -0
  74. package/dist/data/objects.json +21250 -0
  75. package/dist/data/section.json +241 -0
  76. package/dist/data/setting.json +913 -0
  77. package/dist/data/settings.json +10 -0
  78. package/dist/data/shopify_system_translations.json +1882 -0
  79. package/dist/data/tags.json +1273 -0
  80. package/dist/data/targetted_block_entry.json +15 -0
  81. package/dist/data/theme_block.json +123 -0
  82. package/dist/data/theme_block_entry.json +14 -0
  83. package/dist/data/theme_settings.json +83 -0
  84. package/dist/data/translations.json +56 -0
  85. package/dist/{error-handler-RU2ELIV6.js → error-handler-WRZSR3LR.js} +7 -7
  86. package/dist/hooks/init.js +1 -1
  87. package/dist/hooks/postrun.js +6 -6
  88. package/dist/hooks/prerun.js +4 -4
  89. package/dist/index.js +507 -461
  90. package/dist/{local-IWFESFES.js → local-A6DCNVDB.js} +1 -1
  91. package/dist/{node-package-manager-HBYFQNJQ.js → node-package-manager-CLN2ZN2M.js} +2 -2
  92. package/dist/{system-KY2XFEXZ.js → system-OPIC6REP.js} +1 -1
  93. package/dist/tsconfig.tsbuildinfo +1 -1
  94. package/dist/{ui-MN3VE2TA.js → ui-WTE37V74.js} +1 -1
  95. package/oclif.manifest.json +1 -17
  96. package/package.json +3 -3
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$comment": "A targetted private or public theme block from the blocks/ folder.",
4
+ "type": "object",
5
+ "required": ["type"],
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "type": {
9
+ "type": "string",
10
+ "pattern": "^[a-zA-Z0-9_-]+$",
11
+ "description": "Developer preview: The name of a theme block found in the blocks/ folder of the theme.",
12
+ "markdownDescription": "🔮 **Developer preview**: The name of a theme block found in the `blocks/` folder of the theme.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#blocks)"
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Shopify Liquid Theme Block Schema",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "description": "The name attribute determines the block title that's shown in the theme editor.",
10
+ "markdownDescription": "The `name` attribute determines the block title that's shown in the theme editor.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#name)"
11
+ },
12
+
13
+ "settings": {
14
+ "$ref": "./settings.json"
15
+ },
16
+
17
+ "blocks": {
18
+ "type": "array",
19
+ "description": "Theme blocks can accept other app and theme blocks as children using the blocks attribute of their schema.",
20
+ "markdownDescription": "Theme blocks can accept other app and theme blocks as children using the `blocks` attribute of their schema.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#blocks)",
21
+ "items": {
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": ["type"],
25
+ "properties": {
26
+ "type": {
27
+ "type": "string",
28
+ "description": "The type of block that can be added to this block.",
29
+ "markdownDescription": "The type of block that can be added to this block.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#blocks)"
30
+ }
31
+ },
32
+ "$comment": "The allOf rule here exists because that's how we do discriminated unions in JSON schemas. If a rule matches, that rule will be used to document the type property. Otherwise we fallback to the docs above.",
33
+ "allOf": [
34
+ {
35
+ "if": { "required": ["type"], "properties": { "type": { "const": "@theme" } } },
36
+ "then": { "$ref": "./theme_block_entry.json" }
37
+ },
38
+ {
39
+ "if": { "required": ["type"], "properties": { "type": { "const": "@app" } } },
40
+ "then": { "$ref": "./app_block_entry.json" }
41
+ },
42
+ {
43
+ "if": {
44
+ "required": ["type"],
45
+ "properties": {
46
+ "type": {
47
+ "type": "string",
48
+ "not": { "enum": ["@app", "@theme"] }
49
+ }
50
+ }
51
+ },
52
+ "then": { "$ref": "./targetted_block_entry.json" }
53
+ }
54
+ ]
55
+ }
56
+ },
57
+
58
+ "presets": {
59
+ "type": "array",
60
+ "description": "Presets are default configurations of blocks that enable merchants to easily add a block to a JSON template through the theme editor.",
61
+ "markdownDescription": "Presets are default configurations of blocks that enable merchants to easily add a block to a JSON template through the theme editor.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#presets)",
62
+ "items": {
63
+ "type": "object",
64
+ "required": ["name"],
65
+ "properties": {
66
+ "name": {
67
+ "type": "string",
68
+ "description": "The preset name, which displays in the Add block picker of the theme editor.",
69
+ "markdownDescription": "The preset name, which displays in the <strong>Add block</strong> picker of the theme editor.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#presets)"
70
+ },
71
+ "settings": {
72
+ "$ref": "./default_setting_values.json"
73
+ },
74
+ "blocks": {
75
+ "type": "array",
76
+ "description": "A list of child blocks that you might want to include.",
77
+ "markdownDescription": "A list of child blocks that you might want to include.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#presets)",
78
+ "required": ["type"],
79
+ "items": {
80
+ "type": "object",
81
+ "properties": {
82
+ "type": {
83
+ "type": "string",
84
+ "description": "The block type."
85
+ },
86
+ "settings": {
87
+ "$ref": "./default_setting_values.json"
88
+ },
89
+ "blocks": {
90
+ "$ref": "#/properties/presets/items/properties/blocks"
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ },
98
+
99
+ "tag": {
100
+ "description": "The HTML element that is used to wrap the rendered block. Accepts any string up to 50 characters. Can be used to render custom HTML elements. Use null to render without a wrapping element.",
101
+ "markdownDescription": "The HTML element that is used to wrap the rendered block. Accepts any string up to 50 characters. Can be used to render custom HTML elements.\n\nUse `null` to render without a wrapping element.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#tag)",
102
+ "oneOf": [
103
+ {
104
+ "description": "If you don't want to use a <div>, then you can specify which kind of HTML element to use.",
105
+ "markdownDescription": "If you don't want to use a `<div>`, then you can specify which kind of HTML element to use.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#tag)",
106
+ "type": "string",
107
+ "maxLength": 50
108
+ },
109
+ {
110
+ "description": "Used to render the block without a wrapping element.",
111
+ "markdownDescription": "Used to render the block without a wrapping element.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#rendering-blocks-without-a-wrapper)",
112
+ "type": "null"
113
+ }
114
+ ]
115
+ },
116
+
117
+ "class": {
118
+ "type": "string",
119
+ "description": "When Shopify renders a block, it's wrapped in an HTML element with the shopify-block class. You can append other classes by using the class attribute.",
120
+ "markdownDescription": "When Shopify renders a block, it's wrapped in an HTML element with the `shopify-block` class. You can append other classes by using the class attribute.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#class)"
121
+ }
122
+ }
123
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$comment": "A @theme block entry",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": ["type"],
7
+ "properties": {
8
+ "type": {
9
+ "const": "@theme",
10
+ "description": "Developer preview: The \"@theme\" type denotes that this container accepts theme blocks that live in the blocks/ folder of the theme.",
11
+ "markdownDescription": "🔮 **Developer preview**: The `@theme` type denotes that this container accepts theme blocks that live in the `blocks/` folder of the theme.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/theme-blocks/schema#blocks)"
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "JSON schema for config/settings_schema.json files.",
4
+ "description": "The settings that merchants can configure in the theme editor.",
5
+ "markdownDescription": "The settings that merchants can configure in the theme editor.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/config/settings-schema-json)",
6
+ "type": "array",
7
+ "items": {
8
+ "anyOf": [
9
+ {
10
+ "title": "Theme metadata",
11
+ "markdownDescription": "Additional metadata for your theme that shows up in the Theme actions menu of the theme editor.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/config/settings-schema-json#add-theme-metadata)",
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "description": "You may use the 'theme_info' object for theme metadata.",
16
+ "markdownDescription": "[Shopify reference](https://shopify.dev/docs/themes/architecture/config/settings-schema-json#add-theme-metadata)",
17
+ "const": "theme_info"
18
+ },
19
+ "theme_name": {
20
+ "type": "string",
21
+ "description": "The name of the theme."
22
+ },
23
+ "theme_author": {
24
+ "type": "string",
25
+ "description": "The author of the theme."
26
+ },
27
+ "theme_version": {
28
+ "type": "string",
29
+ "description": "The version number of the theme."
30
+ },
31
+ "theme_documentation_url": {
32
+ "type": "string",
33
+ "format": "uri",
34
+ "description": "A URL where merchants can find documentation for the theme."
35
+ },
36
+ "theme_support_email": {
37
+ "type": "string",
38
+ "format": "email",
39
+ "description": "An email address that merchants can contact for support for the theme."
40
+ },
41
+ "theme_support_url": {
42
+ "type": "string",
43
+ "format": "uri",
44
+ "description": "A URL where merchants can find support for the theme."
45
+ }
46
+ },
47
+ "required": [
48
+ "name",
49
+ "theme_name",
50
+ "theme_author",
51
+ "theme_version",
52
+ "theme_documentation_url"
53
+ ],
54
+ "oneOf": [
55
+ {
56
+ "required": ["theme_support_email"],
57
+ "not": { "required": ["theme_support_url"] }
58
+ },
59
+ {
60
+ "required": ["theme_support_url"],
61
+ "not": { "required": ["theme_support_email"] }
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "type": "object",
67
+ "properties": {
68
+ "name": {
69
+ "type": "string",
70
+ "description": "The name of the category of settings.",
71
+ "markdownDescription": "The name of the category of settings.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/config/settings-schema-json#schema)",
72
+ "not": {
73
+ "const": "theme_info"
74
+ }
75
+ },
76
+ "settings": {
77
+ "$ref": "./settings.json"
78
+ }
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "additionalProperties": {
5
+ "anyOf": [
6
+ {
7
+ "type": "string"
8
+ },
9
+ {
10
+ "$ref": "#/definitions/pluralizedString"
11
+ },
12
+ {
13
+ "$ref": "#"
14
+ }
15
+ ]
16
+ },
17
+ "patternProperties": {
18
+ ".*_html$": {
19
+ "type": "string",
20
+ "description": "Translation string that contains HTML. The '_html' suffix prevents the HTML content from being escaped."
21
+ }
22
+ },
23
+ "definitions": {
24
+ "pluralizedString": {
25
+ "type": "object",
26
+ "properties": {
27
+ "one": {
28
+ "type": "string",
29
+ "description": "Translation for the singular form"
30
+ },
31
+ "other": {
32
+ "type": "string",
33
+ "description": "Translation for the plural form"
34
+ },
35
+ "few": {
36
+ "type": "string",
37
+ "description": "Translation for 'few' form, used in some languages"
38
+ },
39
+ "many": {
40
+ "type": "string",
41
+ "description": "Translation for 'many' form, used in some languages"
42
+ },
43
+ "two": {
44
+ "type": "string",
45
+ "description": "Translation for 'two' form, used in some languages"
46
+ },
47
+ "zero": {
48
+ "type": "string",
49
+ "description": "Translation for 'zero' form, used in some languages"
50
+ }
51
+ },
52
+ "additionalProperties": false,
53
+ "description": "An object representing a pluralized translation string"
54
+ }
55
+ }
56
+ }
@@ -4,16 +4,16 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-NAXATNVY.js";
7
+ } from "./chunk-M2LKXZGR.js";
8
8
  import "./chunk-LKGDG6WW.js";
9
- import "./chunk-Y4AOSTJD.js";
9
+ import "./chunk-BKLNHG3A.js";
10
10
  import "./chunk-TMGCRPEZ.js";
11
- import "./chunk-BUQTR47W.js";
12
- import "./chunk-URD52LAO.js";
13
- import "./chunk-2EVDXDJS.js";
14
- import "./chunk-55F2DQCB.js";
11
+ import "./chunk-ZDPFPYD3.js";
12
+ import "./chunk-IN5IG3IS.js";
13
+ import "./chunk-UQNUIOTG.js";
14
+ import "./chunk-UJNJ5XCL.js";
15
15
  import "./chunk-23EONB5V.js";
16
- import "./chunk-ZLSD2RNR.js";
16
+ import "./chunk-OK6RFX7A.js";
17
17
  import "./chunk-FQIRJADJ.js";
18
18
  import "./chunk-FBB6KUZG.js";
19
19
  import "./chunk-OVPEO3GL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderWarning
3
- } from "../chunk-ZLSD2RNR.js";
3
+ } from "../chunk-OK6RFX7A.js";
4
4
  import "../chunk-FQIRJADJ.js";
5
5
  import "../chunk-FBB6KUZG.js";
6
6
  import "../chunk-OVPEO3GL.js";
@@ -3,19 +3,19 @@ import {
3
3
  } from "../chunk-KDOLMUJB.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-Y4AOSTJD.js";
6
+ } from "../chunk-BKLNHG3A.js";
7
7
  import "../chunk-TMGCRPEZ.js";
8
- import "../chunk-BUQTR47W.js";
9
- import "../chunk-URD52LAO.js";
10
- import "../chunk-2EVDXDJS.js";
11
- import "../chunk-55F2DQCB.js";
8
+ import "../chunk-ZDPFPYD3.js";
9
+ import "../chunk-IN5IG3IS.js";
10
+ import "../chunk-UQNUIOTG.js";
11
+ import "../chunk-UJNJ5XCL.js";
12
12
  import "../chunk-23EONB5V.js";
13
13
  import {
14
14
  addSensitiveMetadata,
15
15
  getAllSensitiveMetadata,
16
16
  outputDebug,
17
17
  renderWarning
18
- } from "../chunk-ZLSD2RNR.js";
18
+ } from "../chunk-OK6RFX7A.js";
19
19
  import "../chunk-FQIRJADJ.js";
20
20
  import "../chunk-FBB6KUZG.js";
21
21
  import "../chunk-OVPEO3GL.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  startAnalytics
3
- } from "../chunk-BUQTR47W.js";
4
- import "../chunk-URD52LAO.js";
5
- import "../chunk-55F2DQCB.js";
3
+ } from "../chunk-ZDPFPYD3.js";
4
+ import "../chunk-IN5IG3IS.js";
5
+ import "../chunk-UJNJ5XCL.js";
6
6
  import "../chunk-23EONB5V.js";
7
7
  import {
8
8
  initDemoRecorder,
9
9
  outputDebug
10
- } from "../chunk-ZLSD2RNR.js";
10
+ } from "../chunk-OK6RFX7A.js";
11
11
  import "../chunk-FQIRJADJ.js";
12
12
  import "../chunk-FBB6KUZG.js";
13
13
  import "../chunk-OVPEO3GL.js";