@codingame/monaco-vscode-api 1.67.5 → 1.67.8-dev.0
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/README.md +57 -8
- package/dist/api.js +7254 -2544
- package/dist/services-f1f30499.js +300 -0
- package/dist/services.d.ts +17621 -1846
- package/dist/services.js +21 -27
- package/package.json +25 -31
- package/dist/api.amd.js +0 -11444
- package/dist/api.cjs +0 -11482
- package/dist/services.amd.js +0 -39
- package/dist/services.cjs +0 -39
package/dist/services.js
CHANGED
|
@@ -1,28 +1,22 @@
|
|
|
1
|
+
export { f as IEditorGroupsService, I as IEditorService, e as IFileService, n as IHostService, l as ILanguageStatusService, a as IPaneCompositePartService, i as IPathService, k as IProductService, c as ITextFileService, b as IUriIdentityService, g as IWorkbenchEnvironmentService, h as IWorkingCopyFileService, j as Services } from './services-f1f30499.js';
|
|
2
|
+
export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
3
|
+
export { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
4
|
+
export { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
5
|
+
export { IBulkEditService } from 'monaco-editor/esm/vs/editor/browser/services/bulkEditService.js';
|
|
6
|
+
export { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
7
|
+
export { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
8
|
+
export { ILanguageConfigurationService } from 'monaco-editor/esm/vs/editor/common/languages/languageConfigurationRegistry.js';
|
|
9
|
+
export { IEditorWorkerService } from 'monaco-editor/esm/vs/editor/common/services/editorWorker.js';
|
|
10
|
+
export { ILanguageFeaturesService } from 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
|
|
11
|
+
export { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
12
|
+
export { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
13
|
+
export { IClipboardService } from 'monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js';
|
|
14
|
+
export { IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
|
|
15
|
+
export { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
16
|
+
export { IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
|
|
17
|
+
export { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
|
|
18
|
+
export { IQuickInputService } from 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
19
|
+
export { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
1
20
|
export { default as Severity } from 'monaco-editor/esm/vs/base/common/severity.js';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var Services;
|
|
5
|
-
(function (Services) {
|
|
6
|
-
Services.get = () => {
|
|
7
|
-
if (services == null) {
|
|
8
|
-
throw new Error('Services has not been installed');
|
|
9
|
-
}
|
|
10
|
-
return services;
|
|
11
|
-
};
|
|
12
|
-
function install(_services) {
|
|
13
|
-
if (services != null) {
|
|
14
|
-
console.warn('Services have been overridden');
|
|
15
|
-
}
|
|
16
|
-
services = _services;
|
|
17
|
-
return {
|
|
18
|
-
dispose: () => {
|
|
19
|
-
if (services === _services) {
|
|
20
|
-
services = undefined;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
Services.install = install;
|
|
26
|
-
})(Services || (Services = {}));
|
|
27
|
-
|
|
28
|
-
export { Services };
|
|
21
|
+
import 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
22
|
+
import 'monaco-editor/esm/vs/base/common/buffer.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "1.67.
|
|
3
|
+
"version": "1.67.8-dev.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -14,29 +14,15 @@
|
|
|
14
14
|
"url": "https://github.com/CodinGame/monaco-vscode-api"
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
|
-
"main": "dist/api.
|
|
17
|
+
"main": "dist/api.js",
|
|
18
18
|
"module": "dist/api.js",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"default": "./dist/api.js"
|
|
22
22
|
},
|
|
23
|
-
"./amd": {
|
|
24
|
-
"default": "./dist/api.amd.js"
|
|
25
|
-
},
|
|
26
|
-
"./cjs": {
|
|
27
|
-
"default": "./dist/api.amd.js"
|
|
28
|
-
},
|
|
29
23
|
"./services": {
|
|
30
24
|
"types": "./dist/services.d.ts",
|
|
31
25
|
"default": "./dist/services.js"
|
|
32
|
-
},
|
|
33
|
-
"./services/cjs": {
|
|
34
|
-
"types": "./dist/services.d.ts",
|
|
35
|
-
"default": "./dist/services.cjs"
|
|
36
|
-
},
|
|
37
|
-
"./services/amd": {
|
|
38
|
-
"types": "./dist/services.d.ts",
|
|
39
|
-
"default": "./dist/services.amd.js"
|
|
40
26
|
}
|
|
41
27
|
},
|
|
42
28
|
"typesVersions": {
|
|
@@ -52,10 +38,16 @@
|
|
|
52
38
|
],
|
|
53
39
|
"scripts": {
|
|
54
40
|
"build": "rm -rf dist/ && npm run lint && npm run compile && npm run generate-types",
|
|
55
|
-
"compile": "rollup --config rollup/rollup.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}'",
|
|
41
|
+
"compile": "rollup --config rollup/rollup.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}' --vscode-version ${npm_package_config_vscode_version}",
|
|
56
42
|
"preprepare": "./scripts/install-vscode",
|
|
57
43
|
"lint": "eslint --ext ts src",
|
|
58
|
-
"generate-types": "tsc --project tsconfig.types.json && rollup --config rollup/rollup.types.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}' && rm -rf ./dist/types"
|
|
44
|
+
"generate-types": "tsc --project tsconfig.types.json && rollup --config rollup/rollup.types.config.ts --configPlugin 'typescript={tsconfig: `tsconfig.rollup.json`}' && rm -rf ./dist/types",
|
|
45
|
+
"release": "node --loader ts-node/esm release.ts ${npm_package_config_vscode_version}"
|
|
46
|
+
},
|
|
47
|
+
"config": {
|
|
48
|
+
"vscode": {
|
|
49
|
+
"version": "1.68.0"
|
|
50
|
+
}
|
|
59
51
|
},
|
|
60
52
|
"devDependencies": {
|
|
61
53
|
"@babel/core": "^7.18.2",
|
|
@@ -64,32 +56,34 @@
|
|
|
64
56
|
"@babel/preset-env": "^7.18.2",
|
|
65
57
|
"@babel/preset-typescript": "^7.17.12",
|
|
66
58
|
"@codingame/eslint-config": "^1.1.2",
|
|
67
|
-
"@codingame/tsconfig": "^1.0.
|
|
59
|
+
"@codingame/tsconfig": "^1.0.5",
|
|
60
|
+
"@octokit/rest": "^18.12.0",
|
|
68
61
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
62
|
+
"@rollup/plugin-replace": "^4.0.0",
|
|
69
63
|
"@rollup/plugin-typescript": "^8.3.2",
|
|
70
64
|
"@types/babel__core": "^7.1.19",
|
|
71
|
-
"@types/
|
|
72
|
-
"@
|
|
73
|
-
"@typescript-eslint/
|
|
74
|
-
"eslint": "^
|
|
65
|
+
"@types/semver": "^7.3.10",
|
|
66
|
+
"@types/vscode": "^1.68.0",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
68
|
+
"@typescript-eslint/parser": "^5.27.1",
|
|
69
|
+
"eslint": "^8.17.0",
|
|
75
70
|
"eslint-config-standard": "^17.0.0",
|
|
76
71
|
"eslint-plugin-import": "^2.26.0",
|
|
77
|
-
"eslint-plugin-n": "^15.2.
|
|
72
|
+
"eslint-plugin-n": "^15.2.2",
|
|
78
73
|
"eslint-plugin-promise": "^6.0.0",
|
|
79
74
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
75
|
+
"js-cleanup": "^1.2.0",
|
|
80
76
|
"recast": "^0.21.1",
|
|
81
|
-
"rollup": "^2.75.
|
|
82
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
77
|
+
"rollup": "^2.75.6",
|
|
83
78
|
"rollup-plugin-dts": "^4.2.2",
|
|
84
|
-
"
|
|
79
|
+
"semver": "^7.3.7",
|
|
80
|
+
"ts-node": "^10.8.1",
|
|
81
|
+
"typescript": "^4.7.3",
|
|
82
|
+
"zx": "^7.0.0"
|
|
85
83
|
},
|
|
86
84
|
"dependencies": {
|
|
87
85
|
"monaco-editor": "^0.33.0"
|
|
88
86
|
},
|
|
89
|
-
"engines": {
|
|
90
|
-
"node": ">=16.0.0",
|
|
91
|
-
"npm": ">=7.10.0"
|
|
92
|
-
},
|
|
93
87
|
"volta": {
|
|
94
88
|
"node": "16.15.0",
|
|
95
89
|
"npm": "8.11.0"
|