@speedkit/cli 3.14.0 → 3.15.1
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.15.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.15.0...v3.15.1) (2025-11-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **wizard:** doc-handler-config ([609a840](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/609a8401885f2bb2c2f48feeb9ed6ff6d2a85ea7))
|
|
7
|
+
|
|
8
|
+
# [3.15.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.14.0...v3.15.0) (2025-11-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* enable font preloads from SSR ([804f066](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/804f066631288302c2e49eea2612c532adfa5920))
|
|
14
|
+
|
|
1
15
|
# [3.14.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.13.1...v3.14.0) (2025-11-06)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -208,7 +208,7 @@ export const post = async (db, req, res) => {
|
|
|
208
208
|
function injectServiceWorkerScript(document, searchedSwPath) {
|
|
209
209
|
const swScript = document.createElement("script");
|
|
210
210
|
swScript.setAttribute("id", "speed-kit-service-worker");
|
|
211
|
-
swScript.type
|
|
211
|
+
swScript.setAttribute("type", "text/javascript");
|
|
212
212
|
swScript.innerHTML = `
|
|
213
213
|
var serviceWorkerRegister = ServiceWorkerContainer.prototype.register;
|
|
214
214
|
ServiceWorkerContainer.prototype.register = function (swPath, options) {
|
|
@@ -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