@speedkit/cli 2.34.0 → 2.35.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,10 @@
1
+ # [2.35.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.34.0...v2.35.0) (2024-06-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customer-config:** add ignore assets ([8774d78](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8774d78d042ee80937c13cdd38acff84ca5b7e4f))
7
+
1
8
  # [2.34.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.33.0...v2.34.0) (2024-06-21)
2
9
 
3
10
 
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.34.0 linux-x64 node-v20.14.0
24
+ @speedkit/cli/2.35.0 linux-x64 node-v20.14.0
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -93,14 +93,21 @@ const config = {
93
93
  walkPreRenderedElements(document);
94
94
  {{/if}}
95
95
  },
96
- {{#if isPlentymarkets}}
97
- stripComments: false, // Plentymarkets specific
98
- {{/if}}
99
- {{#if isShopify}}
100
- delayScriptPath: "/apps/speed-kit/speed-kit-dom-ready.js", // Shopify specific
101
- {{else}}
102
- delayScriptPath: "/speed-kit-dom-ready.js",
103
- {{/if}}
96
+ {{#if isPlentymarkets}}
97
+ stripComments: false, // Plentymarkets specific
98
+ {{/if}}
99
+ {{#if addPreRendering}}
100
+ ignoreAssets: [
101
+ // keep aligned with dynamicBlockConfig.assetChangeDetection.ignoreAssets
102
+ ],
103
+ {{else}}
104
+ ignoreAssets: [],
105
+ {{/if}}
106
+ {{#if isShopify}}
107
+ delayScriptPath: "/apps/speed-kit/speed-kit-dom-ready.js", // Shopify specific
108
+ {{else}}
109
+ delayScriptPath: "/speed-kit-dom-ready.js",
110
+ {{/if}}
104
111
  executeDeploymentDetection: true,
105
112
  {{#unless addPreRendering}}
106
113
  {{#if removeLazyLoading}}
@@ -37,6 +37,14 @@
37
37
  dynamicScriptExecution: true, // Shopify specific
38
38
  // => as some async external scripts are injected more or less randomly into the html, destroying the order of local & remote scripts
39
39
  {{/if}}
40
+ {{#if addPreRendering}}
41
+ assetChangeDetection: {
42
+ ignore: [
43
+ // keep aligned with DocumentHandler's config.ignoreAssets
44
+ ],
45
+ },
46
+ {{/if}}
47
+
40
48
  blocks: [
41
49
  // TODO: adjust/replace this exemplary list
42
50
  {{#if addPreRendering}}
@@ -681,5 +681,5 @@
681
681
  ]
682
682
  }
683
683
  },
684
- "version": "2.34.0"
684
+ "version": "2.35.0"
685
685
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.34.0",
4
+ "version": "2.35.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"