@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 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
@@ -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.6.1 linux-x64 node-v20.19.5
24
+ @speedkit/cli/3.6.3 linux-x64 node-v20.19.5
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -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(): boolean;
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 > 0) {
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("MOBILE")) {
39
+ if (variation.includes("mobile")) {
40
40
  return onboarding_model_1.USER_AGENT.MOBILE;
41
41
  }
42
- if (variation.includes("TABLET")) {
42
+ if (variation.includes("tablet")) {
43
43
  return onboarding_model_1.USER_AGENT.TABLET;
44
44
  }
45
- if (variation.includes("TV")) {
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;
@@ -732,5 +732,5 @@
732
732
  ]
733
733
  }
734
734
  },
735
- "version": "3.6.1"
735
+ "version": "3.6.3"
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.6.1",
4
+ "version": "3.6.3",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"