@codingame/monaco-vscode-share-service-override 4.4.0 → 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-share-service-override",
|
|
3
|
-
"version": "4.
|
|
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.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@4.5.0-improve-code-splitting.1"
|
|
22
30
|
}
|
|
23
31
|
}
|
package/share.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
2
|
import { ShareService } from './vscode/src/vs/workbench/contrib/share/browser/shareService.js';
|
|
3
|
-
import { IShareService } from 'vscode/vscode/vs/workbench/contrib/share/common/share';
|
|
3
|
+
import { IShareService } from 'vscode/vscode/vs/workbench/contrib/share/common/share.service';
|
|
4
4
|
import './vscode/src/vs/workbench/contrib/share/browser/share.contribution.js';
|
|
5
5
|
|
|
6
6
|
function getServiceOverride() {
|
|
@@ -5,26 +5,26 @@ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
|
5
5
|
import { MarkdownString } from 'vscode/vscode/vs/base/common/htmlContent';
|
|
6
6
|
import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
7
7
|
import { MenuId, registerAction2, Action2, MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
8
|
-
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
|
|
9
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
8
|
+
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
9
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
10
10
|
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
11
11
|
import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
12
|
-
import '
|
|
13
|
-
import
|
|
14
|
-
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
12
|
+
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
13
|
+
import 'vscode/vscode/vs/platform/notification/common/notification';
|
|
14
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener.service';
|
|
15
15
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
16
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
16
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
17
17
|
import { WorkspaceFolderCountContext } from 'vscode/vscode/vs/workbench/common/contextkeys';
|
|
18
18
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
19
19
|
import { ShareProviderCountContext } from './shareService.js';
|
|
20
|
-
import { IShareService } from 'vscode/vscode/vs/workbench/contrib/share/common/share';
|
|
21
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
22
|
-
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
20
|
+
import { IShareService } from 'vscode/vscode/vs/workbench/contrib/share/common/share.service';
|
|
21
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
22
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
|
|
23
23
|
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
24
24
|
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
25
25
|
import { workbenchConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
26
26
|
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
27
|
-
import
|
|
27
|
+
import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
28
28
|
|
|
29
29
|
var ShareWorkbenchContribution_1;
|
|
30
30
|
const targetMenus = [
|
|
@@ -107,7 +107,7 @@ let ShareWorkbenchContribution = class ShareWorkbenchContribution {
|
|
|
107
107
|
const isResultText = typeof result === 'string';
|
|
108
108
|
await clipboardService.writeText(uriText);
|
|
109
109
|
dialogService.prompt({
|
|
110
|
-
type: Severity.Info,
|
|
110
|
+
type: Severity$1.Info,
|
|
111
111
|
message: isResultText ? ( localizeWithPath(
|
|
112
112
|
'vs/workbench/contrib/share/browser/share.contribution',
|
|
113
113
|
'shareTextSuccess',
|
|
@@ -2,10 +2,11 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
|
2
2
|
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
3
3
|
import { score } from 'vscode/vscode/vs/editor/common/languageSelector';
|
|
4
4
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { RawContextKey
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { RawContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
7
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
8
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput.service';
|
|
9
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
9
10
|
|
|
10
11
|
const ShareProviderCountContext = ( new RawContextKey('shareProviderCount', 0, ( localizeWithPath(
|
|
11
12
|
'vs/workbench/contrib/share/browser/shareService',
|
|
@@ -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 };
|