@theia/plugin-ext-vscode 1.34.1 → 1.34.3
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/LICENSE +641 -641
- package/README.md +32 -32
- package/lib/browser/plugin-vscode-commands-contribution.d.ts +79 -79
- package/lib/browser/plugin-vscode-commands-contribution.js +768 -768
- package/lib/browser/plugin-vscode-contribution.d.ts +5 -5
- package/lib/browser/plugin-vscode-contribution.js +53 -53
- package/lib/browser/plugin-vscode-frontend-module.d.ts +3 -3
- package/lib/browser/plugin-vscode-frontend-module.js +30 -30
- package/lib/common/plugin-vscode-environment.d.ts +7 -7
- package/lib/common/plugin-vscode-environment.js +47 -47
- package/lib/common/plugin-vscode-types.d.ts +2 -2
- package/lib/common/plugin-vscode-types.js +21 -21
- package/lib/common/plugin-vscode-uri.d.ts +16 -16
- package/lib/common/plugin-vscode-uri.js +51 -51
- package/lib/node/context/plugin-vscode-init-fe.d.ts +2 -2
- package/lib/node/context/plugin-vscode-init-fe.js +37 -37
- package/lib/node/local-vsix-file-plugin-deployer-resolver.d.ts +14 -14
- package/lib/node/local-vsix-file-plugin-deployer-resolver.js +77 -77
- package/lib/node/package.spec.js +25 -25
- package/lib/node/plugin-reader.d.ts +6 -6
- package/lib/node/plugin-reader.js +36 -36
- package/lib/node/plugin-vscode-backend-module.d.ts +3 -3
- package/lib/node/plugin-vscode-backend-module.js +43 -43
- package/lib/node/plugin-vscode-cli-contribution.d.ts +21 -21
- package/lib/node/plugin-vscode-cli-contribution.js +67 -67
- package/lib/node/plugin-vscode-deployer-participant.d.ts +6 -6
- package/lib/node/plugin-vscode-deployer-participant.js +43 -43
- package/lib/node/plugin-vscode-directory-handler.d.ts +21 -21
- package/lib/node/plugin-vscode-directory-handler.js +144 -144
- package/lib/node/plugin-vscode-file-handler.d.ts +11 -11
- package/lib/node/plugin-vscode-file-handler.js +82 -82
- package/lib/node/plugin-vscode-init.d.ts +2 -2
- package/lib/node/plugin-vscode-init.js +68 -68
- package/lib/node/scanner-vscode.d.ts +12 -12
- package/lib/node/scanner-vscode.js +111 -111
- package/package.json +15 -15
- package/src/browser/plugin-vscode-commands-contribution.ts +924 -924
- package/src/browser/plugin-vscode-contribution.ts +47 -47
- package/src/browser/plugin-vscode-frontend-module.ts +30 -30
- package/src/common/plugin-vscode-environment.ts +36 -36
- package/src/common/plugin-vscode-types.ts +20 -20
- package/src/common/plugin-vscode-uri.ts +47 -47
- package/src/node/context/plugin-vscode-init-fe.ts +43 -43
- package/src/node/local-vsix-file-plugin-deployer-resolver.ts +65 -65
- package/src/node/package.spec.ts +28 -28
- package/src/node/plugin-reader.ts +28 -28
- package/src/node/plugin-vscode-backend-module.ts +50 -50
- package/src/node/plugin-vscode-cli-contribution.ts +64 -64
- package/src/node/plugin-vscode-deployer-participant.ts +32 -32
- package/src/node/plugin-vscode-directory-handler.ts +141 -141
- package/src/node/plugin-vscode-file-handler.ts +72 -72
- package/src/node/plugin-vscode-init.ts +80 -80
- package/src/node/scanner-vscode.ts +108 -108
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
-
};
|
|
26
|
-
var LocalVSIXFilePluginDeployerResolver_1;
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.LocalVSIXFilePluginDeployerResolver = void 0;
|
|
29
|
-
const fs = require("@theia/core/shared/fs-extra");
|
|
30
|
-
const path = require("path");
|
|
31
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
32
|
-
const node_1 = require("@theia/core/lib/node");
|
|
33
|
-
const local_plugin_deployer_resolver_1 = require("@theia/plugin-ext/lib/main/node/resolvers/local-plugin-deployer-resolver");
|
|
34
|
-
const plugin_vscode_environment_1 = require("../common/plugin-vscode-environment");
|
|
35
|
-
const plugin_vscode_file_handler_1 = require("./plugin-vscode-file-handler");
|
|
36
|
-
let LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver_1 = class LocalVSIXFilePluginDeployerResolver extends local_plugin_deployer_resolver_1.LocalPluginDeployerResolver {
|
|
37
|
-
get supportedScheme() {
|
|
38
|
-
return LocalVSIXFilePluginDeployerResolver_1.LOCAL_FILE;
|
|
39
|
-
}
|
|
40
|
-
accept(pluginId) {
|
|
41
|
-
return super.accept(pluginId) && (0, plugin_vscode_file_handler_1.isVSCodePluginFile)(pluginId);
|
|
42
|
-
}
|
|
43
|
-
async resolveFromLocalPath(pluginResolverContext, localPath) {
|
|
44
|
-
const fileName = path.basename(localPath);
|
|
45
|
-
const pathInUserExtensionsDirectory = await this.ensureDiscoverability(localPath);
|
|
46
|
-
pluginResolverContext.addPlugin(fileName, pathInUserExtensionsDirectory);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Ensures that a user-installed plugin file is transferred to the user extension folder.
|
|
50
|
-
*/
|
|
51
|
-
async ensureDiscoverability(localPath) {
|
|
52
|
-
const userExtensionsDir = await this.environment.getExtensionsDirUri();
|
|
53
|
-
if (!userExtensionsDir.isEqualOrParent(node_1.FileUri.create(localPath))) {
|
|
54
|
-
try {
|
|
55
|
-
const newPath = node_1.FileUri.fsPath(userExtensionsDir.resolve(path.basename(localPath)));
|
|
56
|
-
await fs.mkdirp(node_1.FileUri.fsPath(userExtensionsDir));
|
|
57
|
-
await new Promise((resolve, reject) => {
|
|
58
|
-
fs.copyFile(localPath, newPath, error => error ? reject(error) : resolve());
|
|
59
|
-
});
|
|
60
|
-
return newPath;
|
|
61
|
-
}
|
|
62
|
-
catch (e) {
|
|
63
|
-
console.warn(`Problem copying plugin at ${localPath}:`, e);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return localPath;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
LocalVSIXFilePluginDeployerResolver.LOCAL_FILE = 'local-file';
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, inversify_1.inject)(plugin_vscode_environment_1.PluginVSCodeEnvironment),
|
|
72
|
-
__metadata("design:type", plugin_vscode_environment_1.PluginVSCodeEnvironment)
|
|
73
|
-
], LocalVSIXFilePluginDeployerResolver.prototype, "environment", void 0);
|
|
74
|
-
LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver_1 = __decorate([
|
|
75
|
-
(0, inversify_1.injectable)()
|
|
76
|
-
], LocalVSIXFilePluginDeployerResolver);
|
|
77
|
-
exports.LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
24
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
25
|
+
};
|
|
26
|
+
var LocalVSIXFilePluginDeployerResolver_1;
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.LocalVSIXFilePluginDeployerResolver = void 0;
|
|
29
|
+
const fs = require("@theia/core/shared/fs-extra");
|
|
30
|
+
const path = require("path");
|
|
31
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
32
|
+
const node_1 = require("@theia/core/lib/node");
|
|
33
|
+
const local_plugin_deployer_resolver_1 = require("@theia/plugin-ext/lib/main/node/resolvers/local-plugin-deployer-resolver");
|
|
34
|
+
const plugin_vscode_environment_1 = require("../common/plugin-vscode-environment");
|
|
35
|
+
const plugin_vscode_file_handler_1 = require("./plugin-vscode-file-handler");
|
|
36
|
+
let LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver_1 = class LocalVSIXFilePluginDeployerResolver extends local_plugin_deployer_resolver_1.LocalPluginDeployerResolver {
|
|
37
|
+
get supportedScheme() {
|
|
38
|
+
return LocalVSIXFilePluginDeployerResolver_1.LOCAL_FILE;
|
|
39
|
+
}
|
|
40
|
+
accept(pluginId) {
|
|
41
|
+
return super.accept(pluginId) && (0, plugin_vscode_file_handler_1.isVSCodePluginFile)(pluginId);
|
|
42
|
+
}
|
|
43
|
+
async resolveFromLocalPath(pluginResolverContext, localPath) {
|
|
44
|
+
const fileName = path.basename(localPath);
|
|
45
|
+
const pathInUserExtensionsDirectory = await this.ensureDiscoverability(localPath);
|
|
46
|
+
pluginResolverContext.addPlugin(fileName, pathInUserExtensionsDirectory);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Ensures that a user-installed plugin file is transferred to the user extension folder.
|
|
50
|
+
*/
|
|
51
|
+
async ensureDiscoverability(localPath) {
|
|
52
|
+
const userExtensionsDir = await this.environment.getExtensionsDirUri();
|
|
53
|
+
if (!userExtensionsDir.isEqualOrParent(node_1.FileUri.create(localPath))) {
|
|
54
|
+
try {
|
|
55
|
+
const newPath = node_1.FileUri.fsPath(userExtensionsDir.resolve(path.basename(localPath)));
|
|
56
|
+
await fs.mkdirp(node_1.FileUri.fsPath(userExtensionsDir));
|
|
57
|
+
await new Promise((resolve, reject) => {
|
|
58
|
+
fs.copyFile(localPath, newPath, error => error ? reject(error) : resolve());
|
|
59
|
+
});
|
|
60
|
+
return newPath;
|
|
61
|
+
}
|
|
62
|
+
catch (e) {
|
|
63
|
+
console.warn(`Problem copying plugin at ${localPath}:`, e);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return localPath;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
LocalVSIXFilePluginDeployerResolver.LOCAL_FILE = 'local-file';
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, inversify_1.inject)(plugin_vscode_environment_1.PluginVSCodeEnvironment),
|
|
72
|
+
__metadata("design:type", plugin_vscode_environment_1.PluginVSCodeEnvironment)
|
|
73
|
+
], LocalVSIXFilePluginDeployerResolver.prototype, "environment", void 0);
|
|
74
|
+
LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver_1 = __decorate([
|
|
75
|
+
(0, inversify_1.injectable)()
|
|
76
|
+
], LocalVSIXFilePluginDeployerResolver);
|
|
77
|
+
exports.LocalVSIXFilePluginDeployerResolver = LocalVSIXFilePluginDeployerResolver;
|
|
78
78
|
//# sourceMappingURL=local-vsix-file-plugin-deployer-resolver.js.map
|
package/lib/node/package.spec.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
// *****************************************************************************
|
|
2
|
-
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
-
//
|
|
4
|
-
// This program and the accompanying materials are made available under the
|
|
5
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
//
|
|
8
|
-
// This Source Code may also be made available under the following Secondary
|
|
9
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
// with the GNU Classpath Exception which is available at
|
|
12
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
//
|
|
14
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
// *****************************************************************************
|
|
16
|
-
/* note: this bogus test file is required so that
|
|
17
|
-
we are able to run mocha unit tests on this
|
|
18
|
-
package, without having any actual unit tests in it.
|
|
19
|
-
This way a coverage report will be generated,
|
|
20
|
-
showing 0% coverage, instead of no report.
|
|
21
|
-
This file can be removed once we have real unit
|
|
22
|
-
tests in place. */
|
|
23
|
-
describe('plugin-ext-vscode package', () => {
|
|
24
|
-
it('support code coverage statistics', () => true);
|
|
25
|
-
});
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
|
+
/* note: this bogus test file is required so that
|
|
17
|
+
we are able to run mocha unit tests on this
|
|
18
|
+
package, without having any actual unit tests in it.
|
|
19
|
+
This way a coverage report will be generated,
|
|
20
|
+
showing 0% coverage, instead of no report.
|
|
21
|
+
This file can be removed once we have real unit
|
|
22
|
+
tests in place. */
|
|
23
|
+
describe('plugin-ext-vscode package', () => {
|
|
24
|
+
it('support code coverage statistics', () => true);
|
|
25
|
+
});
|
|
26
26
|
//# sourceMappingURL=package.spec.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="express" />
|
|
2
|
-
import { Application } from '@theia/core/shared/express';
|
|
3
|
-
import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
|
|
4
|
-
export declare class HostedPluginReader implements BackendApplicationContribution {
|
|
5
|
-
configure(app: Application): void;
|
|
6
|
-
}
|
|
1
|
+
/// <reference types="express" />
|
|
2
|
+
import { Application } from '@theia/core/shared/express';
|
|
3
|
+
import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
|
|
4
|
+
export declare class HostedPluginReader implements BackendApplicationContribution {
|
|
5
|
+
configure(app: Application): void;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=plugin-reader.d.ts.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2022 Arm and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.HostedPluginReader = void 0;
|
|
25
|
-
const path = require("path");
|
|
26
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
-
const express_1 = require("@theia/core/shared/express");
|
|
28
|
-
let HostedPluginReader = class HostedPluginReader {
|
|
29
|
-
configure(app) {
|
|
30
|
-
app.use('/context', (0, express_1.static)(path.join(__dirname, 'context')));
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
HostedPluginReader = __decorate([
|
|
34
|
-
(0, inversify_1.injectable)()
|
|
35
|
-
], HostedPluginReader);
|
|
36
|
-
exports.HostedPluginReader = HostedPluginReader;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2022 Arm and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.HostedPluginReader = void 0;
|
|
25
|
+
const path = require("path");
|
|
26
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
+
const express_1 = require("@theia/core/shared/express");
|
|
28
|
+
let HostedPluginReader = class HostedPluginReader {
|
|
29
|
+
configure(app) {
|
|
30
|
+
app.use('/context', (0, express_1.static)(path.join(__dirname, 'context')));
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
HostedPluginReader = __decorate([
|
|
34
|
+
(0, inversify_1.injectable)()
|
|
35
|
+
], HostedPluginReader);
|
|
36
|
+
exports.HostedPluginReader = HostedPluginReader;
|
|
37
37
|
//# sourceMappingURL=plugin-reader.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
2
|
-
declare const _default: ContainerModule;
|
|
3
|
-
export default _default;
|
|
1
|
+
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
2
|
+
declare const _default: ContainerModule;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=plugin-vscode-backend-module.d.ts.map
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
19
|
-
const plugin_ext_1 = require("@theia/plugin-ext");
|
|
20
|
-
const plugin_vscode_file_handler_1 = require("./plugin-vscode-file-handler");
|
|
21
|
-
const plugin_vscode_directory_handler_1 = require("./plugin-vscode-directory-handler");
|
|
22
|
-
const scanner_vscode_1 = require("./scanner-vscode");
|
|
23
|
-
const plugin_vscode_cli_contribution_1 = require("./plugin-vscode-cli-contribution");
|
|
24
|
-
const node_1 = require("@theia/core/lib/node");
|
|
25
|
-
const common_1 = require("@theia/plugin-ext/lib/common");
|
|
26
|
-
const plugin_vscode_environment_1 = require("../common/plugin-vscode-environment");
|
|
27
|
-
const plugin_vscode_deployer_participant_1 = require("./plugin-vscode-deployer-participant");
|
|
28
|
-
const plugin_reader_1 = require("./plugin-reader");
|
|
29
|
-
const local_vsix_file_plugin_deployer_resolver_1 = require("./local-vsix-file-plugin-deployer-resolver");
|
|
30
|
-
exports.default = new inversify_1.ContainerModule(bind => {
|
|
31
|
-
bind(plugin_vscode_environment_1.PluginVSCodeEnvironment).toSelf().inSingletonScope();
|
|
32
|
-
bind(plugin_vscode_deployer_participant_1.PluginVSCodeDeployerParticipant).toSelf().inSingletonScope();
|
|
33
|
-
bind(plugin_ext_1.PluginDeployerParticipant).toService(plugin_vscode_deployer_participant_1.PluginVSCodeDeployerParticipant);
|
|
34
|
-
bind(plugin_ext_1.PluginDeployerFileHandler).to(plugin_vscode_file_handler_1.PluginVsCodeFileHandler).inSingletonScope();
|
|
35
|
-
bind(plugin_ext_1.PluginDeployerDirectoryHandler).to(plugin_vscode_directory_handler_1.PluginVsCodeDirectoryHandler).inSingletonScope();
|
|
36
|
-
bind(plugin_ext_1.PluginScanner).to(scanner_vscode_1.VsCodePluginScanner).inSingletonScope();
|
|
37
|
-
bind(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution).toSelf().inSingletonScope();
|
|
38
|
-
bind(node_1.CliContribution).toService(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution);
|
|
39
|
-
bind(common_1.PluginHostEnvironmentVariable).toService(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution);
|
|
40
|
-
bind(plugin_reader_1.HostedPluginReader).toSelf().inSingletonScope();
|
|
41
|
-
bind(node_1.BackendApplicationContribution).toService(plugin_reader_1.HostedPluginReader);
|
|
42
|
-
bind(plugin_ext_1.PluginDeployerResolver).to(local_vsix_file_plugin_deployer_resolver_1.LocalVSIXFilePluginDeployerResolver).inSingletonScope();
|
|
43
|
-
});
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
19
|
+
const plugin_ext_1 = require("@theia/plugin-ext");
|
|
20
|
+
const plugin_vscode_file_handler_1 = require("./plugin-vscode-file-handler");
|
|
21
|
+
const plugin_vscode_directory_handler_1 = require("./plugin-vscode-directory-handler");
|
|
22
|
+
const scanner_vscode_1 = require("./scanner-vscode");
|
|
23
|
+
const plugin_vscode_cli_contribution_1 = require("./plugin-vscode-cli-contribution");
|
|
24
|
+
const node_1 = require("@theia/core/lib/node");
|
|
25
|
+
const common_1 = require("@theia/plugin-ext/lib/common");
|
|
26
|
+
const plugin_vscode_environment_1 = require("../common/plugin-vscode-environment");
|
|
27
|
+
const plugin_vscode_deployer_participant_1 = require("./plugin-vscode-deployer-participant");
|
|
28
|
+
const plugin_reader_1 = require("./plugin-reader");
|
|
29
|
+
const local_vsix_file_plugin_deployer_resolver_1 = require("./local-vsix-file-plugin-deployer-resolver");
|
|
30
|
+
exports.default = new inversify_1.ContainerModule(bind => {
|
|
31
|
+
bind(plugin_vscode_environment_1.PluginVSCodeEnvironment).toSelf().inSingletonScope();
|
|
32
|
+
bind(plugin_vscode_deployer_participant_1.PluginVSCodeDeployerParticipant).toSelf().inSingletonScope();
|
|
33
|
+
bind(plugin_ext_1.PluginDeployerParticipant).toService(plugin_vscode_deployer_participant_1.PluginVSCodeDeployerParticipant);
|
|
34
|
+
bind(plugin_ext_1.PluginDeployerFileHandler).to(plugin_vscode_file_handler_1.PluginVsCodeFileHandler).inSingletonScope();
|
|
35
|
+
bind(plugin_ext_1.PluginDeployerDirectoryHandler).to(plugin_vscode_directory_handler_1.PluginVsCodeDirectoryHandler).inSingletonScope();
|
|
36
|
+
bind(plugin_ext_1.PluginScanner).to(scanner_vscode_1.VsCodePluginScanner).inSingletonScope();
|
|
37
|
+
bind(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution).toSelf().inSingletonScope();
|
|
38
|
+
bind(node_1.CliContribution).toService(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution);
|
|
39
|
+
bind(common_1.PluginHostEnvironmentVariable).toService(plugin_vscode_cli_contribution_1.PluginVsCodeCliContribution);
|
|
40
|
+
bind(plugin_reader_1.HostedPluginReader).toSelf().inSingletonScope();
|
|
41
|
+
bind(node_1.BackendApplicationContribution).toService(plugin_reader_1.HostedPluginReader);
|
|
42
|
+
bind(plugin_ext_1.PluginDeployerResolver).to(local_vsix_file_plugin_deployer_resolver_1.LocalVSIXFilePluginDeployerResolver).inSingletonScope();
|
|
43
|
+
});
|
|
44
44
|
//# sourceMappingURL=plugin-vscode-backend-module.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/// <reference types="yargs" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { Argv, Arguments } from '@theia/core/shared/yargs';
|
|
4
|
-
import { CliContribution } from '@theia/core/lib/node/cli';
|
|
5
|
-
import { PluginHostEnvironmentVariable } from '@theia/plugin-ext/lib/common';
|
|
6
|
-
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
7
|
-
/**
|
|
8
|
-
* CLI Contribution allowing to override the VS Code API version which is returned by `vscode.version` API call.
|
|
9
|
-
*/
|
|
10
|
-
export declare class PluginVsCodeCliContribution implements CliContribution, PluginHostEnvironmentVariable {
|
|
11
|
-
/**
|
|
12
|
-
* CLI argument name to define the supported VS Code API version.
|
|
13
|
-
*/
|
|
14
|
-
static VSCODE_API_VERSION: string;
|
|
15
|
-
protected vsCodeApiVersion?: string;
|
|
16
|
-
protected vsCodeApiVersionDeferred: Deferred<string>;
|
|
17
|
-
get vsCodeApiVersionPromise(): Promise<string>;
|
|
18
|
-
configure(conf: Argv): void;
|
|
19
|
-
setArguments(args: Arguments): void;
|
|
20
|
-
process(env: NodeJS.ProcessEnv): void;
|
|
21
|
-
}
|
|
1
|
+
/// <reference types="yargs" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { Argv, Arguments } from '@theia/core/shared/yargs';
|
|
4
|
+
import { CliContribution } from '@theia/core/lib/node/cli';
|
|
5
|
+
import { PluginHostEnvironmentVariable } from '@theia/plugin-ext/lib/common';
|
|
6
|
+
import { Deferred } from '@theia/core/lib/common/promise-util';
|
|
7
|
+
/**
|
|
8
|
+
* CLI Contribution allowing to override the VS Code API version which is returned by `vscode.version` API call.
|
|
9
|
+
*/
|
|
10
|
+
export declare class PluginVsCodeCliContribution implements CliContribution, PluginHostEnvironmentVariable {
|
|
11
|
+
/**
|
|
12
|
+
* CLI argument name to define the supported VS Code API version.
|
|
13
|
+
*/
|
|
14
|
+
static VSCODE_API_VERSION: string;
|
|
15
|
+
protected vsCodeApiVersion?: string;
|
|
16
|
+
protected vsCodeApiVersionDeferred: Deferred<string>;
|
|
17
|
+
get vsCodeApiVersionPromise(): Promise<string>;
|
|
18
|
+
configure(conf: Argv): void;
|
|
19
|
+
setArguments(args: Arguments): void;
|
|
20
|
+
process(env: NodeJS.ProcessEnv): void;
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=plugin-vscode-cli-contribution.d.ts.map
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *****************************************************************************
|
|
3
|
-
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
-
//
|
|
5
|
-
// This program and the accompanying materials are made available under the
|
|
6
|
-
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
//
|
|
9
|
-
// This Source Code may also be made available under the following Secondary
|
|
10
|
-
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
// with the GNU Classpath Exception which is available at
|
|
13
|
-
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
//
|
|
15
|
-
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
-
// *****************************************************************************
|
|
17
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
-
};
|
|
23
|
-
var PluginVsCodeCliContribution_1;
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PluginVsCodeCliContribution = void 0;
|
|
26
|
-
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
-
const plugin_vscode_types_1 = require("../common/plugin-vscode-types");
|
|
28
|
-
const promise_util_1 = require("@theia/core/lib/common/promise-util");
|
|
29
|
-
/**
|
|
30
|
-
* CLI Contribution allowing to override the VS Code API version which is returned by `vscode.version` API call.
|
|
31
|
-
*/
|
|
32
|
-
let PluginVsCodeCliContribution = PluginVsCodeCliContribution_1 = class PluginVsCodeCliContribution {
|
|
33
|
-
constructor() {
|
|
34
|
-
this.vsCodeApiVersionDeferred = new promise_util_1.Deferred();
|
|
35
|
-
}
|
|
36
|
-
get vsCodeApiVersionPromise() {
|
|
37
|
-
return this.vsCodeApiVersionDeferred.promise;
|
|
38
|
-
}
|
|
39
|
-
configure(conf) {
|
|
40
|
-
conf.option(PluginVsCodeCliContribution_1.VSCODE_API_VERSION, {
|
|
41
|
-
// eslint-disable-next-line max-len
|
|
42
|
-
description: `Overrides the version returned by VSCode API 'vscode.version'. Example: --${PluginVsCodeCliContribution_1.VSCODE_API_VERSION}=<Wanted Version>. Default [${plugin_vscode_types_1.VSCODE_DEFAULT_API_VERSION}]`,
|
|
43
|
-
type: 'string',
|
|
44
|
-
nargs: 1
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
setArguments(args) {
|
|
48
|
-
var _a;
|
|
49
|
-
const arg = args[PluginVsCodeCliContribution_1.VSCODE_API_VERSION];
|
|
50
|
-
this.vsCodeApiVersion = (arg === null || arg === void 0 ? void 0 : arg.trim()) || ((_a = process.env['VSCODE_API_VERSION']) === null || _a === void 0 ? void 0 : _a.trim()) || plugin_vscode_types_1.VSCODE_DEFAULT_API_VERSION;
|
|
51
|
-
process.env['VSCODE_API_VERSION'] = this.vsCodeApiVersion;
|
|
52
|
-
this.vsCodeApiVersionDeferred.resolve(this.vsCodeApiVersion);
|
|
53
|
-
}
|
|
54
|
-
process(env) {
|
|
55
|
-
if (this.vsCodeApiVersion) {
|
|
56
|
-
env['VSCODE_API_VERSION'] = this.vsCodeApiVersion;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* CLI argument name to define the supported VS Code API version.
|
|
62
|
-
*/
|
|
63
|
-
PluginVsCodeCliContribution.VSCODE_API_VERSION = 'vscode-api-version';
|
|
64
|
-
PluginVsCodeCliContribution = PluginVsCodeCliContribution_1 = __decorate([
|
|
65
|
-
(0, inversify_1.injectable)()
|
|
66
|
-
], PluginVsCodeCliContribution);
|
|
67
|
-
exports.PluginVsCodeCliContribution = PluginVsCodeCliContribution;
|
|
1
|
+
"use strict";
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2019 Red Hat, Inc. and others.
|
|
4
|
+
//
|
|
5
|
+
// This program and the accompanying materials are made available under the
|
|
6
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
+
//
|
|
9
|
+
// This Source Code may also be made available under the following Secondary
|
|
10
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
+
// with the GNU Classpath Exception which is available at
|
|
13
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
14
|
+
//
|
|
15
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
+
// *****************************************************************************
|
|
17
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
var PluginVsCodeCliContribution_1;
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.PluginVsCodeCliContribution = void 0;
|
|
26
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
27
|
+
const plugin_vscode_types_1 = require("../common/plugin-vscode-types");
|
|
28
|
+
const promise_util_1 = require("@theia/core/lib/common/promise-util");
|
|
29
|
+
/**
|
|
30
|
+
* CLI Contribution allowing to override the VS Code API version which is returned by `vscode.version` API call.
|
|
31
|
+
*/
|
|
32
|
+
let PluginVsCodeCliContribution = PluginVsCodeCliContribution_1 = class PluginVsCodeCliContribution {
|
|
33
|
+
constructor() {
|
|
34
|
+
this.vsCodeApiVersionDeferred = new promise_util_1.Deferred();
|
|
35
|
+
}
|
|
36
|
+
get vsCodeApiVersionPromise() {
|
|
37
|
+
return this.vsCodeApiVersionDeferred.promise;
|
|
38
|
+
}
|
|
39
|
+
configure(conf) {
|
|
40
|
+
conf.option(PluginVsCodeCliContribution_1.VSCODE_API_VERSION, {
|
|
41
|
+
// eslint-disable-next-line max-len
|
|
42
|
+
description: `Overrides the version returned by VSCode API 'vscode.version'. Example: --${PluginVsCodeCliContribution_1.VSCODE_API_VERSION}=<Wanted Version>. Default [${plugin_vscode_types_1.VSCODE_DEFAULT_API_VERSION}]`,
|
|
43
|
+
type: 'string',
|
|
44
|
+
nargs: 1
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
setArguments(args) {
|
|
48
|
+
var _a;
|
|
49
|
+
const arg = args[PluginVsCodeCliContribution_1.VSCODE_API_VERSION];
|
|
50
|
+
this.vsCodeApiVersion = (arg === null || arg === void 0 ? void 0 : arg.trim()) || ((_a = process.env['VSCODE_API_VERSION']) === null || _a === void 0 ? void 0 : _a.trim()) || plugin_vscode_types_1.VSCODE_DEFAULT_API_VERSION;
|
|
51
|
+
process.env['VSCODE_API_VERSION'] = this.vsCodeApiVersion;
|
|
52
|
+
this.vsCodeApiVersionDeferred.resolve(this.vsCodeApiVersion);
|
|
53
|
+
}
|
|
54
|
+
process(env) {
|
|
55
|
+
if (this.vsCodeApiVersion) {
|
|
56
|
+
env['VSCODE_API_VERSION'] = this.vsCodeApiVersion;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* CLI argument name to define the supported VS Code API version.
|
|
62
|
+
*/
|
|
63
|
+
PluginVsCodeCliContribution.VSCODE_API_VERSION = 'vscode-api-version';
|
|
64
|
+
PluginVsCodeCliContribution = PluginVsCodeCliContribution_1 = __decorate([
|
|
65
|
+
(0, inversify_1.injectable)()
|
|
66
|
+
], PluginVsCodeCliContribution);
|
|
67
|
+
exports.PluginVsCodeCliContribution = PluginVsCodeCliContribution;
|
|
68
68
|
//# sourceMappingURL=plugin-vscode-cli-contribution.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PluginVSCodeEnvironment } from '../common/plugin-vscode-environment';
|
|
2
|
-
import { PluginDeployerParticipant, PluginDeployerStartContext } from '@theia/plugin-ext/lib/common/plugin-protocol';
|
|
3
|
-
export declare class PluginVSCodeDeployerParticipant implements PluginDeployerParticipant {
|
|
4
|
-
protected readonly environments: PluginVSCodeEnvironment;
|
|
5
|
-
onWillStart(context: PluginDeployerStartContext): Promise<void>;
|
|
6
|
-
}
|
|
1
|
+
import { PluginVSCodeEnvironment } from '../common/plugin-vscode-environment';
|
|
2
|
+
import { PluginDeployerParticipant, PluginDeployerStartContext } from '@theia/plugin-ext/lib/common/plugin-protocol';
|
|
3
|
+
export declare class PluginVSCodeDeployerParticipant implements PluginDeployerParticipant {
|
|
4
|
+
protected readonly environments: PluginVSCodeEnvironment;
|
|
5
|
+
onWillStart(context: PluginDeployerStartContext): Promise<void>;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=plugin-vscode-deployer-participant.d.ts.map
|