kimu-core 0.4.2 → 0.5.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/kimu-core-0.5.0.tgz +0 -0
- package/package.json +2 -2
- package/src/extensions/{kimu-home → app-root}/component.ts +5 -5
- package/src/extensions/extensions-manifest.json +4 -4
- package/src/main.ts +3 -3
- /package/src/extensions/{kimu-home → app-root}/lang/en.json +0 -0
- /package/src/extensions/{kimu-home → app-root}/lang/it.json +0 -0
- /package/src/extensions/{kimu-home → app-root}/style.css +0 -0
- /package/src/extensions/{kimu-home → app-root}/view.html +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kimu-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"build:dev": "npm run generate-config:dev && npm run build:compile && npm run build:bundle && npm run build:post",
|
|
39
39
|
"build:local": "npm run generate-config:local && npm run build:compile && npm run build:bundle && npm run build:post",
|
|
40
40
|
"build:prod": "npm run generate-config:prod && npm run build:compile && npm run build:bundle && npm run build:post",
|
|
41
|
-
"build:compile": "
|
|
41
|
+
"build:compile": "npm run generate-config:dev && tsc",
|
|
42
42
|
"build:bundle": "vite build && npm run minify:css",
|
|
43
43
|
"build:post": "npm run build:all-config && npm run build:all-core && npm run build:all-modules && npm run build:all-ext",
|
|
44
44
|
"generate-config": "node scripts/generate-kimu-build-config.js dev",
|
|
@@ -8,11 +8,11 @@ import { KimuComponentElement } from '../../core/kimu-component-element';
|
|
|
8
8
|
import { KimuGlobalLang, KimuI18nService } from '../../modules/i18n/module';
|
|
9
9
|
|
|
10
10
|
@KimuComponent({
|
|
11
|
-
tag: '
|
|
12
|
-
path: '
|
|
13
|
-
name: '
|
|
11
|
+
tag: 'app-root',
|
|
12
|
+
path: 'app-root',
|
|
13
|
+
name: 'Application Root',
|
|
14
14
|
version: '1.0.0',
|
|
15
|
-
description: 'Main
|
|
15
|
+
description: 'Main application root component',
|
|
16
16
|
icon: '🏠',
|
|
17
17
|
author: 'UnicòVerso',
|
|
18
18
|
kimuVersion: '1.0.0',
|
|
@@ -24,7 +24,7 @@ import { KimuGlobalLang, KimuI18nService } from '../../modules/i18n/module';
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
})
|
|
27
|
-
export class
|
|
27
|
+
export class AppRootComponent extends KimuComponentElement {
|
|
28
28
|
|
|
29
29
|
/** I18n service instance for translations */
|
|
30
30
|
private i18n = new KimuI18nService(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"tag": "
|
|
4
|
-
"path": "
|
|
3
|
+
"tag": "app-root",
|
|
4
|
+
"path": "app-root",
|
|
5
5
|
"internal": true,
|
|
6
|
-
"name": "
|
|
7
|
-
"description": "Main
|
|
6
|
+
"name": "Application Root",
|
|
7
|
+
"description": "Main application root component",
|
|
8
8
|
"version": "1.0.0",
|
|
9
9
|
"author": "UnicòVerso",
|
|
10
10
|
"icon": "🏠",
|
package/src/main.ts
CHANGED
|
@@ -41,9 +41,9 @@ async function main() {
|
|
|
41
41
|
|
|
42
42
|
// Mount the extensions
|
|
43
43
|
// Load the main component of the Kimu application
|
|
44
|
-
// The main component is the one that has the tag name '
|
|
45
|
-
console.log('[KIMU-MAIN] 🚀 Loading
|
|
46
|
-
const mainAppExtensions = '
|
|
44
|
+
// The main component is the one that has the tag name 'app-root'
|
|
45
|
+
console.log('[KIMU-MAIN] 🚀 Loading app-root extension...');
|
|
46
|
+
const mainAppExtensions = 'app-root';
|
|
47
47
|
|
|
48
48
|
try {
|
|
49
49
|
await kimuExtensionManager.load(mainAppExtensions);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|