@eclipse-lyra/create-app 0.7.37 → 0.7.39
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/package.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
6
6
|
<title>Loading...</title>
|
|
7
7
|
<style>@keyframes app-loading-bar{0%{transform:translateX(0)}50%{transform:translateX(144px)}100%{transform:translateX(0)}}</style>
|
|
8
|
-
<script type="module" src="/src/main.ts"></script>
|
|
9
8
|
</head>
|
|
10
9
|
<body>
|
|
11
10
|
<div id="app-root"></div>
|
|
@@ -26,5 +25,6 @@
|
|
|
26
25
|
if (el) { el.style.opacity = '0'; el.style.transition = 'opacity 0.15s'; setTimeout(function() { el.remove(); }, 160); }
|
|
27
26
|
}, { once: true });
|
|
28
27
|
</script>
|
|
28
|
+
<script type="module" src="/src/main.ts"></script>
|
|
29
29
|
</body>
|
|
30
30
|
</html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Explicit imports of workspace extensions so they are included in the bundle.
|
|
3
|
+
* Replaces import.meta.glob('../../extension-*/src/index.ts') to avoid .ts paths
|
|
4
|
+
* in module URLs (servers often map .ts to video/mp2t MIME type).
|
|
5
|
+
* Add or remove imports when you add or remove extensions from the app config.
|
|
6
|
+
*/
|
|
7
|
+
import '@eclipse-lyra/extension-ai-system';
|
|
8
|
+
import '@eclipse-lyra/extension-command-palette';
|
|
9
|
+
import '@eclipse-lyra/extension-md-editor';
|
|
10
|
+
import '@eclipse-lyra/extension-media-viewer';
|
|
11
|
+
import '@eclipse-lyra/extension-memory-usage';
|
|
12
|
+
import '@eclipse-lyra/extension-monaco-editor';
|
|
13
|
+
import '@eclipse-lyra/extension-settings-tree';
|
|
14
|
+
import '@eclipse-lyra/extension-utils';
|
|
15
|
+
import 'example-extension';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { appLoaderService, contributionRegistry, type HTMLContribution, TOOLBAR_MAIN } from '@eclipse-lyra/core';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
import './extensions';
|
|
3
4
|
|
|
4
5
|
contributionRegistry.registerContribution(TOOLBAR_MAIN, {
|
|
5
6
|
label: 'Brand',
|