@theia/application-manager 1.25.0-next.7 → 1.25.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.
|
@@ -85,10 +85,10 @@ self.MonacoEnvironment = {
|
|
|
85
85
|
const { ThemeService } = require('@theia/core/lib/browser/theming');
|
|
86
86
|
ThemeService.get().loadUserTheme();
|
|
87
87
|
|
|
88
|
-
const
|
|
88
|
+
const preloader = require('@theia/core/lib/browser/preloader');
|
|
89
89
|
|
|
90
|
-
//
|
|
91
|
-
module.exports =
|
|
90
|
+
// We need to fetch some data from the backend before the frontend starts (nls, os)
|
|
91
|
+
module.exports = preloader.preload().then(() => {
|
|
92
92
|
const { FrontendApplication } = require('@theia/core/lib/browser');
|
|
93
93
|
const { frontendApplicationModule } = require('@theia/core/lib/browser/frontend-application-module');
|
|
94
94
|
const { messagingFrontendModule } = require('@theia/core/lib/${this.pck.isBrowser()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/application-manager",
|
|
3
|
-
"version": "1.25.0
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Theia application manager API.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@babel/plugin-transform-classes": "^7.10.0",
|
|
34
34
|
"@babel/plugin-transform-runtime": "^7.10.0",
|
|
35
35
|
"@babel/preset-env": "^7.10.0",
|
|
36
|
-
"@theia/application-package": "1.25.0
|
|
37
|
-
"@theia/ffmpeg": "1.25.0
|
|
36
|
+
"@theia/application-package": "1.25.0",
|
|
37
|
+
"@theia/ffmpeg": "1.25.0",
|
|
38
38
|
"@types/fs-extra": "^4.0.2",
|
|
39
39
|
"@types/semver": "^7.3.8",
|
|
40
40
|
"babel-loader": "^8.2.2",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@theia/ext-scripts": "1.
|
|
73
|
+
"@theia/ext-scripts": "1.25.0",
|
|
74
74
|
"@types/node-abi": "*"
|
|
75
75
|
},
|
|
76
76
|
"nyc": {
|
|
77
77
|
"extends": "../../configs/nyc.json"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "937a6bebf37de6e379445283cfb0fb595428ba35"
|
|
80
80
|
}
|
|
@@ -92,10 +92,10 @@ self.MonacoEnvironment = {
|
|
|
92
92
|
const { ThemeService } = require('@theia/core/lib/browser/theming');
|
|
93
93
|
ThemeService.get().loadUserTheme();
|
|
94
94
|
|
|
95
|
-
const
|
|
95
|
+
const preloader = require('@theia/core/lib/browser/preloader');
|
|
96
96
|
|
|
97
|
-
//
|
|
98
|
-
module.exports =
|
|
97
|
+
// We need to fetch some data from the backend before the frontend starts (nls, os)
|
|
98
|
+
module.exports = preloader.preload().then(() => {
|
|
99
99
|
const { FrontendApplication } = require('@theia/core/lib/browser');
|
|
100
100
|
const { frontendApplicationModule } = require('@theia/core/lib/browser/frontend-application-module');
|
|
101
101
|
const { messagingFrontendModule } = require('@theia/core/lib/${this.pck.isBrowser()
|