@speedkit/cli 2.41.2 → 2.41.4

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,18 @@
1
+ ## [2.41.4](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.3...v2.41.4) (2024-07-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deploy:** fix missing URL in config_SpeedKit-context ([e2d0c4f](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/e2d0c4f39e8994950b4c03bffc43aec604450010))
7
+
8
+ ## [2.41.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.2...v2.41.3) (2024-07-12)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **onboarding:** exchange path ~ for all pathConfigs ([1742d2c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1742d2c47aedd90aeed838ded6d323c58300fd85))
14
+ * **onboarding:** resolve ~Symbol in userConfig ([460a9be](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/460a9be09c750859ac5e4860f1cb788eee53dbd8))
15
+
1
16
  ## [2.41.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.1...v2.41.2) (2024-07-09)
2
17
 
3
18
 
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/2.41.2 linux-x64 node-v20.15.0
24
+ @speedkit/cli/2.41.4 linux-x64 node-v20.15.1
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -19,5 +19,6 @@ export declare class CliConfig {
19
19
  private getConfigFilePath;
20
20
  private loadConfigFromConfigFile;
21
21
  private loadConfigFromEnvironment;
22
+ private resolveExtensionConfigPaths;
22
23
  private readCliConfigFromFile;
23
24
  }
@@ -37,6 +37,7 @@ class CliConfig {
37
37
  this.loadConfigFromConfigFile();
38
38
  // override config from environment
39
39
  this.loadConfigFromEnvironment();
40
+ this.resolveExtensionConfigPaths();
40
41
  return this.userCliConfig;
41
42
  }
42
43
  createEmptyConfigFile() {
@@ -80,6 +81,17 @@ class CliConfig {
80
81
  }
81
82
  }
82
83
  }
84
+ resolveExtensionConfigPaths() {
85
+ const pathKeys = [
86
+ "chromeExtensionPaths",
87
+ "chromeUserProfilePath",
88
+ "chromePath",
89
+ "ideaDirectory",
90
+ ];
91
+ for (const key of pathKeys) {
92
+ this.userCliConfig[key] = this.userCliConfig[key].replaceAll(new RegExp("~", "g"), this.config.home);
93
+ }
94
+ }
83
95
  readCliConfigFromFile() {
84
96
  if (!node_fs_1.default.existsSync(this.getConfigFilePath())) {
85
97
  this.createEmptyConfigFile();
@@ -174,6 +174,7 @@ class SplitChangeCheck {
174
174
  localStorage: { getItem: () => { }, setItem: () => { } },
175
175
  JSON: JSON,
176
176
  decodeURIComponent: decodeURIComponent,
177
+ URL: URL,
177
178
  };
178
179
  }
179
180
  }
@@ -712,5 +712,5 @@
712
712
  ]
713
713
  }
714
714
  },
715
- "version": "2.41.2"
715
+ "version": "2.41.4"
716
716
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.41.2",
4
+ "version": "2.41.4",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"