@theia/process 1.57.0-next.112 → 1.57.0-next.136
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/process-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAa,MAAM,8BAA8B,CAAC;;
|
|
1
|
+
{"version":3,"file":"process-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/process-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAa,MAAM,8BAA8B,CAAC;;AAQ1E,wBAqCG"}
|
|
@@ -21,16 +21,11 @@ const terminal_process_1 = require("./terminal-process");
|
|
|
21
21
|
const task_terminal_process_1 = require("./task-terminal-process");
|
|
22
22
|
const node_1 = require("@theia/core/lib/node");
|
|
23
23
|
const process_manager_1 = require("./process-manager");
|
|
24
|
-
const common_1 = require("@theia/core/lib/common");
|
|
25
24
|
const multi_ring_buffer_1 = require("./multi-ring-buffer");
|
|
26
25
|
exports.default = new inversify_1.ContainerModule(bind => {
|
|
27
26
|
bind(raw_process_1.RawProcess).toSelf().inTransientScope();
|
|
28
27
|
bind(process_manager_1.ProcessManager).toSelf().inSingletonScope();
|
|
29
28
|
bind(node_1.BackendApplicationContribution).toService(process_manager_1.ProcessManager);
|
|
30
|
-
bind(common_1.ILogger).toDynamicValue(ctx => {
|
|
31
|
-
const parentLogger = ctx.container.get(common_1.ILogger);
|
|
32
|
-
return parentLogger.child('process');
|
|
33
|
-
}).inSingletonScope().whenTargetNamed('process');
|
|
34
29
|
bind(raw_process_1.RawProcessFactory).toFactory(ctx => (options) => {
|
|
35
30
|
const child = new inversify_1.Container({ defaultScope: 'Singleton' });
|
|
36
31
|
child.parent = ctx.container;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-backend-module.js","sourceRoot":"","sources":["../../src/node/process-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA0E;AAC1E,+CAAiG;AACjG,yDAAqG;AACrG,mEAA0F;AAC1F,+CAAsE;AACtE,uDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"process-backend-module.js","sourceRoot":"","sources":["../../src/node/process-backend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0CAA0C;AAC1C,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,4DAA0E;AAC1E,+CAAiG;AACjG,yDAAqG;AACrG,mEAA0F;AAC1F,+CAAsE;AACtE,uDAAmD;AACnD,2DAA8E;AAE9E,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,wBAAU,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7C,IAAI,CAAC,gCAAc,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACjD,IAAI,CAAC,qCAA8B,CAAC,CAAC,SAAS,CAAC,gCAAc,CAAC,CAAC;IAC/D,IAAI,CAAC,+BAAiB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CACpC,CAAC,OAA2C,EAAE,EAAE;QAC5C,MAAM,KAAK,GAAG,IAAI,qBAAS,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;QAC3D,KAAK,CAAC,MAAM,GAAG,GA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AO,EAAE,CAAC,CAAC;AACpE,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/process",
|
|
3
|
-
"version": "1.57.0-next.
|
|
3
|
+
"version": "1.57.0-next.136+9a2072774",
|
|
4
4
|
"description": "Theia process support.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.57.0-next.
|
|
6
|
+
"@theia/core": "1.57.0-next.136+9a2072774",
|
|
7
7
|
"node-pty": "1.1.0-beta27",
|
|
8
8
|
"string-argv": "^0.1.1",
|
|
9
9
|
"tslib": "^2.6.2"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"nyc": {
|
|
51
51
|
"extends": "../../configs/nyc.json"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9a20727743172a4efa46334f4136a1242b160848"
|
|
54
54
|
}
|
|
@@ -20,17 +20,12 @@ import { TerminalProcess, TerminalProcessOptions, TerminalProcessFactory } from
|
|
|
20
20
|
import { TaskTerminalProcess, TaskTerminalProcessFactory } from './task-terminal-process';
|
|
21
21
|
import { BackendApplicationContribution } from '@theia/core/lib/node';
|
|
22
22
|
import { ProcessManager } from './process-manager';
|
|
23
|
-
import { ILogger } from '@theia/core/lib/common';
|
|
24
23
|
import { MultiRingBuffer, MultiRingBufferOptions } from './multi-ring-buffer';
|
|
25
24
|
|
|
26
25
|
export default new ContainerModule(bind => {
|
|
27
26
|
bind(RawProcess).toSelf().inTransientScope();
|
|
28
27
|
bind(ProcessManager).toSelf().inSingletonScope();
|
|
29
28
|
bind(BackendApplicationContribution).toService(ProcessManager);
|
|
30
|
-
bind(ILogger).toDynamicValue(ctx => {
|
|
31
|
-
const parentLogger = ctx.container.get<ILogger>(ILogger);
|
|
32
|
-
return parentLogger.child('process');
|
|
33
|
-
}).inSingletonScope().whenTargetNamed('process');
|
|
34
29
|
bind(RawProcessFactory).toFactory(ctx =>
|
|
35
30
|
(options: RawProcessOptions | RawForkOptions) => {
|
|
36
31
|
const child = new Container({ defaultScope: 'Singleton' });
|