@theia/remote 1.72.0-next.5 → 1.72.0-next.52
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":"remote-frontend-module.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAgB/D,OAAO,6DAA6D,CAAC;;AAUrE,
|
|
1
|
+
{"version":3,"file":"remote-frontend-module.d.ts","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-module.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAgB/D,OAAO,6DAA6D,CAAC;;AAUrE,wBAqDG"}
|
|
@@ -61,13 +61,16 @@ exports.default = new inversify_1.ContainerModule((bind, _, __, rebind) => {
|
|
|
61
61
|
bind(remote_ssh_connection_provider_1.RemoteSSHConnectionProvider).toDynamicValue(ctx => service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, remote_ssh_connection_provider_1.RemoteSSHConnectionProviderPath)).inSingletonScope();
|
|
62
62
|
bind(remote_status_service_1.RemoteStatusService).toDynamicValue(ctx => service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, remote_status_service_1.RemoteStatusServicePath)).inSingletonScope();
|
|
63
63
|
bind(remote_port_forwarding_provider_1.RemotePortForwardingProvider).toDynamicValue(ctx => service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, remote_port_forwarding_provider_1.RemoteRemotePortForwardingProviderPath)).inSingletonScope();
|
|
64
|
-
|
|
65
|
-
service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, remote_file_system_provider_1.remoteFileSystemPath, new remote_file_system_provider_1.RemoteFileSystemProxyFactory())
|
|
66
|
-
ctx.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
if (browser_1.isRemote) {
|
|
65
|
+
bind(local_backend_services_1.LocalRemoteFileSytemServer).toDynamicValue(ctx => service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, remote_file_system_provider_1.remoteFileSystemPath, new remote_file_system_provider_1.RemoteFileSystemProxyFactory()));
|
|
66
|
+
bind(local_backend_services_1.LocalEnvVariablesServer).toDynamicValue(ctx => service_connection_provider_1.ServiceConnectionProvider.createLocalProxy(ctx.container, env_variables_1.envVariablesPath));
|
|
67
|
+
bind(local_backend_services_1.LocalRemoteFileSystemProvider).toSelf().inSingletonScope();
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
bind(local_backend_services_1.LocalRemoteFileSytemServer).toService(remote_file_system_provider_1.RemoteFileSystemServer);
|
|
71
|
+
bind(local_backend_services_1.LocalEnvVariablesServer).toService(env_variables_1.EnvVariablesServer);
|
|
72
|
+
bind(local_backend_services_1.LocalRemoteFileSystemProvider).toService(remote_file_system_provider_1.RemoteFileSystemProvider);
|
|
73
|
+
}
|
|
71
74
|
rebind(user_storage_contribution_1.UserStorageContribution).to(remote_user_storage_provider_1.RemoteUserStorageContribution);
|
|
72
75
|
if (browser_1.isRemote) {
|
|
73
76
|
bind(remote_local_workspace_contribution_1.RemoteLocalWorkspaceContribution).toSelf().inSingletonScope();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-frontend-module.js","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,sCAAgF;AAChF,4DAA+D;AAC/D,qDAAyH;AACzH,uEAAkE;AAClE,sGAAiI;AACjI,iFAA4E;AAC5E,iFAA4E;AAC5E,qDAAiD;AACjD,oFAAwG;AACxG,kIAA4H;AAC5H,+FAAwF;AACxF,8EAA8E;AAC9E,qFAA2G;AAC3G,+FAA2F;AAC3F,uFAAkF;AAClF,wGAA0I;AAC1I,+GAA0G;AAC1G,uEAAqE;AACrE,wGAAmG;AACnG,iFAA+E;AAC/E,
|
|
1
|
+
{"version":3,"file":"remote-frontend-module.js","sourceRoot":"","sources":["../../src/electron-browser/remote-frontend-module.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,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,sCAAgF;AAChF,4DAA+D;AAC/D,qDAAyH;AACzH,uEAAkE;AAClE,sGAAiI;AACjI,iFAA4E;AAC5E,iFAA4E;AAC5E,qDAAiD;AACjD,oFAAwG;AACxG,kIAA4H;AAC5H,+FAAwF;AACxF,8EAA8E;AAC9E,qFAA2G;AAC3G,+FAA2F;AAC3F,uFAAkF;AAClF,wGAA0I;AAC1I,+GAA0G;AAC1G,uEAAqE;AACrE,wGAAmG;AACnG,iFAA+E;AAC/E,0GAAgL;AAChL,qEAAiK;AACjK,wEAA4F;AAC5F,0DAA+G;AAC/G,+FAAyF;AACzF,6EAAqF;AAErF,kBAAe,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE;IACvD,IAAI,CAAC,yDAA0B,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7D,IAAI,CAAC,yCAA+B,CAAC,CAAC,SAAS,CAAC,yDAA0B,CAAC,CAAC;IAC5E,IAAI,CAAC,0BAAmB,CAAC,CAAC,SAAS,CAAC,yDAA0B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,EAAE,CAAC;QACpE,IAAI,CAAC,sCAAuB,CAAC,CAAC,SAAS,CAAC,0DAAiC,CAAC,CAAC;IAC/E,CAAC;AAEL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/remote",
|
|
3
|
-
"version": "1.72.0-next.
|
|
3
|
+
"version": "1.72.0-next.52+726081b2a",
|
|
4
4
|
"description": "Theia - Remote",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.72.0-next.
|
|
7
|
-
"@theia/filesystem": "1.72.0-next.
|
|
8
|
-
"@theia/userstorage": "1.72.0-next.
|
|
9
|
-
"@theia/variable-resolver": "1.72.0-next.
|
|
10
|
-
"@theia/workspace": "1.72.0-next.
|
|
6
|
+
"@theia/core": "1.72.0-next.52+726081b2a",
|
|
7
|
+
"@theia/filesystem": "1.72.0-next.52+726081b2a",
|
|
8
|
+
"@theia/userstorage": "1.72.0-next.52+726081b2a",
|
|
9
|
+
"@theia/variable-resolver": "1.72.0-next.52+726081b2a",
|
|
10
|
+
"@theia/workspace": "1.72.0-next.52+726081b2a",
|
|
11
11
|
"archiver": "^5.3.2",
|
|
12
12
|
"decompress": "^4.2.1",
|
|
13
13
|
"decompress-tar": "^4.1.1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"ssh-config": "~5.0.4",
|
|
21
21
|
"ssh2": "^1.17.0",
|
|
22
22
|
"ssh2-sftp-client": "^9.1.0",
|
|
23
|
-
"tslib": "^2.
|
|
23
|
+
"tslib": "^2.8.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@theia/ext-scripts": "1.71.0",
|
|
60
|
-
"@types/archiver": "^5.3.
|
|
61
|
-
"@types/decompress": "^4.2.
|
|
62
|
-
"@types/express-http-proxy": "^1.6.
|
|
60
|
+
"@types/archiver": "^5.3.4",
|
|
61
|
+
"@types/decompress": "^4.2.7",
|
|
62
|
+
"@types/express-http-proxy": "^1.6.7",
|
|
63
63
|
"@types/glob": "^8.1.0",
|
|
64
|
-
"@types/ssh2": "^1.
|
|
65
|
-
"@types/ssh2-sftp-client": "^9.0.
|
|
64
|
+
"@types/ssh2": "^1.15.5",
|
|
65
|
+
"@types/ssh2-sftp-client": "^9.0.6"
|
|
66
66
|
},
|
|
67
67
|
"nyc": {
|
|
68
68
|
"extends": "../../configs/nyc.json"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "726081b2aa03827611ba4a323da1a6aaf0e9a9b9"
|
|
71
71
|
}
|
|
@@ -34,7 +34,7 @@ import { ServiceConnectionProvider } from '@theia/core/lib/browser/messaging/ser
|
|
|
34
34
|
import '../../src/electron-browser/style/port-forwarding-widget.css';
|
|
35
35
|
import { UserStorageContribution } from '@theia/userstorage/lib/browser/user-storage-contribution';
|
|
36
36
|
import { RemoteUserStorageContribution } from './remote-user-storage-provider';
|
|
37
|
-
import { remoteFileSystemPath, RemoteFileSystemProxyFactory, RemoteFileSystemServer } from '@theia/filesystem/lib/common/remote-file-system-provider';
|
|
37
|
+
import { RemoteFileSystemProvider, remoteFileSystemPath, RemoteFileSystemProxyFactory, RemoteFileSystemServer } from '@theia/filesystem/lib/common/remote-file-system-provider';
|
|
38
38
|
import { LocalEnvVariablesServer, LocalRemoteFileSystemContribution, LocalRemoteFileSystemProvider, LocalRemoteFileSytemServer } from './local-backend-services';
|
|
39
39
|
import { envVariablesPath, EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
40
40
|
import { WorkspaceHandlingContribution, WorkspaceOpenHandlerContribution } from '@theia/workspace/lib/browser';
|
|
@@ -73,15 +73,17 @@ export default new ContainerModule((bind, _, __, rebind) => {
|
|
|
73
73
|
bind(RemotePortForwardingProvider).toDynamicValue(ctx =>
|
|
74
74
|
ServiceConnectionProvider.createLocalProxy<RemotePortForwardingProvider>(ctx.container, RemoteRemotePortForwardingProviderPath)).inSingletonScope();
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
ServiceConnectionProvider.createLocalProxy(ctx.container, remoteFileSystemPath, new RemoteFileSystemProxyFactory())
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
76
|
+
if (isRemote) {
|
|
77
|
+
bind(LocalRemoteFileSytemServer).toDynamicValue(ctx =>
|
|
78
|
+
ServiceConnectionProvider.createLocalProxy(ctx.container, remoteFileSystemPath, new RemoteFileSystemProxyFactory()));
|
|
79
|
+
bind(LocalEnvVariablesServer).toDynamicValue(ctx =>
|
|
80
|
+
ServiceConnectionProvider.createLocalProxy<EnvVariablesServer>(ctx.container, envVariablesPath));
|
|
81
|
+
bind(LocalRemoteFileSystemProvider).toSelf().inSingletonScope();
|
|
82
|
+
} else {
|
|
83
|
+
bind(LocalRemoteFileSytemServer).toService(RemoteFileSystemServer);
|
|
84
|
+
bind(LocalEnvVariablesServer).toService(EnvVariablesServer);
|
|
85
|
+
bind(LocalRemoteFileSystemProvider).toService(RemoteFileSystemProvider);
|
|
86
|
+
}
|
|
85
87
|
rebind(UserStorageContribution).to(RemoteUserStorageContribution);
|
|
86
88
|
|
|
87
89
|
if (isRemote) {
|