@speedkit/cli 3.11.3 → 3.12.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,24 @@
|
|
|
1
|
+
## [3.12.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.12.0...v3.12.1) (2025-10-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** remove puppeteerInternal dependency ([093be96](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/093be96433bfe81e0eb965ebb5e40d0e517245cc))
|
|
7
|
+
|
|
8
|
+
# [3.12.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.4...v3.12.0) (2025-10-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add dynamic styles hot reload for SSR ([a49a319](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/a49a3191fa3da95928e6726d09c9f202daf20fd7))
|
|
14
|
+
|
|
15
|
+
## [3.11.4](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.3...v3.11.4) (2025-10-24)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add header function to localRequest ([1963f7c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1963f7c1bdb955e4d89c7598eb7998ae48e1ae00))
|
|
21
|
+
|
|
1
22
|
## [3.11.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.11.2...v3.11.3) (2025-10-21)
|
|
2
23
|
|
|
3
24
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ exports.ExecutableValidator = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
// import CLI from puppeteer to use function as sames as `npx puppeteer browsers install`
|
|
6
6
|
const browsers_1 = require("@puppeteer/browsers");
|
|
7
|
-
const version_js_1 = require("puppeteer-core/lib/cjs/puppeteer/util/version.js");
|
|
8
7
|
const node_fs_1 = require("node:fs");
|
|
9
8
|
const application_error_1 = tslib_1.__importDefault(require("../../../error-handling/error/application-error"));
|
|
10
9
|
const browsers_2 = require("@puppeteer/browsers");
|
|
@@ -76,7 +75,6 @@ class ExecutableValidator {
|
|
|
76
75
|
const puppeteerCli = new browsers_1.CLI({
|
|
77
76
|
cachePath: this.userConfig.tempFolder,
|
|
78
77
|
scriptName: "@puppeteer/browsers",
|
|
79
|
-
version: version_js_1.packageVersion,
|
|
80
78
|
prefixCommand: {
|
|
81
79
|
cmd: "browsers",
|
|
82
80
|
description: "Manage browsers of this Puppeteer installation",
|
|
@@ -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