@speedkit/cli 3.11.3 → 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,17 @@
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
+
1
15
  ## [3.11.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.2...v3.11.3) (2025-10-21)
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.11.3 linux-x64 node-v20.19.5
24
+ @speedkit/cli/3.12.0 linux-x64 node-v20.19.5
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -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 = decodeURI(styles);
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);
@@ -732,5 +732,5 @@
732
732
  ]
733
733
  }
734
734
  },
735
- "version": "3.11.3"
735
+ "version": "3.12.0"
736
736
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "3.11.3",
4
+ "version": "3.12.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"