@theia/plugin-dev 1.61.0-next.8 → 1.61.1

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,11 +1,10 @@
1
1
  import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
2
2
  import { HostedPluginReader as PluginReaderHosted } from '@theia/plugin-ext/lib/hosted/node/plugin-reader';
3
- import { PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
4
- import { HostedPluginDeployerHandler } from '@theia/plugin-ext/lib/hosted/node/hosted-plugin-deployer-handler';
3
+ import { PluginDeployerHandler, PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
5
4
  export declare class HostedPluginReader implements BackendApplicationContribution {
6
5
  protected pluginReader: PluginReaderHosted;
7
6
  private readonly hostedPlugin;
8
- protected deployerHandler: HostedPluginDeployerHandler;
7
+ protected deployerHandler: PluginDeployerHandler;
9
8
  initialize(): Promise<void>;
10
9
  getPlugin(): Promise<PluginMetadata | undefined>;
11
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"hosted-plugin-reader.d.ts","sourceRoot":"","sources":["../../src/node/hosted-plugin-reader.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAE3G,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAE9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kEAAkE,CAAC;AAE/G,qBACa,kBAAmB,YAAW,8BAA8B;IAGrE,SAAS,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAE3C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA8C;IAG3E,SAAS,CAAC,eAAe,EAAE,2BAA2B,CAAC;IAEjD,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAmB3B,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;CAGzD"}
1
+ {"version":3,"file":"hosted-plugin-reader.d.ts","sourceRoot":"","sources":["../../src/node/hosted-plugin-reader.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAE3G,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAGrG,qBACa,kBAAmB,YAAW,8BAA8B;IAGrE,SAAS,CAAC,YAAY,EAAE,kBAAkB,CAAC;IAE3C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA8C;IAG3E,SAAS,CAAC,eAAe,EAAE,qBAAqB,CAAC;IAE3C,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAmB3B,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;CAGzD"}
@@ -20,8 +20,8 @@ const tslib_1 = require("tslib");
20
20
  const inversify_1 = require("@theia/core/shared/inversify");
21
21
  const plugin_reader_1 = require("@theia/plugin-ext/lib/hosted/node/plugin-reader");
22
22
  const promise_util_1 = require("@theia/core/lib/common/promise-util");
23
+ const plugin_protocol_1 = require("@theia/plugin-ext/lib/common/plugin-protocol");
23
24
  const plugin_deployer_entry_impl_1 = require("@theia/plugin-ext/lib/main/node/plugin-deployer-entry-impl");
24
- const hosted_plugin_deployer_handler_1 = require("@theia/plugin-ext/lib/hosted/node/hosted-plugin-deployer-handler");
25
25
  let HostedPluginReader = class HostedPluginReader {
26
26
  constructor() {
27
27
  this.hostedPlugin = new promise_util_1.Deferred();
@@ -52,8 +52,8 @@ tslib_1.__decorate([
52
52
  tslib_1.__metadata("design:type", plugin_reader_1.HostedPluginReader)
53
53
  ], HostedPluginReader.prototype, "pluginReader", void 0);
54
54
  tslib_1.__decorate([
55
- (0, inversify_1.inject)(hosted_plugin_deployer_handler_1.HostedPluginDeployerHandler),
56
- tslib_1.__metadata("design:type", hosted_plugin_deployer_handler_1.HostedPluginDeployerHandler)
55
+ (0, inversify_1.inject)(plugin_protocol_1.PluginDeployerHandler),
56
+ tslib_1.__metadata("design:type", Object)
57
57
  ], HostedPluginReader.prototype, "deployerHandler", void 0);
58
58
  exports.HostedPluginReader = HostedPluginReader = tslib_1.__decorate([
59
59
  (0, inversify_1.injectable)()
@@ -1 +1 @@
1
- {"version":3,"file":"hosted-plugin-reader.js","sourceRoot":"","sources":["../../src/node/hosted-plugin-reader.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,4DAAkE;AAElE,mFAA2G;AAC3G,sEAA+D;AAE/D,2GAAqG;AACrG,qHAA+G;AAGxG,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QAKc,iBAAY,GAAG,IAAI,uBAAQ,EAA8B,CAAC;IA2B/E,CAAC;IAtBG,KAAK,CAAC,UAAU;QACZ,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;aACzD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;QAE7D,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC;QAC7C,IAAI,UAAU,EAAE,CAAC;YACb,MAAM,YAAY,GAAG,IAAI,oDAAuB,CAAC,eAAe,EAAE,UAAW,EAAE,UAAU,CAAC,CAAC;YAC3F,YAAY,CAAC,UAAU,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;YACpD,MAAM,cAAc,GAAG,MAAM,IAAI,CAA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T,IAAA,kBAAM,EAAC,uCAAqB,CAAC;;2DACmB;6BARxC,kBAAkB;IAD9B,IAAA,sBAAU,GAAE;GACA,kBAAkB,CAgC9B"}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@theia/plugin-dev",
3
- "version": "1.61.0-next.8+436de3c45",
3
+ "version": "1.61.1",
4
4
  "description": "Theia - Plugin Development Extension",
5
5
  "main": "lib/common/index.js",
6
6
  "typings": "lib/common/index.d.ts",
7
7
  "dependencies": {
8
- "@theia/core": "1.61.0-next.8+436de3c45",
9
- "@theia/debug": "1.61.0-next.8+436de3c45",
10
- "@theia/filesystem": "1.61.0-next.8+436de3c45",
11
- "@theia/output": "1.61.0-next.8+436de3c45",
12
- "@theia/plugin-ext": "1.61.0-next.8+436de3c45",
13
- "@theia/workspace": "1.61.0-next.8+436de3c45",
8
+ "@theia/core": "1.61.1",
9
+ "@theia/debug": "1.61.1",
10
+ "@theia/filesystem": "1.61.1",
11
+ "@theia/output": "1.61.1",
12
+ "@theia/plugin-ext": "1.61.1",
13
+ "@theia/workspace": "1.61.1",
14
14
  "ps-tree": "^1.2.0",
15
15
  "tslib": "^2.6.2"
16
16
  },
@@ -49,10 +49,10 @@
49
49
  "watch": "theiaext watch"
50
50
  },
51
51
  "devDependencies": {
52
- "@theia/ext-scripts": "1.60.0"
52
+ "@theia/ext-scripts": "1.61.1"
53
53
  },
54
54
  "nyc": {
55
55
  "extends": "../../configs/nyc.json"
56
56
  },
57
- "gitHead": "436de3c4571e0000fdcbbf2e94ddfc992f38ccb2"
57
+ "gitHead": "5ea3cf6111aded4ccf1d5ccaf67b04e6588a6dea"
58
58
  }
@@ -18,9 +18,8 @@ import { inject, injectable } from '@theia/core/shared/inversify';
18
18
  import { BackendApplicationContribution } from '@theia/core/lib/node/backend-application';
19
19
  import { HostedPluginReader as PluginReaderHosted } from '@theia/plugin-ext/lib/hosted/node/plugin-reader';
20
20
  import { Deferred } from '@theia/core/lib/common/promise-util';
21
- import { PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
21
+ import { PluginDeployerHandler, PluginMetadata } from '@theia/plugin-ext/lib/common/plugin-protocol';
22
22
  import { PluginDeployerEntryImpl } from '@theia/plugin-ext/lib/main/node/plugin-deployer-entry-impl';
23
- import { HostedPluginDeployerHandler } from '@theia/plugin-ext/lib/hosted/node/hosted-plugin-deployer-handler';
24
23
 
25
24
  @injectable()
26
25
  export class HostedPluginReader implements BackendApplicationContribution {
@@ -30,8 +29,8 @@ export class HostedPluginReader implements BackendApplicationContribution {
30
29
 
31
30
  private readonly hostedPlugin = new Deferred<PluginMetadata | undefined>();
32
31
 
33
- @inject(HostedPluginDeployerHandler)
34
- protected deployerHandler: HostedPluginDeployerHandler;
32
+ @inject(PluginDeployerHandler)
33
+ protected deployerHandler: PluginDeployerHandler;
35
34
 
36
35
  async initialize(): Promise<void> {
37
36
  this.pluginReader.getPluginMetadata(process.env.HOSTED_PLUGIN)