@theia/task 1.23.0-next.5 → 1.23.0-next.51
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/lib/browser/index.d.ts +0 -15
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/index.js +16 -16
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/process/process-task-contribution.d.ts +0 -15
- package/lib/browser/process/process-task-contribution.d.ts.map +1 -1
- package/lib/browser/process/process-task-contribution.js +17 -17
- package/lib/browser/process/process-task-contribution.js.map +1 -1
- package/lib/browser/process/process-task-frontend-module.d.ts +0 -15
- package/lib/browser/process/process-task-frontend-module.d.ts.map +1 -1
- package/lib/browser/process/process-task-frontend-module.js +15 -15
- package/lib/browser/process/process-task-frontend-module.js.map +1 -1
- package/lib/browser/process/process-task-resolver.d.ts +0 -15
- package/lib/browser/process/process-task-resolver.d.ts.map +1 -1
- package/lib/browser/process/process-task-resolver.js +19 -19
- package/lib/browser/process/process-task-resolver.js.map +1 -1
- package/lib/browser/provided-task-configurations.d.ts +0 -15
- package/lib/browser/provided-task-configurations.d.ts.map +1 -1
- package/lib/browser/provided-task-configurations.js +18 -18
- package/lib/browser/provided-task-configurations.js.map +1 -1
- package/lib/browser/provided-task-configurations.spec.d.ts +0 -15
- package/lib/browser/provided-task-configurations.spec.d.ts.map +1 -1
- package/lib/browser/provided-task-configurations.spec.js +15 -15
- package/lib/browser/provided-task-configurations.spec.js.map +1 -1
- package/lib/browser/quick-open-task.d.ts +0 -23
- package/lib/browser/quick-open-task.d.ts.map +1 -1
- package/lib/browser/quick-open-task.js +56 -64
- package/lib/browser/quick-open-task.js.map +1 -1
- package/lib/browser/task-configuration-manager.d.ts +0 -15
- package/lib/browser/task-configuration-manager.d.ts.map +1 -1
- package/lib/browser/task-configuration-manager.js +32 -32
- package/lib/browser/task-configuration-manager.js.map +1 -1
- package/lib/browser/task-configuration-model.d.ts +0 -15
- package/lib/browser/task-configuration-model.d.ts.map +1 -1
- package/lib/browser/task-configuration-model.js +15 -15
- package/lib/browser/task-configuration-model.js.map +1 -1
- package/lib/browser/task-configurations.d.ts +0 -15
- package/lib/browser/task-configurations.d.ts.map +1 -1
- package/lib/browser/task-configurations.js +23 -23
- package/lib/browser/task-configurations.js.map +1 -1
- package/lib/browser/task-contribution.d.ts +0 -15
- package/lib/browser/task-contribution.d.ts.map +1 -1
- package/lib/browser/task-contribution.js +18 -18
- package/lib/browser/task-contribution.js.map +1 -1
- package/lib/browser/task-definition-registry.d.ts +0 -15
- package/lib/browser/task-definition-registry.d.ts.map +1 -1
- package/lib/browser/task-definition-registry.js +16 -16
- package/lib/browser/task-definition-registry.js.map +1 -1
- package/lib/browser/task-definition-registry.spec.d.ts +0 -15
- package/lib/browser/task-definition-registry.spec.d.ts.map +1 -1
- package/lib/browser/task-definition-registry.spec.js +28 -28
- package/lib/browser/task-definition-registry.spec.js.map +1 -1
- package/lib/browser/task-frontend-contribution.d.ts +0 -15
- package/lib/browser/task-frontend-contribution.d.ts.map +1 -1
- package/lib/browser/task-frontend-contribution.js +36 -36
- package/lib/browser/task-frontend-contribution.js.map +1 -1
- package/lib/browser/task-frontend-module.d.ts +0 -15
- package/lib/browser/task-frontend-module.d.ts.map +1 -1
- package/lib/browser/task-frontend-module.js +19 -19
- package/lib/browser/task-frontend-module.js.map +1 -1
- package/lib/browser/task-name-resolver.d.ts +0 -15
- package/lib/browser/task-name-resolver.d.ts.map +1 -1
- package/lib/browser/task-name-resolver.js +18 -18
- package/lib/browser/task-name-resolver.js.map +1 -1
- package/lib/browser/task-node.d.ts +0 -15
- package/lib/browser/task-node.d.ts.map +1 -1
- package/lib/browser/task-preferences.d.ts +0 -15
- package/lib/browser/task-preferences.d.ts.map +1 -1
- package/lib/browser/task-preferences.js +15 -15
- package/lib/browser/task-preferences.js.map +1 -1
- package/lib/browser/task-problem-matcher-registry.d.ts +0 -15
- package/lib/browser/task-problem-matcher-registry.d.ts.map +1 -1
- package/lib/browser/task-problem-matcher-registry.js +18 -18
- package/lib/browser/task-problem-matcher-registry.js.map +1 -1
- package/lib/browser/task-problem-pattern-registry.d.ts +0 -15
- package/lib/browser/task-problem-pattern-registry.d.ts.map +1 -1
- package/lib/browser/task-problem-pattern-registry.js +17 -17
- package/lib/browser/task-problem-pattern-registry.js.map +1 -1
- package/lib/browser/task-schema-updater.d.ts +1 -16
- package/lib/browser/task-schema-updater.d.ts.map +1 -1
- package/lib/browser/task-schema-updater.js +23 -23
- package/lib/browser/task-schema-updater.js.map +1 -1
- package/lib/browser/task-service.d.ts +0 -15
- package/lib/browser/task-service.d.ts.map +1 -1
- package/lib/browser/task-service.js +47 -47
- package/lib/browser/task-service.js.map +1 -1
- package/lib/browser/task-source-resolver.d.ts +0 -15
- package/lib/browser/task-source-resolver.d.ts.map +1 -1
- package/lib/browser/task-source-resolver.js +17 -17
- package/lib/browser/task-source-resolver.js.map +1 -1
- package/lib/browser/task-templates.d.ts +0 -15
- package/lib/browser/task-templates.d.ts.map +1 -1
- package/lib/browser/task-templates.js +16 -16
- package/lib/browser/task-templates.js.map +1 -1
- package/lib/browser/task-terminal-widget-manager.d.ts +0 -15
- package/lib/browser/task-terminal-widget-manager.d.ts.map +1 -1
- package/lib/browser/task-terminal-widget-manager.js +23 -23
- package/lib/browser/task-terminal-widget-manager.js.map +1 -1
- package/lib/browser/tasks-monaco-contribution.d.ts +0 -15
- package/lib/browser/tasks-monaco-contribution.d.ts.map +1 -1
- package/lib/browser/tasks-monaco-contribution.js +15 -15
- package/lib/browser/tasks-monaco-contribution.js.map +1 -1
- package/lib/common/index.d.ts +0 -15
- package/lib/common/index.d.ts.map +1 -1
- package/lib/common/index.js +16 -16
- package/lib/common/index.js.map +1 -1
- package/lib/common/problem-matcher-protocol.d.ts +0 -15
- package/lib/common/problem-matcher-protocol.d.ts.map +1 -1
- package/lib/common/problem-matcher-protocol.js +15 -15
- package/lib/common/problem-matcher-protocol.js.map +1 -1
- package/lib/common/process/task-protocol.d.ts +0 -15
- package/lib/common/process/task-protocol.d.ts.map +1 -1
- package/lib/common/process/task-protocol.js +15 -15
- package/lib/common/process/task-protocol.js.map +1 -1
- package/lib/common/task-common-module.d.ts +0 -15
- package/lib/common/task-common-module.d.ts.map +1 -1
- package/lib/common/task-common-module.js +15 -15
- package/lib/common/task-common-module.js.map +1 -1
- package/lib/common/task-protocol.d.ts +0 -15
- package/lib/common/task-protocol.d.ts.map +1 -1
- package/lib/common/task-protocol.js +15 -15
- package/lib/common/task-protocol.js.map +1 -1
- package/lib/common/task-watcher.d.ts +0 -15
- package/lib/common/task-watcher.d.ts.map +1 -1
- package/lib/common/task-watcher.js +16 -16
- package/lib/common/task-watcher.js.map +1 -1
- package/lib/node/custom/custom-task-runner-backend-module.d.ts +0 -15
- package/lib/node/custom/custom-task-runner-backend-module.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner-backend-module.js +15 -15
- package/lib/node/custom/custom-task-runner-backend-module.js.map +1 -1
- package/lib/node/custom/custom-task-runner-contribution.d.ts +0 -15
- package/lib/node/custom/custom-task-runner-contribution.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner-contribution.js +17 -17
- package/lib/node/custom/custom-task-runner-contribution.js.map +1 -1
- package/lib/node/custom/custom-task-runner.d.ts +0 -15
- package/lib/node/custom/custom-task-runner.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner.js +20 -20
- package/lib/node/custom/custom-task-runner.js.map +1 -1
- package/lib/node/custom/custom-task.d.ts +0 -17
- package/lib/node/custom/custom-task.d.ts.map +1 -1
- package/lib/node/custom/custom-task.js +20 -21
- package/lib/node/custom/custom-task.js.map +1 -1
- package/lib/node/index.d.ts +0 -15
- package/lib/node/index.d.ts.map +1 -1
- package/lib/node/index.js +16 -16
- package/lib/node/index.js.map +1 -1
- package/lib/node/process/process-task-runner-backend-module.d.ts +0 -15
- package/lib/node/process/process-task-runner-backend-module.d.ts.map +1 -1
- package/lib/node/process/process-task-runner-backend-module.js +15 -15
- package/lib/node/process/process-task-runner-backend-module.js.map +1 -1
- package/lib/node/process/process-task-runner-contribution.d.ts +0 -15
- package/lib/node/process/process-task-runner-contribution.d.ts.map +1 -1
- package/lib/node/process/process-task-runner-contribution.js +17 -17
- package/lib/node/process/process-task-runner-contribution.js.map +1 -1
- package/lib/node/process/process-task-runner.d.ts +0 -15
- package/lib/node/process/process-task-runner.d.ts.map +1 -1
- package/lib/node/process/process-task-runner.js +23 -23
- package/lib/node/process/process-task-runner.js.map +1 -1
- package/lib/node/process/process-task.d.ts +0 -17
- package/lib/node/process/process-task.d.ts.map +1 -1
- package/lib/node/process/process-task.js +20 -21
- package/lib/node/process/process-task.js.map +1 -1
- package/lib/node/process/process-task.spec.d.ts +0 -15
- package/lib/node/process/process-task.spec.d.ts.map +1 -1
- package/lib/node/process/process-task.spec.js +19 -19
- package/lib/node/process/process-task.spec.js.map +1 -1
- package/lib/node/task-abstract-line-matcher.d.ts +0 -15
- package/lib/node/task-abstract-line-matcher.d.ts.map +1 -1
- package/lib/node/task-abstract-line-matcher.js +15 -15
- package/lib/node/task-abstract-line-matcher.js.map +1 -1
- package/lib/node/task-backend-application-contribution.d.ts +0 -15
- package/lib/node/task-backend-application-contribution.d.ts.map +1 -1
- package/lib/node/task-backend-application-contribution.js +19 -19
- package/lib/node/task-backend-application-contribution.js.map +1 -1
- package/lib/node/task-backend-module.d.ts +0 -15
- package/lib/node/task-backend-module.d.ts.map +1 -1
- package/lib/node/task-backend-module.js +19 -19
- package/lib/node/task-backend-module.js.map +1 -1
- package/lib/node/task-line-matchers.d.ts +0 -17
- package/lib/node/task-line-matchers.d.ts.map +1 -1
- package/lib/node/task-line-matchers.js +15 -17
- package/lib/node/task-line-matchers.js.map +1 -1
- package/lib/node/task-manager.js +18 -17
- package/lib/node/task-manager.js.map +1 -1
- package/lib/node/task-problem-collector.d.ts +0 -15
- package/lib/node/task-problem-collector.d.ts.map +1 -1
- package/lib/node/task-problem-collector.js +15 -15
- package/lib/node/task-problem-collector.js.map +1 -1
- package/lib/node/task-problem-collector.spec.d.ts +0 -15
- package/lib/node/task-problem-collector.spec.d.ts.map +1 -1
- package/lib/node/task-problem-collector.spec.js +34 -34
- package/lib/node/task-problem-collector.spec.js.map +1 -1
- package/lib/node/task-runner.d.ts +0 -15
- package/lib/node/task-runner.d.ts.map +1 -1
- package/lib/node/task-runner.js +18 -18
- package/lib/node/task-runner.js.map +1 -1
- package/lib/node/task-server.d.ts +0 -15
- package/lib/node/task-server.d.ts.map +1 -1
- package/lib/node/task-server.js +20 -20
- package/lib/node/task-server.js.map +1 -1
- package/lib/node/task-server.slow-spec.d.ts +0 -15
- package/lib/node/task-server.slow-spec.d.ts.map +1 -1
- package/lib/node/task-server.slow-spec.js +33 -31
- package/lib/node/task-server.slow-spec.js.map +1 -1
- package/lib/node/task.d.ts +0 -15
- package/lib/node/task.d.ts.map +1 -1
- package/lib/node/task.js +16 -16
- package/lib/node/task.js.map +1 -1
- package/lib/node/test/task-test-container.d.ts +0 -15
- package/lib/node/test/task-test-container.d.ts.map +1 -1
- package/lib/node/test/task-test-container.js +16 -16
- package/lib/node/test/task-test-container.js.map +1 -1
- package/package.json +12 -14
- package/src/browser/index.ts +15 -15
- package/src/browser/monaco.d.ts +15 -15
- package/src/browser/process/process-task-contribution.ts +15 -15
- package/src/browser/process/process-task-frontend-module.ts +15 -15
- package/src/browser/process/process-task-resolver.ts +15 -15
- package/src/browser/provided-task-configurations.spec.ts +15 -15
- package/src/browser/provided-task-configurations.ts +15 -15
- package/src/browser/quick-open-task.ts +27 -28
- package/src/browser/task-configuration-manager.ts +15 -15
- package/src/browser/task-configuration-model.ts +15 -15
- package/src/browser/task-configurations.ts +15 -15
- package/src/browser/task-contribution.ts +15 -15
- package/src/browser/task-definition-registry.spec.ts +15 -15
- package/src/browser/task-definition-registry.ts +15 -15
- package/src/browser/task-frontend-contribution.ts +15 -15
- package/src/browser/task-frontend-module.ts +15 -15
- package/src/browser/task-name-resolver.ts +15 -15
- package/src/browser/task-node.ts +15 -15
- package/src/browser/task-preferences.ts +15 -15
- package/src/browser/task-problem-matcher-registry.ts +15 -15
- package/src/browser/task-problem-pattern-registry.ts +15 -15
- package/src/browser/task-schema-updater.ts +15 -15
- package/src/browser/task-service.ts +15 -15
- package/src/browser/task-source-resolver.ts +15 -15
- package/src/browser/task-templates.ts +15 -15
- package/src/browser/task-terminal-widget-manager.ts +15 -15
- package/src/browser/tasks-monaco-contribution.ts +15 -15
- package/src/common/index.ts +15 -15
- package/src/common/problem-matcher-protocol.ts +15 -15
- package/src/common/process/task-protocol.ts +15 -15
- package/src/common/task-common-module.ts +15 -15
- package/src/common/task-protocol.ts +15 -15
- package/src/common/task-watcher.ts +15 -15
- package/src/node/custom/custom-task-runner-backend-module.ts +15 -15
- package/src/node/custom/custom-task-runner-contribution.ts +15 -15
- package/src/node/custom/custom-task-runner.ts +15 -15
- package/src/node/custom/custom-task.ts +18 -18
- package/src/node/index.ts +15 -15
- package/src/node/process/process-task-runner-backend-module.ts +15 -15
- package/src/node/process/process-task-runner-contribution.ts +15 -15
- package/src/node/process/process-task-runner.ts +15 -15
- package/src/node/process/process-task.spec.ts +15 -15
- package/src/node/process/process-task.ts +18 -18
- package/src/node/task-abstract-line-matcher.ts +15 -15
- package/src/node/task-backend-application-contribution.ts +15 -15
- package/src/node/task-backend-module.ts +15 -15
- package/src/node/task-line-matchers.ts +18 -22
- package/src/node/task-manager.ts +15 -15
- package/src/node/task-problem-collector.spec.ts +15 -15
- package/src/node/task-problem-collector.ts +15 -15
- package/src/node/task-runner.ts +15 -15
- package/src/node/task-server.slow-spec.ts +21 -20
- package/src/node/task-server.ts +15 -15
- package/src/node/task.ts +15 -15
- package/src/node/test/task-test-container.ts +17 -17
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2021 ByteDance 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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -33,11 +33,11 @@ let CustomTaskRunnerContribution = class CustomTaskRunnerContribution {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
__decorate([
|
|
36
|
-
inversify_1.inject(custom_task_runner_1.CustomTaskRunner),
|
|
36
|
+
(0, inversify_1.inject)(custom_task_runner_1.CustomTaskRunner),
|
|
37
37
|
__metadata("design:type", custom_task_runner_1.CustomTaskRunner)
|
|
38
38
|
], CustomTaskRunnerContribution.prototype, "customTaskRunner", void 0);
|
|
39
39
|
CustomTaskRunnerContribution = __decorate([
|
|
40
|
-
inversify_1.injectable()
|
|
40
|
+
(0, inversify_1.injectable)()
|
|
41
41
|
], CustomTaskRunnerContribution);
|
|
42
42
|
exports.CustomTaskRunnerContribution = CustomTaskRunnerContribution;
|
|
43
43
|
//# sourceMappingURL=custom-task-runner-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-task-runner-contribution.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner-contribution.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"custom-task-runner-contribution.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,2CAA2C;AAC3C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,4DAAkE;AAClE,6DAAwD;AAIxD,IAAa,4BAA4B,GAAzC,MAAa,4BAA4B;IAKrC,cAAc,CAAC,OAA2B;QACtC,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACrE,CAAC;CACJ,CAAA;AALG;IADC,IAAA,kBAAM,EAAC,qCAAgB,CAAC;8BACY,qCAAgB;sEAAC;AAH7C,4BAA4B;IADxC,IAAA,sBAAU,GAAE;GACA,4BAA4B,CAQxC;AARY,oEAA4B"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2021 ByteDance 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
1
|
import { TaskConfiguration } from '../../common';
|
|
17
2
|
import { Task } from '../task';
|
|
18
3
|
import { TaskRunner } from '../task-runner';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-task-runner.d.ts","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-task-runner.d.ts","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACH,sBAAsB,EAGzB,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,qBACa,gBAAiB,YAAW,UAAU;IAG/C,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAGnC,SAAS,CAAC,QAAQ,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;IAGlE,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAEtC,GAAG,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAgBxE"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2021 ByteDance 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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -51,20 +51,20 @@ let CustomTaskRunner = class CustomTaskRunner {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
__decorate([
|
|
54
|
-
inversify_1.inject(core_1.ILogger),
|
|
55
|
-
inversify_1.named('task'),
|
|
54
|
+
(0, inversify_1.inject)(core_1.ILogger),
|
|
55
|
+
(0, inversify_1.named)('task'),
|
|
56
56
|
__metadata("design:type", Object)
|
|
57
57
|
], CustomTaskRunner.prototype, "logger", void 0);
|
|
58
58
|
__decorate([
|
|
59
|
-
inversify_1.inject(node_1.TerminalProcessFactory),
|
|
59
|
+
(0, inversify_1.inject)(node_1.TerminalProcessFactory),
|
|
60
60
|
__metadata("design:type", Function)
|
|
61
61
|
], CustomTaskRunner.prototype, "terminalProcessFactory", void 0);
|
|
62
62
|
__decorate([
|
|
63
|
-
inversify_1.inject(custom_task_1.TaskFactory),
|
|
63
|
+
(0, inversify_1.inject)(custom_task_1.TaskFactory),
|
|
64
64
|
__metadata("design:type", Function)
|
|
65
65
|
], CustomTaskRunner.prototype, "taskFactory", void 0);
|
|
66
66
|
CustomTaskRunner = __decorate([
|
|
67
|
-
inversify_1.injectable()
|
|
67
|
+
(0, inversify_1.injectable)()
|
|
68
68
|
], CustomTaskRunner);
|
|
69
69
|
exports.CustomTaskRunner = CustomTaskRunner;
|
|
70
70
|
//# sourceMappingURL=custom-task-runner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-task-runner.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"custom-task-runner.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task-runner.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,2CAA2C;AAC3C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAKhF,4DAAyE;AACzE,sCAAsC;AACtC,+CAA4C;AAC5C,kDAIiC;AAEjC;;GAEG;AAEH,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAWzB,KAAK,CAAC,GAAG,CAAC,UAA6B,EAAE,GAAY;QACjD,IAAI;YACA,MAAM,sBAAsB,GAAG,EAAE,QAAQ,EAAE,IAAI,EAA4B,CAAC;YAC5E,MAAM,QAAQ,GAAY,IAAI,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,CAAC;YAE9E,OAAO,IAAI,CAAC,WAAW,CAAC;gBACpB,OAAO,EAAE,GAAG;gBACZ,MAAM,EAAE,UAAU;gBAClB,KAAK,EAAE,UAAU,CAAC,KAAK;gBACvB,OAAO,EAAE,QAAQ;aACpB,CAAC,CAAC;SACN;QAAC,OAAO,KAAK,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uCAAuC,KAAK,EAAE,CAAC,CAAC;YAClE,MAAM,KAAK,CAAC;SACf;IACL,CAAC;CACJ,CAAA;AAxBG;IADC,IAAA,kBAAM,EAAC,cAAO,CAAC;IAAE,IAAA,iBAAK,EAAC,MAAM,CAAC;;gDACI;AAGnC;IADC,IAAA,kBAAM,EAAC,6BAAsB,CAAC;;gEACmC;AAGlE;IADC,IAAA,kBAAM,EAAC,yBAAW,CAAC;;qDACwB;AATnC,gBAAgB;IAD5B,IAAA,sBAAU,GAAE;GACA,gBAAgB,CA2B5B;AA3BY,4CAAgB"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2021 ByteDance 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
1
|
import { ILogger, MaybePromise } from '@theia/core/lib/common/';
|
|
17
2
|
import { Task, TaskOptions } from '../task';
|
|
18
3
|
import { TaskManager } from '../task-manager';
|
|
@@ -26,8 +11,6 @@ export declare const TaskFactory: unique symbol;
|
|
|
26
11
|
export declare type TaskFactory = (options: TaskCustomOptions) => CustomTask;
|
|
27
12
|
/** Represents a Task launched as a fake process by `CustomTaskRunner`. */
|
|
28
13
|
export declare class CustomTask extends Task {
|
|
29
|
-
protected readonly taskManager: TaskManager;
|
|
30
|
-
protected readonly logger: ILogger;
|
|
31
14
|
protected readonly options: TaskCustomOptions;
|
|
32
15
|
constructor(taskManager: TaskManager, logger: ILogger, options: TaskCustomOptions);
|
|
33
16
|
kill(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-task.d.ts","sourceRoot":"","sources":["../../../src/node/custom/custom-task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"custom-task.d.ts","sourceRoot":"","sources":["../../../src/node/custom/custom-task.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,eAAO,MAAM,iBAAiB,eAA8B,CAAC;AAC7D,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAClD,OAAO,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,eAAwB,CAAC;AACjD,oBAAY,WAAW,GAAG,CAAC,OAAO,EAAE,iBAAiB,KAAK,UAAU,CAAC;AAErE,0EAA0E;AAC1E,qBACa,UAAW,SAAQ,IAAI;uBAK2B,OAAO,EAAE,iBAAiB;gBAF5D,WAAW,EAAE,WAAW,EACb,MAAM,EAAE,OAAO,EACQ,OAAO,EAAE,iBAAiB;IAMrF,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAIrB,cAAc,IAAI,YAAY,CAAC,QAAQ,CAAC;IAUjC,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC;IAW7E,IAAI,OAAO,IAAI,OAAO,CAErB;CACJ"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2021 ByteDance 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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -38,8 +38,6 @@ exports.TaskFactory = Symbol('TaskFactory');
|
|
|
38
38
|
let CustomTask = class CustomTask extends task_1.Task {
|
|
39
39
|
constructor(taskManager, logger, options) {
|
|
40
40
|
super(taskManager, logger, options);
|
|
41
|
-
this.taskManager = taskManager;
|
|
42
|
-
this.logger = logger;
|
|
43
41
|
this.options = options;
|
|
44
42
|
this.logger.info(`Created new custom task, id: ${this.id}, context: ${this.context}`);
|
|
45
43
|
}
|
|
@@ -70,10 +68,11 @@ let CustomTask = class CustomTask extends task_1.Task {
|
|
|
70
68
|
}
|
|
71
69
|
};
|
|
72
70
|
CustomTask = __decorate([
|
|
73
|
-
inversify_1.injectable(),
|
|
74
|
-
__param(0, inversify_1.inject(task_manager_1.TaskManager)),
|
|
75
|
-
__param(1, inversify_1.inject(common_1.ILogger)),
|
|
76
|
-
__param(
|
|
71
|
+
(0, inversify_1.injectable)(),
|
|
72
|
+
__param(0, (0, inversify_1.inject)(task_manager_1.TaskManager)),
|
|
73
|
+
__param(1, (0, inversify_1.inject)(common_1.ILogger)),
|
|
74
|
+
__param(1, (0, inversify_1.named)('task')),
|
|
75
|
+
__param(2, (0, inversify_1.inject)(exports.TaskCustomOptions)),
|
|
77
76
|
__metadata("design:paramtypes", [task_manager_1.TaskManager, Object, Object])
|
|
78
77
|
], CustomTask);
|
|
79
78
|
exports.CustomTask = CustomTask;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-task.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"custom-task.js","sourceRoot":"","sources":["../../../src/node/custom/custom-task.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,2CAA2C;AAC3C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;;;;AAEhF,4DAAyE;AACzE,oDAAgE;AAChE,kCAA4C;AAC5C,kDAA8C;AAIjC,QAAA,iBAAiB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAKhD,QAAA,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AAGjD,0EAA0E;AAE1E,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,WAAI;IAEhC,YACyB,WAAwB,EACb,MAAe,EACQ,OAA0B;QAEjF,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QAFmB,YAAO,GAAP,OAAO,CAAmB;QAGjF,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gCAAgC,IAAI,CAAC,EAAE,cAAc,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,IAAI;QACA,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IAED,cAAc;QACV,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,EAAE;YACf,GAAG,EAAE,IAAI,CAAC,OAAO;YACjB,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;YAC3B,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YAC3B,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;SAC7B,CAAC;IACN,CAAC;IAEM,oBAAoB,CAAC,QAA4B;QACpD,IAAI,CAAC,cAAc,CAAC;YAChB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,GAAG,EAAE,IAAI,CAAC,OAAO;YACjB,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;YAC3B,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YAC3B,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE;YAC1B,IAAI,EAAE,QAAQ,IAAI,CAAC;SACtB,CAAC,CAAC;IACP,CAAC;IAED,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;IAChC,CAAC;CACJ,CAAA;AAvCY,UAAU;IADtB,IAAA,sBAAU,GAAE;IAIJ,WAAA,IAAA,kBAAM,EAAC,0BAAW,CAAC,CAAA;IACnB,WAAA,IAAA,kBAAM,EAAC,gBAAO,CAAC,CAAA;IAAE,WAAA,IAAA,iBAAK,EAAC,MAAM,CAAC,CAAA;IAC9B,WAAA,IAAA,kBAAM,EAAC,yBAAiB,CAAC,CAAA;qCAFQ,0BAAW;GAHxC,UAAU,CAuCtB;AAvCY,gCAAU"}
|
package/lib/node/index.d.ts
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
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
1
|
export * from './task';
|
|
17
2
|
export * from './task-runner';
|
|
18
3
|
export * from './task-manager';
|
package/lib/node/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAgBA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
package/lib/node/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
18
|
if (k2 === undefined) k2 = k;
|
|
19
19
|
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
@@ -22,7 +22,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
22
22
|
o[k2] = m[k];
|
|
23
23
|
}));
|
|
24
24
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
-
for (var p in m) if (p !== "default" && !
|
|
25
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
28
|
__exportStar(require("./task"), exports);
|
package/lib/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,yCAAuB;AACvB,gDAA8B;AAC9B,iDAA+B"}
|
|
@@ -1,18 +1,3 @@
|
|
|
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
1
|
import { interfaces } from '@theia/core/shared/inversify';
|
|
17
2
|
export declare function bindProcessTaskRunnerModule(bind: interfaces.Bind): void;
|
|
18
3
|
//# sourceMappingURL=process-task-runner-backend-module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-task-runner-backend-module.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-backend-module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"process-task-runner-backend-module.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,UAAU,EAAa,MAAM,8BAA8B,CAAC;AAMrE,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAcvE"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.bindProcessTaskRunnerModule = void 0;
|
|
19
19
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-task-runner-backend-module.js","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-backend-module.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"process-task-runner-backend-module.js","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;AAEhF,4DAAqE;AACrE,iDAA8E;AAC9E,+DAA0D;AAC1D,yFAAmF;AACnF,gDAAwD;AAExD,SAAgB,2BAA2B,CAAC,IAAqB;IAE7D,IAAI,CAAC,0BAAW,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC9C,IAAI,CAAC,0BAAW,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAC9B,CAAC,OAA2B,EAAE,EAAE;QAC5B,MAAM,KAAK,GAAG,IAAI,qBAAS,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,iCAAkB,CAAC,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QACxD,OAAO,KAAK,CAAC,GAAG,CAAC,0BAAW,CAAC,CAAC;IAClC,CAAC,CACJ,CAAC;IACF,IAAI,CAAC,uCAAiB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACpD,IAAI,CAAC,gEAA6B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAChE,IAAI,CAAC,oCAAsB,CAAC,CAAC,SAAS,CAAC,gEAA6B,CAAC,CAAC;AAC1E,CAAC;AAdD,kEAcC"}
|
|
@@ -1,18 +1,3 @@
|
|
|
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
1
|
import { ProcessTaskRunner } from './process-task-runner';
|
|
17
2
|
import { TaskRunnerContribution, TaskRunnerRegistry } from '../task-runner';
|
|
18
3
|
export declare class ProcessTaskRunnerContribution implements TaskRunnerContribution {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-task-runner-contribution.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"process-task-runner-contribution.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAE5E,qBACa,6BAA8B,YAAW,sBAAsB;IAGxE,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,cAAc,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;CAIpD"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -34,11 +34,11 @@ let ProcessTaskRunnerContribution = class ProcessTaskRunnerContribution {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
__decorate([
|
|
37
|
-
inversify_1.inject(process_task_runner_1.ProcessTaskRunner),
|
|
37
|
+
(0, inversify_1.inject)(process_task_runner_1.ProcessTaskRunner),
|
|
38
38
|
__metadata("design:type", process_task_runner_1.ProcessTaskRunner)
|
|
39
39
|
], ProcessTaskRunnerContribution.prototype, "processTaskRunner", void 0);
|
|
40
40
|
ProcessTaskRunnerContribution = __decorate([
|
|
41
|
-
inversify_1.injectable()
|
|
41
|
+
(0, inversify_1.injectable)()
|
|
42
42
|
], ProcessTaskRunnerContribution);
|
|
43
43
|
exports.ProcessTaskRunnerContribution = ProcessTaskRunnerContribution;
|
|
44
44
|
//# sourceMappingURL=process-task-runner-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-task-runner-contribution.js","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-contribution.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"process-task-runner-contribution.js","sourceRoot":"","sources":["../../../src/node/process/process-task-runner-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,+CAA+C;AAC/C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,4DAAkE;AAClE,+DAA0D;AAI1D,IAAa,6BAA6B,GAA1C,MAAa,6BAA6B;IAKtC,cAAc,CAAC,OAA2B;QACtC,OAAO,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAC1D,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC5D,CAAC;CACJ,CAAA;AANG;IADC,IAAA,kBAAM,EAAC,uCAAiB,CAAC;8BACY,uCAAiB;wEAAC;AAH/C,6BAA6B;IADzC,IAAA,sBAAU,GAAE;GACA,6BAA6B,CASzC;AATY,sEAA6B"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (C) 2017-2019 Ericsson 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
1
|
import { ILogger } from '@theia/core';
|
|
17
2
|
import { RawProcessFactory, TerminalProcessOptions, TaskTerminalProcessFactory } from '@theia/process/lib/node';
|
|
18
3
|
import { ShellQuotedString, ShellQuotingFunctions } from '@theia/process/lib/common/shell-quoting';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-task-runner.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"process-task-runner.d.ts","sourceRoot":"","sources":["../../../src/node/process/process-task-runner.ts"],"names":[],"mappings":"AAsBA,OAAO,EAA+B,OAAO,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EACH,iBAAiB,EAGjB,sBAAsB,EACtB,0BAA0B,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACH,iBAAiB,EAAE,qBAAqB,EAC3C,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAoB,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAItF,MAAM,WAAW,iBAAiB;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACpD,OAAO,EAAE,cAAc,CAAA;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACjC,yDAAyD;IACzD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,2FAA2F;IAC3F,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC5C;AAED;;GAEG;AACH,qBACa,iBAAkB,YAAW,UAAU;IAGhD,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAGnC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAGxD,SAAS,CAAC,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;IAG1E,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAE5C;;;OAGG;IACG,GAAG,CAAC,UAAU,EAAE,iBAAiB,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAmCrE,SAAS,CAAC,kBAAkB,CAAC,UAAU,EAAE,iBAAiB,GAAG,sBAAsB;IA6FnF,SAAS,CAAC,iBAAiB,CAAC,qBAAqB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC,EAAE,qBAAqB,GAAG,MAAM;IAoBvH,SAAS,CAAC,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB;IA6BxE,SAAS,CAAC,oBAAoB,CAAC,UAAU,EAAE,iBAAiB,GAAG,iBAAiB;IAahF,SAAS,CAAC,UAAU,CAAC,WAAW,EAAE,SAAS,GAAG,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,GAAG,MAAM,GAAG,SAAS;IAU1H;;;;;;;;;;OAUG;IACH,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAG,OAAO;IAiCjG,SAAS,CAAC,wBAAwB,CAAC,UAAU,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,iBAAiB;IA6BrI,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAM7C;;;;;;OAMG;cACa,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAO3E"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
// *****************************************************************************
|
|
3
|
+
// Copyright (C) 2017-2019 Ericsson 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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -174,7 +174,7 @@ let ProcessTaskRunner = class ProcessTaskRunner {
|
|
|
174
174
|
return arg;
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
|
-
return shell_quoting_1.createShellCommandLine(commandLineElements, quotingFunctions);
|
|
177
|
+
return (0, shell_quoting_1.createShellCommandLine)(commandLineElements, quotingFunctions);
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
180
180
|
// No arguments are provided, so `command` is actually the full command line to execute.
|
|
@@ -289,7 +289,7 @@ let ProcessTaskRunner = class ProcessTaskRunner {
|
|
|
289
289
|
// initialize with default values from the `taskConfig`
|
|
290
290
|
let command = taskConfig.command;
|
|
291
291
|
let args = taskConfig.args;
|
|
292
|
-
let options = core_1.deepClone(taskConfig.options) || {};
|
|
292
|
+
let options = (0, core_1.deepClone)(taskConfig.options) || {};
|
|
293
293
|
if (system) {
|
|
294
294
|
if (taskConfig[system].command) {
|
|
295
295
|
command = taskConfig[system].command;
|
|
@@ -330,24 +330,24 @@ let ProcessTaskRunner = class ProcessTaskRunner {
|
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
332
|
__decorate([
|
|
333
|
-
inversify_1.inject(core_1.ILogger),
|
|
334
|
-
inversify_1.named('task'),
|
|
333
|
+
(0, inversify_1.inject)(core_1.ILogger),
|
|
334
|
+
(0, inversify_1.named)('task'),
|
|
335
335
|
__metadata("design:type", Object)
|
|
336
336
|
], ProcessTaskRunner.prototype, "logger", void 0);
|
|
337
337
|
__decorate([
|
|
338
|
-
inversify_1.inject(node_2.RawProcessFactory),
|
|
338
|
+
(0, inversify_1.inject)(node_2.RawProcessFactory),
|
|
339
339
|
__metadata("design:type", Function)
|
|
340
340
|
], ProcessTaskRunner.prototype, "rawProcessFactory", void 0);
|
|
341
341
|
__decorate([
|
|
342
|
-
inversify_1.inject(node_2.TaskTerminalProcessFactory),
|
|
342
|
+
(0, inversify_1.inject)(node_2.TaskTerminalProcessFactory),
|
|
343
343
|
__metadata("design:type", Function)
|
|
344
344
|
], ProcessTaskRunner.prototype, "taskTerminalProcessFactory", void 0);
|
|
345
345
|
__decorate([
|
|
346
|
-
inversify_1.inject(process_task_1.TaskFactory),
|
|
346
|
+
(0, inversify_1.inject)(process_task_1.TaskFactory),
|
|
347
347
|
__metadata("design:type", Function)
|
|
348
348
|
], ProcessTaskRunner.prototype, "taskFactory", void 0);
|
|
349
349
|
ProcessTaskRunner = __decorate([
|
|
350
|
-
inversify_1.injectable()
|
|
350
|
+
(0, inversify_1.injectable)()
|
|
351
351
|
], ProcessTaskRunner);
|
|
352
352
|
exports.ProcessTaskRunner = ProcessTaskRunner;
|
|
353
353
|
//# sourceMappingURL=process-task-runner.js.map
|