@theia/plugin-ext 1.25.0-next.10 → 1.25.0-next.14
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/main/node/handlers/plugin-theia-file-handler.d.ts.map +1 -1
- package/lib/main/node/handlers/plugin-theia-file-handler.js +1 -5
- package/lib/main/node/handlers/plugin-theia-file-handler.js.map +1 -1
- package/package.json +23 -23
- package/src/main/node/handlers/plugin-theia-file-handler.ts +1 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-theia-file-handler.d.ts","sourceRoot":"","sources":["../../../../src/main/node/handlers/plugin-theia-file-handler.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,gCAAgC,EAAc,MAAM,iCAAiC,CAAC;AAM/I,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,qBACa,sBAAuB,YAAW,yBAAyB;IAEpE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAgD;IAGpF,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAEvD,MAAM,CAAC,cAAc,EAAE,mBAAmB,GAAG,OAAO;IAI9C,MAAM,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,IAAI,CAAC;cActD,YAAY,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"plugin-theia-file-handler.d.ts","sourceRoot":"","sources":["../../../../src/main/node/handlers/plugin-theia-file-handler.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,gCAAgC,EAAc,MAAM,iCAAiC,CAAC;AAM/I,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,qBACa,sBAAuB,YAAW,yBAAyB;IAEpE,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAgD;IAGpF,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,sBAAsB,CAAC;IAEvD,MAAM,CAAC,cAAc,EAAE,mBAAmB,GAAG,OAAO;IAI9C,MAAM,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,IAAI,CAAC;cActD,YAAY,CAAC,OAAO,EAAE,gCAAgC,GAAG,OAAO,CAAC,MAAM,CAAC;CAG3F"}
|
|
@@ -53,11 +53,7 @@ let PluginTheiaFileHandler = class PluginTheiaFileHandler {
|
|
|
53
53
|
context.pluginEntry().updatePath(pluginDir);
|
|
54
54
|
}
|
|
55
55
|
async getPluginDir(context) {
|
|
56
|
-
|
|
57
|
-
if (context.pluginEntry().type === plugin_protocol_1.PluginType.User) {
|
|
58
|
-
pluginsDirUri = await this.environment.getPluginsDirUri();
|
|
59
|
-
}
|
|
60
|
-
return file_uri_1.FileUri.fsPath(pluginsDirUri.resolve(filenamify(context.pluginEntry().id(), { replacement: '_' })));
|
|
56
|
+
return file_uri_1.FileUri.fsPath(this.systemPluginsDirUri.resolve(filenamify(context.pluginEntry().id(), { replacement: '_' })));
|
|
61
57
|
}
|
|
62
58
|
};
|
|
63
59
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-theia-file-handler.js","sourceRoot":"","sources":["../../../../src/main/node/handlers/plugin-theia-file-handler.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,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,qEAA+I;AAC/I,4DAAkE;AAClE,oDAA8C;AAC9C,kDAAkD;AAClD,yCAAyC;AACzC,4DAAwD;AACxD,oFAA+E;AAG/E,IAAa,sBAAsB,GAAnC,MAAa,sBAAsB;IAAnC;QAEqB,wBAAmB,GAAG,kBAAO,CAAC,MAAM,CAAC,IAAA,0BAAU,EAAC,gBAAgB,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"plugin-theia-file-handler.js","sourceRoot":"","sources":["../../../../src/main/node/handlers/plugin-theia-file-handler.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,2EAA2E;AAC3E,gFAAgF;;;;;;;;;;;;AAEhF,qEAA+I;AAC/I,4DAAkE;AAClE,oDAA8C;AAC9C,kDAAkD;AAClD,yCAAyC;AACzC,4DAAwD;AACxD,oFAA+E;AAG/E,IAAa,sBAAsB,GAAnC,MAAa,sBAAsB;IAAnC;QAEqB,wBAAmB,GAAG,kBAAO,CAAC,MAAM,CAAC,IAAA,0BAAU,EAAC,gBAAgB,CAAC,CAAC,CAAC;IA0BxF,CAAC;IArBG,MAAM,CAAC,cAAmC;QACtC,OAAO,cAAc,CAAC,MAAM,EAAE,IAAI,cAAc,CAAC,IAAI,EAAE,KAAK,IAAI,IAAI,cAAc,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACjH,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAyC;QAClD,MAAM,EAAE,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,iCAAiC,SAAS,MAAM,CAAC,CAAC;QACpE,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,IAAI,KAAK,4BAAU,CAAC,IAAI,IAAI,MAAM,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE;YAClF,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;YACtC,OAAO,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;YAC5C,OAAO;SACV;QACD,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE,SAAS,CAAC,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;QACrC,OAAO,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC;IAES,KAAK,CAAC,YAAY,CAAC,OAAyC;QAClE,OAAO,kBAAO,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1H,CAAC;CACJ,CAAA;AAvBG;IADC,IAAA,kBAAM,EAAC,iDAAsB,CAAC;8BACC,iDAAsB;2DAAC;AAL9C,sBAAsB;IADlC,IAAA,sBAAU,GAAE;GACA,sBAAsB,CA4BlC;AA5BY,wDAAsB"}
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin-ext",
|
|
3
|
-
"version": "1.25.0-next.
|
|
3
|
+
"version": "1.25.0-next.14+27535cc059f",
|
|
4
4
|
"description": "Theia - Plugin Extension",
|
|
5
5
|
"main": "lib/common/index.js",
|
|
6
6
|
"typings": "lib/common/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@theia/bulk-edit": "1.25.0-next.
|
|
9
|
-
"@theia/callhierarchy": "1.25.0-next.
|
|
10
|
-
"@theia/console": "1.25.0-next.
|
|
11
|
-
"@theia/core": "1.25.0-next.
|
|
12
|
-
"@theia/debug": "1.25.0-next.
|
|
13
|
-
"@theia/editor": "1.25.0-next.
|
|
14
|
-
"@theia/file-search": "1.25.0-next.
|
|
15
|
-
"@theia/filesystem": "1.25.0-next.
|
|
16
|
-
"@theia/markers": "1.25.0-next.
|
|
17
|
-
"@theia/messages": "1.25.0-next.
|
|
18
|
-
"@theia/monaco": "1.25.0-next.
|
|
8
|
+
"@theia/bulk-edit": "1.25.0-next.14+27535cc059f",
|
|
9
|
+
"@theia/callhierarchy": "1.25.0-next.14+27535cc059f",
|
|
10
|
+
"@theia/console": "1.25.0-next.14+27535cc059f",
|
|
11
|
+
"@theia/core": "1.25.0-next.14+27535cc059f",
|
|
12
|
+
"@theia/debug": "1.25.0-next.14+27535cc059f",
|
|
13
|
+
"@theia/editor": "1.25.0-next.14+27535cc059f",
|
|
14
|
+
"@theia/file-search": "1.25.0-next.14+27535cc059f",
|
|
15
|
+
"@theia/filesystem": "1.25.0-next.14+27535cc059f",
|
|
16
|
+
"@theia/markers": "1.25.0-next.14+27535cc059f",
|
|
17
|
+
"@theia/messages": "1.25.0-next.14+27535cc059f",
|
|
18
|
+
"@theia/monaco": "1.25.0-next.14+27535cc059f",
|
|
19
19
|
"@theia/monaco-editor-core": "1.65.2",
|
|
20
|
-
"@theia/navigator": "1.25.0-next.
|
|
21
|
-
"@theia/output": "1.25.0-next.
|
|
22
|
-
"@theia/plugin": "1.25.0-next.
|
|
23
|
-
"@theia/preferences": "1.25.0-next.
|
|
24
|
-
"@theia/scm": "1.25.0-next.
|
|
25
|
-
"@theia/search-in-workspace": "1.25.0-next.
|
|
26
|
-
"@theia/task": "1.25.0-next.
|
|
27
|
-
"@theia/terminal": "1.25.0-next.
|
|
28
|
-
"@theia/timeline": "1.25.0-next.
|
|
29
|
-
"@theia/workspace": "1.25.0-next.
|
|
20
|
+
"@theia/navigator": "1.25.0-next.14+27535cc059f",
|
|
21
|
+
"@theia/output": "1.25.0-next.14+27535cc059f",
|
|
22
|
+
"@theia/plugin": "1.25.0-next.14+27535cc059f",
|
|
23
|
+
"@theia/preferences": "1.25.0-next.14+27535cc059f",
|
|
24
|
+
"@theia/scm": "1.25.0-next.14+27535cc059f",
|
|
25
|
+
"@theia/search-in-workspace": "1.25.0-next.14+27535cc059f",
|
|
26
|
+
"@theia/task": "1.25.0-next.14+27535cc059f",
|
|
27
|
+
"@theia/terminal": "1.25.0-next.14+27535cc059f",
|
|
28
|
+
"@theia/timeline": "1.25.0-next.14+27535cc059f",
|
|
29
|
+
"@theia/workspace": "1.25.0-next.14+27535cc059f",
|
|
30
30
|
"@types/mime": "^2.0.1",
|
|
31
31
|
"decompress": "^4.2.1",
|
|
32
32
|
"escape-html": "^1.0.3",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"nyc": {
|
|
92
92
|
"extends": "../../configs/nyc.json"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "27535cc059f42360e4d0dba13da282bf1be60828"
|
|
95
95
|
}
|
|
@@ -49,10 +49,6 @@ export class PluginTheiaFileHandler implements PluginDeployerFileHandler {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
protected async getPluginDir(context: PluginDeployerFileHandlerContext): Promise<string> {
|
|
52
|
-
|
|
53
|
-
if (context.pluginEntry().type === PluginType.User) {
|
|
54
|
-
pluginsDirUri = await this.environment.getPluginsDirUri();
|
|
55
|
-
}
|
|
56
|
-
return FileUri.fsPath(pluginsDirUri.resolve(filenamify(context.pluginEntry().id(), { replacement: '_' })));
|
|
52
|
+
return FileUri.fsPath(this.systemPluginsDirUri.resolve(filenamify(context.pluginEntry().id(), { replacement: '_' })));
|
|
57
53
|
}
|
|
58
54
|
}
|