@theia/remote 1.77.0-next.1 → 1.77.0-next.108

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.
Files changed (154) hide show
  1. package/lib/electron-browser/local-backend-services.js +21 -26
  2. package/lib/electron-browser/local-backend-services.js.map +1 -1
  3. package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts +1 -1
  4. package/lib/electron-browser/port-forwarding/port-forwading-contribution.d.ts.map +1 -1
  5. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js +14 -18
  6. package/lib/electron-browser/port-forwarding/port-forwading-contribution.js.map +1 -1
  7. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts +1 -1
  8. package/lib/electron-browser/port-forwarding/port-forwarding-service.d.ts.map +1 -1
  9. package/lib/electron-browser/port-forwarding/port-forwarding-service.js +14 -21
  10. package/lib/electron-browser/port-forwarding/port-forwarding-service.js.map +1 -1
  11. package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts +1 -1
  12. package/lib/electron-browser/port-forwarding/port-forwarding-widget.d.ts.map +1 -1
  13. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js +34 -43
  14. package/lib/electron-browser/port-forwarding/port-forwarding-widget.js.map +1 -1
  15. package/lib/electron-browser/remote-cli-args-collector.js +13 -18
  16. package/lib/electron-browser/remote-cli-args-collector.js.map +1 -1
  17. package/lib/electron-browser/remote-cli-args-collector.spec.js +5 -7
  18. package/lib/electron-browser/remote-cli-args-collector.spec.js.map +1 -1
  19. package/lib/electron-browser/remote-electron-file-dialog-service.d.ts +1 -1
  20. package/lib/electron-browser/remote-electron-file-dialog-service.d.ts.map +1 -1
  21. package/lib/electron-browser/remote-electron-file-dialog-service.js +17 -21
  22. package/lib/electron-browser/remote-electron-file-dialog-service.js.map +1 -1
  23. package/lib/electron-browser/remote-frontend-contribution.d.ts +3 -3
  24. package/lib/electron-browser/remote-frontend-contribution.d.ts.map +1 -1
  25. package/lib/electron-browser/remote-frontend-contribution.js +38 -48
  26. package/lib/electron-browser/remote-frontend-contribution.js.map +1 -1
  27. package/lib/electron-browser/remote-frontend-module.js +61 -63
  28. package/lib/electron-browser/remote-frontend-module.js.map +1 -1
  29. package/lib/electron-browser/remote-local-workspace-contribution.d.ts +1 -1
  30. package/lib/electron-browser/remote-local-workspace-contribution.d.ts.map +1 -1
  31. package/lib/electron-browser/remote-local-workspace-contribution.js +26 -33
  32. package/lib/electron-browser/remote-local-workspace-contribution.js.map +1 -1
  33. package/lib/electron-browser/remote-registry-contribution.js +12 -17
  34. package/lib/electron-browser/remote-registry-contribution.js.map +1 -1
  35. package/lib/electron-browser/remote-service.js +5 -8
  36. package/lib/electron-browser/remote-service.js.map +1 -1
  37. package/lib/electron-browser/remote-ssh-contribution.d.ts +3 -3
  38. package/lib/electron-browser/remote-ssh-contribution.d.ts.map +1 -1
  39. package/lib/electron-browser/remote-ssh-contribution.js +41 -47
  40. package/lib/electron-browser/remote-ssh-contribution.js.map +1 -1
  41. package/lib/electron-browser/remote-user-storage-provider.d.ts +2 -2
  42. package/lib/electron-browser/remote-user-storage-provider.d.ts.map +1 -1
  43. package/lib/electron-browser/remote-user-storage-provider.js +23 -33
  44. package/lib/electron-browser/remote-user-storage-provider.js.map +1 -1
  45. package/lib/electron-common/remote-port-forwarding-provider.js +2 -5
  46. package/lib/electron-common/remote-port-forwarding-provider.js.map +1 -1
  47. package/lib/electron-common/remote-preferences.js +20 -24
  48. package/lib/electron-common/remote-preferences.js.map +1 -1
  49. package/lib/electron-common/remote-ssh-connection-provider.js +2 -5
  50. package/lib/electron-common/remote-ssh-connection-provider.js.map +1 -1
  51. package/lib/electron-common/remote-status-service.js +2 -5
  52. package/lib/electron-common/remote-status-service.js.map +1 -1
  53. package/lib/electron-node/backend-remote-service-impl.js +10 -13
  54. package/lib/electron-node/backend-remote-service-impl.js.map +1 -1
  55. package/lib/electron-node/remote-auto-shutdown-service.js +15 -19
  56. package/lib/electron-node/remote-auto-shutdown-service.js.map +1 -1
  57. package/lib/electron-node/remote-auto-shutdown-service.spec.js +28 -30
  58. package/lib/electron-node/remote-auto-shutdown-service.spec.js.map +1 -1
  59. package/lib/electron-node/remote-backend-module.js +69 -72
  60. package/lib/electron-node/remote-backend-module.js.map +1 -1
  61. package/lib/electron-node/remote-connection-service.d.ts +3 -3
  62. package/lib/electron-node/remote-connection-service.d.ts.map +1 -1
  63. package/lib/electron-node/remote-connection-service.js +13 -18
  64. package/lib/electron-node/remote-connection-service.js.map +1 -1
  65. package/lib/electron-node/remote-connection-socket-provider.js +7 -10
  66. package/lib/electron-node/remote-connection-socket-provider.js.map +1 -1
  67. package/lib/electron-node/remote-port-forwarding-provider.d.ts +3 -3
  68. package/lib/electron-node/remote-port-forwarding-provider.d.ts.map +1 -1
  69. package/lib/electron-node/remote-port-forwarding-provider.js +10 -14
  70. package/lib/electron-node/remote-port-forwarding-provider.js.map +1 -1
  71. package/lib/electron-node/remote-proxy-server-provider.js +8 -11
  72. package/lib/electron-node/remote-proxy-server-provider.js.map +1 -1
  73. package/lib/electron-node/remote-status-service.d.ts +2 -2
  74. package/lib/electron-node/remote-status-service.d.ts.map +1 -1
  75. package/lib/electron-node/remote-status-service.js +8 -12
  76. package/lib/electron-node/remote-status-service.js.map +1 -1
  77. package/lib/electron-node/remote-types.js +1 -2
  78. package/lib/electron-node/remote-types.js.map +1 -1
  79. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts +1 -1
  80. package/lib/electron-node/setup/app-native-dependency-contribution.d.ts.map +1 -1
  81. package/lib/electron-node/setup/app-native-dependency-contribution.js +13 -16
  82. package/lib/electron-node/setup/app-native-dependency-contribution.js.map +1 -1
  83. package/lib/electron-node/setup/app-native-dependency-contribution.spec.js +14 -16
  84. package/lib/electron-node/setup/app-native-dependency-contribution.spec.js.map +1 -1
  85. package/lib/electron-node/setup/main-copy-contribution.d.ts.map +1 -1
  86. package/lib/electron-node/setup/main-copy-contribution.js +8 -8
  87. package/lib/electron-node/setup/main-copy-contribution.js.map +1 -1
  88. package/lib/electron-node/setup/main-copy-contribution.spec.d.ts +2 -0
  89. package/lib/electron-node/setup/main-copy-contribution.spec.d.ts.map +1 -0
  90. package/lib/electron-node/setup/main-copy-contribution.spec.js +54 -0
  91. package/lib/electron-node/setup/main-copy-contribution.spec.js.map +1 -0
  92. package/lib/electron-node/setup/remote-copy-contribution.d.ts.map +1 -1
  93. package/lib/electron-node/setup/remote-copy-contribution.js +13 -16
  94. package/lib/electron-node/setup/remote-copy-contribution.js.map +1 -1
  95. package/lib/electron-node/setup/remote-copy-service.d.ts +3 -3
  96. package/lib/electron-node/setup/remote-copy-service.d.ts.map +1 -1
  97. package/lib/electron-node/setup/remote-copy-service.js +23 -30
  98. package/lib/electron-node/setup/remote-copy-service.js.map +1 -1
  99. package/lib/electron-node/setup/remote-native-dependency-contribution.js +8 -11
  100. package/lib/electron-node/setup/remote-native-dependency-contribution.js.map +1 -1
  101. package/lib/electron-node/setup/remote-native-dependency-service.d.ts +1 -1
  102. package/lib/electron-node/setup/remote-native-dependency-service.d.ts.map +1 -1
  103. package/lib/electron-node/setup/remote-native-dependency-service.js +25 -30
  104. package/lib/electron-node/setup/remote-native-dependency-service.js.map +1 -1
  105. package/lib/electron-node/setup/remote-node-setup-service.d.ts +2 -2
  106. package/lib/electron-node/setup/remote-node-setup-service.d.ts.map +1 -1
  107. package/lib/electron-node/setup/remote-node-setup-service.js +25 -30
  108. package/lib/electron-node/setup/remote-node-setup-service.js.map +1 -1
  109. package/lib/electron-node/setup/remote-setup-script-service.js +17 -22
  110. package/lib/electron-node/setup/remote-setup-script-service.js.map +1 -1
  111. package/lib/electron-node/setup/remote-setup-service.d.ts +5 -5
  112. package/lib/electron-node/setup/remote-setup-service.d.ts.map +1 -1
  113. package/lib/electron-node/setup/remote-setup-service.js +33 -42
  114. package/lib/electron-node/setup/remote-setup-service.js.map +1 -1
  115. package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts +12 -9
  116. package/lib/electron-node/ssh/remote-ssh-connection-provider.d.ts.map +1 -1
  117. package/lib/electron-node/ssh/remote-ssh-connection-provider.js +43 -51
  118. package/lib/electron-node/ssh/remote-ssh-connection-provider.js.map +1 -1
  119. package/lib/electron-node/ssh/remote-ssh-connection-provider.spec.js +26 -26
  120. package/lib/electron-node/ssh/remote-ssh-connection-provider.spec.js.map +1 -1
  121. package/lib/electron-node/ssh/ssh-identity-file-collector.d.ts.map +1 -1
  122. package/lib/electron-node/ssh/ssh-identity-file-collector.js +15 -18
  123. package/lib/electron-node/ssh/ssh-identity-file-collector.js.map +1 -1
  124. package/lib/package.spec.d.ts +1 -0
  125. package/lib/package.spec.js +1 -0
  126. package/package.json +17 -9
  127. package/src/electron-browser/port-forwarding/port-forwading-contribution.ts +1 -1
  128. package/src/electron-browser/port-forwarding/port-forwarding-service.ts +1 -1
  129. package/src/electron-browser/port-forwarding/port-forwarding-widget.tsx +1 -1
  130. package/src/electron-browser/remote-cli-args-collector.spec.ts +1 -1
  131. package/src/electron-browser/remote-electron-file-dialog-service.ts +2 -2
  132. package/src/electron-browser/remote-frontend-contribution.ts +3 -3
  133. package/src/electron-browser/remote-frontend-module.ts +16 -16
  134. package/src/electron-browser/remote-local-workspace-contribution.ts +2 -2
  135. package/src/electron-browser/remote-ssh-contribution.ts +7 -4
  136. package/src/electron-browser/remote-user-storage-provider.ts +2 -2
  137. package/src/electron-node/remote-auto-shutdown-service.spec.ts +1 -1
  138. package/src/electron-node/remote-backend-module.ts +22 -22
  139. package/src/electron-node/remote-connection-service.ts +3 -3
  140. package/src/electron-node/remote-port-forwarding-provider.ts +3 -3
  141. package/src/electron-node/remote-status-service.ts +2 -2
  142. package/src/electron-node/setup/app-native-dependency-contribution.spec.ts +1 -1
  143. package/src/electron-node/setup/app-native-dependency-contribution.ts +1 -1
  144. package/src/electron-node/setup/main-copy-contribution.spec.ts +62 -0
  145. package/src/electron-node/setup/main-copy-contribution.ts +3 -0
  146. package/src/electron-node/setup/remote-copy-contribution.ts +3 -2
  147. package/src/electron-node/setup/remote-copy-service.ts +4 -4
  148. package/src/electron-node/setup/remote-native-dependency-service.ts +5 -6
  149. package/src/electron-node/setup/remote-node-setup-service.ts +2 -2
  150. package/src/electron-node/setup/remote-setup-service.ts +5 -5
  151. package/src/electron-node/ssh/remote-ssh-connection-provider.spec.ts +6 -2
  152. package/src/electron-node/ssh/remote-ssh-connection-provider.ts +14 -9
  153. package/src/electron-node/ssh/ssh-identity-file-collector.ts +2 -2
  154. package/src/typings/decompress-plugins.d.ts +30 -0
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,20 +13,18 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteConnectionSocketProvider = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const socket_io_client_1 = require("socket.io-client");
16
+ import { __decorate } from "tslib";
17
+ import { injectable } from '@theia/core/shared/inversify';
18
+ import { io } from 'socket.io-client';
22
19
  let RemoteConnectionSocketProvider = class RemoteConnectionSocketProvider {
23
20
  getProxySocket(options) {
24
- const socket = (0, socket_io_client_1.io)(`ws://localhost:${options.port}${options.path}`);
21
+ const socket = io(`ws://localhost:${options.port}${options.path}`);
25
22
  socket.connect();
26
23
  return socket;
27
24
  }
28
25
  };
29
- exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider;
30
- exports.RemoteConnectionSocketProvider = RemoteConnectionSocketProvider = tslib_1.__decorate([
31
- (0, inversify_1.injectable)()
26
+ RemoteConnectionSocketProvider = __decorate([
27
+ injectable()
32
28
  ], RemoteConnectionSocketProvider);
29
+ export { RemoteConnectionSocketProvider };
33
30
  //# sourceMappingURL=remote-connection-socket-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-connection-socket-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.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,4DAA0D;AAC1D,uDAA8C;AAQvC,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,cAAc,CAAC,OAAyC;QACpD,MAAM,MAAM,GAAG,IAAA,qBAAE,EAAC,kBAAkB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ,CAAA;AARY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,sBAAU,GAAE;GACA,8BAA8B,CAQ1C"}
1
+ {"version":3,"file":"remote-connection-socket-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-connection-socket-provider.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,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,EAAE,EAAU,MAAM,kBAAkB,CAAC;AAQvC,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,cAAc,CAAC,OAAyC;QACpD,MAAM,MAAM,GAAG,EAAE,CAAC,kBAAkB,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ,CAAA;AARY,8BAA8B;IAD1C,UAAU,EAAE;GACA,8BAA8B,CAQ1C"}
@@ -1,7 +1,7 @@
1
- import { ForwardedPort, RemotePortForwardingProvider } from '../electron-common/remote-port-forwarding-provider';
1
+ import { ForwardedPort, RemotePortForwardingProvider } from '../electron-common/remote-port-forwarding-provider.js';
2
2
  import { Server } from 'net';
3
- import { RemoteConnectionService } from './remote-connection-service';
4
- import { RemoteConnection } from './remote-types';
3
+ import { RemoteConnectionService } from './remote-connection-service.js';
4
+ import { RemoteConnection } from './remote-types.js';
5
5
  interface ForwardInfo {
6
6
  connection: RemoteConnection;
7
7
  port: ForwardedPort;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,aAAa,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAgB,MAAM,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,UAAU,WAAW;IACjB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,qBACa,gCAAiC,YAAW,4BAA4B;IAGjF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAE9D,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,CAAM;IAE9C,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBhF,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,iBAAiB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAItD"}
1
+ {"version":3,"file":"remote-port-forwarding-provider.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,aAAa,EAAE,4BAA4B,EAAE,MAAM,uDAAuD,CAAC;AACpH,OAAO,EAAgB,MAAM,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,UAAU,WAAW;IACjB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,aAAa,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,qBACa,gCAAiC,YAAW,4BAA4B;IAGjF,SAAS,CAAC,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;IAE9D,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,CAAM;IAE9C,WAAW,CAAC,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBhF,WAAW,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxD,iBAAiB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAItD"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2024 TypeFox and others.
4
3
  //
@@ -15,12 +14,10 @@
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
16
  var RemotePortForwardingProviderImpl_1;
18
- Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.RemotePortForwardingProviderImpl = void 0;
20
- const tslib_1 = require("tslib");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const net_1 = require("net");
23
- const remote_connection_service_1 = require("./remote-connection-service");
17
+ import { __decorate } from "tslib";
18
+ import { inject, injectable } from '@theia/core/shared/inversify';
19
+ import { createServer } from 'net';
20
+ import { RemoteConnectionService } from './remote-connection-service.js';
24
21
  let RemotePortForwardingProviderImpl = class RemotePortForwardingProviderImpl {
25
22
  static { RemotePortForwardingProviderImpl_1 = this; }
26
23
  static { this.forwardedPorts = []; }
@@ -29,7 +26,7 @@ let RemotePortForwardingProviderImpl = class RemotePortForwardingProviderImpl {
29
26
  if (!currentConnection) {
30
27
  throw new Error(`No connection found for port ${connectionPort}`);
31
28
  }
32
- const server = (0, net_1.createServer)(socket => {
29
+ const server = createServer(socket => {
33
30
  currentConnection?.forwardOut(socket, portToForward.port);
34
31
  }).listen(portToForward.port, portToForward.address);
35
32
  currentConnection.onDidDisconnect(() => {
@@ -49,12 +46,11 @@ let RemotePortForwardingProviderImpl = class RemotePortForwardingProviderImpl {
49
46
  .map(forwardInfo => ({ ...forwardInfo.port, editing: false }));
50
47
  }
51
48
  };
52
- exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl;
53
- tslib_1.__decorate([
54
- (0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
55
- tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
49
+ __decorate([
50
+ inject(RemoteConnectionService)
56
51
  ], RemotePortForwardingProviderImpl.prototype, "connectionService", void 0);
57
- exports.RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = tslib_1.__decorate([
58
- (0, inversify_1.injectable)()
52
+ RemotePortForwardingProviderImpl = RemotePortForwardingProviderImpl_1 = __decorate([
53
+ injectable()
59
54
  ], RemotePortForwardingProviderImpl);
55
+ export { RemotePortForwardingProviderImpl };
60
56
  //# sourceMappingURL=remote-port-forwarding-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["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,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC;QACxH,IAAI,WAAW,EAAE,CAAC;YACd,WAAW,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YAC3B,kCAAgC,CAAC,cAAc,CAAC,MAAM,CAAC,kCAAgC,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;QACpI,CAAC;IACL,CAAC;IAED,KAAK,CAAC,iBAAiB;QACnB,OAAO,KAAK,CAAC,IAAI,CAAC,kCAAgC,CAAC,cAAc,CAAC;aAC7D,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;;AAnCQ,4EAAgC;AAGtB;IADlB,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACM,mDAAuB;2EAAC;2CAHrD,gCAAgC;IAD5C,IAAA,sBAAU,GAAE;GACA,gCAAgC,CAoC5C"}
1
+ {"version":3,"file":"remote-port-forwarding-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-port-forwarding-provider.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,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,EAAE,YAAY,EAAU,MAAM,KAAK,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAUlE,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;;aAKxB,mBAAc,GAAkB,EAAE,AAApB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C7D,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IACvE,CAAC;;AAhCkB;IADlB,MAAM,CAAC,uBAAuB,CAAC;2EAC8B;AAHrD,gCAAgC;IAD5C,UAAU,EAAE;GACA,gCAAgC,CAoC5C"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,15 +13,13 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteProxyServerProvider = void 0;
19
- const tslib_1 = require("tslib");
20
- const promise_util_1 = require("@theia/core/lib/common/promise-util");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const net = require("net");
16
+ import { __decorate } from "tslib";
17
+ import { Deferred } from '@theia/core/lib/common/promise-util';
18
+ import { injectable } from '@theia/core/shared/inversify';
19
+ import * as net from 'net';
23
20
  let RemoteProxyServerProvider = class RemoteProxyServerProvider {
24
21
  async getProxyServer(callback) {
25
- const deferred = new promise_util_1.Deferred();
22
+ const deferred = new Deferred();
26
23
  const proxy = net.createServer(socket => {
27
24
  callback?.(socket);
28
25
  }).listen(0, () => {
@@ -32,8 +29,8 @@ let RemoteProxyServerProvider = class RemoteProxyServerProvider {
32
29
  return proxy;
33
30
  }
34
31
  };
35
- exports.RemoteProxyServerProvider = RemoteProxyServerProvider;
36
- exports.RemoteProxyServerProvider = RemoteProxyServerProvider = tslib_1.__decorate([
37
- (0, inversify_1.injectable)()
32
+ RemoteProxyServerProvider = __decorate([
33
+ injectable()
38
34
  ], RemoteProxyServerProvider);
35
+ export { RemoteProxyServerProvider };
39
36
  //# sourceMappingURL=remote-proxy-server-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-proxy-server-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.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,sEAA+D;AAC/D,4DAA0D;AAC1D,2BAA2B;AAGpB,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAElC,KAAK,CAAC,cAAc,CAAC,QAAuC;QACxD,MAAM,QAAQ,GAAG,IAAI,uBAAQ,EAAE,CAAC;QAEhC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACpC,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE;YACd,QAAQ,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,OAAO,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAfY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,sBAAU,GAAE;GACA,yBAAyB,CAerC"}
1
+ {"version":3,"file":"remote-proxy-server-provider.js","sourceRoot":"","sources":["../../src/electron-node/remote-proxy-server-provider.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,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAGpB,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAElC,KAAK,CAAC,cAAc,CAAC,QAAuC;QACxD,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAEhC,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACpC,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE;YACd,QAAQ,CAAC,OAAO,EAAE,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,OAAO,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;CAEJ,CAAA;AAfY,yBAAyB;IADrC,UAAU,EAAE;GACA,yBAAyB,CAerC"}
@@ -1,5 +1,5 @@
1
- import { RemoteStatus, RemoteStatusService } from '../electron-common/remote-status-service';
2
- import { RemoteConnectionService } from './remote-connection-service';
1
+ import { RemoteStatus, RemoteStatusService } from '../electron-common/remote-status-service.js';
2
+ import { RemoteConnectionService } from './remote-connection-service.js';
3
3
  export declare class RemoteStatusServiceImpl implements RemoteStatusService {
4
4
  protected remoteConnectionService: RemoteConnectionService;
5
5
  getStatus(localPort: number): Promise<RemoteStatus>;
@@ -1 +1 @@
1
- {"version":3,"file":"remote-status-service.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,qBACa,uBAAwB,YAAW,mBAAmB;IAG/D,SAAS,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;IAErD,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAenD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAM3D"}
1
+ {"version":3,"file":"remote-status-service.d.ts","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAChG,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,qBACa,uBAAwB,YAAW,mBAAmB;IAG/D,SAAS,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;IAErD,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAenD,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAM3D"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,11 +13,9 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteStatusServiceImpl = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const remote_connection_service_1 = require("./remote-connection-service");
16
+ import { __decorate } from "tslib";
17
+ import { inject, injectable } from '@theia/core/shared/inversify';
18
+ import { RemoteConnectionService } from './remote-connection-service.js';
22
19
  let RemoteStatusServiceImpl = class RemoteStatusServiceImpl {
23
20
  async getStatus(localPort) {
24
21
  const connection = this.remoteConnectionService.getConnectionFromPort(localPort);
@@ -42,12 +39,11 @@ let RemoteStatusServiceImpl = class RemoteStatusServiceImpl {
42
39
  }
43
40
  }
44
41
  };
45
- exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl;
46
- tslib_1.__decorate([
47
- (0, inversify_1.inject)(remote_connection_service_1.RemoteConnectionService),
48
- tslib_1.__metadata("design:type", remote_connection_service_1.RemoteConnectionService)
42
+ __decorate([
43
+ inject(RemoteConnectionService)
49
44
  ], RemoteStatusServiceImpl.prototype, "remoteConnectionService", void 0);
50
- exports.RemoteStatusServiceImpl = RemoteStatusServiceImpl = tslib_1.__decorate([
51
- (0, inversify_1.injectable)()
45
+ RemoteStatusServiceImpl = __decorate([
46
+ injectable()
52
47
  ], RemoteStatusServiceImpl);
48
+ export { RemoteStatusServiceImpl };
53
49
  //# sourceMappingURL=remote-status-service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.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,4DAAkE;AAElE,2EAAsE;AAG/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAKhC,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,IAAI,EAAE,UAAU,CAAC,IAAI;aACxB,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,KAAK,EAAE,KAAK;aACf,CAAC;QACN,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,SAAiB;QACpC,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,UAAU,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC;IACL,CAAC;CACJ,CAAA;AA1BY,0DAAuB;AAGtB;IADT,IAAA,kBAAM,EAAC,mDAAuB,CAAC;sCACG,mDAAuB;wEAAC;kCAHlD,uBAAuB;IADnC,IAAA,sBAAU,GAAE;GACA,uBAAuB,CA0BnC"}
1
+ {"version":3,"file":"remote-status-service.js","sourceRoot":"","sources":["../../src/electron-node/remote-status-service.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,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAGlE,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAKhC,KAAK,CAAC,SAAS,CAAC,SAAiB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,IAAI,EAAE,UAAU,CAAC,IAAI;aACxB,CAAC;QACN,CAAC;aAAM,CAAC;YACJ,OAAO;gBACH,KAAK,EAAE,KAAK;aACf,CAAC;QACN,CAAC;IACL,CAAC;IAED,KAAK,CAAC,gBAAgB,CAAC,SAAiB;QACpC,MAAM,UAAU,GAAG,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACjF,IAAI,UAAU,EAAE,CAAC;YACb,UAAU,CAAC,OAAO,EAAE,CAAC;QACzB,CAAC;IACL,CAAC;CACJ,CAAA;AAvBa;IADT,MAAM,CAAC,uBAAuB,CAAC;wEAC2B;AAHlD,uBAAuB;IADnC,UAAU,EAAE;GACA,uBAAuB,CA0BnC"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,5 +13,5 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
16
+ export {};
18
17
  //# sourceMappingURL=remote-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-types.js","sourceRoot":"","sources":["../../src/electron-node/remote-types.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"}
1
+ {"version":3,"file":"remote-types.js","sourceRoot":"","sources":["../../src/electron-node/remote-types.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"}
@@ -1,4 +1,4 @@
1
- import { RemoteNativeDependencyContribution, DownloadOptions, DependencyDownload } from './remote-native-dependency-contribution';
1
+ import { RemoteNativeDependencyContribution, DownloadOptions, DependencyDownload } from './remote-native-dependency-contribution.js';
2
2
  import { RemotePlatform } from '@theia/core/lib/node/remote/remote-cli-contribution';
3
3
  /**
4
4
  * GitHub release tag used for rolling pre-release publications of native
@@ -1 +1 @@
1
- {"version":3,"file":"app-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClI,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC,qBACa,+BAAgC,YAAW,kCAAkC;IAEtF,kBAAkB,SAA8D;IAEhF,SAAS,CAAC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAK5F;;;;OAIG;IACH,SAAS,CAAC,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAIrD,SAAS,CAAC,YAAY,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM;IAY9D;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAW1D,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMxE"}
1
+ {"version":3,"file":"app-native-dependency-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AACrI,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAGrF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,SAAS,CAAC;AAEvC,qBACa,+BAAgC,YAAW,kCAAkC;IAEtF,kBAAkB,SAA8D;IAEhF,SAAS,CAAC,oBAAoB,CAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM;IAK5F;;;;OAIG;IACH,SAAS,CAAC,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM;IAIrD,SAAS,CAAC,YAAY,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM;IAY9D;;;;;OAKG;IACH,SAAS,CAAC,gBAAgB,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI;IAW1D,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAMxE"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,17 +13,15 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.AppNativeDependencyContribution = exports.NEXT_RELEASE_TAG = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
21
- const core_1 = require("@theia/core");
16
+ import { __decorate } from "tslib";
17
+ import { injectable } from '@theia/core/shared/inversify';
18
+ import { OS } from '@theia/core';
22
19
  /**
23
20
  * GitHub release tag used for rolling pre-release publications of native
24
21
  * dependencies for next-channel Theia versions (e.g. `1.71.0-next.28+sha`).
25
22
  * Stable versions resolve to a `v<version>` tag instead.
26
23
  */
27
- exports.NEXT_RELEASE_TAG = 'next';
24
+ export const NEXT_RELEASE_TAG = 'next';
28
25
  let AppNativeDependencyContribution = class AppNativeDependencyContribution {
29
26
  constructor() {
30
27
  this.appDownloadUrlBase = 'https://github.com/eclipse-theia/theia/releases/download';
@@ -39,14 +36,14 @@ let AppNativeDependencyContribution = class AppNativeDependencyContribution {
39
36
  * pre-release; stable versions resolve to `v<theiaVersion>`.
40
37
  */
41
38
  getReleaseTag(theiaVersion) {
42
- return /-next\./.test(theiaVersion) ? exports.NEXT_RELEASE_TAG : `v${theiaVersion}`;
39
+ return /-next\./.test(theiaVersion) ? NEXT_RELEASE_TAG : `v${theiaVersion}`;
43
40
  }
44
41
  getAssetName(remotePlatform) {
45
42
  let platform;
46
- if (remotePlatform.os === core_1.OS.Type.Windows) {
43
+ if (remotePlatform.os === OS.Type.Windows) {
47
44
  platform = 'win32';
48
45
  }
49
- else if (remotePlatform.os === core_1.OS.Type.OSX) {
46
+ else if (remotePlatform.os === OS.Type.OSX) {
50
47
  platform = 'darwin';
51
48
  }
52
49
  else {
@@ -62,9 +59,9 @@ let AppNativeDependencyContribution = class AppNativeDependencyContribution {
62
59
  */
63
60
  validatePlatform(remotePlatform) {
64
61
  const { os, arch } = remotePlatform;
65
- const supported = (os === core_1.OS.Type.Windows && arch === 'x64') ||
66
- (os === core_1.OS.Type.Linux && arch === 'x64') ||
67
- (os === core_1.OS.Type.OSX && (arch === 'x64' || arch === 'arm64'));
62
+ const supported = (os === OS.Type.Windows && arch === 'x64') ||
63
+ (os === OS.Type.Linux && arch === 'x64') ||
64
+ (os === OS.Type.OSX && (arch === 'x64' || arch === 'arm64'));
68
65
  if (!supported) {
69
66
  throw new Error(`No prebuilt native dependencies are published for '${os}-${arch}'.`);
70
67
  }
@@ -76,8 +73,8 @@ let AppNativeDependencyContribution = class AppNativeDependencyContribution {
76
73
  };
77
74
  }
78
75
  };
79
- exports.AppNativeDependencyContribution = AppNativeDependencyContribution;
80
- exports.AppNativeDependencyContribution = AppNativeDependencyContribution = tslib_1.__decorate([
81
- (0, inversify_1.injectable)()
76
+ AppNativeDependencyContribution = __decorate([
77
+ injectable()
82
78
  ], AppNativeDependencyContribution);
79
+ export { AppNativeDependencyContribution };
83
80
  //# sourceMappingURL=app-native-dependency-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;A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,SAAS,GACX,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,KAAK,KAAK,CAAC;YAC1C,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,KAAK,KAAK,CAAC;YACxC,CAAC,EAAE,KAAK,SAAE,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC;QACjE,IAAI,CAAC,SAAS,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,sDAAsD,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC;QAC1F,CAAC;IACL,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,OAAwB;QACnC,OAAO;YACH,MAAM,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;YACvG,OAAO,EAAE,KAAK;SACjB,CAAC;IACN,CAAC;CACJ,CAAA;AArDY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;GACA,+BAA+B,CAqD3C"}
1
+ {"version":3,"file":"app-native-dependency-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.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,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC;A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AE,KAAK,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC;QACjE,IAAI,CAAC,SAAS,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,sDAAsD,EAAE,IAAI,IAAI,IAAI,CAAC,CAAC;QAC1F,CAAC;IACL,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,OAAwB;QACnC,OAAO;YACH,MAAM,EAAE,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,cAAc,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;YACvG,OAAO,EAAE,KAAK;SACjB,CAAC;IACN,CAAC;CACJ,CAAA;AArDY,+BAA+B;IAD3C,UAAU,EAAE;GACA,+BAA+B,CAqD3C"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2026 EclipseSource and others.
4
3
  //
@@ -14,11 +13,10 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- const chai_1 = require("chai");
19
- const core_1 = require("@theia/core");
20
- const app_native_dependency_contribution_1 = require("./app-native-dependency-contribution");
21
- class TestableAppNativeDependencyContribution extends app_native_dependency_contribution_1.AppNativeDependencyContribution {
16
+ import { expect } from 'chai';
17
+ import { OS } from '@theia/core';
18
+ import { AppNativeDependencyContribution } from './app-native-dependency-contribution.js';
19
+ class TestableAppNativeDependencyContribution extends AppNativeDependencyContribution {
22
20
  publicGetDefaultURLForFile(remotePlatform, theiaVersion) {
23
21
  return this.getDefaultURLForFile(remotePlatform, theiaVersion);
24
22
  }
@@ -27,23 +25,23 @@ describe('AppNativeDependencyContribution', () => {
27
25
  const contribution = new TestableAppNativeDependencyContribution();
28
26
  const base = 'https://github.com/eclipse-theia/theia/releases/download';
29
27
  it('builds stable URLs for linux-x64', () => {
30
- const url = contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.Linux, arch: 'x64' }, '1.70.2');
31
- (0, chai_1.expect)(url).to.equal(`${base}/v1.70.2/native-dependencies-linux-x64.zip`);
28
+ const url = contribution.publicGetDefaultURLForFile({ os: OS.Type.Linux, arch: 'x64' }, '1.70.2');
29
+ expect(url).to.equal(`${base}/v1.70.2/native-dependencies-linux-x64.zip`);
32
30
  });
33
31
  it('builds stable URLs for both Mac variants', () => {
34
- const arm = contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.OSX, arch: 'arm64' }, '1.70.2');
35
- (0, chai_1.expect)(arm).to.equal(`${base}/v1.70.2/native-dependencies-darwin-arm64.zip`);
36
- const x64 = contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.OSX, arch: 'x64' }, '1.70.2');
37
- (0, chai_1.expect)(x64).to.equal(`${base}/v1.70.2/native-dependencies-darwin-x64.zip`);
32
+ const arm = contribution.publicGetDefaultURLForFile({ os: OS.Type.OSX, arch: 'arm64' }, '1.70.2');
33
+ expect(arm).to.equal(`${base}/v1.70.2/native-dependencies-darwin-arm64.zip`);
34
+ const x64 = contribution.publicGetDefaultURLForFile({ os: OS.Type.OSX, arch: 'x64' }, '1.70.2');
35
+ expect(x64).to.equal(`${base}/v1.70.2/native-dependencies-darwin-x64.zip`);
38
36
  });
39
37
  it('routes -next. versions to the rolling `next` tag', () => {
40
- const url = contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.Linux, arch: 'x64' }, '1.71.0-next.28+df29ab0fb');
41
- (0, chai_1.expect)(url).to.equal(`${base}/next/native-dependencies-linux-x64.zip`);
38
+ const url = contribution.publicGetDefaultURLForFile({ os: OS.Type.Linux, arch: 'x64' }, '1.71.0-next.28+df29ab0fb');
39
+ expect(url).to.equal(`${base}/next/native-dependencies-linux-x64.zip`);
42
40
  });
43
41
  it('throws a clear error for unsupported (os, arch) combinations', () => {
44
- (0, chai_1.expect)(() => contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.Linux, arch: 'arm64' }, '1.70.2'))
42
+ expect(() => contribution.publicGetDefaultURLForFile({ os: OS.Type.Linux, arch: 'arm64' }, '1.70.2'))
45
43
  .to.throw(/No prebuilt native dependencies are published/);
46
- (0, chai_1.expect)(() => contribution.publicGetDefaultURLForFile({ os: core_1.OS.Type.Windows, arch: 'arm64' }, '1.70.2'))
44
+ expect(() => contribution.publicGetDefaultURLForFile({ os: OS.Type.Windows, arch: 'arm64' }, '1.70.2'))
47
45
  .to.throw(/No prebuilt native dependencies are published/);
48
46
  });
49
47
  });
@@ -1 +1 @@
1
- {"version":3,"file":"app-native-dependency-contribution.spec.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.spec.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,gFAAgF;AAChF,gFAAgF;;AAEhF,+BAA8B;AAC9B,sCAAiC;AAEjC,6FAAuF;AAEvF,MAAM,uCAAwC,SAAQ,oEAA+B;IACjF,0BAA0B,CAAC,cAA8B,EAAE,YAAoB;QAC3E,OAAO,IAAI,CAAC,oBAAoB,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IACnE,CAAC;CACJ;AAED,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC7C,MAAM,YAAY,GAAG,IAAI,uCAAuC,EAAE,CAAC;IACnE,MAAM,IAAI,GAAG,0DAA0D,CAAC;IAExE,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QACxC,MAAM,GAAG,GAAG,YAAY,CAAC,0BAA0B,CAAC,EAAE,EAAE,EAAE,SAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI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AE,IAAI,EAAE,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;aAChG,EAAE,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;QAC/D,IAAA,aAAM,EAAC,GAAG,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,EAAE,EAAE,EAAE,SAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;aAClG,EAAE,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"app-native-dependency-contribution.spec.js","sourceRoot":"","sources":["../../../src/electron-node/setup/app-native-dependency-contribution.spec.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,gFAAgF;AAChF,gFAAgF;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,uCAAwC,SAAQ,+BAA+B;IACjF,0BAA0B,CAAC,cAA8B,EAAE,YAAoB;QAC3E,OAAO,IAAI,CAAC,oBAAoB,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;IACnE,CAAC;CACJ;AAED,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC7C,MAAM,YAAY,GAAG,IAAI,uCAAuC,EAAE,CAAC;IACnE,MAAM,IAAI,GAAG,0DAA0D,CAAC;IAExE,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QACxC,MAAM,GAAG,GAAG,YAAY,CAAC,0BAA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EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;aAChG,EAAE,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;QAC/D,MAAM,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,0BAA0B,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC;aAClG,EAAE,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;IACnE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"main-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAElH,qBACa,oBAAqB,YAAW,sBAAsB;IACzD,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAM1D"}
1
+ {"version":3,"file":"main-copy-contribution.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAElH,qBACa,oBAAqB,YAAW,sBAAsB;IACzD,IAAI,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;CAS1D"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,20 +13,21 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.MainCopyContribution = void 0;
19
- const tslib_1 = require("tslib");
20
- const inversify_1 = require("@theia/core/shared/inversify");
16
+ import { __decorate } from "tslib";
17
+ import { injectable } from '@theia/core/shared/inversify';
21
18
  let MainCopyContribution = class MainCopyContribution {
22
19
  async copy(registry) {
23
20
  registry.file('package.json');
21
+ // The bundler emits lib/backend/package.json ({ "type": "module" }); without it Node treats the
22
+ // ESM backend bundle as typeless, re-parses every file and prints a MODULE_TYPELESS_PACKAGE_JSON warning on stderr.
23
+ registry.file('lib/backend/package.json');
24
24
  await registry.glob('lib/backend/**/*.js');
25
25
  await registry.directory('lib/frontend');
26
26
  await registry.directory('lib/webview');
27
27
  }
28
28
  };
29
- exports.MainCopyContribution = MainCopyContribution;
30
- exports.MainCopyContribution = MainCopyContribution = tslib_1.__decorate([
31
- (0, inversify_1.injectable)()
29
+ MainCopyContribution = __decorate([
30
+ injectable()
32
31
  ], MainCopyContribution);
32
+ export { MainCopyContribution };
33
33
  //# sourceMappingURL=main-copy-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"main-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.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,4DAA0D;AAInD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,KAAK,CAAC,IAAI,CAAC,QAA4B;QACnC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9B,MAAM,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3C,MAAM,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAPY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAOhC"}
1
+ {"version":3,"file":"main-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.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,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAInD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,KAAK,CAAC,IAAI,CAAC,QAA4B;QACnC,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9B,gGAAgG;QAChG,oHAAoH;QACpH,QAAQ,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAC1C,MAAM,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC3C,MAAM,QAAQ,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACzC,MAAM,QAAQ,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAA;AAVY,oBAAoB;IADhC,UAAU,EAAE;GACA,oBAAoB,CAUhC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=main-copy-contribution.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main-copy-contribution.spec.d.ts","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,54 @@
1
+ // *****************************************************************************
2
+ // Copyright (C) 2026 EclipseSource 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-only WITH Classpath-exception-2.0
15
+ // *****************************************************************************
16
+ import { expect } from 'chai';
17
+ import { MainCopyContribution } from './main-copy-contribution.js';
18
+ class RecordingRemoteCopyRegistry {
19
+ constructor() {
20
+ this.files = [];
21
+ this.globs = [];
22
+ this.directories = [];
23
+ }
24
+ getFiles() {
25
+ return this.files;
26
+ }
27
+ async glob(pattern) {
28
+ this.globs.push(pattern);
29
+ }
30
+ file(file, target, options) {
31
+ this.files.push({ path: file, target: target ?? file, options });
32
+ }
33
+ async directory(dir) {
34
+ this.directories.push(dir);
35
+ }
36
+ }
37
+ describe('MainCopyContribution', () => {
38
+ let registry;
39
+ beforeEach(async () => {
40
+ registry = new RecordingRemoteCopyRegistry();
41
+ await new MainCopyContribution().copy(registry);
42
+ });
43
+ it('should copy the backend module type marker lib/backend/package.json', () => {
44
+ const marker = registry.getFiles().find(file => file.path === 'lib/backend/package.json');
45
+ expect(marker).to.not.be.undefined;
46
+ expect(marker?.target).to.equal('lib/backend/package.json');
47
+ });
48
+ it('should still copy the root package.json and the backend bundle', () => {
49
+ expect(registry.getFiles().map(file => file.path)).to.include('package.json');
50
+ expect(registry.globs).to.include('lib/backend/**/*.js');
51
+ expect(registry.directories).to.include.members(['lib/frontend', 'lib/webview']);
52
+ });
53
+ });
54
+ //# sourceMappingURL=main-copy-contribution.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main-copy-contribution.spec.js","sourceRoot":"","sources":["../../../src/electron-node/setup/main-copy-contribution.spec.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF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M,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI;IAShE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ5D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;CAG9D"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  // *****************************************************************************
3
2
  // Copyright (C) 2023 TypeFox and others.
4
3
  //
@@ -14,15 +13,14 @@
14
13
  //
15
14
  // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
16
15
  // *****************************************************************************
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.RemoteCopyRegistryImpl = void 0;
19
- const tslib_1 = require("tslib");
20
- const application_package_1 = require("@theia/core/shared/@theia/application-package");
21
- const inversify_1 = require("@theia/core/shared/inversify");
22
- const glob_1 = require("glob");
23
- const util_1 = require("util");
24
- const path = require("path");
25
- const promiseGlob = (0, util_1.promisify)(glob_1.glob);
16
+ import { __decorate } from "tslib";
17
+ import { ApplicationPackage } from '@theia/core/shared/@theia/application-package';
18
+ import { inject, injectable } from '@theia/core/shared/inversify';
19
+ // A CommonJS module whose exports cannot be detected statically, so it is imported as a whole.
20
+ import glob from 'glob';
21
+ import { promisify } from 'util';
22
+ import * as path from 'path';
23
+ const promiseGlob = promisify(glob);
26
24
  let RemoteCopyRegistryImpl = class RemoteCopyRegistryImpl {
27
25
  constructor() {
28
26
  this.files = [];
@@ -63,12 +61,11 @@ let RemoteCopyRegistryImpl = class RemoteCopyRegistryImpl {
63
61
  return target ? path.join(target, file) : file;
64
62
  }
65
63
  };
66
- exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl;
67
- tslib_1.__decorate([
68
- (0, inversify_1.inject)(application_package_1.ApplicationPackage),
69
- tslib_1.__metadata("design:type", application_package_1.ApplicationPackage)
64
+ __decorate([
65
+ inject(ApplicationPackage)
70
66
  ], RemoteCopyRegistryImpl.prototype, "applicationPackage", void 0);
71
- exports.RemoteCopyRegistryImpl = RemoteCopyRegistryImpl = tslib_1.__decorate([
72
- (0, inversify_1.injectable)()
67
+ RemoteCopyRegistryImpl = __decorate([
68
+ injectable()
73
69
  ], RemoteCopyRegistryImpl);
70
+ export { RemoteCopyRegistryImpl };
74
71
  //# sourceMappingURL=remote-copy-contribution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"remote-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.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,uFAAmF;AACnF,4DAAkE;AAElE,+BAA4C;AAC5C,+BAAiC;AACjC,6BAA6B;AAE7B,MAAM,WAAW,GAAG,IAAA,gBAAS,EAAC,WAAY,CAAC,CAAC;AAGrC,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAA5B;QAKgB,UAAK,GAAiB,EAAE,CAAC;IA0ChD,CAAC;IAxCG,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,MAAe;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,GAAW,EAAE,MAAe;QACtD,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC;QACxD,MAAM,UAAU,GAAG,MAAM,W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AGZ;IADlB,IAAA,kBAAM,EAAC,wCAAkB,CAAC;sCACY,wCAAkB;kEAAC;iCAHjD,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA+ClC"}
1
+ {"version":3,"file":"remote-copy-contribution.js","sourceRoot":"","sources":["../../../src/electron-node/setup/remote-copy-contribution.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,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAElE,+FAA+F;AAC/F,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACjC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAG7B,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAA5B;QAKgB,UAAK,GAAiB,EAAE,CAAC;IA0ChD,CAAC;IAxCG,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAAe,EAAE,MAAe;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,GAAW,EAAE,MAAe;QACtD,MAAM,WAAW,GAAG,IAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC;QACxD,MAAM,UA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