@speedkit/cli 3.24.1 → 3.26.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,17 @@
1
+ # [3.26.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.25.0...v3.26.0) (2026-02-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customer-config:** add main domain to ssr allowlist by default ([41f5b96](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/41f5b96c3a32fb9a2299a9e7b587c493fba08086))
7
+
8
+ # [3.25.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.24.1...v3.25.0) (2026-02-09)
9
+
10
+
11
+ ### Features
12
+
13
+ * **customer-config:** add compare content hashes example ([558e84b](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/558e84b7933b4343179cd9962e4edcad6f769ea1))
14
+
1
15
  ## [3.24.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.24.0...v3.24.1) (2026-02-06)
2
16
 
3
17
 
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/3.24.1 linux-x64 node-v20.20.0
24
+ @speedkit/cli/3.26.0 linux-x64 node-v20.20.0
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -69,8 +69,8 @@ const config = {
69
69
  if (spbStatusCode && spbStatusCode !== "200") {
70
70
  return `initial status code unequal to 200 received from scrapingbee: ${url} ${spbStatusCode}`;
71
71
  }
72
- {{/if}}
73
72
 
73
+ {{/if}}
74
74
  return false;
75
75
  },
76
76
  shouldTransform({db, document, variation, url, headers}) {
@@ -127,11 +127,12 @@ const config = {
127
127
  {{else}}
128
128
  delayScriptPath: "/speed-kit-dom-ready.js",
129
129
  {{/if}}
130
- /**
131
- * @todo check for assets loaded via scoped-subroutes
132
- * enable scoped deployments like this executeDeploymentDetection: {scope: true} when found
133
- **/
134
- executeDeploymentDetection: true,
130
+ executeDeploymentDetection: {
131
+ // execute deployment detection scoped to locale subroutes:
132
+ // scope: true,
133
+ // domains with unhashed assets to cover with content hash comparison:
134
+ // compareContentHashes: ['<domain>'],
135
+ },
135
136
  {{#if removeLazyLoading}}
136
137
  lazyLoadList,
137
138
  {{/if}}
@@ -170,8 +171,16 @@ const config = {
170
171
  ],
171
172
  rules: {
172
173
  url: [
173
- // additional domains for the page to work need to be added here (main domain is already added)
174
- '<scripts-domain.com>',
174
+ // Asset Sub-Paths on Main Domains:
175
+ // TODO: identify and declare specific asset sub-paths instead of putting entire domains on the allowlist
176
+ // (e.g. www.domain.de/media/css instead of www.domain.de)
177
+ "{{production.host}}",
178
+ {{#if staging.host}}
179
+ "{{staging.host}}",
180
+ {{/if}}
181
+
182
+ // Additional Asset Domains:
183
+ // '<domain>',
175
184
  ],
176
185
  resourceType: [
177
186
  // only resource types listed here will be fetched
@@ -731,5 +731,5 @@
731
731
  ]
732
732
  }
733
733
  },
734
- "version": "3.24.1"
734
+ "version": "3.26.0"
735
735
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "3.24.1",
4
+ "version": "3.26.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"