@speedkit/cli 2.41.2 → 2.41.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 +8 -0
- package/README.md +1 -1
- package/dist/helpers/cli-config.d.ts +1 -0
- package/dist/helpers/cli-config.js +12 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [2.41.3](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.2...v2.41.3) (2024-07-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **onboarding:** exchange path ~ for all pathConfigs ([1742d2c](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/1742d2c47aedd90aeed838ded6d323c58300fd85))
|
|
7
|
+
* **onboarding:** resolve ~Symbol in userConfig ([460a9be](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/460a9be09c750859ac5e4860f1cb788eee53dbd8))
|
|
8
|
+
|
|
1
9
|
## [2.41.2](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.41.1...v2.41.2) (2024-07-09)
|
|
2
10
|
|
|
3
11
|
|
package/README.md
CHANGED
|
@@ -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();
|
package/oclif.manifest.json
CHANGED