trm-client 10.0.5 → 10.0.6
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.
|
@@ -173,9 +173,9 @@ class GlobalContext {
|
|
|
173
173
|
logOutputFolder: 'default',
|
|
174
174
|
cliUpdateCheckCache: 60,
|
|
175
175
|
npmGlobalPathCheckCache: 180,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
guiRegistryAutoConnect: registryAliases.length === 1,
|
|
177
|
+
guiRegistryAutoConnectAlias: registryAliases.length === 1 ? registryAliases[0].alias : undefined,
|
|
178
|
+
guiSystemAutoConnect: false,
|
|
179
179
|
sapLandscape
|
|
180
180
|
};
|
|
181
181
|
}
|
|
@@ -208,6 +208,22 @@ class GlobalContext {
|
|
|
208
208
|
settingsData.npmGlobalPathCheckCache = defaultSettings.npmGlobalPathCheckCache;
|
|
209
209
|
this.generateSettingsFile(settingsData, filePath);
|
|
210
210
|
}
|
|
211
|
+
if (settingsData.guiRegistryAutoConnect === undefined) {
|
|
212
|
+
settingsData.guiRegistryAutoConnect = defaultSettings.guiRegistryAutoConnect;
|
|
213
|
+
this.generateSettingsFile(settingsData, filePath);
|
|
214
|
+
}
|
|
215
|
+
if (settingsData.guiSystemAutoConnect === undefined) {
|
|
216
|
+
settingsData.guiSystemAutoConnect = defaultSettings.guiSystemAutoConnect;
|
|
217
|
+
this.generateSettingsFile(settingsData, filePath);
|
|
218
|
+
}
|
|
219
|
+
if (!settingsData.guiRegistryAutoConnectAlias) {
|
|
220
|
+
settingsData.guiRegistryAutoConnectAlias = defaultSettings.guiRegistryAutoConnectAlias;
|
|
221
|
+
this.generateSettingsFile(settingsData, filePath);
|
|
222
|
+
}
|
|
223
|
+
if (!settingsData.guiSystemAutoConnectAlias) {
|
|
224
|
+
settingsData.guiSystemAutoConnectAlias = defaultSettings.guiSystemAutoConnectAlias;
|
|
225
|
+
this.generateSettingsFile(settingsData, filePath);
|
|
226
|
+
}
|
|
211
227
|
if (settingsData.globalNodeModules) {
|
|
212
228
|
delete settingsData.globalNodeModules;
|
|
213
229
|
this.generateSettingsFile(settingsData, filePath);
|
|
@@ -3,10 +3,10 @@ export type SettingsData = {
|
|
|
3
3
|
logOutputFolder: string;
|
|
4
4
|
cliUpdateCheckCache: number;
|
|
5
5
|
npmGlobalPathCheckCache: number;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
guiRegistryAutoConnect: boolean;
|
|
7
|
+
guiRegistryAutoConnectAlias?: string;
|
|
8
|
+
guiSystemAutoConnect: boolean;
|
|
9
|
+
guiSystemAutoConnectAlias?: string;
|
|
10
10
|
sapLandscape?: string;
|
|
11
11
|
r3transDocker?: boolean;
|
|
12
12
|
r3transDockerName?: string;
|