@speedkit/cli 2.52.0 → 2.53.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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [2.53.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.52.0...v2.53.0) (2024-08-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customer-config:** restore shopify-specific block config ([0e52434](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/0e52434ad7b6dde866bf5b006d7b138c124d8282))
7
+ * **customer-config:** set body as default main block ([d600453](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/d6004538cdd0daf86d7776cd95dd91a714b7635a))
8
+
1
9
  # [2.52.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.51.0...v2.52.0) (2024-08-09)
2
10
 
3
11
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @speedkit/cli
21
21
  $ sk COMMAND
22
22
  running command...
23
23
  $ sk (--version)
24
- @speedkit/cli/2.52.0 linux-x64 node-v20.16.0
24
+ @speedkit/cli/2.53.0 linux-x64 node-v20.17.0
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -61,48 +61,51 @@
61
61
  {{/unless}}
62
62
  {{/if}}
63
63
 
64
- {{#if isShopify}}
65
- // Shopify specific:
66
- {
67
- selector: "#shopify-section-announcement-bar",
68
- detectChanges: [{
69
- find: ".announcement-bar--wrapper",
70
- compare: ["text"],
71
- }],
72
- },
73
- // cover all the other high-level Shopify sections:
74
- {
75
- selector: "body > .shopify-section[id]",
76
- idAttribute: "id",
77
- },
78
-
79
- {{/if}}
80
64
  {
81
- selector: '#main',
65
+ selector: 'body',
82
66
  detectChanges: [
83
-
84
- // home teaser:
67
+ // Main Headline:
85
68
  {
86
- find: '.teaser a',
87
- compare: ['href'],
69
+ find: 'h1',
70
+ compare: ['text'],
88
71
  },
72
+
73
+ // Home:
89
74
  {
90
- find: '.teaser source',
75
+ find: '.stage-teaser source',
91
76
  compare: ['srcset'],
92
77
  },
93
78
 
94
- // plp:
79
+ // PLP:
95
80
  {
96
- find: '.product-grid .product a',
81
+ find: '.product-grid .product img',
97
82
  limit: 9, // only compare the first 9 products
98
- compare: ['href'],
83
+ compare: ['src'],
99
84
  },
100
85
  // ...
101
86
 
102
- // pdp:
87
+ // PDP:
103
88
  // ...
104
89
  ],
105
90
  },
91
+ {{#if isShopify}}
92
+
93
+ // Shopify specific:
94
+ {
95
+ selector: "#shopify-section-announcement-bar",
96
+ merge: false, // TODO: remove if body is not the main block
97
+ detectChanges: [{
98
+ find: ".announcement-bar--wrapper",
99
+ compare: ["text"],
100
+ }],
101
+ },
102
+ // Cover all the other high-level Shopify sections:
103
+ // TODO: activate if body is not the main block
104
+ // {
105
+ // selector: "body > .shopify-section[id]",
106
+ // idAttribute: "id",
107
+ // },
108
+ {{/if}}
106
109
  {{#if isPlentymarkets}}
107
110
 
108
111
  // Plentymarkets specific:
@@ -712,5 +712,5 @@
712
712
  ]
713
713
  }
714
714
  },
715
- "version": "2.52.0"
715
+ "version": "2.53.0"
716
716
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.52.0",
4
+ "version": "2.53.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"