@codingame/monaco-vscode-extension-gallery-service-override 10.1.2 → 10.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extension-gallery-service-override",
3
- "version": "10.1.2",
3
+ "version": "10.1.4",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,7 +9,7 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git@github.com:CodinGame/monaco-vscode-api.git"
12
+ "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.1.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
30
30
  }
31
31
  }
@@ -109,11 +109,11 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
109
109
  this.addToImportantRecommendationsIgnore(extension.identifier.id);
110
110
  this.telemetryService.publicLog2('extensionRecommendations:popup', { userReaction: 'neverShowAgain', extensionId: extension.identifier.id, source: RecommendationSourceToString(extensionRecommendations.source) });
111
111
  }
112
- this.notificationService.prompt(Severity$1.Info, ( localize(3933, "Do you want to ignore all extension recommendations?")), [{
113
- label: ( localize(3934, "Yes, Ignore All")),
112
+ this.notificationService.prompt(Severity$1.Info, ( localize(3929, "Do you want to ignore all extension recommendations?")), [{
113
+ label: ( localize(3930, "Yes, Ignore All")),
114
114
  run: () => this.setIgnoreRecommendationsConfig(true)
115
115
  }, {
116
- label: ( localize(3935, "No")),
116
+ label: ( localize(3931, "No")),
117
117
  run: () => this.setIgnoreRecommendationsConfig(false)
118
118
  }]);
119
119
  },
@@ -129,7 +129,7 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
129
129
  if (!recommendations.length) {
130
130
  return;
131
131
  }
132
- await this.promptRecommendationsNotification({ extensions: recommendations, source: 2 , name: ( localize(3936, "this repository")) }, {
132
+ await this.promptRecommendationsNotification({ extensions: recommendations, source: 2 , name: ( localize(3932, "this repository")) }, {
133
133
  onDidInstallRecommendedExtensions: () => this.telemetryService.publicLog2('extensionWorkspaceRecommendations:popup', { userReaction: 'install' }),
134
134
  onDidShowRecommendedExtensions: () => this.telemetryService.publicLog2('extensionWorkspaceRecommendations:popup', { userReaction: 'show' }),
135
135
  onDidCancelRecommendedExtensions: () => this.telemetryService.publicLog2('extensionWorkspaceRecommendations:popup', { userReaction: 'cancelled' }),
@@ -161,7 +161,7 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
161
161
  let extensionsMessage = '';
162
162
  if (extensions.length === 1) {
163
163
  extensionsMessage = ( localize(
164
- 3937,
164
+ 3933,
165
165
  "'{0}' extension from {1}",
166
166
  extensions[0].displayName,
167
167
  extensions[0].publisherDisplayName
@@ -170,24 +170,24 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
170
170
  else {
171
171
  const publishers = [...extensions.reduce((result, extension) => result.add(extension.publisherDisplayName), ( (new Set())))];
172
172
  if (publishers.length > 2) {
173
- extensionsMessage = ( localize(3938, "extensions from {0}, {1} and others", publishers[0], publishers[1]));
173
+ extensionsMessage = ( localize(3934, "extensions from {0}, {1} and others", publishers[0], publishers[1]));
174
174
  }
175
175
  else if (publishers.length === 2) {
176
- extensionsMessage = ( localize(3939, "extensions from {0} and {1}", publishers[0], publishers[1]));
176
+ extensionsMessage = ( localize(3935, "extensions from {0} and {1}", publishers[0], publishers[1]));
177
177
  }
178
178
  else {
179
- extensionsMessage = ( localize(3940, "extensions from {0}", publishers[0]));
179
+ extensionsMessage = ( localize(3936, "extensions from {0}", publishers[0]));
180
180
  }
181
181
  }
182
182
  let message = ( localize(
183
- 3941,
183
+ 3937,
184
184
  "Do you want to install the recommended {0} for {1}?",
185
185
  extensionsMessage,
186
186
  name
187
187
  ));
188
188
  if (source === 3 ) {
189
189
  message = ( localize(
190
- 3942,
190
+ 3938,
191
191
  "You have {0} installed on your system. Do you want to install the recommended {1} for it?",
192
192
  name,
193
193
  extensionsMessage
@@ -196,8 +196,8 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
196
196
  if (!searchValue) {
197
197
  searchValue = source === 2 ? '@recommended' : ( (extensions.map(extensionId => `@id:${extensionId.identifier.id}`))).join(' ');
198
198
  }
199
- const donotShowAgainLabel = source === 2 ? ( localize(3943, "Don't Show Again for this Repository"))
200
- : extensions.length > 1 ? ( localize(3944, "Don't Show Again for these Extensions")) : ( localize(3945, "Don't Show Again for this Extension"));
199
+ const donotShowAgainLabel = source === 2 ? ( localize(3939, "Don't Show Again for this Repository"))
200
+ : extensions.length > 1 ? ( localize(3940, "Don't Show Again for these Extensions")) : ( localize(3941, "Don't Show Again for this Extension"));
201
201
  return raceCancellablePromises([
202
202
  this._registerP(this.showRecommendationsNotification(extensions, message, searchValue, donotShowAgainLabel, source, recommendationsNotificationActions)),
203
203
  this._registerP(this.waitUntilRecommendationsAreInstalled(extensions))
@@ -228,15 +228,15 @@ let ExtensionRecommendationNotificationService = class ExtensionRecommendationNo
228
228
  ]);
229
229
  };
230
230
  choices.push({
231
- label: ( localize(3946, "Install")),
231
+ label: ( localize(3942, "Install")),
232
232
  run: () => installExtensions(false),
233
233
  menu: this.userDataSyncEnablementService.isEnabled() && this.userDataSyncEnablementService.isResourceEnabled("extensions" ) ? [{
234
- label: ( localize(3947, "Install (Do not sync)")),
234
+ label: ( localize(3943, "Install (Do not sync)")),
235
235
  run: () => installExtensions(true)
236
236
  }] : undefined,
237
237
  });
238
238
  choices.push(...[{
239
- label: ( localize(3948, "Show Recommendations")),
239
+ label: ( localize(3944, "Show Recommendations")),
240
240
  run: async () => {
241
241
  onDidShowRecommendedExtensions(extensions);
242
242
  for (const extension of extensions) {