@codingame/monaco-vscode-update-service-override 4.4.1 → 4.5.0-improve-code-splitting.1

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-update-service-override",
3
- "version": "4.4.1",
3
+ "version": "4.5.0-improve-code-splitting.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -17,7 +17,15 @@
17
17
  "main": "index.js",
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "default": "./index.js"
23
+ },
24
+ "./vscode/*": {
25
+ "default": "./vscode/src/*.js"
26
+ }
27
+ },
20
28
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@4.4.1"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1"
22
30
  }
23
31
  }
@@ -1,14 +1,14 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
2
  import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
- import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences';
3
+ import { IPreferencesService } from 'vscode/vscode/vs/workbench/services/preferences/common/preferences.service';
4
4
  import { settingKeyToDisplayFormat } from 'vscode/vscode/vs/workbench/contrib/preferences/browser/settingsTreeModels';
5
5
  import { Schemas } from 'vscode/vscode/vs/base/common/network';
6
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
6
+ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
7
7
  import { DefaultSettings } from 'vscode/vscode/vs/workbench/services/preferences/common/preferencesModels';
8
- import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
8
+ import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView.service';
9
9
  import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
10
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
11
- import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
10
+ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
11
+ import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
12
12
 
13
13
  const codeSettingRegex = /^<code (codesetting)="([^\s"\:]+)(?::([^"]+))?">/;
14
14
  let SimpleSettingRenderer = class SimpleSettingRenderer {
@@ -11,18 +11,20 @@ import { TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
11
11
  import { generateTokensCSSForColorMap } from 'vscode/vscode/vs/editor/common/languages/supports/tokenization';
12
12
  import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
13
13
  import { localizeWithPath } from 'vscode/vscode/vs/nls';
14
- import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment';
15
- import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
16
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
17
- import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
18
- import { IRequestService, asTextOrError } from 'vscode/vscode/vs/platform/request/common/request';
14
+ import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
15
+ import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
16
+ import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
17
+ import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
18
+ import { asTextOrError } from 'vscode/vscode/vs/platform/request/common/request';
19
+ import { IRequestService } from 'vscode/vscode/vs/platform/request/common/request.service';
19
20
  import { renderMarkdownDocument, DEFAULT_MARKDOWN_STYLES } from 'vscode/vscode/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer';
20
- import { IWebviewWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService';
21
- import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
22
- import { IEditorService, ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
23
- import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
21
+ import { IWebviewWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service';
22
+ import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
23
+ import { ACTIVE_GROUP } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
24
+ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
25
+ import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
24
26
  import { supportsTelemetry, getTelemetryLevel } from 'vscode/vscode/vs/platform/telemetry/common/telemetryUtils';
25
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
27
+ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
26
28
  import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
27
29
  import { SimpleSettingRenderer } from '../../markdown/browser/markdownSettingRenderer.js';
28
30
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
@@ -3,21 +3,20 @@ import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
3
3
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
4
4
  import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
5
5
  import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
6
- import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
7
- import { ProductContribution, UpdateContribution, SwitchProductQualityContribution, DOWNLOAD_URL, RELEASE_NOTES_URL, showReleaseNotesInEditor, CONTEXT_UPDATE_STATE } from './update.js';
6
+ import { Action2, MenuId, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
7
+ import { ProductContribution, UpdateContribution, SwitchProductQualityContribution, RELEASE_NOTES_URL, showReleaseNotesInEditor, CONTEXT_UPDATE_STATE, DOWNLOAD_URL } from './update.js';
8
8
  import product$1 from 'vscode/vscode/vs/platform/product/common/product';
9
- import { IUpdateService } from 'vscode/vscode/vs/platform/update/common/update';
9
+ import { IUpdateService } from 'vscode/vscode/vs/platform/update/common/update.service';
10
10
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
11
11
  import { isWindows } from 'vscode/vscode/vs/base/common/platform';
12
- import '../../../../../../../override/vs/platform/dialogs/common/dialogs.js';
12
+ import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
13
13
  import { mnemonicButtonLabel } from 'vscode/vscode/vs/base/common/labels';
14
14
  import { ShowCurrentReleaseNotesActionId, ShowCurrentReleaseNotesFromCurrentFileActionId } from 'vscode/vscode/vs/workbench/contrib/update/common/update';
15
15
  import { IsWebContext } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
16
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
17
- import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
16
+ import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
17
+ import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
18
18
  import { URI } from 'vscode/vscode/vs/base/common/uri';
19
19
  import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
20
- import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
21
20
 
22
21
  const workbench = ( Registry.as(Extensions.Workbench));
23
22
  workbench.registerWorkbenchContribution(ProductContribution, 3 );
@@ -3,29 +3,31 @@ import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
3
  import Severity$1 from 'vscode/vscode/vs/base/common/severity';
4
4
  import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
5
5
  import { URI } from 'vscode/vscode/vs/base/common/uri';
6
- import { IActivityService, NumberBadge, ProgressBadge } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
6
+ import { NumberBadge, ProgressBadge } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
7
+ import { IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity.service';
7
8
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
8
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
9
- import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
10
- import { IUpdateService } from 'vscode/vscode/vs/platform/update/common/update';
11
- import { INotificationService, Severity } from 'vscode/vscode/vs/platform/notification/common/notification';
12
- import '../../../../../../../override/vs/platform/dialogs/common/dialogs.js';
13
- import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService';
9
+ import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
10
+ import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
11
+ import { IUpdateService } from 'vscode/vscode/vs/platform/update/common/update.service';
12
+ import 'vscode/vscode/vs/platform/notification/common/notification';
13
+ import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
14
+ import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
15
+ import { IBrowserWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/browser/environmentService.service';
14
16
  import { ReleaseNotesManager } from './releaseNotesEditor.js';
15
17
  import { isWeb, isMacintosh, isWindows } from 'vscode/vscode/vs/base/common/platform';
16
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
17
- import { RawContextKey, IContextKeyService, ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
18
+ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
19
+ import { RawContextKey, ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
20
+ import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
18
21
  import { MenuRegistry, MenuId, registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
19
22
  import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
20
- import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host';
21
- import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService';
22
- import { IUserDataSyncEnablementService, IUserDataSyncStoreManagementService, IUserDataSyncService } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync';
23
+ import { IHostService } from 'vscode/vscode/vs/workbench/services/host/browser/host.service';
24
+ import { IProductService } from 'vscode/vscode/vs/platform/product/common/productService.service';
25
+ import { IUserDataSyncEnablementService, IUserDataSyncStoreManagementService, IUserDataSyncService } from 'vscode/vscode/vs/platform/userDataSync/common/userDataSync.service';
23
26
  import { IsWebContext } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
24
27
  import { Promises } from 'vscode/vscode/vs/base/common/async';
25
- import { IUserDataSyncWorkbenchService } from 'vscode/vscode/vs/workbench/services/userDataSync/common/userDataSync';
28
+ import { IUserDataSyncWorkbenchService } from 'vscode/vscode/vs/workbench/services/userDataSync/common/userDataSync.service';
26
29
  import { Event } from 'vscode/vscode/vs/base/common/event';
27
30
  import { Action } from 'vscode/vscode/vs/base/common/actions';
28
- import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
29
31
 
30
32
  var ProductContribution_1;
31
33
  const CONTEXT_UPDATE_STATE = ( new RawContextKey('updateState', "uninitialized" ));
@@ -172,7 +174,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
172
174
  case "disabled" :
173
175
  if (state.reason === 5 ) {
174
176
  this.notificationService.notify({
175
- severity: Severity.Info,
177
+ severity: Severity$1.Info,
176
178
  message: ( localizeWithPath(
177
179
  'vs/workbench/contrib/update/browser/update',
178
180
  'update service disabled',
@@ -257,7 +259,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
257
259
  }
258
260
  error = error.replace(/See https:\/\/github\.com\/Squirrel\/Squirrel\.Mac\/issues\/182 for more information/, 'This might mean the application was put on quarantine by macOS. See [this link](https://github.com/microsoft/vscode/issues/7426#issuecomment-425093469) for more information');
259
261
  this.notificationService.notify({
260
- severity: Severity.Error,
262
+ severity: Severity$1.Error,
261
263
  message: error,
262
264
  source: ( localizeWithPath(
263
265
  'vs/workbench/contrib/update/browser/update',
@@ -633,7 +635,7 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
633
635
  }
634
636
  async selectSettingsSyncService(dialogService) {
635
637
  const { result } = await dialogService.prompt({
636
- type: Severity.Info,
638
+ type: Severity$1.Info,
637
639
  message: ( localizeWithPath(
638
640
  'vs/workbench/contrib/update/browser/update',
639
641
  'selectSyncService.message',
@@ -1,10 +0,0 @@
1
- export { AbstractDialogHandler, IDialogService, IFileDialogService, getFileNamesMessage } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
2
-
3
- var ConfirmResult;
4
- ( (function(ConfirmResult) {
5
- ConfirmResult[ConfirmResult["SAVE"] = 0] = "SAVE";
6
- ConfirmResult[ConfirmResult["DONT_SAVE"] = 1] = "DONT_SAVE";
7
- ConfirmResult[ConfirmResult["CANCEL"] = 2] = "CANCEL";
8
- })(ConfirmResult || (ConfirmResult = {})));
9
-
10
- export { ConfirmResult };