@theia/scanoss 1.65.0-next.6 → 1.66.0-next.0
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/scanoss-frontend-module.d.ts.map +1 -1
- package/lib/browser/scanoss-frontend-module.js +3 -2
- package/lib/browser/scanoss-frontend-module.js.map +1 -1
- package/lib/common/scanoss-preferences.d.ts +4 -0
- package/lib/common/scanoss-preferences.d.ts.map +1 -0
- package/lib/{browser → common}/scanoss-preferences.js +0 -1
- package/lib/common/scanoss-preferences.js.map +1 -0
- package/lib/node/scanoss-backend-module.d.ts.map +1 -1
- package/lib/node/scanoss-backend-module.js +2 -0
- package/lib/node/scanoss-backend-module.js.map +1 -1
- package/package.json +4 -4
- package/src/browser/scanoss-frontend-module.ts +3 -2
- package/src/{browser → common}/scanoss-preferences.ts +1 -2
- package/src/node/scanoss-backend-module.ts +3 -1
- package/lib/browser/scanoss-preferences.d.ts +0 -4
- package/lib/browser/scanoss-preferences.d.ts.map +0 -1
- package/lib/browser/scanoss-preferences.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;
|
|
1
|
+
{"version":3,"file":"scanoss-frontend-module.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-frontend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAM/D,wBAMG"}
|
|
@@ -16,11 +16,12 @@
|
|
|
16
16
|
// *****************************************************************************
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
const inversify_1 = require("@theia/core/shared/inversify");
|
|
19
|
-
const scanoss_preferences_1 = require("
|
|
19
|
+
const scanoss_preferences_1 = require("../common/scanoss-preferences");
|
|
20
20
|
const browser_1 = require("@theia/core/lib/browser");
|
|
21
21
|
const common_1 = require("../common");
|
|
22
|
+
const preference_schema_1 = require("@theia/core/lib/common/preferences/preference-schema");
|
|
22
23
|
exports.default = new inversify_1.ContainerModule(bind => {
|
|
23
|
-
bind(
|
|
24
|
+
bind(preference_schema_1.PreferenceContribution).toConstantValue({ schema: scanoss_preferences_1.ScanOSSPreferencesSchema });
|
|
24
25
|
bind(common_1.ScanOSSService).toDynamicValue(ctx => {
|
|
25
26
|
const provider = ctx.container.get(browser_1.RemoteConnectionProvider);
|
|
26
27
|
return provider.createProxy(common_1.SCANOSS_SERVICE_PATH);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-frontend-module.js","sourceRoot":"","sources":["../../src/browser/scanoss-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,4DAA+D;AAC/D
|
|
1
|
+
{"version":3,"file":"scanoss-frontend-module.js","sourceRoot":"","sources":["../../src/browser/scanoss-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,4DAA+D;AAC/D,uEAAyE;AACzE,qDAA8F;AAC9F,sCAAiE;AACjE,4FAA8F;AAE9F,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,0CAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8CAAwB,EAAE,CAAC,CAAC;IACnF,IAAI,CAAC,uBAAc,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QACtC,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,GAAG,CAA4B,kCAAwB,CAAC,CAAC;QACxF,OAAO,QAAQ,CAAC,WAAW,CAAiB,6BAAoB,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;AAC1B,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scanoss-preferences.d.ts","sourceRoot":"","sources":["../../src/common/scanoss-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAExF,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,eAAO,MAAM,wBAAwB,EAAE,gBAStC,CAAC"}
|
|
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.ScanOSSPreferencesSchema = exports.SCAN_OSS_API_KEY_PREF = void 0;
|
|
19
19
|
exports.SCAN_OSS_API_KEY_PREF = 'SCANOSS.apiKey';
|
|
20
20
|
exports.ScanOSSPreferencesSchema = {
|
|
21
|
-
type: 'object',
|
|
22
21
|
properties: {
|
|
23
22
|
[exports.SCAN_OSS_API_KEY_PREF]: {
|
|
24
23
|
type: 'string',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scanoss-preferences.js","sourceRoot":"","sources":["../../src/common/scanoss-preferences.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;;;AAInE,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AAEzC,QAAA,wBAAwB,GAAqB;IACtD,UAAU,EAAE;QACR,CAAC,6BAAqB,CAAC,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE;kHACiF;YACtG,KAAK,EAAE,iBAAiB;SAC3B;KACJ;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;
|
|
1
|
+
{"version":3,"file":"scanoss-backend-module.d.ts","sourceRoot":"","sources":["../../src/node/scanoss-backend-module.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;;AAM/D,wBAOG"}
|
|
@@ -19,7 +19,9 @@ const inversify_1 = require("@theia/core/shared/inversify");
|
|
|
19
19
|
const core_1 = require("@theia/core");
|
|
20
20
|
const common_1 = require("../common");
|
|
21
21
|
const scanoss_service_impl_1 = require("./scanoss-service-impl");
|
|
22
|
+
const scanoss_preferences_1 = require("../common/scanoss-preferences");
|
|
22
23
|
exports.default = new inversify_1.ContainerModule(bind => {
|
|
24
|
+
bind(core_1.PreferenceContribution).toConstantValue({ schema: scanoss_preferences_1.ScanOSSPreferencesSchema });
|
|
23
25
|
bind(scanoss_service_impl_1.ScanOSSServiceImpl).toSelf().inSingletonScope();
|
|
24
26
|
bind(common_1.ScanOSSService).toService(scanoss_service_impl_1.ScanOSSServiceImpl);
|
|
25
27
|
bind(core_1.ConnectionHandler).toDynamicValue(ctx => new core_1.RpcConnectionHandler(common_1.SCANOSS_SERVICE_PATH, () => ctx.container.get(common_1.ScanOSSService))).inSingletonScope();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-backend-module.js","sourceRoot":"","sources":["../../src/node/scanoss-backend-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,4DAA+D;AAC/D,
|
|
1
|
+
{"version":3,"file":"scanoss-backend-module.js","sourceRoot":"","sources":["../../src/node/scanoss-backend-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,4DAA+D;AAC/D,sCAA8F;AAC9F,sCAAiE;AACjE,iEAA4D;AAC5D,uEAAyE;AAEzE,kBAAe,IAAI,2BAAe,CAAC,IAAI,CAAC,EAAE;IACtC,IAAI,CAAC,6BAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,8CAAwB,EAAE,CAAC,CAAC;IACnF,IAAI,CAAC,yCAAkB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACrD,IAAI,CAAC,uBAAc,CAAC,CAAC,SAAS,CAAC,yCAAkB,CAAC,CAAC;IACnD,IAAI,CAAC,wBAAiB,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CACzC,IAAI,2BAAoB,CAAC,6BAAoB,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,uBAAc,CAAC,CAAC,CAC1F,CAAC,gBAAgB,EAAE,CAAC;AACzB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/scanoss",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.66.0-next.0+008c83404",
|
|
4
4
|
"description": "Theia - SCANOSS Integration",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.
|
|
6
|
+
"@theia/core": "1.66.0-next.0+008c83404",
|
|
7
7
|
"scanoss": "^0.15.2"
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"watch": "theiaext watch"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@theia/ext-scripts": "1.
|
|
44
|
+
"@theia/ext-scripts": "1.65.0"
|
|
45
45
|
},
|
|
46
46
|
"nyc": {
|
|
47
47
|
"extends": "../../configs/nyc.json"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "008c8340465f7e42298839881d814863bef0b039"
|
|
50
50
|
}
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
|
-
import { ScanOSSPreferencesSchema } from '
|
|
19
|
-
import {
|
|
18
|
+
import { ScanOSSPreferencesSchema } from '../common/scanoss-preferences';
|
|
19
|
+
import { RemoteConnectionProvider, ServiceConnectionProvider } from '@theia/core/lib/browser';
|
|
20
20
|
import { SCANOSS_SERVICE_PATH, ScanOSSService } from '../common';
|
|
21
|
+
import { PreferenceContribution } from '@theia/core/lib/common/preferences/preference-schema';
|
|
21
22
|
|
|
22
23
|
export default new ContainerModule(bind => {
|
|
23
24
|
bind(PreferenceContribution).toConstantValue({ schema: ScanOSSPreferencesSchema });
|
|
@@ -14,12 +14,11 @@
|
|
|
14
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
15
15
|
// *****************************************************************************
|
|
16
16
|
|
|
17
|
-
import { PreferenceSchema } from '@theia/core/lib/
|
|
17
|
+
import { PreferenceSchema } from '@theia/core/lib/common/preferences/preference-schema';
|
|
18
18
|
|
|
19
19
|
export const SCAN_OSS_API_KEY_PREF = 'SCANOSS.apiKey';
|
|
20
20
|
|
|
21
21
|
export const ScanOSSPreferencesSchema: PreferenceSchema = {
|
|
22
|
-
type: 'object',
|
|
23
22
|
properties: {
|
|
24
23
|
[SCAN_OSS_API_KEY_PREF]: {
|
|
25
24
|
type: 'string',
|
|
@@ -15,11 +15,13 @@
|
|
|
15
15
|
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
|
-
import { ConnectionHandler, RpcConnectionHandler } from '@theia/core';
|
|
18
|
+
import { ConnectionHandler, PreferenceContribution, RpcConnectionHandler } from '@theia/core';
|
|
19
19
|
import { ScanOSSService, SCANOSS_SERVICE_PATH } from '../common';
|
|
20
20
|
import { ScanOSSServiceImpl } from './scanoss-service-impl';
|
|
21
|
+
import { ScanOSSPreferencesSchema } from '../common/scanoss-preferences';
|
|
21
22
|
|
|
22
23
|
export default new ContainerModule(bind => {
|
|
24
|
+
bind(PreferenceContribution).toConstantValue({ schema: ScanOSSPreferencesSchema });
|
|
23
25
|
bind(ScanOSSServiceImpl).toSelf().inSingletonScope();
|
|
24
26
|
bind(ScanOSSService).toService(ScanOSSServiceImpl);
|
|
25
27
|
bind(ConnectionHandler).toDynamicValue(ctx =>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-preferences.d.ts","sourceRoot":"","sources":["../../src/browser/scanoss-preferences.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,eAAO,MAAM,wBAAwB,EAAE,gBAUtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scanoss-preferences.js","sourceRoot":"","sources":["../../src/browser/scanoss-preferences.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;;;AAInE,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AAEzC,QAAA,wBAAwB,GAAqB;IACtD,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,CAAC,6BAAqB,CAAC,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,mBAAmB,EAAE;kHACiF;YACtG,KAAK,EAAE,iBAAiB;SAC3B;KACJ;CACJ,CAAC"}
|