@speedkit/cli 3.13.1 → 3.15.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,23 @@
|
|
|
1
|
+
# [3.15.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.14.0...v3.15.0) (2025-11-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* enable font preloads from SSR ([804f066](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/804f066631288302c2e49eea2612c532adfa5920))
|
|
7
|
+
|
|
8
|
+
# [3.14.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.13.1...v3.14.0) (2025-11-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **customer-config:** resolve unsupported document.head ([5b6dd8f](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/5b6dd8f1f08210128a6c1906417a7d276aea0ae6))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **customer-config:** extend query parameter stripping ([fe5b586](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/fe5b58693bd56a208454c777b43f29147b2e8c99))
|
|
19
|
+
* **customer-config:** ssr ignore print media css ([8eacf07](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/8eacf076efd583dec6ca066c3869d0a549aee647))
|
|
20
|
+
|
|
1
21
|
## [3.13.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.13.0...v3.13.1) (2025-10-28)
|
|
2
22
|
|
|
3
23
|
|
package/README.md
CHANGED
|
@@ -331,6 +331,7 @@
|
|
|
331
331
|
"kgclid",
|
|
332
332
|
"kk", // Kelkoo Shopping Search Engine Key
|
|
333
333
|
"ldtag_cl", // LINE Ads
|
|
334
|
+
"lt_r", // LINE Ads
|
|
334
335
|
"msclkid", // Microsoft Click ID
|
|
335
336
|
"msockid", // Microsoft Bing
|
|
336
337
|
"nsctrid",
|
|
@@ -338,6 +339,7 @@
|
|
|
338
339
|
"rtbhc", // RTB House
|
|
339
340
|
"s_kwcid", // AMO ID, Adobe Advertising Cloud
|
|
340
341
|
"soluteclid", // Solute Click ID
|
|
342
|
+
"srclt", // LINE Ads
|
|
341
343
|
"srsltid", // google search engine
|
|
342
344
|
"syclid",
|
|
343
345
|
"tblci", // Taboola Click ID
|
|
@@ -346,10 +348,12 @@
|
|
|
346
348
|
"ttclid", // TikTok Click ID
|
|
347
349
|
"ved",
|
|
348
350
|
"yclid", // Yandex Click ID
|
|
351
|
+
"yj_r", // Yahoo! JAPAN Ads
|
|
349
352
|
"zanpid", // AWIN (former Zanox Affiliate Network)
|
|
350
353
|
/^(mb|nb|nx|ny)$/,
|
|
351
354
|
/^WT\./, // WebTrends
|
|
352
355
|
/^[gw]braid$/, // Google's iOS web-to-app campaign measurement
|
|
356
|
+
/^_ly_/, // LY Ads
|
|
353
357
|
/^affid$/i, // Affiliate ID
|
|
354
358
|
/^bv(state|messageType|notificationId|recipientDomain)$/, // Bazaarvoice
|
|
355
359
|
/^campaign(_id)?$/,
|
|
@@ -143,10 +143,10 @@ const config = {
|
|
|
143
143
|
// TODO check if all necessary styles are extracted by this rule
|
|
144
144
|
{
|
|
145
145
|
selector: [
|
|
146
|
-
"head > style",
|
|
147
|
-
"head > link[rel='stylesheet'][href]",
|
|
148
|
-
"body > style",
|
|
149
|
-
"body > link[rel='stylesheet'][href]",
|
|
146
|
+
"head > style:not([media='print'])",
|
|
147
|
+
"head > link[rel='stylesheet'][href]:not([media='print'])",
|
|
148
|
+
"body > style:not([media='print'])",
|
|
149
|
+
"body > link[rel='stylesheet'][href]:not([media='print'])",
|
|
150
150
|
].join(","),
|
|
151
151
|
appendTo: "sk-shadow-app-root > template",
|
|
152
152
|
},
|
|
@@ -218,7 +218,7 @@ export const post = async (db, req, res) => {
|
|
|
218
218
|
return serviceWorkerRegister.call(this, swPath, options);
|
|
219
219
|
};`;
|
|
220
220
|
|
|
221
|
-
document.head.appendChild(swScript);
|
|
221
|
+
document.querySelector("head").appendChild(swScript);
|
|
222
222
|
}
|
|
223
223
|
{{/if}}
|
|
224
224
|
{{#if addSSR}}
|
|
@@ -259,6 +259,11 @@ export const post = async (db, req, res) => {
|
|
|
259
259
|
link.setAttribute("href", styleLink.getAttribute("href"));
|
|
260
260
|
head.append(link);
|
|
261
261
|
});
|
|
262
|
+
|
|
263
|
+
// preload fonts by moving font declarations from nested css to the head, as they are not supported in shadow doms
|
|
264
|
+
customShadowRoot.querySelectorAll(".speed-kit-font-face-preloads").forEach((fontFaceRules) => {
|
|
265
|
+
head.append(fontFaceRules);
|
|
266
|
+
});
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
269
|
|
package/oclif.manifest.json
CHANGED