@speedkit/cli 3.11.2 → 3.12.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,24 @@
|
|
|
1
|
+
# [3.12.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.4...v3.12.0) (2025-10-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add dynamic styles hot reload for SSR ([a49a319](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/a49a3191fa3da95928e6726d09c9f202daf20fd7))
|
|
7
|
+
|
|
8
|
+
## [3.11.4](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.3...v3.11.4) (2025-10-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add header function to localRequest ([1963f7c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1963f7c1bdb955e4d89c7598eb7998ae48e1ae00))
|
|
14
|
+
|
|
15
|
+
## [3.11.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.2...v3.11.3) (2025-10-21)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **wizard:** lazy-removal adapt to DOM doc-handler ([968e4bc](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/968e4bc74629df287ffa47bdd93539c577831a55))
|
|
21
|
+
|
|
1
22
|
## [3.11.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.1...v3.11.2) (2025-10-21)
|
|
2
23
|
|
|
3
24
|
|
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
// Content page's stage image:
|
|
19
19
|
{
|
|
20
20
|
...lazyLoadDefaultConfig,
|
|
21
|
-
|
|
22
|
-
'image-with-text-overlay__banner',
|
|
21
|
+
elementSelectors: [
|
|
22
|
+
'.image-with-text-overlay__banner',
|
|
23
23
|
],
|
|
24
24
|
limit: 1
|
|
25
25
|
},
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
// PLP product images:
|
|
28
28
|
{
|
|
29
29
|
...lazyLoadDefaultConfig,
|
|
30
|
-
|
|
31
|
-
'product-image__wrapper',
|
|
30
|
+
elementSelectors: [
|
|
31
|
+
'.product-image__wrapper',
|
|
32
32
|
],
|
|
33
33
|
limit: 4
|
|
34
34
|
},
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
// PDP hero image:
|
|
37
37
|
{
|
|
38
38
|
...lazyLoadDefaultConfig,
|
|
39
|
-
|
|
40
|
-
'product-gallery__image',
|
|
39
|
+
elementSelectors: [
|
|
40
|
+
'.product-gallery__image',
|
|
41
41
|
],
|
|
42
42
|
limit: 1
|
|
43
43
|
},
|
|
@@ -226,11 +226,19 @@ class FileWatcher {
|
|
|
226
226
|
}
|
|
227
227
|
updateStylesInlineFunction(styles) {
|
|
228
228
|
try {
|
|
229
|
+
const styleContent = decodeURI(styles);
|
|
229
230
|
const styleElement = document.querySelector("#speed-kit-df-styles");
|
|
230
231
|
if (styleElement) {
|
|
231
|
-
styleElement.textContent =
|
|
232
|
+
styleElement.textContent = styleContent;
|
|
232
233
|
styleElement.setAttribute("last-onboarding-live-update", new Date().toLocaleTimeString());
|
|
233
234
|
}
|
|
235
|
+
const ssrContainerStyles = document
|
|
236
|
+
.querySelector("sk-shadow-app-root")
|
|
237
|
+
?.shadowRoot?.querySelector("#speed-kit-df-styles");
|
|
238
|
+
if (ssrContainerStyles) {
|
|
239
|
+
ssrContainerStyles.textContent = styleContent;
|
|
240
|
+
ssrContainerStyles.setAttribute("last-onboarding-live-update", new Date().toLocaleTimeString());
|
|
241
|
+
}
|
|
234
242
|
}
|
|
235
243
|
catch (error) {
|
|
236
244
|
console.error(error);
|
package/oclif.manifest.json
CHANGED