@speedkit/cli 3.6.1 → 3.6.3
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 +14 -0
- package/README.md +1 -1
- package/dist/services/onboarding/browser/extension/extension-downloader.d.ts +1 -1
- package/dist/services/onboarding/browser/extension/extension-validator.js +4 -1
- package/dist/services/onboarding/virtual-orestes-app/crawler.js +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.6.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.6.2...v3.6.3) (2025-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** test the variations using lowercase as we changed them to lowercase ([0c19e87](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/0c19e8719ec0d32caa085e9d739ac844e18c9447))
|
|
7
|
+
|
|
8
|
+
## [3.6.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.6.1...v3.6.2) (2025-09-24)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **onboarding/devtools:** wrong validation of downloadpath ([59e403d](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/59e403d5ea35b61caf942a88483e3f53a9e983ae))
|
|
14
|
+
|
|
1
15
|
## [3.6.1](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v3.6.0...v3.6.1) (2025-09-05)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ export declare class ExtensionDownloader {
|
|
|
6
6
|
constructor(userConfig: UserCliConfig, cli: CliServiceInterface);
|
|
7
7
|
downloadExtension(): Promise<string>;
|
|
8
8
|
private updateLocalDevtools;
|
|
9
|
-
isInstalled
|
|
9
|
+
private isInstalled;
|
|
10
10
|
private checkInstalledVersion;
|
|
11
11
|
private getRemoteVersion;
|
|
12
12
|
}
|
|
@@ -67,14 +67,17 @@ class ExtensionValidator {
|
|
|
67
67
|
// download or update extension
|
|
68
68
|
const result = await (0, safe_1.safe)(this.extensionDownloader.downloadExtension());
|
|
69
69
|
if (result.success !== true) {
|
|
70
|
+
this.cli.writeError(result?.error);
|
|
70
71
|
return;
|
|
71
72
|
}
|
|
72
|
-
if (result.data?.length
|
|
73
|
+
if (result.data?.length < 1) {
|
|
74
|
+
this.cli.writeError(`found extensionPath seems broken.`);
|
|
73
75
|
return;
|
|
74
76
|
}
|
|
75
77
|
// get extensionDetails from manifestFile
|
|
76
78
|
const extensionConfigResult = await (0, safe_1.safe)(this.getManifestConfig(result.data));
|
|
77
79
|
if (extensionConfigResult.success !== true) {
|
|
80
|
+
this.cli.writeError(extensionConfigResult.error);
|
|
78
81
|
return;
|
|
79
82
|
}
|
|
80
83
|
validExtensions.push({
|
|
@@ -36,13 +36,13 @@ class Crawler {
|
|
|
36
36
|
this.cli.writeError(JSON.stringify(fetchResponse.errorObj));
|
|
37
37
|
}
|
|
38
38
|
setDefaultUserAgent(variation) {
|
|
39
|
-
if (variation.includes("
|
|
39
|
+
if (variation.includes("mobile")) {
|
|
40
40
|
return onboarding_model_1.USER_AGENT.MOBILE;
|
|
41
41
|
}
|
|
42
|
-
if (variation.includes("
|
|
42
|
+
if (variation.includes("tablet")) {
|
|
43
43
|
return onboarding_model_1.USER_AGENT.TABLET;
|
|
44
44
|
}
|
|
45
|
-
if (variation.includes("
|
|
45
|
+
if (variation.includes("tv")) {
|
|
46
46
|
return onboarding_model_1.USER_AGENT.TV;
|
|
47
47
|
}
|
|
48
48
|
return onboarding_model_1.USER_AGENT.DESKTOP;
|
package/oclif.manifest.json
CHANGED