@speedkit/cli 2.92.1 → 2.94.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,18 @@
1
+ # [2.94.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.93.0...v2.94.0) (2025-07-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customer-config:** optimise block order of query parameter stripping ([fdf15db](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/fdf15db2646cf152cb3a30d2f3958974538ea02c))
7
+
8
+ # [2.93.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.92.1...v2.93.0) (2025-07-29)
9
+
10
+
11
+ ### Features
12
+
13
+ * **wizard:** ssr ([072fb92](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/072fb926421fa6453197bdb928d9b9571aa1a7f4))
14
+ * **wizard:** ssr ([2e9b753](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/2e9b7537bef33ee1a8d783ea1534432e23b1f846))
15
+
1
16
  ## [2.92.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.92.0...v2.92.1) (2025-07-25)
2
17
 
3
18
 
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.92.1 linux-x64 node-v20.19.4
24
+ @speedkit/cli/2.94.0 linux-x64 node-v20.19.4
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -304,27 +304,6 @@
304
304
  ],
305
305
  stripQueryParams: [{
306
306
  params: [
307
- // TODO: extend during query param analysis
308
- {{#if isShopify}}
309
-
310
- // Shopify specific:
311
- "_fid",
312
- "_pos",
313
- "_psq",
314
- "_sid",
315
- "_ss",
316
- "_v",
317
- /^pr_/i, // Product Recommendation
318
- {{/if}}
319
- {{#if isOxid}}
320
-
321
- // OXID specific:
322
- "cnid",
323
- "ecmId",
324
- "ecmUid",
325
- "force_sid",
326
- {{/if}}
327
-
328
307
  // Default:
329
308
  "_ga", // Google Analytics User ID (Universal Analytics)
330
309
  "_gl", // Google Analytics User ID (GA 4+)
@@ -393,6 +372,28 @@
393
372
  /^vm(st|track)_id$/,
394
373
  /^wg(u|expiry)$/, // Webgains Affiliate Network
395
374
  /^wt_(mc|az|ref|t)$/, // Webtrekk/Mapp Intelligence
375
+ {{#if isShopify}}
376
+
377
+ // Shopify specific:
378
+ "_fid",
379
+ "_pos",
380
+ "_psq",
381
+ "_sid",
382
+ "_ss",
383
+ "_v",
384
+ /^pr_/i, // Product Recommendation
385
+ {{/if}}
386
+ {{#if isOxid}}
387
+
388
+ // OXID specific:
389
+ "cnid",
390
+ "ecmId",
391
+ "ecmUid",
392
+ "force_sid",
393
+ {{/if}}
394
+
395
+ // Site-specific:
396
+ // TODO: extend or remove during query param analysis
396
397
  ],
397
398
  }],
398
399
  };
@@ -138,17 +138,20 @@ const config = {
138
138
  preRender: {
139
139
  lambdaUrl: '<generate-new-lambda-function-and-paste-url-endpoint-here>',
140
140
  elements: [
141
- // this will be the main element to extract from the rendered DOM
142
- { selector: "body > #app", appendTo: ".sk-container template" },
143
141
  // append all extracted styles to all pre-rendered elements (as they are capsuled in shadow doms)
142
+ // TODO check if all necessary styles are extracted by this rule
144
143
  {
145
- selector: 'head > link[href*="css"]',
146
- appendTo: ".sk-container template",
147
- },
148
- {
149
- selector: "head > style",
144
+ selector: [
145
+ "head > style",
146
+ "head > link[rel='stylesheet'][href]",
147
+ "body > style",
148
+ "body > link[rel='stylesheet'][href]",
149
+ ].join(","),
150
150
  appendTo: ".sk-container template",
151
151
  },
152
+ // this will be the main element to extract from the rendered DOM
153
+ // TODO change selector to the main element of your page
154
+ { selector: "body > #app", appendTo: ".sk-container template" },
152
155
  ],
153
156
  guards: [
154
157
  {
@@ -712,5 +712,5 @@
712
712
  ]
713
713
  }
714
714
  },
715
- "version": "2.92.1"
715
+ "version": "2.94.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.92.1",
4
+ "version": "2.94.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"